_aside.scss 4.2 KB

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