_actualite.scss 19 KB

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