_projet.scss 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. .path-node.page-node-type-projet{
  2. .layout-container{
  3. overflow: unset;
  4. }
  5. .layout-content{
  6. .region-content{
  7. #block-contenudelapageprincipale{
  8. .layout--threecol-25-50-25{
  9. .layout__region--top{
  10. padding-top: 4rem;
  11. margin-left: 10%;
  12. margin-right: 10%;
  13. width: 80vw;
  14. .top_top{
  15. display: flex;
  16. flex-direction: row;
  17. margin-bottom: 2rem;
  18. // max-height: 600px;
  19. @media (max-width: 568px){
  20. flex-direction: column;
  21. }
  22. .block-entity-fieldnodefield-photo{
  23. width: 60%;
  24. padding-right: 2rem;
  25. @media (max-width: 568px){
  26. width: 100%;
  27. }
  28. img{
  29. height: auto;
  30. max-height: 600px;
  31. object-fit: contain;
  32. width: inherit;
  33. @media (max-width: 810px) {
  34. padding-top: 1rem;
  35. object-fit: cover;
  36. width: 100%;
  37. }
  38. @media (max-width: 568px){
  39. width: 100%;
  40. max-height: 300px;
  41. }
  42. }
  43. // // position: relative;
  44. // // bottom: -50%;
  45. .slick-dots {
  46. > li {
  47. display: inline-block;
  48. }
  49. > li:only-child {
  50. display: none;
  51. }
  52. }
  53. .slick-prev::before, .slick-next::before{
  54. opacity: 1 !important;
  55. top: 0 !important;
  56. }
  57. .slick-prev, .slick-next{
  58. top: 98% !important;
  59. }
  60. }
  61. .top_right{
  62. width: 40%;
  63. @media (max-width: 568px){
  64. width: 100%;
  65. }
  66. .block-entity-fieldnodetitle{
  67. margin: 0;
  68. .field--name-title{
  69. font-family: "Marianne";
  70. font-size: 2.3rem;
  71. font-weight: 800;
  72. color: $blue-light;
  73. @media (max-width:1624px) {
  74. font-size: 2.3rem;
  75. }
  76. @media (max-width:1384px) {
  77. font-size: 2rem;
  78. }
  79. @media (max-width:1216px) {
  80. font-size: rem;
  81. }
  82. @media (max-width: 810px){
  83. font-size: 1.7rem;
  84. }
  85. }
  86. }
  87. .block-entity-fieldnodefield-equipe{
  88. margin-top: 2rem;
  89. // grid-column: 8 / span 8;
  90. @media (max-width:1624px) {
  91. margin-top: 1rem;
  92. padding-top: 0.5rem;
  93. }
  94. @media (max-width:1384px) {
  95. margin-top: 0.8rem;
  96. padding-top: 0.5rem;
  97. }
  98. @media (max-width: 810px){
  99. padding-top: 0.5rem;
  100. }
  101. .field--name-field-equipe{
  102. color: $blue-dark;
  103. font-size: 1.5rem;
  104. font-weight: 900;
  105. text-transform: uppercase ;
  106. @media (max-width:1624px) {
  107. font-size: 1.3rem;
  108. }
  109. @media (max-width:1216px) {
  110. font-size: 1.1rem;
  111. }
  112. @media (max-width: 810px){
  113. font-size: 1rem;
  114. }
  115. }
  116. }
  117. .block-entity-fieldnodefield-incube{
  118. margin-top: 2rem ;
  119. // padding-top: 2rem;
  120. // grid-column: 8 ;
  121. width: fit-content;
  122. .field--name-field-incube{
  123. background-color: $red;
  124. color: white;
  125. font-weight: 800;
  126. padding-right: 0.3rem;
  127. padding-left: 0.2rem;
  128. }
  129. @media (max-width:1624px) {
  130. margin-top: 1rem;
  131. // padding-top: 0.5rem;
  132. }
  133. @media (max-width: 810px) {
  134. // grid-column: 2 / span 4;
  135. }
  136. }
  137. }
  138. }
  139. .top_bottom{
  140. display: flex;
  141. flex-direction: row;
  142. border: 0.1rem solid;
  143. justify-content: space-evenly;
  144. width: 90%;
  145. margin-top: 3rem;
  146. font-weight: 600;
  147. @media(max-width:479px){
  148. flex-direction: column;
  149. width: 100%;
  150. }
  151. .top_bottom_left{
  152. // display: flex;
  153. // flex-direction: row;
  154. padding-right: 1rem;
  155. order: 1;
  156. width: 30%;
  157. position: relative;
  158. height: 80px;
  159. text-align: center;
  160. @media(max-width:479px){
  161. width: 100%;
  162. }
  163. &::before{
  164. content: url("../images/pictos/picto_lieu.svg");
  165. // display: inline-flex;
  166. min-width:30px;
  167. height: auto;
  168. padding-right: 1rem;
  169. position: absolute;
  170. left: 0;
  171. margin-top: .83em;
  172. margin-left: 1rem;
  173. }
  174. .block-entity-fieldnodefield-region{
  175. // display: inline-flex;
  176. order: 1;
  177. margin-left: 70px;
  178. margin-bottom: 1rem;
  179. height: fit-content;
  180. }
  181. .block-entity-fieldnodefield-adresse{
  182. display: inline-flex;
  183. order: 2;
  184. margin-left: 70px;
  185. height: fit-content;
  186. .field--name-field-adresse{
  187. display: flex;
  188. flex-direction: row;
  189. margin-top: .83em;
  190. .address{
  191. margin: auto;
  192. display: flex;
  193. flex-direction: column;
  194. justify-content: start;
  195. margin: 0;
  196. .country{
  197. display: none;
  198. }
  199. }
  200. }
  201. }
  202. }
  203. .block-entity-fieldnodefield-etape-du-projet{
  204. order: 4;
  205. padding-left: 1rem;
  206. padding-right: 1rem;
  207. padding-bottom: 1rem;
  208. border-left: 0.1rem solid ;
  209. width: 30%;
  210. @media(max-width:479px){
  211. width: 100%;
  212. border-top: 0.1rem solid ;
  213. border-left: 0;
  214. padding-right: 0rem;
  215. padding-left: 0rem;
  216. }
  217. h2{
  218. color: $blue-dark;
  219. font-size: 1.2rem;
  220. font-weight: 900;
  221. text-transform: uppercase ;
  222. margin-bottom: 0rem !important;
  223. &:after{
  224. content: ' :';
  225. }
  226. @media(max-width:479px){
  227. padding-right: 1rem;
  228. padding-left: 1rem;
  229. }
  230. }
  231. .field__item{
  232. @media(max-width:479px){
  233. padding-right: 1rem;
  234. padding-left: 1rem;
  235. }
  236. }
  237. .field__label{
  238. display: none;
  239. }
  240. }
  241. .block-entity-fieldnodefield-type-de-moa{
  242. order: 2;
  243. padding-left: 1rem;
  244. border-left: 0.1rem solid ;
  245. padding-bottom: 1rem;
  246. width: 20%;
  247. @media(max-width:479px){
  248. border-left: 0;
  249. border-top: 0.1rem solid ;
  250. width: 100%;
  251. padding-right: 0rem;
  252. padding-left: 0rem;
  253. }
  254. h2{
  255. color: $blue-dark;
  256. font-size: 1.2rem;
  257. font-weight: 900;
  258. text-transform: uppercase ;
  259. margin-bottom: 0rem !important;
  260. &:after{
  261. content: ' :';
  262. }
  263. @media(max-width:479px){
  264. padding-right: 1rem;
  265. padding-left: 1rem;
  266. }
  267. }
  268. .field__item{
  269. @media(max-width:479px){
  270. padding-right: 1rem;
  271. padding-left: 1rem;
  272. }
  273. }
  274. .field__label{
  275. display: none;
  276. }
  277. }
  278. .block-entity-fieldnodefield-type-de-projet{
  279. order: 3;
  280. padding-left: 1rem;
  281. padding-bottom: 1rem;
  282. border-left: 0.1rem solid ;
  283. width: 20%;
  284. @media(max-width:479px){
  285. border-left: 0;
  286. border-top: 0.1rem solid ;
  287. width: 100%;
  288. padding-right: 0rem;
  289. padding-left: 0rem;
  290. }
  291. h2{
  292. color: $blue-dark;
  293. font-size: 1.2rem;
  294. font-weight: 900;
  295. text-transform: uppercase ;
  296. margin-bottom: 0rem !important;
  297. &:after{
  298. content: ' :';
  299. }
  300. @media(max-width:479px){
  301. padding-right: 1rem;
  302. padding-left: 1rem;
  303. }
  304. }
  305. .field__item{
  306. @media(max-width:479px){
  307. padding-right: 1rem;
  308. padding-left: 1rem;
  309. }
  310. }
  311. .field__label{
  312. display: none;
  313. }
  314. }
  315. }
  316. }
  317. .layout__region--first{
  318. // margin-top: 18rem;
  319. margin-top: 5rem;
  320. @media (max-width: 479px){
  321. display: none;
  322. }
  323. .block-region-first{
  324. display: flex;
  325. justify-content: flex-end;
  326. position: -webkit-sticky;
  327. position: sticky;
  328. top: 10rem;
  329. .block-entity-fieldnodefield-textes{
  330. display: flex;
  331. justify-content: flex-end;
  332. width: 50%;
  333. background-color: $white;
  334. padding-right: 2rem;
  335. .field--name-field-titre{
  336. display: flex;
  337. font-size: 1rem;
  338. font-weight: 1000;
  339. color: $blue-dark;
  340. border-bottom: 1px solid $blue-light;
  341. padding-bottom: 0.5rem;
  342. padding-right: 1rem;
  343. // margin-top: 2rem;
  344. margin-bottom: 0.8rem;
  345. &:hover{
  346. text-decoration: underline;
  347. }
  348. }
  349. }
  350. }
  351. }
  352. .layout__region--second{
  353. // grid-row: 3;
  354. margin-top: 5rem;
  355. flex: 0 1 50%;
  356. // margin-top: 18rem;
  357. @media (max-width: 479px) {
  358. flex: 0 1 100%;
  359. margin-top: 1rem;
  360. }
  361. .block-region-second{
  362. width: 90%;
  363. @media (max-width: 479px) {
  364. width: 80%;
  365. margin: auto;
  366. }
  367. .block-entity-fieldnodebody{
  368. p{
  369. margin-top: 0;
  370. }
  371. .field--type-text-with-summary{
  372. background-color: white;
  373. }
  374. }
  375. .block-entity-fieldnodefield-textes{
  376. background-color: $white;
  377. .field--name-field-titre{
  378. font-size: 1.5rem;
  379. font-weight: 1000;
  380. font-family: 'Source Code Pro';
  381. color: $blue-dark;
  382. text-transform: uppercase;
  383. margin-bottom: 0.8rem;
  384. }
  385. h4{
  386. text-transform: none !important;
  387. img{
  388. width: 100%;
  389. height: auto;
  390. }
  391. }
  392. .field--type-text-long{
  393. padding-right: 2rem;
  394. }
  395. p{
  396. margin-top: 0;
  397. }
  398. a{
  399. color: $black;
  400. text-decoration: underline;
  401. svg{
  402. display: none;
  403. }
  404. }
  405. }
  406. .block-entity-fieldnodebody{
  407. .panel-body{
  408. #outputtext{
  409. overflow-y: visible !important;
  410. }
  411. }
  412. }
  413. .block-entity-fieldnodefield-partenaires{
  414. .field__label{
  415. font-size: 1.5rem;
  416. font-weight: 1000;
  417. font-family: 'Source Code Pro';
  418. color: $blue-dark;
  419. text-transform: uppercase;
  420. margin-top: 2rem;
  421. margin-bottom: 0.8rem;
  422. }
  423. .field__items{
  424. display: flex;
  425. flex-direction: row;
  426. justify-content: space-between;
  427. .paragraph--type--partenaire{
  428. display: flex;
  429. flex-direction: column;
  430. align-items: center;
  431. // width: 35%;
  432. .field--name-field-lien{
  433. // display: none;
  434. padding-top: 1rem;
  435. }
  436. }
  437. }
  438. }
  439. }
  440. }
  441. .layout__region--third{
  442. // grid-row: 4;
  443. margin-top: 5rem;
  444. @media(max-width:479px){
  445. margin-top: 2rem;
  446. }
  447. .block-region-third{
  448. display: flex;
  449. flex-direction: column;
  450. width: 65%;
  451. @media(max-width:479px){
  452. width: 80%;
  453. margin: auto;
  454. }
  455. .block-entity-fieldnodefield-fichiers{
  456. h2{display: none;}
  457. .field--name-field-fichiers{
  458. .field__item{
  459. height: fit-content;
  460. border: 2px solid $blue-light;
  461. background-color: $white;
  462. margin-bottom: 1rem;
  463. min-height: 4rem;
  464. // background: $white;
  465. color: $blue-light;
  466. padding-left: 1rem;
  467. padding-top: 1rem;
  468. }
  469. span:nth-of-type(2){
  470. display: none;
  471. }
  472. .file--image{
  473. height: inherit;
  474. margin: auto;
  475. ::before{
  476. content: url("../images/pictos/download.png");
  477. min-width:30px;
  478. height: auto;
  479. padding-right: 2rem;
  480. }
  481. a{
  482. hyphens: auto;
  483. display: inline-flex;
  484. // align-items: center;
  485. color: $blue-light;
  486. font-weight: 800;
  487. // max-width: 80px ;
  488. }
  489. }
  490. .file--mime-application-pdf{
  491. height: inherit;
  492. margin: auto;
  493. ::before{
  494. content: url("../images/pictos/download.png");
  495. min-width:30px;
  496. height: auto;
  497. padding-right: 2rem;
  498. }
  499. a{
  500. hyphens: auto;
  501. display: inline-flex;
  502. // align-items: center;
  503. color: $blue-light;
  504. font-weight: 800;
  505. // max-width: 80px ;
  506. }
  507. }
  508. }
  509. }
  510. .block-entity-fieldnodefield-liens{
  511. h2{display: none;}
  512. .field--name-field-liens{
  513. .field__item{
  514. margin: auto;
  515. height: fit-content;
  516. border: 2px solid $blue-light;
  517. min-height: 4rem;
  518. background: $white;
  519. color: $blue-light;
  520. padding-left: 1rem;
  521. padding-top: 1rem;
  522. margin-bottom: 1rem;
  523. }
  524. a{
  525. display: inline-flex;
  526. align-items: center;
  527. color: $blue-light;
  528. font-weight: 800;
  529. &::before{
  530. content: url("../images/pictos/external_link.png");
  531. min-width: 30px;
  532. height: auto;
  533. padding-right: 2rem;
  534. }
  535. svg.ext{
  536. display: none;
  537. }
  538. }
  539. }
  540. }
  541. .block-entity-fieldnodefield-ressource-s-liee-s-{
  542. margin-top: 3rem;
  543. @media(max-width:479px){
  544. margin-top: 2rem;
  545. }
  546. h2{
  547. font-size: 0.8rem;
  548. color: $black;
  549. font-weight: 900;
  550. }
  551. .node-type-ressource{
  552. display: flex;
  553. flex-direction: column;
  554. border: 2px solid $blue-light;
  555. padding: 1rem;
  556. height: fit-content;
  557. margin-bottom: 1rem;
  558. background-color: $white;
  559. // &:first-of-type{
  560. // border-top: 1px solid $blue-light;
  561. // padding-top: 1rem;
  562. // &::after{
  563. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  564. // align-self: flex-end;
  565. // }
  566. // }
  567. div{
  568. display: flex;
  569. flex-direction: column;
  570. .field--name-title{
  571. order: 3;
  572. h2{
  573. margin: 0;
  574. a{
  575. color: $black;
  576. font-size: 1rem;
  577. font-weight: 900;
  578. font-style: italic;
  579. }
  580. }
  581. }
  582. .field--name-field-sous-titre{
  583. display: none;
  584. }
  585. .field--name-field-type-de-ressource{
  586. order: 2;
  587. text-transform: uppercase;
  588. color: $blue-light;
  589. font-weight: 900;
  590. font-size: 0.8rem;
  591. }
  592. .field--name-field-auteur-s-{
  593. order: 5;
  594. font-weight: 800;
  595. p{
  596. margin: 0;
  597. }
  598. .field__label{
  599. display:none;
  600. }
  601. }
  602. .field--name-field-edition{
  603. p{
  604. margin: 0;
  605. }
  606. .field__label{
  607. display:none;
  608. }
  609. }
  610. .field--name-field-images{
  611. // display: none;
  612. order: 1;
  613. width: 25%;
  614. img{
  615. width: 100%;
  616. height: auto;
  617. }
  618. }
  619. .field--name-field-date-de-parution{
  620. order: 6;
  621. .field__label{
  622. display: none;
  623. }
  624. }
  625. .field--name-field-mots-clefs{
  626. order: 7;
  627. display: flex;
  628. margin-top: 0.8rem;
  629. flex-direction: row;
  630. flex-wrap: wrap;
  631. .field__label{
  632. display: none;
  633. }
  634. .field__items{
  635. display: flex;
  636. flex-direction: row;
  637. flex-wrap: wrap;
  638. }
  639. .field__item{
  640. margin-right: 0.5rem;
  641. padding-right: 0.3rem;
  642. font-size: 0.8rem;
  643. margin-top: 0.2rem;
  644. a{
  645. background: $blue-dark;
  646. color: $white;
  647. font-weight: 800;
  648. vertical-align: super;
  649. padding-left: 0.1rem;
  650. padding-right: 0.1rem;
  651. display: inline-flex;
  652. }
  653. }
  654. }
  655. ul.links.inline{
  656. display: none;
  657. }
  658. }
  659. }
  660. .node-type-ressource.type-les-projets-en-images{
  661. .field--name-field-images{
  662. // display: none;
  663. order: 1;
  664. width: 100%;
  665. .field__item:not(:first-of-type){
  666. display: none;
  667. }
  668. img{
  669. width: 100%;
  670. height: auto;
  671. }
  672. }
  673. }
  674. }
  675. }
  676. }
  677. .layout__region--bottom{
  678. .block-entity-fieldnodefield-partenaires{
  679. width: 50%;
  680. margin: auto;
  681. display: flex;
  682. flex-direction: row;
  683. flex-wrap: wrap;
  684. h2{display: none;}
  685. .field--name-field-partenaires{
  686. display: flex;
  687. flex-direction: row;
  688. flex-wrap: wrap;
  689. justify-content: space-between;
  690. .field--name-field-titre{
  691. display: none;
  692. }
  693. .paragraph--type--partenaire{
  694. display: flex;
  695. flex-direction: column;
  696. }
  697. }
  698. }
  699. }
  700. }
  701. }
  702. }
  703. }
  704. }