_projet.scss 27 KB

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