_projet.scss 30 KB

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