|
@@ -4,7 +4,11 @@ header{
|
|
|
height: 40px;
|
|
|
top: 0;
|
|
|
padding: 0 20px;
|
|
|
+ display: -webkit-box;
|
|
|
+ display: -ms-flexbox;
|
|
|
display: flex;
|
|
|
+ -webkit-box-pack: justify;
|
|
|
+ -ms-flex-pack: justify;
|
|
|
justify-content: space-between;
|
|
|
background-color: white;
|
|
|
border-bottom: 2px solid rgb(0,0,0);
|
|
@@ -14,40 +18,91 @@ header{
|
|
|
}
|
|
|
nav{
|
|
|
margin: auto 0;
|
|
|
- & > .tags{
|
|
|
- & > a {
|
|
|
- li{
|
|
|
- position: relative;
|
|
|
- z-index: 0;
|
|
|
- &::after{
|
|
|
- content: " ";
|
|
|
- position: absolute;
|
|
|
- background: rgb(0, 255, 0);
|
|
|
- height: 10px;
|
|
|
- margin: auto;
|
|
|
- z-index: -1;
|
|
|
- transition: width 0.5s;
|
|
|
- width: 0%;
|
|
|
- }
|
|
|
+ ul{
|
|
|
+ display: -webkit-box;
|
|
|
+ display: -ms-flexbox;
|
|
|
+ display: flex;
|
|
|
+ -ms-flex-wrap: wrap;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ -webkit-box-pack: end;
|
|
|
+ -ms-flex-pack: end;
|
|
|
+ justify-content: flex-end;
|
|
|
+ li{
|
|
|
+ height: 40px;
|
|
|
+ margin-right: 50px;
|
|
|
+ -webkit-box-align: center;
|
|
|
+ -ms-flex-align: center;
|
|
|
+ align-items: center;
|
|
|
+ display: -webkit-box;
|
|
|
+ display: -ms-flexbox;
|
|
|
+ display: flex;
|
|
|
+ &:last-child{
|
|
|
+ margin-right: 0px!important;
|
|
|
}
|
|
|
- &:hover{
|
|
|
- li{
|
|
|
+ }
|
|
|
+ &.tags{
|
|
|
+ visibility: hidden;
|
|
|
+ position: absolute;
|
|
|
+ border-left: 2px solid black;
|
|
|
+ border-bottom: 2px solid black;
|
|
|
+ background: white;
|
|
|
+ top: 40px;
|
|
|
+ right: 0px;
|
|
|
+ width: auto;
|
|
|
+ z-index: 999;
|
|
|
+ a{
|
|
|
+ display: -webkit-box;
|
|
|
+ display: -ms-flexbox;
|
|
|
+ display: flex;
|
|
|
+ width: auto;
|
|
|
+ height: 50px;
|
|
|
+ padding: 0 20px;
|
|
|
+ & > li{
|
|
|
+ margin: auto;
|
|
|
+ position: relative;
|
|
|
&::after{
|
|
|
content: " ";
|
|
|
position: absolute;
|
|
|
- background: rgb(0, 255, 0);
|
|
|
height: 10px;
|
|
|
margin: auto;
|
|
|
+ background: rgb(0, 255, 0);
|
|
|
z-index: -1;
|
|
|
- width: 100%;
|
|
|
- transition: width 0.5s;
|
|
|
+ width: 0%;
|
|
|
+ -webkit-transition: all 0s;
|
|
|
+ transition: all 0s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.visible, &.active{
|
|
|
+ visibility: visible;
|
|
|
+ a{
|
|
|
+ & > li{
|
|
|
+ &::after{
|
|
|
+ background: rgb(0, 255, 0);
|
|
|
+ width: 0%;
|
|
|
+ -webkit-transition: all 0.5s;
|
|
|
+ transition: all 0.5s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &:hover{
|
|
|
+ & > li{
|
|
|
+ &::after{
|
|
|
+ background: rgb(0, 255, 0);
|
|
|
+ width: 100%;
|
|
|
+ -webkit-transition: all 0.5s;
|
|
|
+ transition: all 0.5s;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
& > ul:nth-child(1) {
|
|
|
& > li:nth-child(1){
|
|
|
+ display: -webkit-box;
|
|
|
+ display: -ms-flexbox;
|
|
|
display: flex;
|
|
|
position: relative;
|
|
|
margin-right: 60px;
|
|
@@ -60,56 +115,20 @@ header{
|
|
|
background-image: url(../images/fleche2.svg);
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center;
|
|
|
-
|
|
|
position: absolute;
|
|
|
right: -25px;
|
|
|
+ -webkit-transition: all 0.5s;
|
|
|
transition: all 0.5s;
|
|
|
}
|
|
|
&.hover{
|
|
|
&:after{
|
|
|
+ -webkit-transform: rotate(180deg);
|
|
|
transform: rotate(180deg);
|
|
|
+ -webkit-transition: all 0.5s;
|
|
|
transition: all 0.5s;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- ul{
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- justify-content: flex-end;
|
|
|
- li{
|
|
|
- height: 40px;
|
|
|
- margin-right: 50px;
|
|
|
- align-items: center;
|
|
|
- display: flex;
|
|
|
- &:last-child{
|
|
|
- margin-right: 0px!important;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- ul.tags{
|
|
|
- display: none;
|
|
|
- }
|
|
|
- ul.visible, ul.active{
|
|
|
- border-left: 2px solid black;
|
|
|
- border-bottom: 2px solid black;
|
|
|
- background: white;
|
|
|
- display: flex;
|
|
|
- position: absolute;
|
|
|
- top: 40px;
|
|
|
- right: 0px;
|
|
|
- width: auto;
|
|
|
- z-index: 999;
|
|
|
- a{
|
|
|
-
|
|
|
- display: flex;
|
|
|
- width: auto;
|
|
|
- height: 50px;
|
|
|
- padding: 0 20px;
|
|
|
- li{
|
|
|
- margin: auto;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|