_header.scss 3.0 KB

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