123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- .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:url("../images/pictos/menu.png");
- // content: url('data:image/svg+xml; utf8, <svg version="1.1" x="0px" y="0px" viewBox="0 0 52 33" xml:space="preserve" id="svg8" sodipodi:docname="noun_Arrow_3771902.svg" inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)" width="52" height="33" inkscape:export-filename="/home/ouidade/Sites/EQL/docker-eql/src_d9/web/themes/custom/eql/images/pictos/noun_Arrow_3771902.png" inkscape:export-xdpi="300" inkscape:export-ydpi="300" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata id="metadata14"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/></cc:Work></rdf:RDF></metadata><defs id="defs12"/><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1015" id="namedview10" showgrid="false" inkscape:zoom="6.92" inkscape:cx="20.953757" inkscape:cy="38.222543" inkscape:window-x="0" inkscape:window-y="36" inkscape:window-maximized="1" inkscape:current-layer="svg8" inkscape:pagecheckerboard="0" width="99px"/><polygon points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2 " id="polygon2" inkscape:export-filename="/home/ouidade/Sites/EQL/docker-eql/src_d9/web/themes/custom/eql/images/pictos/polygon2.png" inkscape:export-xdpi="300" inkscape:export-ydpi="300" transform="translate(-23.815852,-33.316918)"/></svg>');
- // background-image: url('~/web/themes/custom/eql/images/pictos/menu.png');
- // height: 2rem;
- content:url('data:image/svg+xml,<svg width="160" height="140" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="20" x2="95" y1="20" y2="20" stroke-linecap="round" stroke="white" stroke-width="7"/></svg>');
- content:url('data:image/svg+xml,<svg width="160" height="140" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="20" x2="95" y1="50" y2="50" stroke-linecap="round" stroke="white" stroke-width="7"/></svg>');
- }
- #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;
- }
- }
- }
|