_home1 copy.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. .field--type-entity-reference-revisions{
  2. .paragraph-summary{
  3. font-family: $font-family-default;
  4. font-size: 5rem;
  5. font-weight: 600;
  6. color: $black !important;
  7. text-transform: capitalize;
  8. span:nth-of-type(2n){
  9. display: block;
  10. font-size: 1rem;
  11. }
  12. }
  13. .paragraph-summary:nth-of-type(2n) {
  14. font-size: 2rem;
  15. }
  16. }
  17. // 1er bandeau
  18. .block-views-blockhome-nodes-block-1{
  19. background: url("../images/pictos/carre-contour-bleu_contact.svg");
  20. .node-type-static{
  21. div:first-child{
  22. display: grid;
  23. // flex-direction: column;
  24. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  25. grid-template-rows: repeat(4, auto);
  26. .field--name-field-images{
  27. display: none;
  28. // z-index: -99;
  29. // filter: grayscale(100%);
  30. // filter: brightness(0%);
  31. // opacity: 0.5;
  32. // // display: none;
  33. // grid-column: 1 /span 10;
  34. // grid-row: 1 / span 4;
  35. // img{
  36. // width: 100vw;
  37. // height: auto;
  38. // }
  39. }
  40. .field--name-field-accroche{
  41. grid-column: 2 /span 3;
  42. grid-row: 2 / span 2;
  43. font-size: 5rem;
  44. font-weight: 800;
  45. color: $blue-light;
  46. line-height: 6rem;
  47. p{
  48. margin: 0;
  49. }
  50. margin: 0;
  51. }
  52. .field--name-title{
  53. grid-column: 4;
  54. grid-row: 1;
  55. margin-top: 2rem;
  56. h2{
  57. a{
  58. color: #e1000f;
  59. font-weight: 900;
  60. text-transform: uppercase;
  61. }
  62. }
  63. }
  64. .links.inline{
  65. grid-column: 2;
  66. grid-row: 4;
  67. max-width: 70%;
  68. min-width: fit-content;
  69. height: 1.5rem;
  70. padding: 0.4rem 1rem;
  71. font-size: 0.8rem;
  72. margin-bottom: 2.5rem;
  73. background-color: $white;
  74. border: 2px solid $blue-light;
  75. list-style: none;
  76. text-align: center !important;
  77. a{
  78. display: inline-flex;
  79. text-transform: uppercase;
  80. font-weight: 700;
  81. color: $blue-light;
  82. &:after{
  83. display: block;
  84. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. // bouton déposer candidature
  92. .block-block-content.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca{
  93. display: grid;
  94. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  95. height: 0;
  96. .field--type-link {
  97. grid-column: 3;
  98. // justify-self: end;
  99. position: relative;
  100. max-width: 70%;
  101. min-width: fit-content;
  102. height: 1.5rem;
  103. padding: 0.4rem 1rem;
  104. font-size: 0.8rem;
  105. margin: 0;
  106. background-color: $white;
  107. border: 2px solid $blue-light;
  108. list-style: none;
  109. top: -200%;
  110. text-align: center !important;
  111. a{
  112. display: inline-flex;
  113. text-transform: uppercase;
  114. font-weight: 700;
  115. color: $blue-light;
  116. }
  117. a::after{
  118. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  119. }
  120. }
  121. }
  122. // bouton foire aux questions
  123. .block-region-content{
  124. position: relative;
  125. }
  126. .block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483{
  127. position: relative;
  128. width: 20%;
  129. float: right;
  130. margin-right: 13%;
  131. bottom: -100%;
  132. // grid-column: 5;
  133. background-color: $blue-light;
  134. .field--name-field-lien{
  135. &:before{
  136. margin-top: 1rem;
  137. display: block;
  138. content: url("../images/pictos/picto_faq.svg");
  139. }
  140. text-align: center;
  141. a{
  142. font-size: 0.8rem;
  143. font-weight: 1000;
  144. color: $blue-dark;
  145. text-transform: uppercase;
  146. }
  147. }
  148. .field--name-field-description{
  149. p{
  150. margin-top: 0;
  151. margin-bottom: 0;
  152. margin-left: 1.5rem;
  153. margin-right: 1.5rem;
  154. text-align: center;
  155. a{
  156. font-weight: 800;
  157. color: $white;
  158. font-size: 1.3rem;
  159. }
  160. &:after{
  161. display: block;
  162. content:url("../images/pictos/noun_Arrow_3771902.svg")
  163. }
  164. }
  165. }
  166. // .field--name-field-description{
  167. // position: relative;
  168. // bottom: +140%;
  169. // grid-column: 5;
  170. // background-color: $blue-light;
  171. // p{
  172. // color: $white;
  173. // font-size: 1.2rem;
  174. // padding-left: 1rem;
  175. // padding-right: 1rem;
  176. // margin-top: 0;
  177. // text-align: center;
  178. // }
  179. // }
  180. }
  181. // bandeau actus
  182. .block-views-blockactus-blocks-pages-block-1{
  183. clear: both;
  184. border-bottom: 5px solid $blue-light;
  185. border-top: 5px solid $blue-light;
  186. .view-content{
  187. display: grid;
  188. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  189. margin: auto;
  190. padding-top: 2rem;
  191. padding-bottom: 4rem;
  192. .views-row:nth-of-type(1) { grid-column: 2; }
  193. .node-type-actualite{
  194. color: $black;
  195. line-height: 1.5rem;
  196. padding: 0.5rem;
  197. div:first-child{ // block actu dans le bandeau
  198. display: flex;
  199. flex-direction: column;
  200. :nth-child(1) { order: 1; }
  201. :nth-child(4) { order: 2; }
  202. :nth-child(5) { order: 3; }
  203. }
  204. .field--name-field-images {
  205. .field__item img{
  206. max-width: 70%;
  207. max-height: 130px;
  208. object-fit: cover;
  209. width: 100%;
  210. padding-bottom: 1rem;
  211. }
  212. // &::after{
  213. // display: block;
  214. // content:url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>');
  215. // }
  216. }
  217. time{
  218. font-size: 0.9rem;
  219. font-weight: 800;
  220. padding-right: 1rem;
  221. width: fit-content;
  222. &:after{
  223. padding-left: 0.5rem;
  224. content: "|";}
  225. }
  226. .field:not(.field--name-field-images){
  227. width: 100%;
  228. }
  229. h2{ margin:0; }
  230. a{ color: $black; }
  231. .inline.links{
  232. padding-top: none !important;
  233. list-style: none;
  234. width: fit-content;
  235. align-self: flex-end;
  236. padding-right: 1rem;
  237. a{
  238. display: none;
  239. }
  240. // a{
  241. // content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  242. // }
  243. }
  244. .field--name-field-actu-type{
  245. padding-top: 1rem;
  246. }
  247. }
  248. }
  249. }
  250. // bouton voir toutes actus du bandeau bleu
  251. // .layout--onecol{
  252. .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2{
  253. display: grid;
  254. grid-template-columns: 1fr repeat(8, 2fr) 1fr;
  255. position: relative;
  256. height: 0;
  257. .field--type-link {
  258. grid-area: 8 / span 9;
  259. justify-self: end;
  260. position: relative;
  261. top: -200%;
  262. width: fit-content;
  263. height: fit-content;
  264. padding: 0.4rem 1rem;
  265. font-size: 0.8rem;
  266. margin: 0;
  267. background-color: $white;
  268. border: 2px solid $blue-light;
  269. list-style: none;
  270. a{
  271. text-transform: uppercase;
  272. font-weight: 700;
  273. color: $blue-light;
  274. }
  275. a::after{
  276. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  277. }
  278. }
  279. }
  280. // }
  281. // boutons en savoir plus pour lien vers pages statiques
  282. // présentation programme
  283. .view-display-id-block_2:is(.view-id-home_nodes){
  284. padding-top: 2rem;
  285. // background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1"><rect x="0" y="0" width="80" height="80" transform="rotate(35) translate(430, -800) scale(15)" fill="none" stroke="rgb(0,158,227)" stroke-width="0.4px"/></svg>');
  286. background: url('../images/pictos/carre-contour-bleu.svg');
  287. // background-position-y: 50%;
  288. background-repeat: no-repeat;
  289. max-width: 100vw;
  290. background-size: cover;
  291. .node-type-static{
  292. width: 70%;
  293. margin: auto;
  294. div:first-child:not(.field__item):not(.field){
  295. display: flex;
  296. flex-direction: row;
  297. flex-wrap: wrap;
  298. }
  299. .inline.links{
  300. align-self: flex-end;
  301. width: fit-content;
  302. height: fit-content;
  303. padding: 0.4rem 1rem;
  304. font-size: 0.8rem;
  305. margin: 0;
  306. background-color: $white;
  307. border: 2px solid $blue-light;
  308. list-style: none;
  309. a{
  310. text-transform: uppercase;
  311. font-weight: 700;
  312. color: $blue-light;
  313. &:after{
  314. // display: block;
  315. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  316. }
  317. }
  318. }
  319. .field--name-field-images{
  320. // grid-column: 2 / 4;
  321. .field__item{
  322. img{
  323. width: 15rem;
  324. height: auto;
  325. }
  326. }
  327. }
  328. .field--name-title{
  329. display: none;
  330. }
  331. .field--name-field-accroche{
  332. flex: 1 1 50px;
  333. // grid-column: 4 / 9;
  334. padding-left: 1rem;
  335. p{
  336. background-color: $white;
  337. font-size: 1.5rem;
  338. width: 110%;
  339. margin-bottom: 2rem;
  340. padding-bottom: 2rem;
  341. margin-block-start: 0;
  342. }
  343. }
  344. .field--name-field-videos{
  345. flex: 0 0 80%;
  346. margin: auto;
  347. }
  348. }
  349. }