2018-04-19 17:51:20 +00:00
|
|
|
#navbar {
|
|
|
|
z-index: 9999;
|
2018-04-19 16:24:42 +00:00
|
|
|
|
2018-04-22 06:47:18 +00:00
|
|
|
#navbar-router {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: row;
|
|
|
|
color: $twitter-color;
|
2018-03-11 23:42:46 +00:00
|
|
|
|
2018-04-22 06:47:18 +00:00
|
|
|
#menu-title {
|
|
|
|
font-family: bebas;
|
|
|
|
color: $hd-color;
|
|
|
|
font-size: $menu-font-size;
|
2018-05-13 16:31:52 +00:00
|
|
|
text-align: left;
|
2018-05-13 03:06:10 +00:00
|
|
|
padding: 0px;
|
2018-04-22 06:47:18 +00:00
|
|
|
}
|
2018-03-11 23:42:46 +00:00
|
|
|
|
2018-04-22 06:47:18 +00:00
|
|
|
#menu-items {
|
2018-05-13 03:06:10 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 0px;
|
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
opacity: 1;
|
2018-04-22 06:47:18 +00:00
|
|
|
}
|
2018-04-19 17:51:20 +00:00
|
|
|
|
2018-03-18 15:04:36 +00:00
|
|
|
ldp-route {
|
2018-04-19 17:51:20 +00:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 18px;
|
2018-05-13 03:06:10 +00:00
|
|
|
padding: 0px 15px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: 2px solid $hd-color;
|
|
|
|
}
|
2018-04-19 17:51:20 +00:00
|
|
|
}
|
2018-04-22 06:47:18 +00:00
|
|
|
|
|
|
|
#menu-title[active],
|
2018-04-19 17:51:20 +00:00
|
|
|
ldp-route[active] {
|
|
|
|
border-bottom: 2px solid $hd-color;
|
|
|
|
color: $hd-color;
|
2018-03-11 23:42:46 +00:00
|
|
|
}
|
2018-05-13 03:06:10 +00:00
|
|
|
}
|
2018-04-26 00:20:32 +00:00
|
|
|
|
2018-05-13 03:06:10 +00:00
|
|
|
#search-bar {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 16px;
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 0px;
|
|
|
|
|
|
|
|
input[type=search] {
|
|
|
|
transform: scaleX(0);
|
|
|
|
transform-origin: 100%;
|
|
|
|
transition-property: all;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
|
|
|
display: block;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
position: relative;
|
|
|
|
z-index: 9999;
|
|
|
|
padding: 10px;
|
2018-05-13 16:31:52 +00:00
|
|
|
padding-top: 9px;
|
|
|
|
padding-bottom: 11px;
|
|
|
|
color: $twitter-color;
|
2018-05-13 03:06:10 +00:00
|
|
|
border-radius: 0 0.25rem 0.25rem 0;
|
2018-05-13 16:31:52 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $hd-color;
|
|
|
|
}
|
2018-05-13 03:06:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.search-mode {
|
|
|
|
#navbar-router {
|
|
|
|
#menu-items {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-bar {
|
|
|
|
width: calc(100% - 125px);
|
|
|
|
|
|
|
|
input[type=search] {
|
|
|
|
transform: scaleX(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
color: white;
|
|
|
|
background-color: $twitter-color;
|
|
|
|
}
|
2018-04-26 00:20:32 +00:00
|
|
|
}
|
2018-03-18 15:04:36 +00:00
|
|
|
}
|
2018-03-11 23:42:46 +00:00
|
|
|
}
|
2018-04-20 06:58:30 +00:00
|
|
|
|
|
|
|
.vertical-menu {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9998;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 0px;
|
|
|
|
margin: auto;
|
|
|
|
background-color: white;
|
|
|
|
width: $vertical-menu-width;
|
|
|
|
padding-top: $menu-height;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
color: $twitter-color;
|
|
|
|
font-size: $menu-font-size;
|
|
|
|
|
|
|
|
ldp-route {
|
|
|
|
text-align: center;
|
2018-04-26 00:20:32 +00:00
|
|
|
cursor: pointer;
|
2018-04-20 06:58:30 +00:00
|
|
|
padding: 6px 0px;
|
2018-04-26 00:20:32 +00:00
|
|
|
margin-bottom: 2px;
|
|
|
|
border-left: 2px solid transparent;
|
2018-04-20 06:58:30 +00:00
|
|
|
|
|
|
|
&[active] {
|
|
|
|
border-left: 2px solid $hd-color;
|
|
|
|
color: $hd-color;
|
|
|
|
}
|
2018-04-26 00:20:32 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-left: 2px solid $hd-color;
|
|
|
|
}
|
2018-04-20 06:58:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-with-vertical-menu {
|
|
|
|
padding-right: $vertical-menu-width;
|
|
|
|
}
|