mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
67 lines
1.8 KiB
SCSS
67 lines
1.8 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: 180px;
|
|
border-radius: 4px;
|
|
|
|
.mx_TopLeftMenu_section:not(:last-child) {
|
|
border-bottom: 1px solid $menu-border-color;
|
|
}
|
|
|
|
.mx_TopLeftMenu_section {
|
|
list-style: none;
|
|
margin: 5px 0;
|
|
padding: 0;
|
|
|
|
li.mx_TopLeftMenu_icon_home::after {
|
|
mask-image: url('$(res)/img/feather-icons/home.svg');
|
|
}
|
|
|
|
li.mx_TopLeftMenu_icon_settings::after {
|
|
mask-image: url('$(res)/img/feather-icons/settings.svg');
|
|
}
|
|
|
|
li.mx_TopLeftMenu_icon_signout::after {
|
|
mask-image: url('$(res)/img/feather-icons/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;
|
|
}
|
|
}
|
|
|
|
}
|