_header.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. .ul1:not(.sous-liste){
  85. width: 300%;
  86. position: relative;
  87. right: 260px;
  88. margin: 0;
  89. padding-top: 2rem;
  90. }
  91. ul {
  92. display: none;
  93. background-color: $blue-light;
  94. line-height: 2rem;
  95. list-style: none;
  96. .ul1 .sous-liste{
  97. a{
  98. opacity: 1;
  99. }
  100. }
  101. a{
  102. opacity: 0.6;
  103. color: $white;
  104. font-weight: 800;
  105. font-size: 1rem;
  106. }
  107. }
  108. &.opened ul {
  109. display: block;
  110. }
  111. }
  112. }