ressources.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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. margin-bottom: 1rem;
  135. @media (max-width: 479px){
  136. padding-bottom: 1rem;
  137. }
  138. }
  139. .buttons-filtres-ressources{
  140. margin-top: 2rem;
  141. button{
  142. background-color: transparent;
  143. border-radius: 30px;
  144. border: 1px solid black;
  145. padding: 0.5rem 0.8rem 0.2rem 0.6rem;
  146. margin-bottom: 1rem;
  147. margin-right: 0.5rem;
  148. &:hover{
  149. cursor: grab;
  150. }
  151. &.button-videos{
  152. a {
  153. display: inline-flex;
  154. flex-direction: row;
  155. align-items: center;
  156. &::before{
  157. content:url("../images/pictos/podcasts.png");
  158. padding-right: 0.5rem;
  159. }
  160. }
  161. }
  162. &.button-podcasts{
  163. a {
  164. display: inline-flex;
  165. flex-direction: row;
  166. align-items: center;
  167. &::before{
  168. content:url("../images/pictos/podcasts.png");
  169. padding-right: 0.5rem;
  170. }
  171. }
  172. }
  173. &.button-reportages-photos{
  174. a {
  175. display: inline-flex;
  176. flex-direction: row;
  177. align-items: center;
  178. &::before{
  179. content:url("../images/pictos/podcasts.png");
  180. padding-right: 0.5rem;
  181. }
  182. }
  183. }
  184. &.button-livres{
  185. a {
  186. display: inline-flex;
  187. flex-direction: row;
  188. align-items: center;
  189. &::before{
  190. content:url("../images/pictos/podcasts.png");
  191. padding-right: 0.5rem;
  192. }
  193. }
  194. }
  195. &.button-articles{
  196. a {
  197. display: inline-flex;
  198. flex-direction: row;
  199. align-items: center;
  200. &::before{
  201. content:url("../images/pictos/podcasts.png");
  202. padding-right: 0.5rem;
  203. }
  204. }
  205. }
  206. &.button-publications-rapports{
  207. a {
  208. display: inline-flex;
  209. flex-direction: row;
  210. align-items: center;
  211. &::before{
  212. content:url("../images/pictos/podcasts.png");
  213. padding-right: 0.5rem;
  214. }
  215. }
  216. }
  217. }
  218. }
  219. }
  220. .view-ressources-hidden {
  221. visibility: hidden;
  222. height: 0;
  223. overflow: hidden;
  224. }
  225. .view-content{
  226. transition: opacity 0.3s ease;
  227. display: flex;
  228. flex-direction: row;
  229. flex-wrap: wrap;
  230. width: 100%;
  231. .view-type-slide:not(footer){
  232. width: 100%;
  233. position: relative;
  234. z-index: 0;
  235. padding-bottom: 4rem;
  236. &::before {
  237. content: "";
  238. position: absolute;
  239. left: -30%;
  240. height: 100%;
  241. width: 110vw;
  242. z-index: 0;
  243. }
  244. > * {
  245. position: relative;
  246. z-index: 1;
  247. }
  248. h3{
  249. margin-top: 3rem;
  250. text-transform: uppercase;
  251. font-family: 'Source Code Pro';
  252. color: rgb(9, 57, 139) !important;
  253. display: flex;
  254. flex-direction: row;
  255. align-items: center;
  256. }
  257. h3.type-publication-issue-du-programme-eqld {
  258. &:before{
  259. content:url("../images/pictos/picto-ressource-eqld.svg");
  260. padding-right: 1rem;
  261. }
  262. }
  263. h3.type-paroles-de-laureats {
  264. &:before{
  265. content:url("../images/pictos/picto-ressource-paroleslaureats.svg");
  266. padding-right: 1rem;
  267. }
  268. }
  269. h3.type-les-projets-en-images {
  270. &:before{
  271. content:url("../images/pictos/picto-ressource-projetsimages.svg");
  272. padding-right: 1rem;
  273. }
  274. }
  275. h3.type-presse {
  276. &:before{
  277. content:url("../images/pictos/picto-ressource-presse.svg");
  278. padding-right: 1rem;
  279. }
  280. }
  281. .views-row-wrapper{
  282. display: flex;
  283. flex-direction: row;
  284. .slick-track{
  285. width: 100% !important;
  286. display: flex;
  287. flex-direction: row;
  288. .views-row{
  289. width: 45% !important;
  290. min-width: 450px !important;
  291. max-width: 500px !important;
  292. }
  293. }
  294. @media (max-width: 810px){
  295. flex-direction: column;
  296. .views-row{
  297. width: 100%;
  298. }
  299. }
  300. .slick-next::before{
  301. content:url("../images/pictos/fleche-droite-dans-rond.png");
  302. display: block;
  303. }
  304. .slick-prev::before{
  305. content:url("../images/pictos/fleche-droite-dans-rond.png");
  306. display: block;
  307. transform: scaleX(-1);
  308. // display: none;
  309. }
  310. .slick-prev.slick-disabled::before,
  311. .slick-next.slick-disabled::before{
  312. opacity: 0 !important;
  313. }
  314. .slick-next {
  315. right: 3%;
  316. }
  317. }
  318. }
  319. .view-type-slide:has(.type-publication-issue-du-programme-eqld){
  320. &::before{
  321. background-color: $background-actus;}
  322. }
  323. // .type-les-projets-en-images{
  324. // .slick-track{
  325. // width: 100% !important;
  326. // .views-row{
  327. // width: 100% !important;
  328. // }
  329. // }
  330. // }
  331. }
  332. }
  333. }
  334. }
  335. }
  336. }
  337. }
  338. }
  339. }
  340. }