_aside.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. .layout-sidebar-first{
  2. #block-reha-phase1{
  3. border: solid $yellow-puca 1px;
  4. font-weight: 800;
  5. padding: 1rem;
  6. width: 80%;
  7. @media(max-width:891px){
  8. width: 100%;
  9. }
  10. h2{
  11. margin-top: 0;
  12. margin-bottom: 0;
  13. text-transform: lowercase;
  14. font-weight: 1000;
  15. line-height: 1rem;
  16. font-size:1.5rem ;
  17. }
  18. p{
  19. font-size: 1.5rem;
  20. line-height: 1.8rem;
  21. margin-top: 0.8rem;
  22. }
  23. footer{
  24. @extend %buttonwithborder;
  25. width: fit-content;
  26. }
  27. }
  28. }
  29. ////// tiroirs fichers
  30. aside.layout-sidebar-second{
  31. box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 4px;
  32. padding-top: $header-height;
  33. z-index: 100;
  34. padding-left: 2rem;
  35. transform: translateX(0%);
  36. transition: transform 0.35s;
  37. &.close {
  38. transform: translateX(85%); /* Par défaut ouvert */
  39. transition: transform 0.35s;
  40. &:hover{
  41. background-color: $yellow-puca;
  42. }
  43. }
  44. h2{
  45. transform: translateX(-48%) translateY(25vh) rotate(-90deg);
  46. text-transform: uppercase;
  47. font-weight: 400;
  48. cursor: pointer;
  49. padding-top: 2rem;
  50. padding-bottom: 2rem;
  51. text-align: center;
  52. &::before{
  53. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  54. display: inline-block;
  55. transform: translateY(5px) rotate(90deg);
  56. }
  57. }
  58. h2.__close{
  59. &::before{
  60. content: url('../../dist/images/noun-arrow-1569918-black-left.svg');
  61. display: inline-block;
  62. transform: translateY(2px) rotate(90deg);
  63. }
  64. }
  65. .view-current-user-doc-profile{
  66. margin: 0 6rem ;
  67. display: flex;
  68. flex-direction: column;
  69. top: 200px;
  70. position: relative;
  71. padding-top: 10rem;
  72. &::before{
  73. content: '' ;
  74. width: 80%;
  75. margin-top: 0.6rem;
  76. margin-bottom: 1rem;
  77. border-bottom: black solid 1px;
  78. }
  79. header{box-shadow: none;}
  80. .views-field-title{
  81. font-size: 2rem;
  82. font-weight: 900;
  83. display: flex;
  84. flex-direction: column-reverse;
  85. margin-bottom: 3rem;
  86. position: relative;
  87. z-index: 1000;
  88. &::after{
  89. content: url(../images/noun-cross-1151731.svg);
  90. cursor: pointer;
  91. // padding-left: 2rem;
  92. width: fit-content;
  93. display: block;
  94. align-self: flex-end;
  95. // position: relative;
  96. // right: 55px;
  97. // top: -45px;
  98. }
  99. }
  100. .view-curent-user-site-dossier{
  101. position: relative;
  102. top: 160px;
  103. width: fit-content;
  104. }
  105. .field--name-field-dossier-de-pilotage,
  106. .field--name-field-dossier-evenement,
  107. .paragraph--type--dossier{
  108. text-transform: uppercase;
  109. display: flex;
  110. flex-direction: column;
  111. > div:nth-child(1){
  112. display: flex;
  113. align-items: center;
  114. flex-direction: row;
  115. }
  116. > div:nth-child(1)::before{
  117. content: url('../../dist/images/noun-file-6880430.svg');
  118. display: inline-flex;
  119. width: 40px;
  120. height: auto;
  121. padding-right: 1rem;
  122. align-items: center;
  123. }
  124. .field__item{
  125. .paragraph--type--dossier{
  126. padding-left: 10%;
  127. .field--name-field-fichiers{
  128. text-transform: none;
  129. border: none;
  130. padding-left: 10%;
  131. span:nth-of-type(2){
  132. display: none;
  133. }
  134. }
  135. }
  136. }
  137. }
  138. }
  139. footer.view-footer{
  140. margin-top: 3rem;
  141. text-transform: uppercase;
  142. border: solid black 1px;
  143. background-color: $white-button;
  144. font-size: 0.9rem;
  145. width: fit-content;
  146. font-weight: 400;
  147. padding-top: 0;
  148. align-self: left;
  149. margin-left: 1rem;
  150. padding-left: 0.3rem;
  151. padding-right: 0.3rem;
  152. @media (max-width:891px) {
  153. font-size: 1rem;
  154. }
  155. p{margin: 0;
  156. padding: 0.3rem;}
  157. :hover{
  158. background-color: $yellow-puca;
  159. }
  160. }
  161. }