_default.scss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. article, .paragraph{
  2. h2,h3,h4,h5,h6{
  3. font-family: "trueno";
  4. font-weight: 600;
  5. font-size: $font-medium;
  6. color:black;
  7. margin-top: 1rem;
  8. margin-bottom: .3rem;
  9. }
  10. p{
  11. margin-bottom: .5rem;
  12. }
  13. }
  14. .layout-container{
  15. background-color: $bck-col;
  16. z-index: 0;
  17. position: relative;
  18. }
  19. .block-region-bottom .prog-ressources-link,.ressources-link{
  20. display: inline-block;
  21. margin: 0 auto;
  22. background: black;
  23. color: white;
  24. font-family: "trueno";
  25. font-weight: 500;
  26. padding: .3rem .7rem;
  27. font-size: $font-small;
  28. text-decoration: none;
  29. text-transform: uppercase;
  30. }
  31. .block-region-bottom .prog-ressources-link{
  32. &:hover{
  33. color:black;
  34. background: white;
  35. }
  36. }
  37. .block-region-first,.block-region-third{
  38. .prog-ressources-link{
  39. text-transform: uppercase;
  40. }
  41. .is-active{
  42. font-weight: 600;
  43. }
  44. h2{
  45. font-size: $font-big;
  46. background-color: black;
  47. color: white;
  48. padding: .1rem 1rem;
  49. margin-top: .3rem;
  50. }
  51. .views-field-field-intro{
  52. display: none;
  53. }
  54. }
  55. .block-region-third{
  56. .field_document{
  57. padding: 0.5rem 0.5rem;
  58. }
  59. .field_organisateur,.field_fichier, .field_lien,.field_ressources_liees, .views-element-container div{
  60. padding: 0rem 1rem;
  61. div{
  62. text-decoration: none;
  63. padding: .3rem 0;
  64. }
  65. //field colletion :
  66. // .views-field-description__value{
  67. // max-height: 5rem;
  68. // overflow: hidden;
  69. // position: relative;
  70. // }
  71. // .views-field-description__value:hover{
  72. // max-height: none;
  73. // overflow: auto;
  74. // }
  75. .hidden_text{
  76. max-height: 5rem;
  77. overflow: hidden;
  78. position: relative;
  79. cursor: pointer;
  80. }
  81. .hidden_text:after{
  82. content: "";
  83. text-align: center;
  84. opacity: 1;
  85. position: absolute;
  86. top: 0;
  87. bottom: 0;
  88. left: -15px;
  89. right: -15px;
  90. box-shadow: inset 0 -2rem 1rem #eff2f9;
  91. }
  92. }
  93. .field_partenaires{
  94. background: white;
  95. padding: .5rem 0;
  96. display: grid;
  97. grid-template-columns: 1fr 1fr 1fr;
  98. grid-column-gap: .3rem;
  99. padding: 0.5rem 1rem;
  100. }
  101. }
  102. .block-region-first{
  103. background-color: black;
  104. color: white;
  105. z-index: 120;
  106. #node\:title{
  107. text-transform: uppercase;
  108. font-family: 'duke';
  109. font-size: $font-big;
  110. text-decoration: none;
  111. &:hover{
  112. text-decoration: underline;
  113. }
  114. }
  115. }
  116. .page-node-type-static{
  117. .layout__region{
  118. position: relative;
  119. }
  120. .layout__region--top{
  121. z-index: 0;
  122. position: absolute;
  123. top: 0;
  124. left: 0;
  125. width: 99vw;
  126. height: 40vh;
  127. background: $trame;
  128. box-shadow: inset 0 -5rem 8rem $bck-col;
  129. z-index: -1;
  130. }
  131. .block-region-third{
  132. position: sticky;
  133. top: 3rem;
  134. }
  135. .block-region-first{
  136. padding: 1rem;
  137. position: sticky;
  138. top: 3rem;
  139. @include breakpoint(small down) {
  140. grid-column-start: 1;
  141. top: 0;
  142. }
  143. .field_titre{
  144. font-size: $font-normal;
  145. font-weight: 600;
  146. margin-top: .5rem;
  147. cursor: pointer;
  148. &:hover{
  149. text-decoration: underline;
  150. }
  151. }
  152. }
  153. .block-region-first #node\:title{
  154. font-size: 1.3rem;
  155. &:hover{
  156. text-decoration: none;
  157. }
  158. }
  159. .field_textes{
  160. .paragraph{
  161. // border-top: 1px solid black;
  162. border-bottom: 3px dotted gray;
  163. padding: 1rem 0;
  164. .field_titre{
  165. font-size: $font-big;
  166. font-weight: 600;
  167. text-transform: initial;
  168. cursor: pointer;
  169. // margin-top: 1rem;
  170. }
  171. .field_texte{
  172. height: auto;
  173. position: relative;
  174. h2{
  175. text-transform: inherit;
  176. }
  177. -webkit-transition: all 250ms ease;
  178. -moz-transition: all 250ms ease;
  179. -o-transition: all 250ms ease;
  180. transition: all 250ms ease;
  181. }
  182. }
  183. }
  184. .block-region-second{
  185. #node\:field_equipes{
  186. margin-top: 1.5rem;
  187. .field_equipes{
  188. .paragraph{
  189. .field_type_equipe{
  190. font-size: $font-medium;
  191. font-weight: 600;
  192. margin: 1rem 0;
  193. }
  194. .field_membres{
  195. .paragraph{
  196. display: grid;
  197. // grid-template-columns: 20% 1fr 1fr;
  198. grid-auto-columns: minmax(0, 20%) auto minmax(0, 1fr);
  199. margin-bottom: 1rem;
  200. }
  201. // div:not(.field_photo){
  202. // grid-column: 2;
  203. // // flex: 1 100%;
  204. // }
  205. .field_prenom{
  206. grid-column: 2;
  207. grid-row: 1;
  208. display: inline-block;
  209. font-weight: 500;
  210. align-self: end;
  211. }
  212. .field_nom{
  213. grid-column: 3;
  214. grid-row: 1;
  215. padding-left: .2rem;
  216. display: inline-block;
  217. width: auto;
  218. font-weight: 500;
  219. align-self: end;
  220. }
  221. .field_fonction{
  222. grid-column: 2 / span 2;
  223. align-self: start;
  224. }
  225. .field_photo{
  226. align-self: center;
  227. grid-row: 1 / span 2;
  228. margin-right: 1rem;
  229. img{
  230. // width: 100%;
  231. // height: 100%;
  232. }
  233. }
  234. }
  235. }
  236. }
  237. }
  238. #node\:field_partenaires{
  239. margin-top: 1.5rem;
  240. .paragraph{
  241. display: grid;
  242. // grid-template-columns: 20% 1fr 1fr;
  243. grid-auto-columns: minmax(0, 20%) auto;
  244. margin-bottom: 1rem;
  245. }
  246. .field_presentation{
  247. grid-column: 2;
  248. padding: 0 1rem;
  249. }
  250. .field_logo_partenaire{
  251. align-self: center;
  252. }
  253. }
  254. }
  255. }
  256. .page-node-type-actualite, .page-node-type-evenement{
  257. .block-region-first{
  258. background-color: black;
  259. color: white;
  260. // a:not(.prog-ressources-link,.back-actus-link){
  261. // text-transform: uppercase;
  262. // font-family: 'duke';
  263. // font-size: $font-big;
  264. // padding: .3rem .5rem;
  265. // text-decoration: none;
  266. // &:hover{
  267. // text-decoration: underline;
  268. // }
  269. // }
  270. }
  271. #node\:title{
  272. font-family: "trueno";
  273. font-weight: 600;
  274. font-size: $font-medium;
  275. margin-top: 1rem;
  276. margin-bottom: .3rem;
  277. }
  278. }