_actualite.scss 14 KB

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