2018-10-23 13:25:20 +00:00
|
|
|
/*
|
|
|
|
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;
|
2019-01-29 15:56:07 +00:00
|
|
|
border-radius: 4px;
|
2018-10-23 13:25:20 +00:00
|
|
|
|
|
|
|
.mx_TopLeftMenu_section:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $menu-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TopLeftMenu_section {
|
|
|
|
list-style: none;
|
|
|
|
margin: 5px 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2019-02-08 13:48:51 +00:00
|
|
|
li.mx_TopLeftMenu_icon_home::after {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/home.svg');
|
|
|
|
}
|
|
|
|
|
2019-01-29 15:56:07 +00:00
|
|
|
li.mx_TopLeftMenu_icon_settings::after {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/settings.svg');
|
|
|
|
}
|
|
|
|
|
2019-02-13 15:48:40 +00:00
|
|
|
li.mx_TopLeftMenu_icon_signin::after {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/sign-in.svg');
|
|
|
|
}
|
|
|
|
|
2019-01-29 15:56:07 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-10-23 13:25:20 +00:00
|
|
|
li {
|
2019-01-29 15:56:07 +00:00
|
|
|
position: relative;
|
2019-01-17 13:07:33 +00:00
|
|
|
cursor: pointer;
|
2018-10-23 13:25:20 +00:00
|
|
|
white-space: nowrap;
|
2019-01-29 15:56:07 +00:00
|
|
|
padding: 5px 20px 5px 43px;
|
2018-10-23 13:25:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
background-color: $menu-selected-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|