_actualite.scss 19 KB

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