mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03:00
f55a40001c
Fixes https://github.com/vector-im/riot-web/issues/10554 Issues fixed: * Fields were not ~30px from the avatar (too much right margin) * Tooltips overflowed the dialog on some resolutions * SetIdServer didn't have an error state for making the field red * Spacing between sections in Discovery was wrong (fixed by just removing the problematic n+2 selector - it didn't help anything)
75 lines
1.8 KiB
SCSS
75 lines
1.8 KiB
SCSS
/*
|
|
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.
|
|
*/
|
|
|
|
.mx_SettingsTab_warningText {
|
|
color: $warning-color;
|
|
}
|
|
|
|
.mx_SettingsTab_heading {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: $primary-fg-color;
|
|
}
|
|
|
|
.mx_SettingsTab_heading:nth-child(n + 2) {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.mx_SettingsTab_subheading {
|
|
font-size: 16px;
|
|
display: block;
|
|
font-family: $font-family;
|
|
font-weight: 600;
|
|
color: $primary-fg-color;
|
|
margin-bottom: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.mx_SettingsTab_subsectionText {
|
|
color: $settings-subsection-fg-color;
|
|
font-size: 14px;
|
|
display: block;
|
|
margin: 10px 100px 10px 0; // Align with the rest of the view
|
|
}
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag {
|
|
margin-right: 100px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label {
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
color: $primary-fg-color;
|
|
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
|
|
box-sizing: border-box;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch {
|
|
float: right;
|
|
}
|
|
|
|
.mx_SettingsTab_linkBtn {
|
|
cursor: pointer;
|
|
color: $accent-color;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.mx_SettingsTab a {
|
|
color: $accent-color-alt;
|
|
}
|