159 lines
3.3 KiB
SCSS
159 lines
3.3 KiB
SCSS
|
|
.layout-container{
|
|
position: relative;
|
|
}
|
|
header{
|
|
display: block;
|
|
position: sticky; // sticky marche pas :(
|
|
|
|
}
|
|
|
|
#header-top {
|
|
height: 7rem;
|
|
background-color: $white;
|
|
box-shadow: 1px 0px 8px $black;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
color: $black;
|
|
position: sticky;
|
|
top:0%;
|
|
|
|
|
|
.region-header-top-left { // logo + menu déroulant
|
|
display:flex;
|
|
flex-direction: row;
|
|
padding: 1rem;
|
|
align-items:start;
|
|
color: $black;
|
|
font-weight: 800;
|
|
|
|
#block-logogouv{
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
ul{
|
|
position: absolute;
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
li {
|
|
padding-right: 1rem;
|
|
a {
|
|
color: $black;
|
|
// font-weight: 800;
|
|
|
|
}
|
|
.is-active {
|
|
color: $blue-light;
|
|
}
|
|
}
|
|
.ul2{
|
|
flex-direction: column;
|
|
display: none;
|
|
|
|
}
|
|
:hover{
|
|
color: $blue-light;
|
|
}
|
|
}
|
|
|
|
li:not(ul):not(.ul2){
|
|
display: block;
|
|
position: relative;
|
|
|
|
}
|
|
:hover {
|
|
.ul2{
|
|
display: block;
|
|
background-color: $white;
|
|
padding: 1rem;
|
|
// a{
|
|
// color: $white;
|
|
// }
|
|
|
|
// position: relative;
|
|
// transition: ease-in-out 2s;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
li .ul1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
#block-burger { // menu burger à droite
|
|
z-index: 1;
|
|
background-color: $blue-light;
|
|
font-size: 0.5rem;
|
|
color: $white;
|
|
display: block;
|
|
width: 7rem;
|
|
height: 100%;
|
|
margin-top: 0;
|
|
:hover{
|
|
cursor: pointer;
|
|
}
|
|
h2:after{
|
|
display: block;
|
|
height: 60px;
|
|
font-family: 'Font Awesome';
|
|
content: "\f0c9";
|
|
font-weight: 100;
|
|
font-size: 5rem;
|
|
// content:"";
|
|
// background-image: url('~/web/themes/custom/eql/images/pictos/menu.png');
|
|
height: 6rem;
|
|
}
|
|
|
|
#block-burger-menu{
|
|
display: block;
|
|
margin: 0;
|
|
align-self: center;
|
|
text-align: center;
|
|
height:7rem;
|
|
}
|
|
|
|
.ul1:not(.sous-liste){
|
|
width: 300%;
|
|
position: relative;
|
|
right: 260px;
|
|
margin: 0;
|
|
padding-top: 2rem;
|
|
z-index: 99;
|
|
|
|
}
|
|
ul {
|
|
display: none;
|
|
background-color: $blue-light;
|
|
line-height: 2rem;
|
|
list-style: none;
|
|
|
|
.ul1 .sous-liste{
|
|
a{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
a{
|
|
opacity: 0.6;
|
|
color: $white;
|
|
font-weight: 800;
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
&.opened ul {
|
|
display: block;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|