2016-05-06 00:48:41 +03:00
|
|
|
@import '../../shared/styles/variables';
|
2016-01-21 18:26:54 +03:00
|
|
|
$mobile-menu-compact-breakpoint: 550px;
|
2015-11-26 23:06:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2016-12-23 01:42:58 +03:00
|
|
|
ul.menu-root {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-11-22 16:45:27 +03:00
|
|
|
.menu-header {
|
2016-11-01 18:00:38 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
color: $headers-color;
|
|
|
|
padding: 0 $side-menu-item-hpadding;
|
|
|
|
margin: 10px 0;
|
2015-10-18 19:46:21 +03:00
|
|
|
}
|
2015-11-26 22:39:23 +03:00
|
|
|
|
2016-01-21 18:26:54 +03:00
|
|
|
.mobile-nav {
|
2016-11-01 18:00:38 +03:00
|
|
|
display: none;
|
|
|
|
height: 3em;
|
|
|
|
line-height: 3em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
width: 3em;
|
2016-01-21 18:26:54 +03:00
|
|
|
height: 3em;
|
2016-11-01 18:00:38 +03:00
|
|
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 100 100" version="1.1" viewBox="0 0 100 100" xml:space="preserve"><polygon fill="#010101" points="23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 "/></svg>');
|
|
|
|
background-size: 70%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2016-03-02 22:48:55 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
float: right;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
.menu-header {
|
|
|
|
padding: 0 10px 0 20px;
|
|
|
|
font-size: 0.95em;
|
2016-01-21 18:26:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
@media (max-width: $mobile-menu-compact-breakpoint) {
|
|
|
|
display: none;
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
2016-11-01 18:00:38 +03:00
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $side-menu-mobile-breakpoint) {
|
2016-11-01 18:00:38 +03:00
|
|
|
.mobile-nav {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
#resources-nav {
|
|
|
|
height: 0;
|
|
|
|
overflow-y: auto;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
#resources-nav .menu-header {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
|
2016-11-01 18:00:38 +03:00
|
|
|
.menu-subitems {
|
|
|
|
height: auto;
|
|
|
|
}
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-tag {
|
2016-11-01 18:00:38 +03:00
|
|
|
text-transform: capitalize;
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-endpoint:before {
|
2016-11-01 18:00:38 +03:00
|
|
|
content: "/";
|
|
|
|
padding: 0 2px;
|
|
|
|
color: #ccc;
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-endpoint:empty:before {
|
2016-11-01 18:00:38 +03:00
|
|
|
display: none;
|
2016-01-21 18:26:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-item-info {
|
2016-11-01 18:00:38 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 350px;
|
|
|
|
|
|
|
|
@media (max-width: $mobile-menu-compact-breakpoint) {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 20px;
|
|
|
|
max-width: 80%;
|
|
|
|
max-width: calc(100% - 4em);
|
|
|
|
}
|
2015-11-26 22:39:23 +03:00
|
|
|
}
|