_aside.scss 4.0 KB

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