2019-01-22 23:28:33 +03:00
|
|
|
/*
|
|
|
|
Copyright 2019 New Vector Ltd
|
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2019-03-15 02:11:44 +03:00
|
|
|
.mx_SettingsTab_warningText {
|
|
|
|
color: $warning-color;
|
|
|
|
}
|
|
|
|
|
2019-01-19 06:22:36 +03:00
|
|
|
.mx_SettingsTab_heading {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-20px;
|
2019-01-30 09:11:16 +03:00
|
|
|
font-weight: 600;
|
|
|
|
color: $primary-fg-color;
|
2019-01-19 06:22:36 +03:00
|
|
|
}
|
|
|
|
|
2019-08-19 17:45:04 +03:00
|
|
|
.mx_SettingsTab_heading:nth-child(n + 2) {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
2019-01-19 06:22:36 +03:00
|
|
|
.mx_SettingsTab_subheading {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-16px;
|
2019-01-30 09:11:16 +03:00
|
|
|
display: block;
|
|
|
|
font-family: $font-family;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-top: 12px;
|
2019-01-19 06:22:36 +03:00
|
|
|
}
|
|
|
|
|
2019-01-22 09:08:01 +03:00
|
|
|
.mx_SettingsTab_subsectionText {
|
2019-01-30 09:11:16 +03:00
|
|
|
color: $settings-subsection-fg-color;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-14px;
|
2019-01-30 09:11:16 +03:00
|
|
|
display: block;
|
2019-08-19 17:45:04 +03:00
|
|
|
margin: 10px 100px 10px 0; // Align with the rest of the view
|
2019-01-22 02:03:44 +03:00
|
|
|
}
|
2019-01-24 01:50:41 +03:00
|
|
|
|
2020-03-05 17:10:44 +03:00
|
|
|
.mx_SettingsTab_section {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
2020-03-16 19:29:15 +03:00
|
|
|
.mx_SettingsFlag {
|
|
|
|
margin-right: 100px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_SettingsTab_subsectionText .mx_SettingsFlag {
|
|
|
|
margin-right: 0px !important;
|
|
|
|
}
|
2019-01-24 01:50:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label {
|
2019-02-09 01:23:14 +03:00
|
|
|
vertical-align: middle;
|
2019-01-30 09:11:16 +03:00
|
|
|
display: inline-block;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-14px;
|
2019-01-30 09:11:16 +03:00
|
|
|
color: $primary-fg-color;
|
2020-04-07 17:07:34 +03:00
|
|
|
max-width: calc(100% - $font-48px); // Force word wrap instead of colliding with the switch
|
2019-02-12 14:50:23 +03:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: 10px;
|
2019-01-24 01:50:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch {
|
2019-01-30 09:11:16 +03:00
|
|
|
float: right;
|
2019-01-24 01:50:41 +03:00
|
|
|
}
|
2019-01-25 01:47:04 +03:00
|
|
|
|
|
|
|
.mx_SettingsTab_linkBtn {
|
2019-01-30 09:11:16 +03:00
|
|
|
cursor: pointer;
|
|
|
|
color: $accent-color;
|
|
|
|
word-break: break-all;
|
2019-01-30 05:28:30 +03:00
|
|
|
}
|
|
|
|
|
2019-04-11 00:00:02 +03:00
|
|
|
.mx_SettingsTab a {
|
|
|
|
color: $accent-color-alt;
|
2019-07-09 20:15:10 +03:00
|
|
|
}
|