_aside.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. overflow: scroll;
  32. padding-top: $header-height;
  33. z-index: 100;
  34. padding-left: 2rem;
  35. // #block-reha-views-block-current-user-doc-profile-block-1{
  36. h2{
  37. transform: translateX(-48%) translateY(25vh) rotate(-90deg);
  38. text-transform: uppercase;
  39. font-weight: 400;
  40. cursor: pointer;
  41. padding-top: 2rem;
  42. padding-bottom: 2rem;
  43. &::before{
  44. content: url('../../dist/images/noun-arrow-1569918-black.svg');
  45. display: inline-block;
  46. transform: translateY(5px) rotate(90deg);
  47. }
  48. }
  49. .view-current-user-doc-profile{
  50. margin: 0 6rem ;
  51. display: flex;
  52. flex-direction: column;
  53. top: -60px;
  54. position: relative;
  55. }
  56. .profile--type--collaborateur{
  57. .field--name-field-site{
  58. font-size: 2rem;
  59. font-weight: 900;
  60. display: flex;
  61. margin-bottom: 3rem;
  62. &::after{
  63. content: url(../images/noun-cross-1151731.svg);
  64. cursor: pointer;
  65. padding-left: 2rem;
  66. }
  67. }
  68. .field--name-field-dossier-de-pilotage,
  69. .field--name-field-dossier-evenement{
  70. text-transform: uppercase;
  71. display: flex;
  72. flex-direction: column;
  73. > div:nth-child(1){
  74. display: flex;
  75. align-items: center;
  76. flex-direction: row;
  77. }
  78. > div:nth-child(1)::before{
  79. content: url('../../dist/images/noun-file-6880430.svg');
  80. display: inline-flex;
  81. width: 70px;
  82. height: auto;
  83. padding-right: 1rem;
  84. align-items: center;
  85. }
  86. .field__item{
  87. // align-self: flex-end;
  88. // padding-right: 2rem;
  89. // padding-left: 3rem;
  90. .paragraph--type--dossier{
  91. padding-left: 25%;
  92. .field--name-field-fichiers{
  93. text-transform: none;
  94. border: none;
  95. padding-left: 10%;
  96. span:nth-of-type(2){
  97. display: none;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. }
  104. footer.view-footer{
  105. margin-top: 3rem;
  106. text-transform: uppercase;
  107. border: solid black 1px;
  108. background-color: $white-button;
  109. font-size: 0.9rem;
  110. width: fit-content;
  111. font-weight: 400;
  112. padding-top: 0;
  113. align-self: left;
  114. margin-left: 1rem;
  115. @media (max-width:891px) {
  116. font-size: 1rem;
  117. }
  118. p{margin: 0;
  119. padding: 0.3rem;}
  120. :hover{
  121. background-color: $yellow-puca;
  122. }
  123. }
  124. // }
  125. }
  126. aside.layout-sidebar-second.open {
  127. transform: translateX(85%); /* Par défaut ouvert */
  128. transition: transform 0.35s;
  129. &:hover{
  130. background-color: $yellow-puca;
  131. }
  132. }
  133. aside.layout-sidebar-second {
  134. transform: translateX(0%);
  135. transition: transform 0.35s;
  136. }