Files
astuto/app/javascript/stylesheets/common/_header.scss

86 lines
1.2 KiB
SCSS
Raw Normal View History

.header {
@extend
.navbar,
.navbar-expand-md,
.navbar-light;
2019-09-19 16:42:43 +02:00
position: sticky;
z-index: 1;
top: 0px;
background-color: white;
2019-08-19 16:43:32 +02:00
border-bottom-width: 1px;
border-bottom-style: solid;
2019-09-19 16:42:43 +02:00
border-bottom-color: rgba(0, 0, 0, 0.25);
2019-08-19 16:43:32 +02:00
2019-09-19 16:42:43 +02:00
box-shadow: 0 1px 4px rgba(0,0,0,0.15), 0 1px 8px rgba(0,0,0,0.15);
margin-bottom: 1em;
2019-08-19 16:43:32 +02:00
.brand {
@extend .navbar-brand;
2019-08-19 16:43:32 +02:00
font-size: 18pt;
font-weight: 700;
2019-08-19 17:42:13 +02:00
2019-09-24 16:37:55 +02:00
.logo {
@extend
.d-inline-block,
.align-top,
.mr-2;
width: 36px;
}
2019-09-23 17:06:32 +02:00
}
.navbarToggler {
@extend .navbar-toggler;
&:focus {
outline: none;
}
}
2019-09-19 16:42:43 +02:00
.boardsNav {
@extend
.navbar-nav,
.mr-auto;
2019-09-19 16:42:43 +02:00
.nav-item {
@extend
.badge,
.text-uppercase;
2019-09-19 18:45:55 +02:00
font-size: 14px;
2019-09-19 19:39:16 +02:00
text-align: left;
2019-09-19 16:42:43 +02:00
}
.nav-item.active {
@extend .badgeLight;
}
}
.profileNav {
@extend
.navbar-nav,
.ml-auto;
2019-08-19 17:42:13 +02:00
.profileToggle {
@extend
.nav-link,
.dropdown-toggle;
2019-09-19 19:39:16 +02:00
&::after { vertical-align: middle; }
}
2019-09-19 19:39:16 +02:00
.fullname {
color: $astuto-black;
vertical-align: middle;
}
2019-09-19 19:39:16 +02:00
}
2019-09-27 11:40:33 +02:00
.dropdown-item:active {
background-color: $primary-color;
2019-09-27 11:40:33 +02:00
}
2022-05-10 20:16:03 +02:00
}