ressources.scss 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  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: 4em;
  13. color: $blue-dark;
  14. font-weight: 400;
  15. text-align: center;
  16. margin-bottom: 1rem;
  17. width: fit-content;
  18. margin-left: 28%;
  19. @media (max-width:810px) {
  20. margin-left: 0;
  21. text-align: left;
  22. line-height: 4rem;
  23. }
  24. }
  25. .layout--onecol{
  26. .layout__region--content{
  27. .block-region-content{
  28. // display: grid;
  29. // grid-template-columns: 1fr repeat(4, 1fr) 1fr;
  30. display: flex;
  31. flex-direction: column;
  32. @media (max-width: 479px){
  33. display: flex;
  34. flex-direction: column;
  35. }
  36. // texte présentation
  37. .block-config-pages-block{
  38. width: 60%;
  39. margin: auto;
  40. margin-left: 28%;
  41. @media (max-width:810px) {
  42. margin-left: 0;
  43. width: 90%;
  44. }
  45. @media (max-width:479px) {
  46. order: 1;
  47. margin-left: 0;
  48. }
  49. .config_pages--base-de-donnees--full{
  50. grid-column: 1 / span 5;
  51. @media (max-width: 810px){
  52. padding-top: 1rem;
  53. padding-left: 2rem;
  54. margin-top:1rem;
  55. }
  56. @media (max-width: 479px){
  57. padding-left: 0;
  58. padding-right: 0;
  59. }
  60. .field--name-field-introduction{
  61. margin: auto;
  62. background: $white;
  63. font-size: 1rem;
  64. // margin-top:5rem;
  65. @media (max-width: 479px){
  66. margin-top:1rem;
  67. }
  68. }
  69. }
  70. }
  71. //button proposer une ressource
  72. .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
  73. // visibility: hidden;
  74. grid-column: 6 / span 5;
  75. grid-row: 1;
  76. margin-top: 4rem;
  77. background-color: $blue-light;
  78. height: fit-content;
  79. width: 100%;
  80. @media (max-width: 810px){
  81. grid-column: 5 / span 5;
  82. }
  83. @media (max-width: 479px){
  84. grid-column: 5 / span 5;
  85. order: 2;
  86. }
  87. .display{
  88. display: block;
  89. }
  90. .field--name-field-lien{
  91. display: flex;
  92. flex-direction: column;
  93. margin-top: 2rem;
  94. margin-bottom: 2rem;
  95. margin-left: 1.5rem;
  96. margin-right: 1.5rem;
  97. text-align: center;
  98. a{
  99. font-weight: 800;
  100. color: $white;
  101. font-size: 1.3rem;
  102. }
  103. &:after{
  104. margin-left: auto;
  105. padding-top: 1rem;
  106. display: block;
  107. content:url("../images/pictos/noun_Arrow_3771902.svg")
  108. }
  109. }
  110. @media (max-width: 810px){
  111. margin: auto;
  112. }
  113. }
  114. // grille des ressources
  115. .block-views-blockbase-de-donnees-block-1{
  116. margin-top: 2rem;
  117. width: 100%;
  118. @media (max-width:479px) {
  119. order: 3;
  120. }
  121. .view-base-de-donnees{
  122. display: grid;
  123. grid-template-columns: 20% 80%;
  124. gap: 2rem;
  125. @media (max-width:810px) {
  126. display: flex;
  127. flex-direction: column ;
  128. }
  129. .view-filters{
  130. position: sticky;
  131. align-self: start;
  132. top: 23rem;
  133. left: 0;
  134. background-color: $white;
  135. margin-bottom: 5rem;
  136. padding: 1rem;
  137. padding-left: 2rem;
  138. padding-right: 1.5rem;
  139. z-index: 1;
  140. transform: translateY(-210px);
  141. margin-bottom: -210px;
  142. overflow-y: scroll;
  143. @media (max-width: 810px) {
  144. position: static;
  145. margin-bottom: 2rem;
  146. transform: none;
  147. margin-bottom: 0px;
  148. }
  149. @media (max-width: 479px) {
  150. margin-left: 0;
  151. }
  152. .buttons-filtres-ressources{
  153. &::before{
  154. content: "Afficher : ";
  155. padding-right: 1rem;
  156. font-weight: 800;
  157. font-size: 1rem;
  158. margin-bottom: 1rem;
  159. display: block;
  160. width: 100%;
  161. @media (max-width: 479px){
  162. padding-bottom: 1rem;
  163. }
  164. }
  165. a.button{
  166. background-color: transparent;
  167. // border-radius: 30px;
  168. border: 1px solid black;
  169. padding: 0.3rem 0.5rem 0.1rem 0.3rem;
  170. margin-bottom: 0.5rem;
  171. margin-right: 0.5rem;
  172. font-size: 0.8rem;
  173. color: $blue-dark;
  174. display: inline-flex;
  175. flex-direction: row;
  176. align-items: center;
  177. &:hover{
  178. cursor: grab;
  179. background-color: $blue-dark;
  180. color: white;
  181. }
  182. :visited{
  183. color: $blue-dark;
  184. }
  185. &.button-videos{
  186. &::before{
  187. content:url("../images/pictos/videos.svg");
  188. padding-right: 0.5rem;
  189. display: block;
  190. }
  191. &:hover::before,
  192. .is-active &::before{
  193. content:url("../images/pictos/videos-blanc.svg");
  194. display: block;
  195. }
  196. }
  197. &.button-podcasts{
  198. &::before{
  199. content:url("../images/pictos/podcasts.svg");
  200. padding-right: 0.5rem;
  201. display: block;
  202. }
  203. &:hover::before{
  204. content:url("../images/pictos/podcasts-blanc.svg");
  205. display: block;
  206. }
  207. }
  208. &.button-images---photos{
  209. &::before{
  210. content:url("../images/pictos/en-images.svg");
  211. display: block;
  212. padding-right: 0.5rem;
  213. }
  214. &:hover::before{
  215. content:url("../images/pictos/en-images-blanc.svg");
  216. display: block;
  217. }
  218. }
  219. &.button-livres{
  220. &::before{
  221. content:url("../images/pictos/ecrits.svg");
  222. padding-right: 0.5rem;
  223. display: block;;
  224. }
  225. &:hover::before{
  226. content:url("../images/pictos/ecrits-blanc.svg");
  227. display: block;
  228. }
  229. }
  230. &.button-articles{
  231. &::before{
  232. content:url("../images/pictos/ecrits.svg");
  233. padding-right: 0.5rem;
  234. display: block;
  235. }
  236. &:hover::before{
  237. content:url("../images/pictos/ecrits-blanc.svg");
  238. display: block;
  239. }
  240. }
  241. &.button-publications---rapports{
  242. &::before{
  243. content:url("../images/pictos/ecrits.svg");
  244. padding-right: 0.5rem;
  245. display: block;
  246. }
  247. &:hover::before{
  248. content:url("../images/pictos/ecrits-blanc.svg");
  249. display: block;
  250. }
  251. }
  252. }
  253. button.is-active{
  254. background-color: $blue-dark;
  255. color: white;
  256. a {
  257. color: white;
  258. }
  259. &.button-videos{
  260. margin-top: 1rem;
  261. a {
  262. &::before,
  263. .is-active &::before{
  264. content:url("../images/pictos/videos-blanc.svg");
  265. }
  266. }
  267. }
  268. &.button-podcasts{
  269. a {
  270. &::before{
  271. content:url("../images/pictos/podcasts-blanc.svg");
  272. }
  273. }
  274. }
  275. &.button-images---photos{
  276. a {
  277. &::before{
  278. content:url("../images/pictos/en-images-blanc.svg");
  279. }
  280. }
  281. }
  282. &.button-livres{
  283. a {
  284. &::before{
  285. content:url("../images/pictos/ecrits-blanc.svg");
  286. }
  287. }
  288. }
  289. &.button-articles{
  290. a {
  291. &::before{
  292. content:url("../images/pictos/ecrits-blanc.svg");
  293. }
  294. }
  295. }
  296. &.button-publications---rapports{
  297. a {
  298. &::before{
  299. content:url("../images/pictos/ecrits-blanc.svg");
  300. }
  301. }
  302. }
  303. }
  304. }
  305. form{
  306. &::before{
  307. content: "Filtrer par : ";
  308. padding-right: 1rem;
  309. font-weight: 800;
  310. font-size: 1rem;
  311. margin-bottom: 1rem;
  312. @media (max-width: 479px){
  313. padding-bottom: 1rem;
  314. }
  315. }
  316. .form-item-field-type-de-media-target-id{
  317. // display: none;
  318. }
  319. .form-item{
  320. font-size: 0.8rem;
  321. }
  322. .form-item-combine{
  323. border-top: none;
  324. border-left: none;
  325. border-right: none;
  326. font-size: 0.8rem;
  327. justify-content: flex-start !important;
  328. label{display: none;}
  329. .input-wrapper{
  330. display: inline-flex;
  331. font-size: 0.8rem;
  332. &::after{
  333. content: url("../images/pictos/loupe.svg");
  334. display: inline-block;
  335. }
  336. input{
  337. text-align: start !important;
  338. max-width: 100% !important;
  339. }
  340. }
  341. }
  342. select{
  343. font-size: 0.8rem;
  344. ::placeholder{
  345. display: none;
  346. }
  347. }
  348. input{
  349. font-size: 0.8rem;
  350. }
  351. }
  352. }
  353. .filtered{
  354. display: flex;
  355. flex-direction: row;
  356. flex-wrap: wrap;
  357. .views-row-wrapper{
  358. flex-wrap: wrap;
  359. width: 85%;
  360. .views-row {
  361. padding: 1rem;
  362. width: 30% !important;
  363. }
  364. }
  365. }
  366. .view-content{
  367. transition: opacity 0.3s ease;
  368. display: flex;
  369. flex-direction: row;
  370. flex-wrap: wrap;
  371. width: 100%;
  372. .border{
  373. width: 60%;
  374. border-top: solid 1px rgba(0, 0, 0, 0.3);
  375. }
  376. .view-type-slide:not(:first-of-type) {
  377. // width: 80%;
  378. // border-top: solid 1px rgba(0, 0, 0, 0.3);
  379. // padding-top: 2rem;
  380. }
  381. .view-type-slide.type-publications-issues-du-programme-eqld{
  382. order: 1;
  383. &::before{
  384. background-color: $background-actus;
  385. }
  386. .views-row{
  387. width: 45% ;
  388. min-width: 350px !important;
  389. max-width: 500px ;
  390. }
  391. }
  392. .view-type-slide.type-paroles-de-laureats{order: 2;}
  393. .view-type-slide.type-les-projets-en-images{
  394. order: 3;
  395. width: 80%;
  396. border-top: solid 1px rgba(0, 0, 0, 0.3);
  397. }
  398. .view-type-slide.type-presse{
  399. order: 5;
  400. &::before{
  401. background-color: $background-actus;
  402. }
  403. h3{border: none;}
  404. }
  405. .view-type-slide.type-publications-des-partenaires-et-laureats{
  406. order: 4;
  407. }
  408. .view-type-slide.type-autres{order: 9;}
  409. .type-documentation-partenariale{order: 6;}
  410. .view-type-slide.type-these-et-memoire{order: 8;}
  411. .view-type-slide:not(footer){
  412. width: 100%;
  413. position: relative;
  414. z-index: 0;
  415. // padding-top: 1rem;
  416. padding-bottom: 1rem;
  417. &::before {
  418. content: "";
  419. position: absolute;
  420. left: -35%;
  421. height: 100%;
  422. width: 110vw;
  423. z-index: 0;
  424. }
  425. > * {
  426. position: relative;
  427. z-index: 1;
  428. }
  429. h3{
  430. // margin-top: 3rem;
  431. top: 1rem;
  432. // padding-top: 1rem;
  433. text-transform: uppercase;
  434. font-family: 'Source Code Pro';
  435. color: rgb(9, 57, 139) !important;
  436. display: flex;
  437. flex-direction: row;
  438. align-items: center;
  439. font-size: 1.7rem;
  440. margin-block: 0em;
  441. @media (max-width: 810px){
  442. padding-left: 2rem;
  443. }
  444. }
  445. h3.type-publications-issues-du-programme-eqld {
  446. border: none;
  447. &:before{
  448. content:url("../images/pictos/picto-ressource-eqld.svg");
  449. padding-right: 1rem;
  450. }
  451. }
  452. h3.type-paroles-de-laureats {
  453. &:before{
  454. content:url("../images/pictos/picto-ressource-paroleslaureats.svg");
  455. padding-right: 1rem;
  456. }
  457. }
  458. h3.type-les-projets-en-images {
  459. width: 80%;
  460. &:before{
  461. content:url("../images/pictos/picto-ressource-projetsimages.svg");
  462. padding-right: 1rem;
  463. }
  464. }
  465. h3.type-presse {
  466. &:before{
  467. content:url("../images/pictos/picto-ressource-presse.svg");
  468. padding-right: 1rem;
  469. }
  470. }
  471. .tout-voir{
  472. background-color: $white;
  473. border: 1px solid $blue-light;
  474. list-style: none;
  475. padding: 0.5rem;
  476. position: relative;
  477. left: 60vw;
  478. top: -1.5rem;
  479. // margin-top: 1rem;
  480. a{
  481. text-transform: uppercase;
  482. font-size: 0.7rem;
  483. font-weight: 500;
  484. color: $blue-light;
  485. display: inline-flex;
  486. align-items: center;
  487. // &:after{
  488. // // display: block;
  489. // content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  490. // }
  491. }
  492. @media (max-width: 810px){
  493. left: 81vw;
  494. top: -4.3rem;
  495. }
  496. }
  497. .views-row-wrapper{
  498. display: flex;
  499. flex-direction: row;
  500. .slick-track{
  501. width: 100% !important;
  502. display: flex;
  503. flex-direction: row;
  504. transform: none;
  505. .views-row{
  506. width: 20% ;
  507. min-width: 250px ;
  508. max-width: 500px ;
  509. }
  510. }
  511. @media (max-width: 810px){
  512. padding-left: 2rem;
  513. flex-direction: column;
  514. .views-row{
  515. width: 100%;
  516. }
  517. }
  518. .slick-next::before{
  519. content:url("../images/pictos/fleche-droite-dans-rond.png");
  520. display: block;
  521. }
  522. .slick-prev::before{
  523. content:url("../images/pictos/fleche-droite-dans-rond.png");
  524. display: block;
  525. transform: scaleX(-1);
  526. // display: none;
  527. }
  528. .slick-prev.slick-disabled::before,
  529. .slick-next.slick-disabled::before{
  530. opacity: 0 !important;
  531. }
  532. .slick-next {
  533. right: 10%;
  534. }
  535. }
  536. }
  537. }
  538. }
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. }
  546. }