index.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /**
  2. * @file
  3. * Presentational styles for Drupal stark theme layout.
  4. *
  5. * It is left empty for testing purposes.
  6. *
  7. * @see https://www.drupal.org/project/drupal/issues/2349711
  8. */
  9. // configs
  10. @import "configs/var.scss";
  11. @import "configs/mixin.scss";
  12. @import "configs/typography.scss";
  13. @import "configs/global.scss";
  14. // Lib Js
  15. @import "hamburgers/hamburgers.scss";
  16. // Pages
  17. @import "pages/layout.scss";
  18. @import "pages/front.scss";
  19. @import "pages/presentation.scss";
  20. @import "pages/programme.scss";
  21. @import "pages/ressources.scss";
  22. @import "pages/informations.scss";
  23. @import "pages/moments.scss";
  24. @import "pages/publications.scss";
  25. // components
  26. @import "components/admin/edit.scss";
  27. @import "components/admin/toolbar.scss";
  28. @import "components/admin/connect.scss";
  29. @import "components/header/header.scss";
  30. @import "components/header/sub_menu.scss";
  31. @import "components/forms/filter.scss";
  32. @import "components/hero.scss";
  33. @import "components/sidebar/rs.scss";
  34. @import "components/sidebar/role_inter.scss";
  35. @import "components/slides/flickity.scss";
  36. @import "components/slides/slides.scss";
  37. @import "components/thumbnails/thumbnails.scss";
  38. @import "components/ressources.scss";
  39. @import "components/btn/all_btn.scss";
  40. @import "components/footer/footer.scss";
  41. @import "components/leaflet/custom_leaflet.scss";
  42. article img,
  43. .side_notes img{
  44. width: 100%;
  45. height: 100%;
  46. object-fit: cover;
  47. }
  48. .layout-content{
  49. width: 100%;
  50. }
  51. #presentation{
  52. .__wrapper{
  53. .__wrap_side{
  54. position: inherit;
  55. @media screen and (min-width: 768px){
  56. position: relative;
  57. }
  58. .notes{
  59. & > div{
  60. position: absolute;
  61. margin-top: 2rem;
  62. @media screen and (min-width: 768px){
  63. margin-top: -2rem;
  64. }
  65. &> div{
  66. background: white;
  67. padding: 0.5rem;
  68. p{
  69. font-family: 'cormorantBold';
  70. margin: 0;
  71. color: $color2;
  72. }
  73. }
  74. }
  75. .close{
  76. cursor: pointer;
  77. background: $color2;
  78. position: absolute;
  79. top: -12px;
  80. left: -15px;
  81. width: 30px;
  82. height: 27px;
  83. &::after{
  84. content: "+";
  85. color: white;
  86. display: block;
  87. margin: auto;
  88. text-align: center;
  89. transform: rotate(45deg);
  90. margin-top: -6px;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. }
  97. .side_notes{
  98. position: absolute;
  99. width: calc(100% - 30px);
  100. left: 30px;
  101. width: calc(100% - 45px);
  102. @media screen and (min-width: 768px){
  103. margin-top: -3rem;
  104. }
  105. .wrap{
  106. position: relative;
  107. width: max-content;
  108. .__hero{
  109. margin: 0!important;
  110. height: 200px;
  111. max-width: 300px;
  112. .__img{
  113. height: 200px;
  114. img{
  115. width: auto;
  116. height: 100%;
  117. }
  118. }
  119. }
  120. .__head{
  121. background: white;
  122. padding: 0.5rem;
  123. width: max-content;
  124. min-width: 300px;
  125. & > *{
  126. font-family: 'cormorantBold';
  127. color: $color2;
  128. display:inline;
  129. }
  130. }
  131. .thumbnails.bibliographie{
  132. width: 100%;
  133. }
  134. }
  135. .close{
  136. cursor: pointer;
  137. background: $color2;
  138. position: absolute;
  139. top: -12px;
  140. left: -15px;
  141. width: 30px;
  142. height: 27px;
  143. &::after{
  144. content: "+";
  145. color: white;
  146. display: block;
  147. margin: auto;
  148. text-align: center;
  149. transform: rotate(45deg);
  150. }
  151. }
  152. }
  153. .side_notes *{
  154. margin: 0 0 0 0;
  155. padding: 0;
  156. flex: 100%;
  157. max-width: 100%;
  158. }
  159. // tac
  160. #tarteaucitronRoot{
  161. #tarteaucitronDisclaimerAlert,
  162. #tarteaucitronPersonalize,
  163. #tarteaucitronCloseAlert,
  164. #tarteaucitronPrivacyUrl,
  165. #tarteaucitronInfo,
  166. .tarteaucitronH1,
  167. .tarteaucitronH2,
  168. button,
  169. li span,
  170. li a{
  171. font-family: 'truenoregular'!important;
  172. }
  173. }