_actualite.scss 20 KB

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