system-praktyk-front/src/styles/header.scss
2020-11-07 15:47:07 +01:00

125 lines
1.7 KiB
SCSS

@import "variables";
header {
background: $main;
}
.header {
display: flex;
height: 110px;
color: white;
}
.header__logo {
width: 152px;
background: $brand;
display: flex;
align-items: center;
justify-content: center;
img {
max-width: 100px;
max-height: 72px;
}
}
.header__top {
background-color: $main-dark;
height: 38px;
width: 100%;
display: flex;
align-items: center;
font-size: 0.75rem;
color: #e4f1fe;
padding: 0 1rem;
a {
color: #e4f1fe
}
.header__divider {
margin: 0 1rem;
background: #274057;
width: 1px;
height: 60%;
}
}
.header__nav {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.header__top .header__menu {
margin-right: auto;
}
.header__bottom {
display: flex;
flex: 1 1 auto;
}
.header__menu--main {
display: flex;
list-style: none;
margin: 0;
font-size: 1.25rem;
padding-left: 0.75rem;
> li {
display: flex;
> a {
padding: 16px;
color: white;
text-decoration: none;
font-weight: bold;
display: flex;
align-items: center;
position: relative;
&:hover {
background: $brand;
&::before {
display: block;
bottom: 0;
left: 0;
right: 0;
height: 4px;
position: absolute;
background: white;
content: '';
}
}
}
}
}
.header__language-switcher {
padding: 0;
display: flex;
text-transform: uppercase;
li {
list-style: none;
&:not(:last-child) {
margin-right: .5rem;
}
a {
padding: 7px;
display: block;
}
}
}
.language-switcher__language--active {
font-weight: bold;
cursor: default;
text-decoration: none;
}