scinote-web/app/assets/stylesheets/shared_styles/elements/navigation.scss

39 lines
687 B
SCSS
Raw Normal View History

.sci-secondary-navbar {
display: flex;
height: 100%;
2020-04-02 20:50:48 +08:00
overflow-x: auto;
.navbar-link {
@include font-small;
align-items: center;
color: $color-silver-chalice;
2020-03-06 20:51:18 +08:00
cursor: pointer;
display: flex;
height: 100%;
padding: 0 16px;
position: relative;
text-decoration: none;
text-transform: uppercase;
2020-04-02 20:50:48 +08:00
white-space: nowrap;
&:hover {
color: $color-volcano;
}
&.active {
color: $color-volcano;
font-weight: bold;
&::before {
background: $brand-primary;
bottom: 0;
content: "";
height: 4px;
left: 0;
position: absolute;
width: 100%;
}
}
}
}