_actualite.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  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-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344{
  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. }
  40. .block-entity-fieldnodefield-actu-type{
  41. padding-top: 2rem;
  42. grid-column: 2;
  43. @media (max-width: 810px){
  44. margin-left: 10%;
  45. }
  46. }
  47. .block-entity-fieldnodetitle{
  48. grid-column: 2 /span 7;
  49. margin: 0;
  50. .field--name-title{
  51. font-family: "Source Code Pro";
  52. font-size: 2.5rem;
  53. font-weight: 500;
  54. @media (max-width: 810px){
  55. width: 70%;
  56. margin-left: 10%;
  57. margin-right: 10%;
  58. font-size: 1.9em;
  59. }
  60. }
  61. }
  62. .block-entity-fieldnodefield-date{
  63. grid-column: 2 / span 3;
  64. text-transform: uppercase;
  65. color: $blue-dark;
  66. font-size: 1.2rem;
  67. font-weight: 800;
  68. .field--name-field-date{
  69. display: flex;
  70. flex-direction: row;
  71. justify-content: flex-start;
  72. .field__item:not(:last-child):after{
  73. padding-right: 1rem;
  74. padding-left: 1rem;
  75. content: "|";
  76. }
  77. @media (max-width: 810px){
  78. margin-left: 10%;
  79. font-size: 1rem;
  80. }
  81. }
  82. }
  83. .block-entity-fieldnodefield-sous-titre{
  84. grid-column: 2 /span 7;
  85. margin-top: 1rem;
  86. font-weight: 800;
  87. @media (max-width: 810px){
  88. margin-left: 10%;
  89. }
  90. }
  91. .block-entity-fieldnodefield-images{
  92. // grid-column-start: 5;
  93. // grid-column-end: 9;
  94. grid-column: 5 / span 9;
  95. img{
  96. padding-top: 2rem;
  97. width: 600px;
  98. // height: auto;
  99. max-height: 360px;
  100. object-fit: cover;
  101. }
  102. // position: relative;
  103. // bottom: -50%;
  104. @media (max-width: 1008px){
  105. width: 100%;
  106. img{
  107. padding-top: 2rem;
  108. width: 100%;
  109. object-fit: cover;
  110. }
  111. }
  112. blockquote{
  113. margin-left: 0em;
  114. font-size: 0.8rem;
  115. @media (max-width: 810px){
  116. margin-left: 5%;
  117. margin-right: 5%;
  118. font-size: 0.7rem;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. .layout__region--first{
  125. // margin-top: 18rem;
  126. .block-region-first{
  127. display: flex;
  128. justify-content: flex-end;
  129. position: -webkit-sticky;
  130. position: sticky;
  131. top: 10rem;
  132. .block-entity-fieldnodefield-textes{
  133. display: flex;
  134. justify-content: flex-end;
  135. width: 50%;
  136. background-color: $white;
  137. padding-right: 2rem;
  138. .field--name-field-titre{
  139. display: flex;
  140. font-size: 1rem;
  141. font-weight: 1000;
  142. color: $blue-dark;
  143. border-bottom: 1px solid $blue-light;
  144. padding-bottom: 0.5rem;
  145. padding-right: 1rem;
  146. // margin-top: 2rem;
  147. margin-bottom: 0.8rem;
  148. &:hover{
  149. text-decoration: underline;
  150. }
  151. }
  152. }
  153. }
  154. @media (max-width: 810px){
  155. display: none;
  156. }
  157. }
  158. .layout__region--second{
  159. // grid-row: 3;
  160. flex: 0 1 50%;
  161. // margin-top: 18rem;
  162. .block-region-second{
  163. width: 90%;
  164. @media (max-width:810px) {
  165. width: 100%;
  166. }
  167. .block-entity-fieldnodebody{
  168. p{
  169. margin-top: 0;
  170. }
  171. .field--type-text-with-summary{
  172. background-color: white;
  173. }
  174. }
  175. .block-entity-fieldnodefield-textes{
  176. background-color: $white;
  177. .field--name-field-titre{
  178. font-size: 1.5rem;
  179. font-weight: 1000;
  180. font-family: 'Source Code Pro';
  181. color: $blue-dark;
  182. text-transform: uppercase;
  183. margin-top: 2rem;
  184. margin-bottom: 0.8rem;
  185. }
  186. h4{
  187. text-transform: none !important;
  188. img{
  189. width: 100%;
  190. height: auto;
  191. }
  192. }
  193. .field--type-text-long{
  194. padding-right: 2rem;
  195. @media (max-width: 810px) {
  196. padding-right: 0;
  197. }
  198. }
  199. p{
  200. margin-top: 0;
  201. }
  202. a{
  203. color: $black;
  204. text-decoration: underline;
  205. svg{
  206. display: none;
  207. }
  208. }
  209. }
  210. .block-entity-fieldnodebody{
  211. .panel-body{
  212. #outputtext{
  213. overflow-y: visible !important;
  214. }
  215. }
  216. }
  217. .block-entity-fieldnodefield-partenaires{
  218. .field__label{
  219. font-size: 1.5rem;
  220. font-weight: 1000;
  221. font-family: 'Source Code Pro';
  222. color: $blue-dark;
  223. text-transform: uppercase;
  224. margin-top: 2rem;
  225. margin-bottom: 0.8rem;
  226. }
  227. .field__items{
  228. display: flex;
  229. flex-direction: row;
  230. justify-content: space-between;
  231. .paragraph--type--partenaire{
  232. display: flex;
  233. flex-direction: column;
  234. align-items: center;
  235. // width: 35%;
  236. .field--name-field-lien{
  237. // display: none;
  238. padding-top: 1rem;
  239. }
  240. }
  241. }
  242. }
  243. }
  244. @media (max-width: 810px){
  245. flex: 0 1 80%;
  246. margin: auto;
  247. }
  248. }
  249. .layout__region--third{
  250. // grid-row: 4;
  251. // margin-top: 18rem;
  252. .block-region-third{
  253. display: flex;
  254. flex-direction: column;
  255. width: 65%;
  256. @media (max-width: 810px){
  257. margin: auto;
  258. }
  259. .field--name-field-fichiers{
  260. .field__item{
  261. height: fit-content;
  262. border: 2px solid $blue-light;
  263. background-color: $white;
  264. margin-bottom: 1rem;
  265. min-height: 4rem;
  266. // background: $white;
  267. color: $blue-light;
  268. padding-left: 1rem;
  269. padding-top: 1rem;
  270. }
  271. span:nth-of-type(2){
  272. display: none;
  273. }
  274. .file--mime-application-pdf{
  275. height: inherit;
  276. margin: auto;
  277. ::before{
  278. content: url("../images/pictos/noun_Download_file_307900.svg");
  279. min-width:40px;
  280. height: auto;
  281. padding-right: 1rem;
  282. }
  283. a{
  284. hyphens: auto;
  285. display: inline-flex;
  286. align-items: center;
  287. color: $blue-light;
  288. font-weight: 800;
  289. // max-width: 80px ;
  290. }
  291. }
  292. }
  293. .block-entity-fieldnodefield-liens{
  294. .field--name-field-liens{
  295. .field__item{
  296. margin: auto;
  297. height: fit-content;
  298. border: 2px solid $blue-light;
  299. min-height: 4rem;
  300. background: $white;
  301. color: $blue-light;
  302. padding-left: 1rem;
  303. padding-top: 1rem;
  304. margin-bottom: 1rem;
  305. }
  306. a{
  307. display: inline-flex;
  308. align-items: center;
  309. color: $blue-light;
  310. font-weight: 800;
  311. &::before{
  312. content: url("../images/pictos/noun_External Link_674151.svg");
  313. min-width: 40px;
  314. height: auto;
  315. padding-right: 1rem;
  316. }
  317. svg.ext{
  318. display: none;
  319. }
  320. }
  321. }
  322. }
  323. .block-entity-fieldnodefield-ress{
  324. margin-top: 3rem;
  325. h2{
  326. font-size: 0.8rem;
  327. color: $black;
  328. font-weight: 900;
  329. }
  330. .node-type-ressource{
  331. display: flex;
  332. flex-direction: column;
  333. border: 2px solid $blue-light;
  334. padding: 1rem;
  335. height: fit-content;
  336. margin-bottom: 1rem;
  337. background-color: $white;
  338. &:first-of-type{
  339. border-top: 1px solid $blue-light;
  340. padding-top: 1rem;
  341. &::after{
  342. content: url("../images/pictos/noun_Arrow_3771902.svg");
  343. align-self: flex-end;
  344. }
  345. }
  346. .field--name-title{
  347. a{
  348. color: $black;
  349. font-size: 1.4rem;
  350. font-weight: 600;
  351. }
  352. }
  353. .field--name-field-auteur-s-{
  354. font-weight: 800;
  355. p{
  356. margin: 0;
  357. }
  358. .field__label{
  359. display:none;
  360. }
  361. }
  362. .field--name-field-edition{
  363. p{
  364. margin: 0;
  365. }
  366. .field__label{
  367. display:none;
  368. }
  369. }
  370. .field--name-field-images{
  371. width: 50%;
  372. img{
  373. width: 100%;
  374. height: auto;
  375. }
  376. }
  377. }
  378. }
  379. }
  380. }
  381. }
  382. }