_aside.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. z-index: 100;
  33. padding-left: 2rem;
  34. transform: translateX(0%);
  35. transition: transform 0.35s;
  36. &.close {
  37. transform: translateX(85%); /* Par défaut ouvert */
  38. transition: transform 0.35s;
  39. &:hover{
  40. background-color: $yellow-puca;
  41. }
  42. }
  43. h2{
  44. transform: translateX(-48%) translateY(25vh) rotate(-90deg);
  45. text-transform: uppercase;
  46. font-weight: 400;
  47. cursor: pointer;
  48. padding-top: 2rem;
  49. padding-bottom: 2rem;
  50. text-align: start;
  51. &::before{
  52. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  53. display: inline-block;
  54. transform: translateY(5px) rotate(90deg);
  55. }
  56. }
  57. h2.__close{
  58. &::before{
  59. content: url('../../dist/images/noun-arrow-1569918-black-left.svg');
  60. display: inline-block;
  61. transform: translateY(2px) rotate(90deg);
  62. }
  63. }
  64. .view-current-user-doc-profile{
  65. margin: 0 6rem ;
  66. display: flex;
  67. flex-direction: column;
  68. header{box-shadow: none;}
  69. .view-curent-user-site-dossier{
  70. width: fit-content;
  71. margin-bottom: 2rem;
  72. .views-field-title{
  73. font-size: 2rem;
  74. font-weight: 900;
  75. display: flex;
  76. flex-direction: column-reverse;
  77. margin-bottom: 3rem;
  78. &::after{
  79. content: url(../images/noun-cross-1151731.svg);
  80. cursor: pointer;
  81. width: fit-content;
  82. display: block;
  83. align-self: flex-end;
  84. }
  85. }
  86. }
  87. .profile--type--collaborateur{
  88. &::before{
  89. content: '' ;
  90. display: block;
  91. width: 80%;
  92. margin-top: 0.6rem;
  93. margin-bottom: 1rem;
  94. border-bottom: black solid 1px;
  95. }
  96. .field--name-field-fichiers,
  97. .field--type-file{
  98. &:hover{
  99. background-color: white !important;
  100. }
  101. border: none;
  102. .field__items{
  103. .field__item{
  104. text-transform: uppercase;
  105. padding-bottom: 0rem;
  106. padding-left: 0.6rem;
  107. padding-right: 0.6rem;
  108. border: solid black 1px;
  109. margin-bottom: 1rem;
  110. background-color: rgb(255, 255, 255);
  111. font-size: 0.9rem;
  112. width: fit-content;
  113. &:hover{
  114. background-color: $yellow-puca;
  115. }
  116. }
  117. }
  118. }
  119. }
  120. .field--name-field-dossier-de-pilotage,
  121. .field--name-field-dossier-evenement,
  122. .paragraph--type--dossier{
  123. text-transform: uppercase;
  124. display: flex;
  125. flex-direction: column;
  126. > div:nth-child(1){
  127. display: flex;
  128. align-items: center;
  129. flex-direction: row;
  130. .field__item{
  131. .paragraph--type--dossier{
  132. padding-left: 10%;
  133. .field--name-field-fichiers{
  134. text-transform: none;
  135. border: none;
  136. padding-left: 10%;
  137. span:nth-of-type(2){
  138. display: none;
  139. }
  140. }
  141. }
  142. }
  143. }
  144. > div:nth-child(1)::before{
  145. content: url('../../dist/images/noun-file-6880430.svg');
  146. display: inline-flex;
  147. width: 40px;
  148. height: auto;
  149. padding-right: 1rem;
  150. align-items: center;
  151. }
  152. }
  153. }
  154. footer.view-footer{
  155. margin-top: 3rem;
  156. text-transform: uppercase;
  157. border: solid black 1px;
  158. background-color: $white-button;
  159. font-size: 0.9rem;
  160. width: fit-content;
  161. font-weight: 400;
  162. padding-top: 0;
  163. align-self: left;
  164. margin-left: 1rem;
  165. @media (max-width:891px) {
  166. font-size: 1rem;
  167. }
  168. p{margin: 0;
  169. padding: 0.3rem;}
  170. :hover{
  171. background-color: $yellow-puca;
  172. }
  173. p{
  174. padding-left: 0.6rem;
  175. padding-right: 0.6rem;
  176. }
  177. }
  178. }
  179. .field--name-field-dossier-de-pilotage > div:nth-child(2) > div:nth-child(1) > div:nth-child(2){
  180. &:hover{
  181. background-color: none !important;
  182. }
  183. }