index.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. .no-flexbox .box { color: red; }
  43. .flexbox .box { color: green; }
  44. article img,
  45. .side_notes img{
  46. width: 100%;
  47. height: 100%;
  48. object-fit: cover;
  49. }
  50. .layout-content{
  51. width: 100%;
  52. }
  53. #presentation{
  54. .__wrapper{
  55. .__wrap_side{
  56. position: inherit;
  57. @media screen and (min-width: 768px){
  58. position: relative;
  59. }
  60. .notes{
  61. & > div{
  62. position: absolute;
  63. margin-top: 2rem;
  64. @media screen and (min-width: 768px){
  65. margin-top: -2rem;
  66. }
  67. &> div{
  68. background: white;
  69. padding: 0.5rem;
  70. p{
  71. font-family: 'cormorantBold';
  72. margin: 0;
  73. color: $color2;
  74. }
  75. }
  76. }
  77. .close{
  78. cursor: pointer;
  79. background: $color2;
  80. position: absolute;
  81. top: -12px;
  82. left: -15px;
  83. width: 30px;
  84. height: 27px;
  85. &::after{
  86. content: "+";
  87. color: white;
  88. display: block;
  89. margin: auto;
  90. text-align: center;
  91. transform: rotate(45deg);
  92. margin-top: -6px;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }
  99. .side_notes{
  100. position: absolute;
  101. width: calc(100% - 30px);
  102. left: 30px;
  103. width: calc(100% - 45px);
  104. @media screen and (min-width: 768px){
  105. margin-top: -3rem;
  106. }
  107. .wrap{
  108. position: relative;
  109. width: max-content;
  110. .__hero{
  111. margin: 0!important;
  112. height: 200px;
  113. max-width: 300px;
  114. .__img{
  115. height: 200px;
  116. img{
  117. width: auto;
  118. height: 100%;
  119. }
  120. }
  121. }
  122. .__head{
  123. background: white;
  124. padding: 0.5rem;
  125. width: max-content;
  126. min-width: 300px;
  127. & > *{
  128. font-family: 'cormorantBold';
  129. color: $color2;
  130. display:inline;
  131. }
  132. }
  133. .thumbnails.bibliographie{
  134. width: 100%;
  135. }
  136. }
  137. .close{
  138. cursor: pointer;
  139. background: $color2;
  140. position: absolute;
  141. top: -12px;
  142. left: -15px;
  143. width: 30px;
  144. height: 27px;
  145. &::after{
  146. content: "+";
  147. color: white;
  148. display: block;
  149. margin: auto;
  150. text-align: center;
  151. transform: rotate(45deg);
  152. }
  153. }
  154. }
  155. .side_notes *{
  156. margin: 0 0 0 0;
  157. padding: 0;
  158. flex: 100%;
  159. max-width: 100%;
  160. }
  161. // tac
  162. #tarteaucitronRoot{
  163. #tarteaucitronDisclaimerAlert,
  164. #tarteaucitronPersonalize,
  165. #tarteaucitronCloseAlert,
  166. #tarteaucitronPrivacyUrl,
  167. #tarteaucitronInfo,
  168. .tarteaucitronH1,
  169. .tarteaucitronH2,
  170. button,
  171. li span,
  172. li a{
  173. font-family: 'truenoregular'!important;
  174. }
  175. }