_aside.scss 4.7 KB

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