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