164 lines
3.8 KiB
SCSS
164 lines
3.8 KiB
SCSS
|
|
.layout-container{
|
|
position: relative;
|
|
}
|
|
header{
|
|
// display: block;
|
|
width: 100%;
|
|
position: fixed;
|
|
z-index: 99;
|
|
|
|
|
|
}
|
|
|
|
#header-top {
|
|
height: 7rem;
|
|
background-color: $white;
|
|
// box-shadow: 1px 0px 8px $black;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
color: $black;
|
|
top:0%;
|
|
|
|
|
|
.region-header-top-left { // logo + menu déroulant
|
|
display:flex;
|
|
flex-direction: row;
|
|
padding: 1rem;
|
|
padding-left: 3rem;
|
|
align-items:start;
|
|
color: $black;
|
|
font-weight: 800;
|
|
|
|
#block-logogouv{
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
img{
|
|
width: 80%;
|
|
height: auto;
|
|
}
|
|
}
|
|
#block-logoeql{
|
|
display: flex;
|
|
height: 100%;
|
|
align-items: center;
|
|
|
|
img{
|
|
width: 80%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
ul{
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
:is(.sous-liste){
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
}
|
|
.ul1.sous-liste{
|
|
padding-right: 2rem;
|
|
}
|
|
li{
|
|
|
|
a {
|
|
color: $black;
|
|
}
|
|
.is-active{
|
|
color:$blue-light;
|
|
}
|
|
:hover{
|
|
color: $blue-light;
|
|
}
|
|
}
|
|
}
|
|
ul:is(.ul1 .sous-liste .ul2){
|
|
display: none;
|
|
}
|
|
:hover {
|
|
ul:is(.ul1 .sous-liste .ul2){
|
|
display: block;
|
|
background-color: $blue-light;
|
|
padding: 1rem;
|
|
a{
|
|
color: $white;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#block-burger { // menu burger à droite
|
|
z-index: 1;
|
|
background-color: $blue-light;
|
|
font-size: 0.7rem;
|
|
color: $white;
|
|
display: block;
|
|
width: 7rem;
|
|
height: 100%;
|
|
margin-top: 0;
|
|
:hover{
|
|
cursor: pointer;
|
|
}
|
|
h2{
|
|
padding-top: 1rem;
|
|
}
|
|
h2:after{
|
|
display: block;
|
|
margin:auto;
|
|
// height: 60px;
|
|
content:url('data:image/svg+xml,<svg width="100" height="70" xmlns="http://www.w3.org/2000/svg" version="1.1"> <path id="path930" d="M 20,10 H 80" stroke-linecap="round" stroke="white" stroke-width="4"/><path id="path930-3" d="M 20,25 H 80" stroke-linecap="round" stroke="white" stroke-width="4"/><path id="path930-6" d="M 20,40 H 80" stroke-linecap="round" stroke="white" stroke-width="4"/></svg>');
|
|
}
|
|
|
|
#block-burger-menu{
|
|
display: block;
|
|
margin: 0;
|
|
align-self: center;
|
|
text-align: center;
|
|
// height:7rem;
|
|
}
|
|
|
|
|
|
// block menu open fond bleu
|
|
|
|
.ul1:not(.sous-liste){
|
|
width: 300%;
|
|
position: relative;
|
|
right: 260px;
|
|
margin: 0;
|
|
padding-top: 2rem;
|
|
padding-bottom: 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;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|