_aside.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. .block-views-blockcurrent-user-doc-profile-block-1{
  45. }
  46. h2{
  47. transform: translateX(-48%) translateY(25vh) rotate(-90deg);
  48. text-transform: uppercase;
  49. font-weight: 400;
  50. cursor: pointer;
  51. padding-top: 2rem;
  52. padding-bottom: 2rem;
  53. &::before{
  54. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  55. display: inline-block;
  56. transform: translateY(5px) rotate(90deg);
  57. }
  58. }
  59. h2.__close{
  60. &::before{
  61. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  62. display: inline-block;
  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. border-bottom: black solid 1px;
  77. }
  78. header{box-shadow: none;}
  79. .views-field-title{
  80. font-size: 2rem;
  81. font-weight: 900;
  82. display: flex;
  83. margin-bottom: 3rem;
  84. position: relative;
  85. z-index: 1000;
  86. &::after{
  87. content: url(../images/noun-cross-1151731.svg);
  88. cursor: pointer;
  89. padding-left: 2rem;
  90. }
  91. }
  92. .view-curent-user-site-dossier{
  93. position: relative;
  94. top: 200px;
  95. }
  96. // }
  97. // .profile--type--collaborateur{
  98. // .field--name-field-site{
  99. // font-size: 2rem;
  100. // font-weight: 900;
  101. // display: flex;
  102. // margin-bottom: 3rem;
  103. // &::after{
  104. // content: url(../images/noun-cross-1151731.svg);
  105. // cursor: pointer;
  106. // padding-left: 2rem;
  107. // }
  108. // }
  109. .field--name-field-dossier-de-pilotage,
  110. .field--name-field-dossier-evenement,
  111. // .views-field-field-telechargement-prive,
  112. .paragraph--type--dossier{
  113. text-transform: uppercase;
  114. display: flex;
  115. flex-direction: column;
  116. > div:nth-child(1){
  117. display: flex;
  118. align-items: center;
  119. flex-direction: row;
  120. }
  121. > div:nth-child(1)::before{
  122. content: url('../../dist/images/noun-file-6880430.svg');
  123. display: inline-flex;
  124. width: 70px;
  125. height: auto;
  126. padding-right: 1rem;
  127. align-items: center;
  128. }
  129. .field__item{
  130. // align-self: flex-end;
  131. // padding-right: 2rem;
  132. // padding-left: 3rem;
  133. .paragraph--type--dossier{
  134. padding-left: 25%;
  135. .field--name-field-fichiers{
  136. text-transform: none;
  137. border: none;
  138. padding-left: 10%;
  139. span:nth-of-type(2){
  140. display: none;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }
  147. footer.view-footer{
  148. margin-top: 3rem;
  149. text-transform: uppercase;
  150. border: solid black 1px;
  151. background-color: $white-button;
  152. font-size: 0.9rem;
  153. width: fit-content;
  154. font-weight: 400;
  155. padding-top: 0;
  156. align-self: left;
  157. margin-left: 1rem;
  158. @media (max-width:891px) {
  159. font-size: 1rem;
  160. }
  161. p{margin: 0;
  162. padding: 0.3rem;}
  163. :hover{
  164. background-color: $yellow-puca;
  165. }
  166. }
  167. }