polyglot/app/assets/stylesheets/components/_navbar.scss

83 lines
1.3 KiB
SCSS

.polyglot-navbar {
display: flex;
align-items: center;
justify-content: space-between;
width: 100vw;
height: 3.5em;
background: $navbar-background;
.logo {
color: $primary;
margin-left: 1em;
font-size: 2em;
font-weight: bold;
}
.right-align {
height: 100%;
width: 16em;
margin-right: 4em;
display: flex;
align-items: center;
justify-content: space-between;
.links {
display: flex;
height: inherit;
div {
height: inherit;
display: flex;
align-items: center;
border-bottom: 5px solid transparent;
&:first-child {
margin-right: 2.5em;
}
&.active, &:hover {
border-bottom: 5px solid $primary;
color: white;
a {
color: white;
}
}
a {
color: #C4C4C4;
text-decoration: none;
}
}
}
}
.profile {
img {
width: 3em;
padding: 0.2em;
}
}
.burger-menu {
margin-right: 20px;
color: $primary;
}
.polyglot-dropdown {
background-color: $navbar-background;
li {
a {
color: $icon;
&:hover {
color: $primary;
background-color: $navbar-background;
}
}
}
}
}