_header.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. }
  31. .is-active {
  32. color: $blue-light;
  33. }
  34. }
  35. .ul2{
  36. flex-direction: column;
  37. }
  38. }
  39. :hover{
  40. color: $blue-light;
  41. }
  42. }
  43. li ul {
  44. display: flex;
  45. flex-direction: column;
  46. }
  47. #block-burger {
  48. z-index: 1;
  49. background-color: $blue-light;
  50. font-size: 0.5rem;
  51. color: $white;
  52. display: block;
  53. width: 7rem;
  54. height: 7rem;
  55. margin-top: 0;
  56. :hover{
  57. cursor: pointer;
  58. }
  59. h2:after{
  60. display: block;
  61. height: 60px;
  62. font-family: 'Font Awesome';
  63. content: "\f0c9";
  64. font-weight: 100;
  65. font-size: 5rem;
  66. // content:"";
  67. // background-image: url('~/web/themes/custom/eql/images/pictos/menu.png');
  68. height: 6rem;
  69. }
  70. #block-burger-menu{
  71. display: block;
  72. margin: 0;
  73. align-self: center;
  74. text-align: center;
  75. height:7rem;
  76. }
  77. .ul1:not(.sous-liste){
  78. width: 300%;
  79. position: relative;
  80. right: 260px;
  81. margin: 0;
  82. padding-top: 2rem;
  83. z-index: 99;
  84. }
  85. ul {
  86. display: none;
  87. background-color: $blue-light;
  88. line-height: 2rem;
  89. list-style: none;
  90. .ul1 .sous-liste{
  91. a{
  92. opacity: 1;
  93. }
  94. }
  95. a{
  96. opacity: 0.6;
  97. color: $white;
  98. font-weight: 800;
  99. font-size: 1rem;
  100. }
  101. }
  102. &.opened ul {
  103. display: block;
  104. }
  105. }
  106. }