_actualite.scss 11 KB

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