_actualite.scss 9.8 KB

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