_actualite.scss 10.0 KB

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