mirror of https://github.com/vector-im/riot-web
115 lines
2.8 KiB
SCSS
115 lines
2.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_SecurityRoomSettingsTab {
|
|
.mx_SettingsTab_showAdvanced {
|
|
padding: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mx_SecurityRoomSettingsTab_spacesWithAccess {
|
|
> h4 {
|
|
color: $secondary-content;
|
|
font-weight: $font-semi-bold;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
> span {
|
|
font-weight: 500;
|
|
font-size: $font-14px;
|
|
line-height: 32px; // matches height of avatar for v-align
|
|
color: $secondary-content;
|
|
display: inline-block;
|
|
|
|
img.mx_RoomAvatar_isSpaceRoom,
|
|
.mx_RoomAvatar_isSpaceRoom img {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mx_BaseAvatar {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
& + span {
|
|
margin-left: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mx_SecurityRoomSettingsTab_warning {
|
|
display: block;
|
|
|
|
img {
|
|
vertical-align: middle;
|
|
margin-right: 5px;
|
|
margin-left: 3px;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
.mx_SecurityRoomSettingsTab_encryptionSection {
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid $menu-border-color;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.mx_SecurityRoomSettingsTab_upgradeRequired {
|
|
margin-left: 16px;
|
|
padding: 4px 16px;
|
|
border: 1px solid $accent-color;
|
|
border-radius: 8px;
|
|
color: $accent-color;
|
|
font-size: $font-12px;
|
|
line-height: $font-15px;
|
|
}
|
|
|
|
.mx_SecurityRoomSettingsTab_joinRule {
|
|
.mx_RadioButton {
|
|
padding-top: 16px;
|
|
margin-bottom: 8px;
|
|
|
|
.mx_RadioButton_content {
|
|
margin-left: 14px;
|
|
font-weight: $font-semi-bold;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
color: $primary-content;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
> span {
|
|
display: inline-block;
|
|
margin-left: 34px;
|
|
margin-bottom: 16px;
|
|
font-size: $font-15px;
|
|
line-height: $font-24px;
|
|
color: $secondary-content;
|
|
|
|
& + .mx_RadioButton {
|
|
border-top: 1px solid $menu-border-color;
|
|
}
|
|
}
|
|
|
|
.mx_AccessibleButton_kind_link {
|
|
padding: 0;
|
|
font-size: inherit;
|
|
}
|
|
}
|