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

93 lines
1.4 KiB
SCSS
Raw Permalink Normal View History

2018-08-28 10:18:23 +00:00
.polyglot-navbar {
display: flex;
align-items: center;
justify-content: space-between;
2018-08-28 10:18:23 +00:00
width: 100vw;
height: 3.5em;
background: $navbar-background;
2018-08-28 10:18:23 +00:00
.logo {
color: $primary;
margin-left: 1em;
2018-08-28 10:18:23 +00:00
font-size: 2em;
font-weight: bold;
2018-09-01 17:45:52 +00:00
a:hover {
color: $primary;
}
2018-08-28 10:18:23 +00:00
}
2018-08-28 10:18:23 +00:00
.right-align {
height: 100%;
width: 16em;
margin-right: 4em;
2018-08-28 10:18:23 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2018-08-28 10:18:23 +00:00
.links {
display: flex;
height: inherit;
2018-08-28 10:18:23 +00:00
div {
height: inherit;
display: flex;
align-items: center;
border-bottom: 5px solid transparent;
2018-08-28 10:18:23 +00:00
&:first-child {
margin-right: 2.5em;
2018-08-28 10:18:23 +00:00
}
2018-09-01 17:27:12 +00:00
&.active {
2018-08-28 10:18:23 +00:00
border-bottom: 5px solid $primary;
color: white;
2018-09-01 17:27:12 +00:00
}
2018-08-28 10:18:23 +00:00
2018-09-01 17:27:12 +00:00
&:hover {
color: white;
}
&.active, &:hover {
a {
2018-08-28 10:18:23 +00:00
color: white;
}
2018-08-28 10:18:23 +00:00
}
2018-08-28 10:18:23 +00:00
a {
2018-09-01 17:45:52 +00:00
color: $text-inactive;
2018-08-28 10:18:23 +00:00
text-decoration: none;
}
}
}
}
.profile {
img {
width: 3em;
padding: 0.2em;
2018-09-04 12:50:44 +00:00
border-radius: 50%;
}
}
.burger-menu {
margin-right: 20px;
color: $primary;
}
.polyglot-dropdown {
background-color: $navbar-background;
li {
a {
2018-09-01 17:45:52 +00:00
color: $text-inactive;
&:hover {
2018-09-01 17:45:52 +00:00
color: white;
background-color: $background;
}
}
2018-08-28 10:18:23 +00:00
}
}
}