_actualite.scss 19 KB

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