poulpe/shared/static/css/_header.scss

92 lines
1.9 KiB
SCSS
Raw Normal View History

2018-10-04 21:10:30 +02:00
// main: global.scss
2018-08-04 05:38:03 +02:00
.strong-banner {
padding-top : 20px;
padding-bottom : 10px ;
2018-10-04 21:10:30 +02:00
background-color : $header-background;
color: $header-color;
2018-08-04 05:38:03 +02:00
}
.navbar-inverse {
2018-10-04 21:10:30 +02:00
background-color : $header-background;
2018-08-04 05:38:03 +02:00
background-color : transparent ;
border-style : none ;
.navbar-nav {
& > .open > a,
& > .open > a:focus,
& > .open > a:hover {
color: #fff;
2018-10-04 21:10:30 +02:00
background-color: $header-second-backgroud;
2018-08-04 05:38:03 +02:00
}
}
}
.navbar-collapse {
border-top: 0px solid transparent ;
padding : 0px ;
/* only < 768px*/
2018-10-04 21:10:30 +02:00
background-color : $header-second-backgroud;
2018-08-04 05:38:03 +02:00
padding-left: 25px;
margin-left: -15px;
margin-right: -15px;
@media (min-width: 768px) {
background-color : transparent;
padding-left: 0px;
margin-left: 0px;
margin-right: 0px;
}
}
.navbar-nav {
width: 100%;
@media (min-width: 768px) {
float : right ;
width: auto;
}
}
.navbar-inverse {
/* BRAND */
.navbar-brand {
&,
&:hover,
&:focus {
color: white;
font-family: $font_brand;
2018-08-04 18:18:34 +02:00
font-size: xx-large;
border-bottom: 5px solid $underline-brand;
2018-08-04 05:38:03 +02:00
}
}
/* ICONE */
.navbar-toggle {
&,
&:hover,
&:focus {
background-color: $second_bold_color;
border-color: $second_bold_color;
}
.icon-bar {
background-color: $second_white_color;
}
}
/* LINKS */
.navbar-nav {
& > li > a {
&,
&:hover,
&:focus {
font-family: $font_nav;
font-size: large;
color: $second_bold_color;
background: transparent;
@media (min-width: 768px) {
2018-10-04 21:10:30 +02:00
color: $second_white_color;
2018-08-04 05:38:03 +02:00
}
}
}
}
}