2019-01-22 21:28:33 +01: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 00:11:44 +01:00
|
|
|
.mx_SettingsTab_warningText {
|
|
|
|
color: $warning-color;
|
|
|
|
}
|
|
|
|
|
2019-01-19 04:22:36 +01:00
|
|
|
.mx_SettingsTab_heading {
|
2019-01-30 07:11:16 +01:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $primary-fg-color;
|
2019-01-19 04:22:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_subheading {
|
2019-02-08 23:23:14 +01:00
|
|
|
font-size: 16px;
|
2019-01-30 07:11:16 +01:00
|
|
|
display: block;
|
|
|
|
font-family: $font-family;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-top: 12px;
|
2019-01-19 04:22:36 +01:00
|
|
|
}
|
|
|
|
|
2019-01-22 07:08:01 +01:00
|
|
|
.mx_SettingsTab_subsectionText {
|
2019-01-30 07:11:16 +01:00
|
|
|
color: $settings-subsection-fg-color;
|
2019-02-08 23:23:14 +01:00
|
|
|
font-size: 14px;
|
2019-01-30 07:11:16 +01:00
|
|
|
padding-bottom: 12px;
|
|
|
|
display: block;
|
|
|
|
margin: 0 100px 0 0; // Align with the rest of the view
|
2019-01-22 00:03:44 +01:00
|
|
|
}
|
2019-01-23 23:50:41 +01:00
|
|
|
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag {
|
2019-01-30 07:11:16 +01:00
|
|
|
margin-right: 100px;
|
|
|
|
margin-bottom: 10px;
|
2019-01-23 23:50:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label {
|
2019-02-08 23:23:14 +01:00
|
|
|
vertical-align: middle;
|
2019-01-30 07:11:16 +01:00
|
|
|
display: inline-block;
|
2019-02-08 23:23:14 +01:00
|
|
|
font-size: 14px;
|
2019-01-30 07:11:16 +01:00
|
|
|
color: $primary-fg-color;
|
|
|
|
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
|
2019-02-12 12:50:23 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: 10px;
|
2019-01-23 23:50:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch {
|
2019-01-30 07:11:16 +01:00
|
|
|
float: right;
|
2019-01-23 23:50:41 +01:00
|
|
|
}
|
2019-01-24 23:47:04 +01:00
|
|
|
|
|
|
|
.mx_SettingsTab_linkBtn {
|
2019-01-30 07:11:16 +01:00
|
|
|
cursor: pointer;
|
|
|
|
color: $accent-color;
|
|
|
|
word-break: break-all;
|
2019-01-30 03:28:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SettingsTab .mx_SettingsTab_subheading:nth-child(n + 2) {
|
2019-01-30 07:11:16 +01:00
|
|
|
// These views have a lot of the same repetitive information on it, so
|
|
|
|
// give them more visual distinction between the sections.
|
|
|
|
margin-top: 30px;
|
2019-01-30 03:28:30 +01:00
|
|
|
}
|
2019-04-10 23:00:02 +02:00
|
|
|
|
|
|
|
.mx_SettingsTab a {
|
|
|
|
color: $accent-color-alt;
|
2019-07-09 19:15:10 +02:00
|
|
|
}
|