_actualite.scss 14 KB

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