_actualite.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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-images{
  61. grid-column-start: 5;
  62. grid-column-end: 9;
  63. img{
  64. padding-top: 2rem;
  65. width: 600px;
  66. // height: auto;
  67. max-height: 360px;
  68. object-fit: cover;
  69. }
  70. // position: relative;
  71. // bottom: -50%;
  72. }
  73. }
  74. }
  75. .layout__region--first{
  76. // margin-top: 18rem;
  77. .block-region-first{
  78. display: flex;
  79. justify-content: flex-end;
  80. .block-entity-fieldnodefield-textes{
  81. display: flex;
  82. justify-content: flex-end;
  83. width: 50%;
  84. background-color: $white;
  85. padding-right: 2rem;
  86. .field--name-field-titre{
  87. display: flex;
  88. font-size: 1rem;
  89. font-weight: 1000;
  90. color: $blue-dark;
  91. border-bottom: 1px solid $blue-light;
  92. padding-bottom: 0.5rem;
  93. padding-right: 1rem;
  94. // margin-top: 2rem;
  95. margin-bottom: 0.8rem;
  96. &:hover{
  97. text-decoration: underline;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .layout__region--second{
  104. // grid-row: 3;
  105. flex: 0 1 50%;
  106. // margin-top: 18rem;
  107. .block-region-second{
  108. width: 90%;
  109. .block-entity-fieldnodebody{
  110. p{
  111. margin-top: 0;
  112. }
  113. }
  114. .block-entity-fieldnodefield-textes{
  115. background-color: $white;
  116. .field--name-field-titre{
  117. font-size: 1.5rem;
  118. font-weight: 1000;
  119. font-family: 'Source Code Pro';
  120. color: $blue-dark;
  121. text-transform: uppercase;
  122. margin-top: 2rem;
  123. margin-bottom: 0.8rem;
  124. }
  125. h4{
  126. text-transform: none !important;
  127. img{
  128. width: 100%;
  129. height: auto;
  130. }
  131. }
  132. .field--type-text-long{
  133. padding-right: 2rem;
  134. }
  135. p{
  136. margin-top: 0;
  137. }
  138. a{
  139. color: $black;
  140. text-decoration: underline;
  141. svg{
  142. display: none;
  143. }
  144. }
  145. }
  146. .block-entity-fieldnodebody{
  147. .panel-body{
  148. #outputtext{
  149. overflow-y: visible !important;
  150. }
  151. }
  152. }
  153. }
  154. }
  155. .layout__region--third{
  156. // grid-row: 4;
  157. // margin-top: 18rem;
  158. .block-region-third{
  159. display: flex;
  160. flex-direction: column;
  161. width: 65%;
  162. .block-entity-fieldnodefield-fichiers{
  163. }
  164. .field--name-field-fichiers{
  165. .field__item{
  166. height: fit-content;
  167. border: 2px solid $blue-light;
  168. background-color: $white;
  169. margin-bottom: 1rem;
  170. min-height: 4rem;
  171. // background: $white;
  172. color: $blue-light;
  173. padding-left: 1rem;
  174. padding-top: 1rem;
  175. }
  176. span:nth-of-type(2){
  177. display: none;
  178. }
  179. .file--mime-application-pdf{
  180. height: inherit;
  181. margin: auto;
  182. ::before{
  183. content: url("../images/pictos/noun_Download_file_307900.svg");
  184. min-width:40px;
  185. height: auto;
  186. padding-right: 1rem;
  187. }
  188. a{
  189. hyphens: auto;
  190. display: inline-flex;
  191. align-items: center;
  192. color: $blue-light;
  193. font-weight: 800;
  194. // max-width: 80px ;
  195. }
  196. }
  197. }
  198. .block-entity-fieldnodefield-liens{
  199. .field--name-field-liens{
  200. .field__item{
  201. margin: auto;
  202. height: fit-content;
  203. border: 2px solid $blue-light;
  204. min-height: 4rem;
  205. background: $white;
  206. color: $blue-light;
  207. padding-left: 1rem;
  208. padding-top: 1rem;
  209. margin-bottom: 1rem;
  210. }
  211. a{
  212. display: inline-flex;
  213. align-items: center;
  214. color: $blue-light;
  215. font-weight: 800;
  216. &::before{
  217. content: url("../images/pictos/noun_External Link_674151.svg");
  218. min-width: 40px;
  219. height: auto;
  220. padding-right: 1rem;
  221. }
  222. svg.ext{
  223. display: none;
  224. }
  225. }
  226. }
  227. }
  228. .block-entity-fieldnodefield-ress{
  229. margin-top: 3rem;
  230. h2{
  231. font-size: 0.8rem;
  232. color: $black;
  233. font-weight: 900;
  234. }
  235. .node-type-ressource{
  236. display: flex;
  237. flex-direction: column;
  238. border: 2px solid $blue-light;
  239. padding: 1rem;
  240. height: fit-content;
  241. margin-bottom: 1rem;
  242. background-color: $white;
  243. &:first-of-type{
  244. border-top: 1px solid $blue-light;
  245. padding-top: 1rem;
  246. &::after{
  247. content: url("../images/pictos/noun_Arrow_3771902.svg");
  248. align-self: flex-end;
  249. }
  250. }
  251. .field--name-title{
  252. a{
  253. color: $black;
  254. font-size: 1.4rem;
  255. font-weight: 600;
  256. }
  257. }
  258. .field--name-field-auteur-s-{
  259. font-weight: 800;
  260. p{
  261. margin: 0;
  262. }
  263. .field__label{
  264. display:none;
  265. }
  266. }
  267. .field--name-field-edition{
  268. p{
  269. margin: 0;
  270. }
  271. .field__label{
  272. display:none;
  273. }
  274. }
  275. .field--name-field-images{
  276. width: 50%;
  277. img{
  278. width: 100%;
  279. height: auto;
  280. }
  281. }
  282. }
  283. }
  284. }
  285. }
  286. }
  287. }