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