_aside.scss 3.9 KB

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