index.scss 3.9 KB

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