ressources.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. .path-ressources{
  2. .layout-container {
  3. overflow: visible;
  4. }
  5. .layout-content{
  6. width: 100vw;
  7. .region-content{
  8. width: 100%;
  9. margin: auto;
  10. #block-contenudelapageprincipale{
  11. h2{
  12. font-size: 5rem;
  13. color: $blue-dark;
  14. font-weight: 400;
  15. text-align: center;
  16. margin-bottom: 1rem;
  17. }
  18. .layout--onecol{
  19. .layout__region--content{
  20. .block-region-content{
  21. // display: grid;
  22. // grid-template-columns: 1fr repeat(4, 1fr) 1fr;
  23. display: flex;
  24. flex-direction: column;
  25. @media (max-width: 479px){
  26. display: flex;
  27. flex-direction: column;
  28. }
  29. // texte présentation
  30. .block-config-pages-block{
  31. width: 60%;
  32. margin: auto;
  33. margin-left: 30%;
  34. @media (max-width:479px) {
  35. order: 1;
  36. margin-left: 0;
  37. }
  38. .config_pages--base-de-donnees--full{
  39. grid-column: 1 / span 5;
  40. @media (max-width: 810px){
  41. padding: 2rem;
  42. margin-top:1rem;
  43. }
  44. @media (max-width: 479px){
  45. padding-left: 0;
  46. padding-right: 0;
  47. }
  48. .field--name-field-introduction{
  49. margin: auto;
  50. background: $white;
  51. // margin-top:5rem;
  52. @media (max-width: 479px){
  53. margin-top:1rem;
  54. }
  55. }
  56. }
  57. }
  58. //button proposer une ressource
  59. .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
  60. // visibility: hidden;
  61. grid-column: 6 / span 5;
  62. grid-row: 1;
  63. margin-top: 4rem;
  64. background-color: $blue-light;
  65. height: fit-content;
  66. width: 100%;
  67. @media (max-width: 810px){
  68. grid-column: 5 / span 5;
  69. }
  70. @media (max-width: 479px){
  71. grid-column: 5 / span 5;
  72. order: 2;
  73. }
  74. .display{
  75. display: block;
  76. }
  77. .field--name-field-lien{
  78. display: flex;
  79. flex-direction: column;
  80. margin-top: 2rem;
  81. margin-bottom: 2rem;
  82. margin-left: 1.5rem;
  83. margin-right: 1.5rem;
  84. text-align: center;
  85. a{
  86. font-weight: 800;
  87. color: $white;
  88. font-size: 1.3rem;
  89. }
  90. &:after{
  91. margin-left: auto;
  92. padding-top: 1rem;
  93. display: block;
  94. content:url("../images/pictos/noun_Arrow_3771902.svg")
  95. }
  96. }
  97. @media (max-width: 810px){
  98. margin: auto;
  99. }
  100. }
  101. // grille des ressources
  102. .block-views-blockbase-de-donnees-block-1{
  103. margin-top: 2rem;
  104. width: 100%;
  105. @media (max-width:479px) {
  106. order: 3;
  107. }
  108. .view-base-de-donnees{
  109. display: grid;
  110. grid-template-columns: 20% 75%;
  111. gap: 2rem;
  112. .view-filters{
  113. position: sticky;
  114. align-self: start;
  115. top: 9rem;
  116. left: 0;
  117. background-color: $white;
  118. margin-bottom: 5rem;
  119. padding: 1rem;
  120. padding-left: 2rem;
  121. padding-right: 3rem;
  122. z-index: 1;
  123. @media (max-width: 810px) {
  124. position: static;
  125. margin-bottom: 2rem;
  126. }
  127. @media (max-width: 479px) {
  128. margin-left: 0;
  129. }
  130. &::before{
  131. content: "Filtrer par : ";
  132. padding-right: 1rem;
  133. font-weight: 800;
  134. @media (max-width: 479px){
  135. padding-bottom: 1rem;
  136. }
  137. }
  138. }
  139. .view-content{
  140. display: flex;
  141. flex-direction: row;
  142. flex-wrap: wrap;
  143. width: 100%;
  144. .view-type-slide:not(footer){
  145. width: 100%;
  146. position: relative;
  147. z-index: 0;
  148. padding-bottom: 4rem;
  149. &::before {
  150. content: "";
  151. position: absolute;
  152. left: -30%;
  153. height: 100%;
  154. width: 110vw;
  155. z-index: 0;
  156. }
  157. > * {
  158. position: relative;
  159. z-index: 1;
  160. }
  161. h3{
  162. margin-top: 3rem;
  163. text-transform: uppercase;
  164. font-family: 'Source Code Pro';
  165. a{color: rgb(9, 57, 139) !important;}
  166. }
  167. h3 a{
  168. display: flex;
  169. flex-direction: row;
  170. align-items: center;
  171. }
  172. h3.type-publication-issue-du-programme-eqld a{
  173. &:before{
  174. content:url("../images/pictos/picto-ressource-eqld.svg");
  175. padding-right: 1rem;
  176. }
  177. }
  178. h3.type-paroles-de-laureats a{
  179. &:before{
  180. content:url("../images/pictos/picto-ressource-paroleslaureats.svg");
  181. padding-right: 1rem;
  182. }
  183. }
  184. h3.type-les-projets-en-images a{
  185. &:before{
  186. content:url("../images/pictos/picto-ressource-projetsimages.svg");
  187. padding-right: 1rem;
  188. }
  189. }
  190. h3.type-presse a{
  191. &:before{
  192. content:url("../images/pictos/picto-ressource-presse.svg");
  193. padding-right: 1rem;
  194. }
  195. }
  196. .views-row-wrapper{
  197. display: flex;
  198. flex-direction: row;
  199. .slick-track{
  200. width: 100% !important;
  201. display: flex;
  202. flex-direction: row;
  203. .views-row{
  204. width: 45% !important;
  205. min-width: 450px !important;
  206. max-width: 500px !important;
  207. }
  208. }
  209. @media (max-width: 810px){
  210. flex-direction: column;
  211. .views-row{
  212. width: 100%;
  213. }
  214. }
  215. .slick-next::before{
  216. content:url("../images/pictos/fleche-droite-dans-rond.png");
  217. display: block;
  218. }
  219. .slick-prev::before{
  220. content:url("../images/pictos/fleche-droite-dans-rond.png");
  221. display: block;
  222. transform: scaleX(-1);
  223. // display: none;
  224. }
  225. .slick-prev.slick-disabled::before,
  226. .slick-next.slick-disabled::before{
  227. opacity: 0 !important;
  228. }
  229. .slick-next {
  230. right: 3%;
  231. }
  232. }
  233. }
  234. .view-type-slide:has(.type-publication-issue-du-programme-eqld){
  235. &::before{
  236. background-color: $background-actus;}
  237. }
  238. // .type-les-projets-en-images{
  239. // .slick-track{
  240. // width: 100% !important;
  241. // .views-row{
  242. // width: 100% !important;
  243. // }
  244. // }
  245. // }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. }
  252. }
  253. }
  254. }
  255. }