_projet.scss 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  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. .paragraph{
  378. margin-top: 3rem;
  379. }
  380. .field--name-field-titre{
  381. font-size: 1.5rem;
  382. font-weight: 1000;
  383. font-family: 'Source Code Pro';
  384. color: $blue-dark;
  385. text-transform: uppercase;
  386. margin-bottom: 0.8rem;
  387. }
  388. h4{
  389. text-transform: none !important;
  390. img{
  391. width: 100%;
  392. height: auto;
  393. }
  394. }
  395. .field--type-text-long{
  396. padding-right: 2rem;
  397. }
  398. p{
  399. margin-top: 0;
  400. }
  401. a{
  402. color: $black;
  403. text-decoration: underline;
  404. svg{
  405. display: none;
  406. }
  407. }
  408. }
  409. .block-entity-fieldnodebody{
  410. .panel-body{
  411. #outputtext{
  412. overflow-y: visible !important;
  413. }
  414. }
  415. }
  416. .block-entity-fieldnodefield-partenaires{
  417. .field__label{
  418. font-size: 1.5rem;
  419. font-weight: 1000;
  420. font-family: 'Source Code Pro';
  421. color: $blue-dark;
  422. text-transform: uppercase;
  423. margin-top: 2rem;
  424. margin-bottom: 0.8rem;
  425. }
  426. .field__items{
  427. display: flex;
  428. flex-direction: row;
  429. justify-content: space-between;
  430. .paragraph--type--partenaire{
  431. display: flex;
  432. flex-direction: column;
  433. align-items: center;
  434. // width: 35%;
  435. .field--name-field-lien{
  436. // display: none;
  437. padding-top: 1rem;
  438. }
  439. }
  440. }
  441. }
  442. }
  443. }
  444. .layout__region--third{
  445. // grid-row: 4;
  446. margin-top: 5rem;
  447. @media(max-width:479px){
  448. margin-top: 2rem;
  449. }
  450. .block-region-third{
  451. display: flex;
  452. flex-direction: column;
  453. width: 65%;
  454. @media(max-width:479px){
  455. width: 80%;
  456. margin: auto;
  457. }
  458. .block-entity-fieldnodefield-fichiers{
  459. h2{display: none;}
  460. .field--name-field-fichiers{
  461. .field__item{
  462. height: fit-content;
  463. border: 2px solid $blue-light;
  464. background-color: $white;
  465. margin-bottom: 1rem;
  466. min-height: 4rem;
  467. // background: $white;
  468. color: $blue-light;
  469. padding-left: 1rem;
  470. padding-top: 1rem;
  471. }
  472. span:nth-of-type(2){
  473. display: none;
  474. }
  475. .file--image{
  476. height: inherit;
  477. margin: auto;
  478. ::before{
  479. content: url("../images/pictos/download.png");
  480. min-width:30px;
  481. height: auto;
  482. padding-right: 2rem;
  483. }
  484. a{
  485. hyphens: auto;
  486. display: inline-flex;
  487. // align-items: center;
  488. color: $blue-light;
  489. font-weight: 800;
  490. // max-width: 80px ;
  491. }
  492. }
  493. .file--mime-application-pdf{
  494. height: inherit;
  495. margin: auto;
  496. ::before{
  497. content: url("../images/pictos/download.png");
  498. min-width:30px;
  499. height: auto;
  500. padding-right: 2rem;
  501. }
  502. a{
  503. hyphens: auto;
  504. display: inline-flex;
  505. // align-items: center;
  506. color: $blue-light;
  507. font-weight: 800;
  508. // max-width: 80px ;
  509. }
  510. }
  511. }
  512. }
  513. .block-entity-fieldnodefield-liens{
  514. h2{display: none;}
  515. .field--name-field-liens{
  516. .field__item{
  517. margin: auto;
  518. height: fit-content;
  519. border: 2px solid $blue-light;
  520. min-height: 4rem;
  521. background: $white;
  522. color: $blue-light;
  523. padding-left: 1rem;
  524. padding-top: 1rem;
  525. margin-bottom: 1rem;
  526. }
  527. a{
  528. display: inline-flex;
  529. align-items: center;
  530. color: $blue-light;
  531. font-weight: 800;
  532. &::before{
  533. content: url("../images/pictos/external_link.png");
  534. min-width: 30px;
  535. height: auto;
  536. padding-right: 2rem;
  537. }
  538. svg.ext{
  539. display: none;
  540. }
  541. }
  542. }
  543. }
  544. .block-entity-fieldnodefield-ressource-s-liee-s-{
  545. margin-top: 3rem;
  546. @media(max-width:479px){
  547. margin-top: 2rem;
  548. }
  549. h2{
  550. font-size: 0.8rem;
  551. color: $black;
  552. font-weight: 900;
  553. }
  554. .node-type-ressource{
  555. display: flex;
  556. flex-direction: column;
  557. border: 2px solid $blue-light;
  558. padding: 1rem;
  559. height: fit-content;
  560. margin-bottom: 1rem;
  561. background-color: $white;
  562. // &:first-of-type{
  563. // border-top: 1px solid $blue-light;
  564. // padding-top: 1rem;
  565. // &::after{
  566. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  567. // align-self: flex-end;
  568. // }
  569. // }
  570. div{
  571. display: flex;
  572. flex-direction: column;
  573. .field--name-title{
  574. order: 3;
  575. h2{
  576. margin: 0;
  577. a{
  578. color: $black;
  579. font-size: 1rem;
  580. font-weight: 900;
  581. font-style: italic;
  582. }
  583. }
  584. }
  585. .field--name-field-sous-titre{
  586. display: none;
  587. }
  588. .field--name-field-type-de-ressource{
  589. order: 2;
  590. text-transform: uppercase;
  591. color: $blue-light;
  592. font-weight: 900;
  593. font-size: 0.8rem;
  594. }
  595. .field--name-field-auteur-s-{
  596. order: 5;
  597. font-weight: 800;
  598. p{
  599. margin: 0;
  600. }
  601. .field__label{
  602. display:none;
  603. }
  604. }
  605. .field--name-field-edition{
  606. p{
  607. margin: 0;
  608. }
  609. .field__label{
  610. display:none;
  611. }
  612. }
  613. .field--name-field-images{
  614. // display: none;
  615. order: 1;
  616. width: 25%;
  617. img{
  618. width: 100%;
  619. height: auto;
  620. }
  621. }
  622. .field--name-field-date-de-parution{
  623. order: 6;
  624. .field__label{
  625. display: none;
  626. }
  627. }
  628. .field--name-field-mots-clefs{
  629. order: 7;
  630. display: flex;
  631. margin-top: 0.8rem;
  632. flex-direction: row;
  633. flex-wrap: wrap;
  634. .field__label{
  635. display: none;
  636. }
  637. .field__items{
  638. display: flex;
  639. flex-direction: row;
  640. flex-wrap: wrap;
  641. }
  642. .field__item{
  643. margin-right: 0.5rem;
  644. padding-right: 0.3rem;
  645. font-size: 0.8rem;
  646. margin-top: 0.2rem;
  647. a{
  648. background: $blue-dark;
  649. color: $white;
  650. font-weight: 800;
  651. vertical-align: super;
  652. padding-left: 0.1rem;
  653. padding-right: 0.1rem;
  654. display: inline-flex;
  655. }
  656. }
  657. }
  658. ul.links.inline{
  659. display: none;
  660. }
  661. }
  662. }
  663. .node-type-ressource.type-les-projets-en-images{
  664. .field--name-field-images{
  665. // display: none;
  666. order: 1;
  667. width: 100%;
  668. .field__item:not(:first-of-type){
  669. display: none;
  670. }
  671. img{
  672. width: 100%;
  673. height: auto;
  674. }
  675. }
  676. }
  677. }
  678. }
  679. }
  680. .layout__region--bottom{
  681. .block-entity-fieldnodefield-partenaires{
  682. width: 50%;
  683. margin: auto;
  684. display: flex;
  685. flex-direction: row;
  686. flex-wrap: wrap;
  687. h2{display: none;}
  688. .field--name-field-partenaires{
  689. display: flex;
  690. flex-direction: row;
  691. flex-wrap: wrap;
  692. justify-content: space-between;
  693. .field--name-field-titre{
  694. display: none;
  695. }
  696. .paragraph--type--partenaire{
  697. display: flex;
  698. flex-direction: column;
  699. }
  700. }
  701. }
  702. }
  703. }
  704. }
  705. }
  706. }
  707. }