index.scss 4.0 KB

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