_actualite.scss 15 KB

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