2019-01-22 23:28:33 +03:00
|
|
|
/*
|
2020-09-03 17:20:46 +03:00
|
|
|
Copyright 2019, 2020 New Vector Ltd
|
2019-01-22 23:28:33 +03: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 15:18:57 +03:00
|
|
|
.mx_SettingsTab {
|
2022-06-14 10:05:43 +03:00
|
|
|
--SettingsTab_section-margin-bottom-preferences-labs: 30px;
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $primary-content;
|
2020-09-04 15:18:57 +03:00
|
|
|
}
|
|
|
|
|
2019-03-15 02:11:44 +03:00
|
|
|
.mx_SettingsTab_warningText {
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $alert;
|
2019-03-15 02:11:44 +03:00
|
|
|
}
|
|
|
|
|
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;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2020-09-03 17:20:46 +03:00
|
|
|
margin-bottom: 10px;
|
2022-05-12 12:09:17 +03:00
|
|
|
margin-top: 10px;
|
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-weight: 600;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
2019-01-30 09:11:16 +03:00
|
|
|
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 {
|
2022-06-14 21:17:10 +03:00
|
|
|
color: $secondary-content;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-14px;
|
2019-01-30 09:11:16 +03:00
|
|
|
display: block;
|
2021-07-02 16:51:55 +03:00
|
|
|
margin: 10px 80px 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 {
|
2021-08-10 11:55:51 +03:00
|
|
|
$right-gutter: 80px;
|
|
|
|
|
2020-03-05 17:10:44 +03:00
|
|
|
margin-bottom: 24px;
|
|
|
|
|
2020-03-16 19:29:15 +03:00
|
|
|
.mx_SettingsFlag {
|
2021-08-10 11:55:51 +03:00
|
|
|
margin-right: $right-gutter;
|
2020-03-16 19:29:15 +03:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2021-08-10 11:55:51 +03:00
|
|
|
> p {
|
|
|
|
margin-right: $right-gutter;
|
|
|
|
}
|
|
|
|
|
2020-03-16 19:29:15 +03:00
|
|
|
&.mx_SettingsTab_subsectionText .mx_SettingsFlag {
|
2021-08-10 11:55:51 +03:00
|
|
|
margin-right: 0 !important;
|
2020-03-16 19:29:15 +03:00
|
|
|
}
|
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;
|
2021-08-12 12:27:12 +03:00
|
|
|
color: $primary-content;
|
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
|
|
|
}
|
|
|
|
|
2021-07-28 16:39:19 +03:00
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_microcopy {
|
|
|
|
margin-top: 4px;
|
|
|
|
font-size: $font-12px;
|
|
|
|
line-height: $font-15px;
|
2021-08-12 12:30:35 +03:00
|
|
|
color: $secondary-content;
|
2021-07-28 16:39:19 +03:00
|
|
|
}
|
|
|
|
|
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;
|
2021-11-11 16:37:29 +03:00
|
|
|
color: $accent;
|
2019-01-30 09:11:16 +03:00
|
|
|
word-break: break-all;
|
2019-01-30 05:28:30 +03:00
|
|
|
}
|
|
|
|
|
2019-04-11 00:00:02 +03:00
|
|
|
.mx_SettingsTab a {
|
2022-06-14 21:17:10 +03:00
|
|
|
color: $links;
|
2019-07-09 20:15:10 +03:00
|
|
|
}
|
2022-01-06 13:09:26 +03:00
|
|
|
|
|
|
|
.mx_SettingsTab_toggleWithDescription {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|