2018-09-28 19:20:15 +00:00
|
|
|
@import 'variables';
|
|
|
|
|
|
|
|
[hidden] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-family: Open Sans, sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
background-color: $color-grey-light;
|
2018-09-29 00:22:00 +00:00
|
|
|
color: $color-grey;
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
|
2018-10-05 09:37:48 +00:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
color: $color-black;
|
|
|
|
font-weight: 600;
|
2018-10-18 18:06:43 +00:00
|
|
|
padding: 0;
|
2018-10-05 09:37:48 +00:00
|
|
|
margin: 0.67em 0;
|
|
|
|
span {
|
|
|
|
font-weight: 400;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
&:before {
|
|
|
|
content: '// ';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.23em;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1.16em;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 1.12em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.debug {
|
|
|
|
outline: 2px dotted red;
|
|
|
|
}
|
|
|
|
|
2018-09-28 19:20:15 +00:00
|
|
|
#header {
|
|
|
|
background-color: $color-white;
|
2018-10-05 09:37:48 +00:00
|
|
|
color: $color-black;
|
2018-09-28 19:20:15 +00:00
|
|
|
position: relative;
|
|
|
|
@include border-shadow(bottom);
|
|
|
|
border: solid $color-white;
|
|
|
|
border-width: 1px 0;
|
2018-10-05 09:37:48 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 1em 0;
|
|
|
|
> * {
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#button-toggle {
|
|
|
|
@include icon('menu');
|
|
|
|
display: none;
|
|
|
|
color: $color-black;
|
|
|
|
font-size: 2em;
|
|
|
|
padding: 0.72em;
|
|
|
|
cursor: pointer;
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#logo {
|
2018-10-05 09:37:48 +00:00
|
|
|
flex: 1 1 0px;
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
|
2018-10-05 09:37:48 +00:00
|
|
|
#notification {
|
|
|
|
@include icon(bell);
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#profile {
|
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
margin-right: 0.5em;
|
2018-10-12 17:11:13 +00:00
|
|
|
width: 43px;
|
|
|
|
height: 43px;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center;
|
|
|
|
border-radius: 100%;
|
2018-10-05 09:37:48 +00:00
|
|
|
}
|
2018-09-28 19:20:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#subContainer {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainContainer {
|
|
|
|
flex: 1 1 0px;
|
|
|
|
}
|
|
|
|
|
2018-10-08 08:49:31 +00:00
|
|
|
.limiter {
|
2018-10-05 09:37:48 +00:00
|
|
|
display: block;
|
|
|
|
max-width: 650px;
|
2018-09-29 00:22:00 +00:00
|
|
|
}
|
2018-10-05 09:37:48 +00:00
|
|
|
/* sub menu (right menu) */
|
2018-09-29 00:22:00 +00:00
|
|
|
|
2018-10-05 09:37:48 +00:00
|
|
|
#mainContainer > div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
align-items: flex-start;
|
|
|
|
> sib-router {
|
2018-10-08 08:49:31 +00:00
|
|
|
font-family: monospace;
|
|
|
|
color: $color-black;
|
2018-10-05 09:37:48 +00:00
|
|
|
display: block;
|
2018-10-08 08:49:31 +00:00
|
|
|
background-color: $color-grey-light2;
|
2018-10-05 09:37:48 +00:00
|
|
|
sib-route {
|
|
|
|
display: block;
|
2018-10-08 08:49:31 +00:00
|
|
|
cursor: pointer;
|
2018-10-05 09:37:48 +00:00
|
|
|
> div {
|
|
|
|
position: relative;
|
2018-10-08 08:49:31 +00:00
|
|
|
padding: 1.5em 3em;
|
|
|
|
border-bottom: 1px solid $color-grey;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-grey;
|
2018-10-05 09:37:48 +00:00
|
|
|
}
|
|
|
|
&[active] {
|
|
|
|
font-weight: bold;
|
2018-10-08 08:49:31 +00:00
|
|
|
background-color: $color-black;
|
|
|
|
color: $color-yellow;
|
2018-10-05 09:37:48 +00:00
|
|
|
> div:before {
|
2018-10-08 08:49:31 +00:00
|
|
|
opacity: 1;
|
2018-10-05 09:37:48 +00:00
|
|
|
transform: translateX(-150%);
|
2018-10-08 08:49:31 +00:00
|
|
|
transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> div {
|
|
|
|
@include icon(arrow-left);
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
opacity: 0;
|
2018-10-05 09:37:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> div {
|
|
|
|
margin: 2.6em;
|
|
|
|
flex: 1 1 0px;
|
2018-09-29 00:22:00 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-05 09:37:48 +00:00
|
|
|
|
|
|
|
#search-bar > div {
|
|
|
|
position: relative;
|
2018-09-29 00:22:00 +00:00
|
|
|
}
|
2018-10-05 09:37:48 +00:00
|
|
|
|
|
|
|
#search-icon {
|
|
|
|
pointer-events: none;
|
2018-09-29 00:22:00 +00:00
|
|
|
}
|
|
|
|
|
2018-10-05 09:37:48 +00:00
|
|
|
#search-icon,
|
|
|
|
#close-search-icon {
|
|
|
|
position: absolute;
|
|
|
|
right: 0.4em;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
margin: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#search-input {
|
|
|
|
-webkit-appearance: textfield;
|
|
|
|
border-radius: 10em;
|
|
|
|
padding: 0.4em 0.8em;
|
|
|
|
border: 1px solid $color-grey;
|
|
|
|
& ~ #close-search-icon {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
& ~ #close-search-icon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
& ~ #search-icon {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-08 08:49:31 +00:00
|
|
|
sib-route,
|
|
|
|
sib-trigger {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-10-05 09:37:48 +00:00
|
|
|
sib-trigger.back {
|
|
|
|
display: block;
|
|
|
|
@include icon('arrow-left');
|
|
|
|
@extend h1;
|
|
|
|
}
|