_actualite.scss 19 KB

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