mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 22:31:33 +03:00
88 lines
2.6 KiB
SCSS
88 lines
2.6 KiB
SCSS
|
/*
|
||
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
||
|
|
||
|
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_SidebarUserSettingsTab {
|
||
|
.mx_SidebarUserSettingsTab_subheading {
|
||
|
font-size: $font-15px;
|
||
|
line-height: $font-24px;
|
||
|
color: $primary-content;
|
||
|
margin-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
.mx_Checkbox {
|
||
|
margin-top: 12px;
|
||
|
font-size: $font-15px;
|
||
|
line-height: $font-24px;
|
||
|
color: $secondary-content;
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_checkboxMicrocopy {
|
||
|
margin-bottom: 12px;
|
||
|
margin-left: 24px;
|
||
|
font-size: $font-15px;
|
||
|
line-height: $font-24px;
|
||
|
color: $secondary-content;
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_homeAllRoomsCheckbox {
|
||
|
margin-left: 24px;
|
||
|
|
||
|
& + div {
|
||
|
margin-left: 48px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_homeCheckbox,
|
||
|
.mx_SidebarUserSettingsTab_favouritesCheckbox,
|
||
|
.mx_SidebarUserSettingsTab_peopleCheckbox,
|
||
|
.mx_SidebarUserSettingsTab_orphansCheckbox {
|
||
|
.mx_Checkbox_background + div {
|
||
|
padding-left: 20px;
|
||
|
position: relative;
|
||
|
|
||
|
&::before {
|
||
|
background-color: $secondary-content;
|
||
|
content: "";
|
||
|
mask-repeat: no-repeat;
|
||
|
mask-position: center;
|
||
|
mask-size: contain;
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_homeCheckbox .mx_Checkbox_background + div::before {
|
||
|
mask-image: url('$(res)/img/element-icons/home.svg');
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_favouritesCheckbox .mx_Checkbox_background + div::before {
|
||
|
mask-image: url('$(res)/img/element-icons/roomlist/favorite.svg');
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_peopleCheckbox .mx_Checkbox_background + div::before {
|
||
|
mask-image: url('$(res)/img/element-icons/room/members.svg');
|
||
|
}
|
||
|
|
||
|
.mx_SidebarUserSettingsTab_orphansCheckbox .mx_Checkbox_background + div::before {
|
||
|
mask-image: url('$(res)/img/element-icons/roomlist/hash-circle.svg');
|
||
|
}
|
||
|
}
|