_header.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .layout-container{
  2. position: absolute;
  3. }
  4. header{
  5. display: block;
  6. position: sticky;
  7. top:0;
  8. }
  9. #header-top {
  10. height: fit-content;
  11. background-color: $white;
  12. box-shadow: 1px 0px 8px $black;
  13. display: flex;
  14. flex-direction: row;
  15. justify-content: space-between;
  16. color: $black;
  17. .region-header-top-left {
  18. display:flex;
  19. flex-direction: row;
  20. padding: 1rem;
  21. align-items: center;
  22. color: $black;
  23. font-weight: 800;
  24. ul{
  25. list-style: none;
  26. display: flex;
  27. flex-direction: row;
  28. li {
  29. // background-color: red;
  30. padding-right: 1rem;
  31. a {
  32. color: $black;
  33. }
  34. .is-active {
  35. color: $blue-light;
  36. }
  37. }
  38. .ul2{
  39. flex-direction: column;
  40. display: none;
  41. }
  42. :hover{
  43. color: $blue-light;
  44. }
  45. }
  46. li:not(ul):not(.ul2){
  47. display: block;
  48. position: relative;
  49. }
  50. :hover {
  51. .ul2{
  52. display: block;
  53. position: relative;
  54. transition: ease-in-out 2s;
  55. }
  56. }
  57. }
  58. li .ul1 {
  59. display: flex;
  60. flex-direction: column;
  61. }
  62. #block-burger {
  63. z-index: 1;
  64. background-color: $blue-light;
  65. font-size: 0.5rem;
  66. color: $white;
  67. display: block;
  68. width: 7rem;
  69. height: 100%;
  70. margin-top: 0;
  71. :hover{
  72. cursor: pointer;
  73. }
  74. h2:after{
  75. display: block;
  76. height: 60px;
  77. font-family: 'Font Awesome';
  78. content: "\f0c9";
  79. font-weight: 100;
  80. font-size: 5rem;
  81. // content:"";
  82. // background-image: url('~/web/themes/custom/eql/images/pictos/menu.png');
  83. height: 6rem;
  84. }
  85. #block-burger-menu{
  86. display: block;
  87. margin: 0;
  88. align-self: center;
  89. text-align: center;
  90. height:7rem;
  91. }
  92. .ul1:not(.sous-liste){
  93. width: 300%;
  94. position: relative;
  95. right: 260px;
  96. margin: 0;
  97. padding-top: 2rem;
  98. z-index: 99;
  99. }
  100. ul {
  101. display: none;
  102. background-color: $blue-light;
  103. line-height: 2rem;
  104. list-style: none;
  105. .ul1 .sous-liste{
  106. a{
  107. opacity: 1;
  108. }
  109. }
  110. a{
  111. opacity: 0.6;
  112. color: $white;
  113. font-weight: 800;
  114. font-size: 1rem;
  115. }
  116. }
  117. &.opened ul {
  118. display: block;
  119. }
  120. }
  121. }