/*
Copyright 2019 - 2021 The Matrix.org Foundation C.I.C.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_RoomUpgradeWarningDialog {
    max-width: 38vw;
    width: 38vw;

    .mx_RoomUpgradeWarningDialog_progress {
        .mx_ProgressBar {
            height: 8px;
            width: 100%;

            @mixin ProgressBarBorderRadius 8px;
        }

        .mx_RoomUpgradeWarningDialog_progressText {
            margin-top: 8px;
            font-size: $font-15px;
            line-height: $font-24px;
            color: $primary-content;
        }
    }
}

.mx_RoomUpgradeWarningDialog .mx_SettingsFlag {
    font-weight: 700;

    .mx_ToggleSwitch {
        display: inline-block;
        vertical-align: middle;
        margin-left: 8px;
        float: right;
    }

    .mx_SettingsFlag_label {
        display: inline-block;
        vertical-align: middle;
    }
}

