2016-12-23 01:42:58 +03:00
|
|
|
@import '../../shared/styles/variables';
|
|
|
|
|
|
|
|
.menu-item-header {
|
|
|
|
cursor: pointer;
|
2016-12-25 18:14:31 +03:00
|
|
|
color: rgba($text-color, .9);
|
2016-12-23 01:42:58 +03:00
|
|
|
-webkit-transition: all .15s ease-in-out;
|
|
|
|
-moz-transition: all .15s ease-in-out;
|
|
|
|
-ms-transition: all .15s ease-in-out;
|
|
|
|
-o-transition: all .15s ease-in-out;
|
|
|
|
transition: all .15s ease-in-out;
|
|
|
|
display: block;
|
|
|
|
padding: $side-menu-item-vpadding*2.5 $side-menu-item-hpadding;
|
|
|
|
|
|
|
|
&[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled, &.disabled:hover {
|
|
|
|
cursor: default;
|
|
|
|
color: lighten($text-color, 60%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item {
|
|
|
|
-webkit-transition: all .15s ease-in-out;
|
|
|
|
-moz-transition: all .15s ease-in-out;
|
|
|
|
-ms-transition: all .15s ease-in-out;
|
|
|
|
-o-transition: all .15s ease-in-out;
|
|
|
|
transition: all .15s ease-in-out;
|
|
|
|
list-style: none inside none;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item:hover,
|
|
|
|
.menu-item.active {
|
2016-12-25 18:14:31 +03:00
|
|
|
//background: darken($side-menu-active-bg-color, 6%);
|
2016-12-23 01:42:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-subitems {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 0.929em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
font-weight: $light;
|
|
|
|
color: rgba($text-color, .9);
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
.active > & {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-25 18:14:31 +03:00
|
|
|
.menu-item-depth-1 {
|
2016-12-23 01:42:58 +03:00
|
|
|
> .menu-item-header {
|
|
|
|
font-family: $headers-font, $headers-font-family;
|
|
|
|
font-weight: $light;
|
|
|
|
font-size: $h5;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2017-01-06 13:55:35 +03:00
|
|
|
// do not capitalize method summuary in level-1 menu
|
2017-03-30 15:17:08 +03:00
|
|
|
&.menu-item-for-operation > .menu-item-header {
|
2017-01-06 13:55:35 +03:00
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2016-12-25 15:24:58 +03:00
|
|
|
> .menu-item-header:not(.disabled):hover,
|
2016-12-23 01:42:58 +03:00
|
|
|
&.active > .menu-item-header {
|
|
|
|
color: $primary-color;
|
|
|
|
background: $side-menu-active-bg-color;
|
|
|
|
}
|
|
|
|
&.active {
|
2016-12-25 18:14:31 +03:00
|
|
|
//background: $side-menu-active-bg-color;
|
2016-12-23 01:42:58 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-25 18:14:31 +03:00
|
|
|
.menu-item-depth-2 {
|
2016-12-23 01:42:58 +03:00
|
|
|
> .menu-item-header {
|
2017-04-19 13:43:17 +03:00
|
|
|
padding-left: $side-menu-item-hpadding;
|
2016-12-23 01:42:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> .menu-item-header:hover,
|
|
|
|
&.active > .menu-item-header {
|
|
|
|
background: darken($side-menu-active-bg-color, 6%);
|
|
|
|
}
|
|
|
|
}
|
2016-12-25 18:14:31 +03:00
|
|
|
|
|
|
|
// group items
|
|
|
|
.menu-item-depth-0 {
|
|
|
|
margin-top: 15px;
|
|
|
|
|
|
|
|
> .menu-subitems {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .menu-item-header {
|
|
|
|
font-family: $headers-font, $headers-font-family;
|
|
|
|
color: rgba($text-color, .4);
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.8em;
|
|
|
|
padding-bottom: 0;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
//background: none;
|
|
|
|
}
|
|
|
|
}
|