_actualite.scss 9.3 KB

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