_actualite.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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: 100%;
  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. text-align: center;
  155. @media (max-width: 810px){
  156. margin-left: 5%;
  157. margin-right: 5%;
  158. font-size: 0.7rem;
  159. }
  160. }
  161. .slick-dots {
  162. > li {
  163. display: inline-block;
  164. }
  165. > li:only-child {
  166. display: none;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. .layout__region--first{
  173. // margin-top: 18rem;
  174. .block-region-first{
  175. display: flex;
  176. justify-content: flex-end;
  177. position: -webkit-sticky;
  178. position: sticky;
  179. top: 10rem;
  180. .block-entity-fieldnodefield-textes{
  181. display: flex;
  182. justify-content: flex-end;
  183. width: 50%;
  184. background-color: $white;
  185. padding-right: 2rem;
  186. .field--name-field-titre{
  187. display: flex;
  188. font-size: 1rem;
  189. font-weight: 1000;
  190. color: $blue-dark;
  191. border-bottom: 1px solid $blue-light;
  192. padding-bottom: 0.5rem;
  193. padding-right: 1rem;
  194. // margin-top: 2rem;
  195. margin-bottom: 0.8rem;
  196. &:hover{
  197. text-decoration: underline;
  198. }
  199. }
  200. }
  201. }
  202. @media (max-width: 810px){
  203. display: none;
  204. }
  205. }
  206. .layout__region--second{
  207. // grid-row: 3;
  208. flex: 0 1 50%;
  209. // margin-top: 18rem;
  210. .block-region-second{
  211. width: 90%;
  212. @media (max-width:810px) {
  213. width: 100%;
  214. }
  215. .block-entity-fieldnodebody{
  216. p{
  217. margin-top: 0;
  218. }
  219. .field--type-text-with-summary{
  220. background-color: white;
  221. }
  222. }
  223. .block-entity-fieldnodefield-textes{
  224. background-color: $white;
  225. .field--name-field-titre{
  226. font-size: 1.5rem;
  227. font-weight: 1000;
  228. font-family: 'Source Code Pro';
  229. color: $blue-dark;
  230. text-transform: uppercase;
  231. margin-top: 2rem;
  232. margin-bottom: 0.8rem;
  233. }
  234. h4{
  235. text-transform: none !important;
  236. img{
  237. width: 100%;
  238. height: auto;
  239. }
  240. }
  241. .field--type-text-long{
  242. padding-right: 2rem;
  243. @media (max-width: 810px) {
  244. padding-right: 0;
  245. }
  246. }
  247. p{
  248. margin-top: 0;
  249. }
  250. a{
  251. color: $black;
  252. text-decoration: underline;
  253. svg{
  254. display: none;
  255. }
  256. }
  257. }
  258. .block-entity-fieldnodebody{
  259. .panel-body{
  260. #outputtext{
  261. overflow-y: visible !important;
  262. }
  263. }
  264. }
  265. .block-entity-fieldnodefield-partenaires{
  266. .field__label{
  267. font-size: 1.5rem;
  268. font-weight: 1000;
  269. font-family: 'Source Code Pro';
  270. color: $blue-dark;
  271. text-transform: uppercase;
  272. margin-top: 2rem;
  273. margin-bottom: 0.8rem;
  274. }
  275. .field__items{
  276. display: flex;
  277. flex-direction: row;
  278. justify-content: space-between;
  279. .paragraph--type--partenaire{
  280. display: flex;
  281. flex-direction: column;
  282. align-items: center;
  283. // width: 35%;
  284. .field--name-field-lien{
  285. // display: none;
  286. padding-top: 1rem;
  287. }
  288. }
  289. }
  290. }
  291. }
  292. @media (max-width: 810px){
  293. flex: 0 1 80%;
  294. margin: auto;
  295. }
  296. }
  297. .layout__region--third{
  298. // grid-row: 4;
  299. // margin-top: 18rem;
  300. .block-region-third{
  301. display: flex;
  302. flex-direction: column;
  303. width: 65%;
  304. @media (max-width: 810px){
  305. margin: auto;
  306. }
  307. .field--name-field-fichiers{
  308. .field__item{
  309. height: fit-content;
  310. border: 2px solid $blue-light;
  311. background-color: $white;
  312. margin-bottom: 1rem;
  313. min-height: 4rem;
  314. // background: $white;
  315. color: $blue-light;
  316. padding-left: 1rem;
  317. padding-top: 1rem;
  318. @media(max-width:810px){
  319. width: max-content;
  320. padding-right: 1rem;
  321. }
  322. }
  323. span:nth-of-type(2){
  324. display: none;
  325. }
  326. .file--mime-application-pdf{
  327. height: inherit;
  328. margin: auto;
  329. ::before{
  330. content: url("../images/pictos/noun_Download_file_307900.svg");
  331. min-width:30px;
  332. height: auto;
  333. padding-right: 1rem;
  334. }
  335. a{
  336. hyphens: auto;
  337. display: inline-flex;
  338. align-items: center;
  339. color: $blue-light;
  340. font-weight: 800;
  341. // max-width: 80px ;
  342. }
  343. }
  344. }
  345. .block-entity-fieldnodefield-liens{
  346. .field--name-field-liens{
  347. .field__item{
  348. margin: auto;
  349. height: fit-content;
  350. border: 2px solid $blue-light;
  351. min-height: 4rem;
  352. background: $white;
  353. color: $blue-light;
  354. padding-left: 1rem;
  355. padding-top: 1rem;
  356. margin-bottom: 1rem;
  357. @media(max-width:810px){
  358. width: max-content;
  359. padding-right: 1rem;
  360. }
  361. }
  362. a{
  363. display: inline-flex;
  364. align-items: center;
  365. color: $blue-light;
  366. font-weight: 800;
  367. &::before{
  368. content: url("../images/pictos/noun_External Link_674151.svg");
  369. min-width: 30px;
  370. height: auto;
  371. padding-right: 1rem;
  372. }
  373. svg.ext{
  374. display: none;
  375. }
  376. }
  377. }
  378. }
  379. .block-entity-fieldnodefield-ress{
  380. margin-top: 3rem;
  381. h2{
  382. font-size: 0.8rem;
  383. color: $black;
  384. font-weight: 900;
  385. }
  386. .node-type-ressource{
  387. border: 2px solid $blue-light;
  388. padding: 1rem;
  389. height: fit-content;
  390. margin-bottom: 1rem;
  391. background-color: $white;
  392. display: flex;
  393. flex-direction: column;
  394. div{
  395. display: flex;
  396. flex-direction: column;
  397. .field--name-field-type-de-ressource{
  398. order: 2;
  399. text-transform: uppercase;
  400. color: $blue-light;
  401. font-weight: 900;
  402. font-size: 0.8rem;
  403. }
  404. .field--name-title{
  405. order: 3;
  406. h2{
  407. margin: 0;
  408. a{
  409. color: $black;
  410. font-size: 1rem;
  411. font-weight: 900;
  412. font-style: italic;
  413. }
  414. }
  415. }
  416. .field--name-field-sous-titre{
  417. order:4;
  418. }
  419. .field--name-field-auteur-s-{
  420. order: 5;
  421. font-weight: 800;
  422. p{
  423. margin: 0;
  424. }
  425. .field__label{
  426. display:none;
  427. }
  428. }
  429. .field--name-field-edition{
  430. p{
  431. margin: 0;
  432. }
  433. .field__label{
  434. display:none;
  435. }
  436. }
  437. .field--name-field-images{
  438. display: none;
  439. order: 1;
  440. width: 25%;
  441. img{
  442. width: 100%;
  443. height: auto;
  444. margin: auto;
  445. }
  446. }
  447. .field--name-field-mots-clefs{
  448. order: 6;
  449. display: flex;
  450. margin-top: 2rem;
  451. flex-direction: row;
  452. flex-wrap: wrap;
  453. .field__items{
  454. display: flex;
  455. flex-direction: row;
  456. flex-wrap: wrap;
  457. }
  458. .field__item{
  459. padding-bottom: 0.5rem;
  460. margin-right: 0.5rem;
  461. padding-right: 0.3rem;
  462. font-size: 0.8rem;
  463. a{
  464. background: $blue-dark;
  465. color: $white;
  466. font-weight: 800;
  467. vertical-align: super;
  468. padding-left: 0.1rem;
  469. padding-right: 0.1rem;
  470. display: inline-flex;
  471. }
  472. }
  473. }
  474. ul.links.inline{
  475. display: none;
  476. }
  477. }
  478. }
  479. }
  480. }
  481. }
  482. }
  483. }