_aside.scss 3.1 KB

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