_actualite.scss 11 KB

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