_header.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. header{
  2. display: block;
  3. background-color: white;
  4. position: fixed;
  5. z-index: 99;
  6. width: 100vw;
  7. position: -webkit-sticky;
  8. position: sticky;
  9. top: 0;
  10. // .sticky{
  11. // position: fixed;
  12. // }
  13. // height: 150px;
  14. div{
  15. display:flex;
  16. flex-direction: row;
  17. justify-content: space-between;
  18. #block-reha-logoministere{
  19. width: fit-content;
  20. }
  21. #block-reha-logoreha{
  22. max-height: 90%;
  23. img{
  24. // max-height: ;
  25. }
  26. }
  27. #block-reha-connexionutilisateur{
  28. display: flex;
  29. flex-direction: column;
  30. width: 15%;
  31. .user-login-form{
  32. display: none;
  33. }
  34. ul{
  35. display: none;
  36. }
  37. }
  38. #block-reha-config-pages{
  39. width: 15%;
  40. display: flex;
  41. flex-direction: column;
  42. .config_pages--contact--full {
  43. display: none; /* Cacher initialement le contenu */
  44. }
  45. .open{
  46. display: block;
  47. }
  48. .field--type-text-long {
  49. transition: height 0.5s; /* Animation de 0.5 seconde lors de l'expansion vers le bas */
  50. }
  51. }
  52. }
  53. }
  54. // pop in biographie
  55. // .config_pages--contact--full {
  56. // position: fixed;
  57. // z-index: 1;
  58. // top: 0;
  59. // right: 0;
  60. // bottom: 0;
  61. // left: 0;
  62. // display: none;
  63. // }
  64. // .config_pages--contact--full.open{
  65. // display: block;
  66. // // .bouton {
  67. // // border: solid !important;
  68. // // background-color: transparent;
  69. // // text-transform: uppercase;
  70. // // align-self: flex-end;
  71. // // margin:auto;
  72. // // margin-bottom: 2rem;
  73. // // }
  74. // }
  75. // // #modal .mask{
  76. // // background: none !important;
  77. // // opacity: 1;
  78. // // position: absolute;
  79. // // top: 0;
  80. // // right: 0;
  81. // // bottom: 0;
  82. // // left: 0;
  83. // //
  84. // // }
  85. // // #body .grey {
  86. // // opacity: 0.5;
  87. // // }
  88. // .config_pages--contact--full{
  89. // position: absolute;
  90. // background: white !important;
  91. // top: 50%;
  92. // left: 45%;
  93. // // transform: translateX(-50%) translateY(-50%);
  94. // width:fit-content;
  95. // height: fit-content;
  96. // min-height: 50px;
  97. // border: solid;
  98. // color: black;
  99. // // .message{
  100. // // padding: 5% 10% 5% 5%;
  101. // // }
  102. // a.close{
  103. // position: absolute;
  104. // right: 5%;
  105. // top:5%;
  106. // color: black;
  107. // font-size: 30px;
  108. // }
  109. // a.close:hover{
  110. // color: black;
  111. // }
  112. // @media (max-width: 442px) {
  113. // transform: translateX(-50%) translateY(-50%);
  114. // width: 85%;
  115. // height: 80%;
  116. // overflow-y: scroll;
  117. // a.close {
  118. // font-size: 0.8rem;
  119. // position: absolute;
  120. // right: 2%;
  121. // top:0.8%;
  122. // }
  123. // p {
  124. // font-size: 0.8rem;
  125. // margin-top: 0;
  126. // }
  127. // .message{
  128. // padding: 5% 5% 5% 5%;
  129. // }
  130. // }
  131. // @media (max-width: 1024px) {
  132. // transform: translateX(-50%) translateY(-50%);
  133. // width: 75%;
  134. // height: 65%;
  135. // overflow-y: scroll;
  136. // a.close {
  137. // font-size: 0.8rem;
  138. // position: absolute;
  139. // right: 2%;
  140. // top:0.8%;
  141. // }
  142. // p {
  143. // font-size: 0.8rem;
  144. // margin-top: 0;
  145. // }
  146. // .message{
  147. // padding: 5% 5% 5% 5%;
  148. // }
  149. // }
  150. // }