_actualite.scss 19 KB

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