mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
dd2079bffc
These `stylelint` issues were autofixed by the tool itself and look sane to me.
92 lines
2.3 KiB
SCSS
92 lines
2.3 KiB
SCSS
/*
|
|
Copyright 2018 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_TopLeftMenu {
|
|
min-width: 210px;
|
|
border-radius: 4px;
|
|
|
|
.mx_TopLeftMenu_greyedText {
|
|
font-size: 12px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.mx_TopLeftMenu_upgradeLink {
|
|
font-size: 12px;
|
|
|
|
img {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
.mx_TopLeftMenu_section:not(:last-child) {
|
|
border-bottom: 1px solid $menu-border-color;
|
|
}
|
|
|
|
.mx_TopLeftMenu_section_noIcon {
|
|
margin: 5px 0;
|
|
padding: 5px 20px 5px 15px;
|
|
|
|
div:not(:first-child) {
|
|
margin-top: 5px;
|
|
}
|
|
}
|
|
|
|
.mx_TopLeftMenu_section_withIcon {
|
|
margin: 5px 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
|
|
li.mx_TopLeftMenu_icon_home::after {
|
|
mask-image: url('$(res)/img/feather-customised/home.svg');
|
|
}
|
|
|
|
li.mx_TopLeftMenu_icon_settings::after {
|
|
mask-image: url('$(res)/img/feather-customised/settings.svg');
|
|
}
|
|
|
|
li.mx_TopLeftMenu_icon_signin::after {
|
|
mask-image: url('$(res)/img/feather-customised/sign-in.svg');
|
|
}
|
|
|
|
li.mx_TopLeftMenu_icon_signout::after {
|
|
mask-image: url('$(res)/img/feather-customised/sign-out.svg');
|
|
}
|
|
|
|
li::after {
|
|
mask-repeat: no-repeat;
|
|
mask-position: 0 center;
|
|
mask-size: 16px;
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
content: "";
|
|
top: 5px;
|
|
left: 14px;
|
|
background-color: $primary-fg-color;
|
|
}
|
|
|
|
li {
|
|
position: relative;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
padding: 5px 20px 5px 43px;
|
|
}
|
|
|
|
li:hover {
|
|
background-color: $menu-selected-color;
|
|
}
|
|
}
|
|
}
|