_actualite.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. .path-node.page-node-type-actualite{
  2. .layout-container{
  3. overflow: unset;
  4. }
  5. .offresdeservices.layout-content.region-content#block-contenudelapageprincipale{
  6. background: none !important;
  7. }
  8. .layout--threecol-25-50-25{
  9. .layout__region--top{
  10. background: linear-gradient(to bottom, $background-actus 60%, white 40%);
  11. padding-bottom: 4rem;
  12. .block-region-top{
  13. display: grid;
  14. grid-template-columns: 1fr repeat(8, 1fr) 1fr;
  15. // .block-block-contente6f826c7-4a3e-479b-8e83-2245dee7f931{
  16. // grid-column: 1 / span 10;
  17. // width: 100%;
  18. // font-family: 'Marianne';
  19. // font-size: 1.5rem;
  20. // font-weight: 800;
  21. // color: $white;
  22. // background-color: $blue-light;
  23. // text-transform: uppercase;
  24. // padding-left: 13%;
  25. // padding-top: 1rem;
  26. // padding-bottom: 0.5rem;
  27. // vertical-align: middle;
  28. // a{
  29. // color:white;
  30. // }
  31. // }
  32. .block-entity-fieldnodefield-actu-type{
  33. order: 5;
  34. grid-column: 2;
  35. margin-top: 1rem;
  36. }
  37. .block-entity-fieldnodetitle{
  38. order: 3;
  39. grid-column: 2 /span 7;
  40. margin: 0;
  41. @media (max-width: 568px){
  42. grid-column: 2 /span 8;
  43. }
  44. @media (max-width: 499px){
  45. grid-column: 2 /span 9;
  46. }
  47. .field--name-title{
  48. font-family: "Marianne";
  49. font-size: 2.5rem;
  50. font-weight: 800;
  51. line-height: 3rem;
  52. @media (max-width: 810px){
  53. font-size: 1.9em;
  54. line-height: 2.3rem;
  55. }
  56. }
  57. }
  58. .block-entity-fieldnodefield-date{
  59. order: 1;
  60. padding-top: 2rem;
  61. grid-column: 2 / span 3;
  62. text-transform: uppercase;
  63. color: $blue-dark;
  64. font-size: 1.2rem;
  65. font-weight: 800;
  66. margin-top: 1rem;
  67. .field--name-field-date{
  68. display: flex;
  69. flex-direction: row;
  70. justify-content: flex-start;
  71. .field__item{
  72. padding-right: 2 rem;
  73. }
  74. }
  75. }
  76. .block-entity-fieldnodefield-lieu{
  77. order: 2;
  78. grid-column: 2 / span 4;
  79. text-transform: uppercase;
  80. color: $blue-dark;
  81. font-size: 1.2rem;
  82. font-weight: 800;
  83. margin-top: 1rem;
  84. .field--name-field-lieu{
  85. display: flex;
  86. flex-direction: row;
  87. justify-content: flex-start;
  88. // .field__item:not(:last-child):after{
  89. // padding-right: 1rem;
  90. // padding-left: 1rem;
  91. // content: "|";
  92. // }
  93. // @media (max-width: 810px){
  94. // margin-left: 10%;
  95. // font-size: 1rem;
  96. // }
  97. }
  98. }
  99. .block-entity-fieldnodefield-sous-titre{
  100. order: 4;
  101. grid-column: 2 /span 7;
  102. margin-top: 1rem;
  103. font-weight: 800;
  104. @media (max-width: 568px){
  105. grid-column: 2 /span 8;
  106. }
  107. @media (max-width: 499px){
  108. grid-column: 2 /span 9;
  109. }
  110. }
  111. .block-entity-fieldnodefield-images{
  112. order: 6;
  113. grid-column: 5 / span 3;
  114. width: 600px;
  115. // background: red;
  116. img{
  117. padding-top: 2rem;
  118. width: 100%;
  119. max-height: 400px;
  120. object-fit: contain;
  121. }
  122. // @media (max-width: 1008px){
  123. // // width: 100%;
  124. // img{
  125. // padding-top: 2rem;
  126. // width: 100%;
  127. // // max-height: 400px;
  128. // object-fit: contain;
  129. // }
  130. // }
  131. @media (max-width: 568px){
  132. grid-column: 3 /span 8;
  133. }
  134. @media (max-width: 499px){
  135. grid-column: 2 /span 8;
  136. }
  137. blockquote{
  138. // margin-left: 0em;
  139. font-size: 0.8rem;
  140. text-align: center;
  141. @media (max-width: 810px){
  142. margin-left: 5%;
  143. margin-right: 5%;
  144. font-size: 0.7rem;
  145. }
  146. }
  147. .slick-dots {
  148. > li {
  149. display: inline-block;
  150. }
  151. > li:only-child {
  152. display: none;
  153. }
  154. }
  155. .slick-dotted.slick-slider {
  156. margin-bottom: 0 !important;
  157. }
  158. }
  159. }
  160. }
  161. .layout__region--first{
  162. // margin-top: 18rem;
  163. .block-region-first{
  164. display: flex;
  165. justify-content: flex-end;
  166. position: -webkit-sticky;
  167. position: sticky;
  168. top: 10rem;
  169. .block-entity-fieldnodefield-textes{
  170. display: flex;
  171. justify-content: flex-end;
  172. width: 50%;
  173. background-color: $white;
  174. padding-right: 2rem;
  175. .field--name-field-titre{
  176. display: flex;
  177. font-size: 1rem;
  178. font-weight: 1000;
  179. color: $blue-dark;
  180. border-bottom: 1px solid $blue-light;
  181. padding-bottom: 0.5rem;
  182. padding-right: 1rem;
  183. // margin-top: 2rem;
  184. margin-bottom: 0.8rem;
  185. &:hover{
  186. text-decoration: underline;
  187. }
  188. }
  189. }
  190. }
  191. @media (max-width: 810px){
  192. display: none;
  193. }
  194. }
  195. .layout__region--second{
  196. // grid-row: 3;
  197. flex: 0 1 50%;
  198. // margin-top: 18rem;
  199. .block-region-second{
  200. width: 90%;
  201. @media (max-width:810px) {
  202. width: 100%;
  203. }
  204. .block-entity-fieldnodebody{
  205. p{
  206. margin-top: 0;
  207. }
  208. .field--type-text-with-summary{
  209. background-color: white;
  210. }
  211. }
  212. .block-entity-fieldnodefield-textes{
  213. background-color: $white;
  214. .field--name-field-titre{
  215. font-size: 1.5rem;
  216. font-weight: 1000;
  217. font-family: 'Source Code Pro';
  218. color: $blue-dark;
  219. text-transform: uppercase;
  220. margin-top: 2rem;
  221. margin-bottom: 0.8rem;
  222. }
  223. h4{
  224. text-transform: none !important;
  225. img{
  226. width: 100%;
  227. height: auto;
  228. }
  229. }
  230. .field--type-text-long{
  231. padding-right: 2rem;
  232. @media (max-width: 810px) {
  233. padding-right: 0;
  234. }
  235. }
  236. p{
  237. margin-top: 0;
  238. }
  239. a{
  240. color: $black;
  241. text-decoration: underline;
  242. svg{
  243. display: none;
  244. }
  245. }
  246. }
  247. .block-entity-fieldnodebody{
  248. .panel-body{
  249. #outputtext{
  250. overflow-y: visible !important;
  251. }
  252. }
  253. }
  254. .block-entity-fieldnodefield-partenaires{
  255. .field__label{
  256. font-size: 1.5rem;
  257. font-weight: 1000;
  258. font-family: 'Source Code Pro';
  259. color: $blue-dark;
  260. text-transform: uppercase;
  261. margin-top: 2rem;
  262. margin-bottom: 0.8rem;
  263. }
  264. .field__items{
  265. display: flex;
  266. flex-direction: row;
  267. justify-content: space-between;
  268. .paragraph--type--partenaire{
  269. display: flex;
  270. flex-direction: column;
  271. align-items: center;
  272. // width: 35%;
  273. .field--name-field-lien{
  274. // display: none;
  275. padding-top: 1rem;
  276. }
  277. }
  278. }
  279. }
  280. }
  281. @media (max-width: 810px){
  282. flex: 0 1 80%;
  283. margin: auto;
  284. }
  285. }
  286. .layout__region--third{
  287. // grid-row: 4;
  288. // margin-top: 18rem;
  289. @media (max-width: 1005px){
  290. flex: 0 1 100%;
  291. }
  292. .block-region-third{
  293. display: flex;
  294. flex-direction: column;
  295. width: 65%;
  296. @media (max-width: 810px){
  297. margin: auto;
  298. }
  299. .field--name-field-fichiers{
  300. .field__item{
  301. height: fit-content;
  302. width: fit-content;
  303. border: 2px solid $blue-light;
  304. background-color: $white;
  305. margin-bottom: 1rem;
  306. min-height: 4rem;
  307. // background: $white;
  308. color: $blue-light;
  309. padding: 1rem;
  310. @media(max-width:810px){
  311. width: max-content;
  312. padding-right: 1rem;
  313. }
  314. }
  315. span:nth-of-type(2){
  316. display: none;
  317. }
  318. .file--mime-application-pdf{
  319. height: inherit;
  320. margin: auto;
  321. ::before{
  322. content: url("../images/pictos/noun_Download_file_307900.svg");
  323. min-width:30px;
  324. height: auto;
  325. padding-right: 1rem;
  326. }
  327. a{
  328. hyphens: auto;
  329. display: inline-flex;
  330. align-items: center;
  331. color: $blue-light;
  332. font-weight: 800;
  333. // max-width: 80px ;
  334. }
  335. }
  336. }
  337. .block-entity-fieldnodefield-liens{
  338. .field--name-field-liens{
  339. .field__item{
  340. margin: auto;
  341. width: fit-content;
  342. height: fit-content;
  343. border: 2px solid $blue-light;
  344. min-height: 4rem;
  345. background: $white;
  346. color: $blue-light;
  347. padding: 1rem;
  348. margin-bottom: 1rem;
  349. @media(max-width:810px){
  350. width: max-content;
  351. padding-right: 1rem;
  352. }
  353. }
  354. a{
  355. display: inline-flex;
  356. align-items: center;
  357. color: $blue-light;
  358. font-weight: 800;
  359. &::before{
  360. content: url("../images/pictos/noun_External Link_674151.svg");
  361. min-width: 30px;
  362. height: auto;
  363. padding-right: 1rem;
  364. }
  365. svg.ext{
  366. display: none;
  367. }
  368. }
  369. }
  370. }
  371. .block-entity-fieldnodefield-ress{
  372. margin-top: 3rem;
  373. h2{
  374. font-size: 0.8rem;
  375. color: $black;
  376. font-weight: 900;
  377. }
  378. .node-type-ressource{
  379. border: 2px solid $blue-light;
  380. padding: 1rem;
  381. height: fit-content;
  382. margin-bottom: 1rem;
  383. background-color: $white;
  384. display: flex;
  385. flex-direction: column;
  386. div{
  387. display: flex;
  388. flex-direction: column;
  389. .field--name-field-type-de-ressource{
  390. order: 2;
  391. text-transform: uppercase;
  392. color: $blue-light;
  393. font-weight: 900;
  394. font-size: 0.8rem;
  395. }
  396. .field--name-title{
  397. order: 3;
  398. h2{
  399. margin: 0;
  400. a{
  401. color: $black;
  402. font-size: 1rem;
  403. font-weight: 900;
  404. font-style: italic;
  405. }
  406. }
  407. }
  408. .field--name-field-sous-titre{
  409. order:4;
  410. }
  411. .field--name-field-auteur-s-{
  412. order: 5;
  413. font-weight: 800;
  414. p{
  415. margin: 0;
  416. }
  417. .field__label{
  418. display:none;
  419. }
  420. }
  421. .field--name-field-edition{
  422. p{
  423. margin: 0;
  424. }
  425. .field__label{
  426. display:none;
  427. }
  428. }
  429. .field--name-field-images{
  430. display: none;
  431. order: 1;
  432. width: 25%;
  433. img{
  434. width: 100%;
  435. height: auto;
  436. margin: auto;
  437. }
  438. }
  439. .field--name-field-mots-clefs{
  440. order: 6;
  441. display: flex;
  442. margin-top: 2rem;
  443. flex-direction: row;
  444. flex-wrap: wrap;
  445. .field__items{
  446. display: flex;
  447. flex-direction: row;
  448. flex-wrap: wrap;
  449. }
  450. .field__item{
  451. padding-bottom: 0.5rem;
  452. margin-right: 0.5rem;
  453. padding-right: 0.3rem;
  454. font-size: 0.8rem;
  455. a{
  456. background: $blue-dark;
  457. color: $white;
  458. font-weight: 800;
  459. vertical-align: super;
  460. padding-left: 0.1rem;
  461. padding-right: 0.1rem;
  462. display: inline-flex;
  463. }
  464. }
  465. }
  466. ul.links.inline{
  467. display: none;
  468. }
  469. }
  470. }
  471. }
  472. }
  473. }
  474. }
  475. }