_header.scss 2.7 KB

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