_actualite.scss 15 KB

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