_projet.scss 34 KB

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