_aside.scss 4.2 KB

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