_actualite.scss 14 KB

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