_projet.scss 28 KB

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