_aside.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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: 98;
  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. }
  49. .profile--type--collaborateur{
  50. .field--name-field-site{
  51. font-size: 2rem;
  52. font-weight: 900;
  53. display: flex;
  54. justify-content: space-between;
  55. &::after{
  56. content: url(../images/noun-cross-1151731.svg);
  57. cursor: pointer;
  58. }
  59. }
  60. .field--name-field-dossier-de-pilotage{
  61. text-transform: uppercase;
  62. display: flex;
  63. flex-direction: column;
  64. > div:nth-child(1)::before{
  65. content: url('../../dist/images/noun-file-6880430.svg');
  66. display: inline-block;
  67. width: 70px;
  68. height: auto;
  69. // align-content: center;
  70. align-items: center;
  71. }
  72. .field__item{
  73. width: 75%;
  74. align-self: flex-end;
  75. padding-right: 2rem;
  76. }
  77. }
  78. }
  79. footer{
  80. @extend %buttonwithborder;
  81. width: fit-content;
  82. padding: 0.3rem;
  83. font-weight: 400;
  84. :hover{
  85. background-color: $yellow-puca;
  86. }
  87. }
  88. }
  89. aside.layout-sidebar-second.open {
  90. transform: translateX(90%); /* Par défaut ouvert */
  91. transition: transform 0.35s;
  92. }
  93. aside.layout-sidebar-second {
  94. transform: translateX(0%);
  95. }