ressources.scss 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  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. @media (max-width: 810px) {
  143. position: static;
  144. margin-bottom: 2rem;
  145. transform: none;
  146. margin-bottom: 0px;
  147. }
  148. @media (max-width: 479px) {
  149. margin-left: 0;
  150. }
  151. .buttons-filtres-ressources{
  152. &::before{
  153. content: "Afficher : ";
  154. padding-right: 1rem;
  155. font-weight: 800;
  156. font-size: 0.8rem;
  157. margin-bottom: 1rem;
  158. display: block;
  159. width: 100%;
  160. @media (max-width: 479px){
  161. padding-bottom: 1rem;
  162. }
  163. }
  164. button{
  165. background-color: transparent;
  166. // border-radius: 30px;
  167. border: 1px solid black;
  168. padding: 0.3rem 0.5rem 0.1rem 0.3rem;
  169. margin-bottom: 0.5rem;
  170. margin-right: 0.5rem;
  171. font-size: 0.6rem;
  172. &:hover{
  173. cursor: grab;
  174. background-color: $blue-dark;
  175. color: white;
  176. }
  177. a {
  178. color: $blue-dark;
  179. display: inline-flex;
  180. flex-direction: row;
  181. align-items: center;
  182. &:hover{
  183. color: white;
  184. }
  185. :visited{
  186. color: $blue-dark;
  187. }
  188. }
  189. &.button-videos{
  190. a {
  191. &::before{
  192. content:url("../images/pictos/videos.svg");
  193. padding-right: 0.5rem;
  194. }
  195. &:hover::before,
  196. .is-active &::before{
  197. content:url("../images/pictos/videos-blanc.svg");
  198. }
  199. }
  200. }
  201. &.button-podcasts{
  202. a {
  203. &::before{
  204. content:url("../images/pictos/podcasts.svg");
  205. padding-right: 0.5rem;
  206. }
  207. &:hover::before{
  208. content:url("../images/pictos/podcasts-blanc.svg");
  209. }
  210. }
  211. }
  212. &.button-images---photos{
  213. a {
  214. &::before{
  215. content:url("../images/pictos/en-images.svg");
  216. padding-right: 0.5rem;
  217. }
  218. &:hover::before{
  219. content:url("../images/pictos/en-images-blanc.svg");
  220. }
  221. }
  222. }
  223. &.button-livres{
  224. a {
  225. &::before{
  226. content:url("../images/pictos/ecrits.svg");
  227. padding-right: 0.5rem;
  228. }
  229. &:hover::before{
  230. content:url("../images/pictos/ecrits-blanc.svg");
  231. }
  232. }
  233. }
  234. &.button-articles{
  235. a {
  236. &::before{
  237. content:url("../images/pictos/ecrits.svg");
  238. padding-right: 0.5rem;
  239. }
  240. &:hover::before{
  241. content:url("../images/pictos/ecrits-blanc.svg");
  242. }
  243. }
  244. }
  245. &.button-publications---rapports{
  246. a {
  247. &::before{
  248. content:url("../images/pictos/ecrits.svg");
  249. padding-right: 0.5rem;
  250. }
  251. &:hover::before{
  252. content:url("../images/pictos/ecrits-blanc.svg");
  253. }
  254. }
  255. }
  256. }
  257. button.is-active{
  258. background-color: $blue-dark;
  259. color: white;
  260. a {
  261. color: white;
  262. }
  263. &.button-videos{
  264. margin-top: 1rem;
  265. a {
  266. &::before,
  267. .is-active &::before{
  268. content:url("../images/pictos/videos-blanc.svg");
  269. }
  270. }
  271. }
  272. &.button-podcasts{
  273. a {
  274. &::before{
  275. content:url("../images/pictos/podcasts-blanc.svg");
  276. }
  277. }
  278. }
  279. &.button-images---photos{
  280. a {
  281. &::before{
  282. content:url("../images/pictos/en-images-blanc.svg");
  283. }
  284. }
  285. }
  286. &.button-livres{
  287. a {
  288. &::before{
  289. content:url("../images/pictos/ecrits-blanc.svg");
  290. }
  291. }
  292. }
  293. &.button-articles{
  294. a {
  295. &::before{
  296. content:url("../images/pictos/ecrits-blanc.svg");
  297. }
  298. }
  299. }
  300. &.button-publications---rapports{
  301. a {
  302. &::before{
  303. content:url("../images/pictos/ecrits-blanc.svg");
  304. }
  305. }
  306. }
  307. }
  308. }
  309. form{
  310. &::before{
  311. content: "Filtrer par : ";
  312. padding-right: 1rem;
  313. font-weight: 800;
  314. font-size: 0.8rem;
  315. margin-bottom: 1rem;
  316. @media (max-width: 479px){
  317. padding-bottom: 1rem;
  318. }
  319. }
  320. .form-item-field-type-de-media-target-id{
  321. display: none;
  322. }
  323. .form-item{
  324. font-size: 0.6rem;
  325. }
  326. .form-item-combine{
  327. border-top: none;
  328. border-left: none;
  329. border-right: none;
  330. font-size: 0.6rem;
  331. justify-content: flex-start !important;
  332. label{display: none;}
  333. .input-wrapper{
  334. display: inline-flex;
  335. font-size: 0.6rem;
  336. &::after{
  337. content: url("../images/pictos/loupe.svg");
  338. display: inline-block;
  339. }
  340. input{
  341. text-align: start !important;
  342. max-width: 100% !important;
  343. }
  344. }
  345. }
  346. select{
  347. font-size: 0.6rem;
  348. ::placeholder{
  349. display: none;
  350. }
  351. }
  352. input{
  353. font-size: 0.6rem;
  354. }
  355. }
  356. }
  357. .filtered{
  358. display: flex;
  359. flex-direction: row;
  360. flex-wrap: wrap;
  361. .views-row-wrapper{
  362. flex-wrap: wrap;
  363. width: 85%;
  364. .views-row {
  365. padding: 1rem;
  366. width: 30% !important;
  367. }
  368. }
  369. }
  370. .view-content{
  371. transition: opacity 0.3s ease;
  372. display: flex;
  373. flex-direction: row;
  374. flex-wrap: wrap;
  375. width: 100%;
  376. .border{
  377. width: 60%;
  378. border-top: solid 1px rgba(0, 0, 0, 0.3);
  379. }
  380. .view-type-slide:not(:first-of-type) {
  381. // width: 80%;
  382. // border-top: solid 1px rgba(0, 0, 0, 0.3);
  383. // padding-top: 2rem;
  384. }
  385. .view-type-slide.type-publications-issues-du-programme-eqld{
  386. order: 1;
  387. &::before{
  388. background-color: $background-actus;
  389. }
  390. .views-row{
  391. width: 45% ;
  392. min-width: 350px !important;
  393. max-width: 500px ;
  394. }
  395. }
  396. .view-type-slide.type-paroles-de-laureats{order: 2;}
  397. .view-type-slide.type-les-projets-en-images{
  398. order: 3;
  399. width: 80%;
  400. border-top: solid 1px rgba(0, 0, 0, 0.3);
  401. }
  402. .view-type-slide.type-presse{
  403. order: 5;
  404. &::before{
  405. background-color: $background-actus;
  406. }
  407. h3{border: none;}
  408. }
  409. .view-type-slide.type-publications-des-partenaires-et-laureats{
  410. order: 4;
  411. }
  412. .view-type-slide.type-autres{order: 9;}
  413. .type-documentation-partenariale{order: 6;}
  414. .view-type-slide.type-these-et-memoire{order: 8;}
  415. .view-type-slide:not(footer){
  416. width: 100%;
  417. position: relative;
  418. z-index: 0;
  419. // padding-top: 1rem;
  420. padding-bottom: 1rem;
  421. &::before {
  422. content: "";
  423. position: absolute;
  424. left: -35%;
  425. height: 100%;
  426. width: 110vw;
  427. z-index: 0;
  428. }
  429. > * {
  430. position: relative;
  431. z-index: 1;
  432. }
  433. h3{
  434. // margin-top: 3rem;
  435. top: 1rem;
  436. // padding-top: 1rem;
  437. text-transform: uppercase;
  438. font-family: 'Source Code Pro';
  439. color: rgb(9, 57, 139) !important;
  440. display: flex;
  441. flex-direction: row;
  442. align-items: center;
  443. font-size: 1.7rem;
  444. margin-block: 0em;
  445. @media (max-width: 810px){
  446. padding-left: 2rem;
  447. }
  448. }
  449. h3.type-publications-issues-du-programme-eqld {
  450. border: none;
  451. &:before{
  452. content:url("../images/pictos/picto-ressource-eqld.svg");
  453. padding-right: 1rem;
  454. }
  455. }
  456. h3.type-paroles-de-laureats {
  457. &:before{
  458. content:url("../images/pictos/picto-ressource-paroleslaureats.svg");
  459. padding-right: 1rem;
  460. }
  461. }
  462. h3.type-les-projets-en-images {
  463. width: 80%;
  464. &:before{
  465. content:url("../images/pictos/picto-ressource-projetsimages.svg");
  466. padding-right: 1rem;
  467. }
  468. }
  469. h3.type-presse {
  470. &:before{
  471. content:url("../images/pictos/picto-ressource-presse.svg");
  472. padding-right: 1rem;
  473. }
  474. }
  475. .tout-voir{
  476. background-color: $white;
  477. border: 1px solid $blue-light;
  478. list-style: none;
  479. padding: 0.5rem;
  480. position: relative;
  481. left: 60vw;
  482. top: -1.5rem;
  483. // margin-top: 1rem;
  484. a{
  485. text-transform: uppercase;
  486. font-size: 0.7rem;
  487. font-weight: 500;
  488. color: $blue-light;
  489. display: inline-flex;
  490. align-items: center;
  491. // &:after{
  492. // // display: block;
  493. // 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>');
  494. // }
  495. }
  496. @media (max-width: 810px){
  497. left: 81vw;
  498. top: -4.3rem;
  499. }
  500. }
  501. .views-row-wrapper{
  502. display: flex;
  503. flex-direction: row;
  504. .slick-track{
  505. width: 100% !important;
  506. display: flex;
  507. flex-direction: row;
  508. transform: none;
  509. .views-row{
  510. width: 20% ;
  511. min-width: 250px ;
  512. max-width: 500px ;
  513. }
  514. }
  515. @media (max-width: 810px){
  516. padding-left: 2rem;
  517. flex-direction: column;
  518. .views-row{
  519. width: 100%;
  520. }
  521. }
  522. .slick-next::before{
  523. content:url("../images/pictos/fleche-droite-dans-rond.png");
  524. display: block;
  525. }
  526. .slick-prev::before{
  527. content:url("../images/pictos/fleche-droite-dans-rond.png");
  528. display: block;
  529. transform: scaleX(-1);
  530. // display: none;
  531. }
  532. .slick-prev.slick-disabled::before,
  533. .slick-next.slick-disabled::before{
  534. opacity: 0 !important;
  535. }
  536. .slick-next {
  537. right: 10%;
  538. }
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }