_aside.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. }
  97. .field--name-field-dossier-de-pilotage,
  98. .field--name-field-dossier-evenement,
  99. .paragraph--type--dossier{
  100. text-transform: uppercase;
  101. display: flex;
  102. flex-direction: column;
  103. > div:nth-child(1){
  104. display: flex;
  105. align-items: center;
  106. flex-direction: row;
  107. }
  108. > div:nth-child(1)::before{
  109. content: url('../../dist/images/noun-file-6880430.svg');
  110. display: inline-flex;
  111. width: 40px;
  112. height: auto;
  113. padding-right: 1rem;
  114. align-items: center;
  115. }
  116. .field__item{
  117. .paragraph--type--dossier{
  118. padding-left: 10%;
  119. .field--name-field-fichiers{
  120. text-transform: none;
  121. border: none;
  122. padding-left: 10%;
  123. span:nth-of-type(2){
  124. display: none;
  125. }
  126. }
  127. }
  128. }
  129. }
  130. }
  131. footer.view-footer{
  132. margin-top: 3rem;
  133. text-transform: uppercase;
  134. border: solid black 1px;
  135. background-color: $white-button;
  136. font-size: 0.9rem;
  137. width: fit-content;
  138. font-weight: 400;
  139. padding-top: 0;
  140. align-self: left;
  141. margin-left: 1rem;
  142. padding-left: 0.3rem;
  143. padding-right: 0.3rem;
  144. @media (max-width:891px) {
  145. font-size: 1rem;
  146. }
  147. p{margin: 0;
  148. padding: 0.3rem;}
  149. :hover{
  150. background-color: $yellow-puca;
  151. }
  152. }
  153. }