_actualite.scss 15 KB

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