_actualite.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. .path-node.page-node-type-actualite{
  2. .offresdeservices.layout-content.region-content#block-contenudelapageprincipale{
  3. background: none !important;
  4. }
  5. .layout--threecol-25-50-25{
  6. // display: grid;
  7. // grid-template-rows: repeat(6, auto);
  8. .layout__region--top{
  9. // grid-row: 1 / span 2;
  10. // background-color: $background-actus;
  11. // height: 40vh;
  12. background: linear-gradient(to bottom, $background-actus 60%, white 40%);
  13. // padding-right: 1rem;
  14. padding-bottom: 4rem;
  15. .block-region-top{
  16. // position: relative;
  17. display: grid;
  18. grid-template-columns: 1fr repeat(8, 1fr) 1fr;
  19. .block-block-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344{
  20. grid-column: 1 / span 10;
  21. width: 100%;
  22. font-family: 'Source Code Pro';
  23. font-size: 1.5rem;
  24. font-weight: 800;
  25. color: $white;
  26. background-color: $blue-light;
  27. text-transform: uppercase;
  28. padding-left: 13%;
  29. padding-top: 1rem;
  30. padding-bottom: 0.5rem;
  31. vertical-align: middle;
  32. }
  33. .block-entity-fieldnodefield-actu-type{
  34. padding-top: 2rem;
  35. grid-column: 2;
  36. }
  37. .block-entity-fieldnodetitle{
  38. grid-column: 2 /span 7;
  39. margin: 0;
  40. .field--name-title{
  41. font-family: "Source Code Pro";
  42. font-size: 2.5rem;
  43. font-weight: 500;
  44. }
  45. }
  46. .block-entity-fieldnodefield-date{
  47. grid-column: 2 / span 3;
  48. text-transform: uppercase;
  49. color: $blue-dark;
  50. font-size: 1.2rem;
  51. font-weight: 800;
  52. .field--name-field-date{
  53. display: flex;
  54. flex-direction: row;
  55. justify-content: flex-start;
  56. .field__item:not(:last-child):after{
  57. padding-right: 1rem;
  58. padding-left: 1rem;
  59. content: "|";
  60. }
  61. }
  62. }
  63. .block-entity-fieldnodefield-sous-titre{
  64. grid-column: 2 /span 7;
  65. margin-top: 1rem;
  66. font-weight: 800;
  67. }
  68. .block-entity-fieldnodefield-images{
  69. grid-column-start: 5;
  70. grid-column-end: 9;
  71. img{
  72. padding-top: 2rem;
  73. width: 600px;
  74. // height: auto;
  75. max-height: 360px;
  76. object-fit: cover;
  77. }
  78. // position: relative;
  79. // bottom: -50%;
  80. }
  81. }
  82. }
  83. .layout__region--first{
  84. // margin-top: 18rem;
  85. .block-region-first{
  86. display: flex;
  87. justify-content: flex-end;
  88. .block-entity-fieldnodefield-textes{
  89. display: flex;
  90. justify-content: flex-end;
  91. width: 50%;
  92. background-color: $white;
  93. padding-right: 2rem;
  94. .field--name-field-titre{
  95. display: flex;
  96. font-size: 1rem;
  97. font-weight: 1000;
  98. color: $blue-dark;
  99. border-bottom: 1px solid $blue-light;
  100. padding-bottom: 0.5rem;
  101. padding-right: 1rem;
  102. // margin-top: 2rem;
  103. margin-bottom: 0.8rem;
  104. &:hover{
  105. text-decoration: underline;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .layout__region--second{
  112. // grid-row: 3;
  113. flex: 0 1 50%;
  114. // margin-top: 18rem;
  115. .block-region-second{
  116. width: 90%;
  117. .block-entity-fieldnodebody{
  118. p{
  119. margin-top: 0;
  120. }
  121. .field--type-text-with-summary{
  122. background-color: white;
  123. }
  124. }
  125. .block-entity-fieldnodefield-textes{
  126. background-color: $white;
  127. .field--name-field-titre{
  128. font-size: 1.5rem;
  129. font-weight: 1000;
  130. font-family: 'Source Code Pro';
  131. color: $blue-dark;
  132. text-transform: uppercase;
  133. margin-top: 2rem;
  134. margin-bottom: 0.8rem;
  135. }
  136. h4{
  137. text-transform: none !important;
  138. img{
  139. width: 100%;
  140. height: auto;
  141. }
  142. }
  143. .field--type-text-long{
  144. padding-right: 2rem;
  145. }
  146. p{
  147. margin-top: 0;
  148. }
  149. a{
  150. color: $black;
  151. text-decoration: underline;
  152. svg{
  153. display: none;
  154. }
  155. }
  156. }
  157. .block-entity-fieldnodebody{
  158. .panel-body{
  159. #outputtext{
  160. overflow-y: visible !important;
  161. }
  162. }
  163. }
  164. }
  165. }
  166. .layout__region--third{
  167. // grid-row: 4;
  168. // margin-top: 18rem;
  169. .block-region-third{
  170. display: flex;
  171. flex-direction: column;
  172. width: 65%;
  173. .field--name-field-fichiers{
  174. .field__item{
  175. height: fit-content;
  176. border: 2px solid $blue-light;
  177. background-color: $white;
  178. margin-bottom: 1rem;
  179. min-height: 4rem;
  180. // background: $white;
  181. color: $blue-light;
  182. padding-left: 1rem;
  183. padding-top: 1rem;
  184. }
  185. span:nth-of-type(2){
  186. display: none;
  187. }
  188. .file--mime-application-pdf{
  189. height: inherit;
  190. margin: auto;
  191. ::before{
  192. content: url("../images/pictos/noun_Download_file_307900.svg");
  193. min-width:40px;
  194. height: auto;
  195. padding-right: 1rem;
  196. }
  197. a{
  198. hyphens: auto;
  199. display: inline-flex;
  200. align-items: center;
  201. color: $blue-light;
  202. font-weight: 800;
  203. // max-width: 80px ;
  204. }
  205. }
  206. }
  207. .block-entity-fieldnodefield-liens{
  208. .field--name-field-liens{
  209. .field__item{
  210. margin: auto;
  211. height: fit-content;
  212. border: 2px solid $blue-light;
  213. min-height: 4rem;
  214. background: $white;
  215. color: $blue-light;
  216. padding-left: 1rem;
  217. padding-top: 1rem;
  218. margin-bottom: 1rem;
  219. }
  220. a{
  221. display: inline-flex;
  222. align-items: center;
  223. color: $blue-light;
  224. font-weight: 800;
  225. &::before{
  226. content: url("../images/pictos/noun_External Link_674151.svg");
  227. min-width: 40px;
  228. height: auto;
  229. padding-right: 1rem;
  230. }
  231. svg.ext{
  232. display: none;
  233. }
  234. }
  235. }
  236. }
  237. .block-entity-fieldnodefield-ress{
  238. margin-top: 3rem;
  239. h2{
  240. font-size: 0.8rem;
  241. color: $black;
  242. font-weight: 900;
  243. }
  244. .node-type-ressource{
  245. display: flex;
  246. flex-direction: column;
  247. border: 2px solid $blue-light;
  248. padding: 1rem;
  249. height: fit-content;
  250. margin-bottom: 1rem;
  251. background-color: $white;
  252. &:first-of-type{
  253. border-top: 1px solid $blue-light;
  254. padding-top: 1rem;
  255. &::after{
  256. content: url("../images/pictos/noun_Arrow_3771902.svg");
  257. align-self: flex-end;
  258. }
  259. }
  260. .field--name-title{
  261. a{
  262. color: $black;
  263. font-size: 1.4rem;
  264. font-weight: 600;
  265. }
  266. }
  267. .field--name-field-auteur-s-{
  268. font-weight: 800;
  269. p{
  270. margin: 0;
  271. }
  272. .field__label{
  273. display:none;
  274. }
  275. }
  276. .field--name-field-edition{
  277. p{
  278. margin: 0;
  279. }
  280. .field__label{
  281. display:none;
  282. }
  283. }
  284. .field--name-field-images{
  285. width: 50%;
  286. img{
  287. width: 100%;
  288. height: auto;
  289. }
  290. }
  291. }
  292. }
  293. }
  294. }
  295. }
  296. }