StaticApps/src/theme/gui/_header.scss

45 lines
800 B
SCSS

#main-header {
background-color: #1b1b1b;
color: #ffffff;
box-shadow: $box-shadow-1;
display: flex;
.logo {
display: block;
font-family: monospace;
font-size: 32px;
font-weight: bolder;
padding: .5rem 1rem;
}
nav {
margin-left: auto;
display: flex;
nav-item {
display: flex;
align-items: center;
padding: 0.5rem 1rem;
cursor: pointer;
position: relative;
&:hover {
background-color: rgba(0, 0, 0, .5) !important;
}
&.active {
background-color: rgba(0, 0, 0, .3);
&:after {
position: absolute;
content: '';
width: 100%;
height: 4px;
top: 0;
left: 0;
background-color: $primary;
}
}
}
}
}