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