_actualite.scss 12 KB

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