_projet.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  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--mime-application-pdf{
  325. height: inherit;
  326. margin: auto;
  327. ::before{
  328. content: url("../images/pictos/noun_Download_file_307900.svg");
  329. min-width:15px;
  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. }
  343. }
  344. .block-entity-fieldnodefield-liens{
  345. h2{display: none;}
  346. .field--name-field-liens{
  347. .field__item{
  348. margin: auto;
  349. height: fit-content;
  350. border: 2px solid $blue-light;
  351. min-height: 4rem;
  352. background: $white;
  353. color: $blue-light;
  354. padding-left: 1rem;
  355. padding-top: 1rem;
  356. margin-bottom: 1rem;
  357. }
  358. a{
  359. display: inline-flex;
  360. // align-items: center;
  361. color: $blue-light;
  362. font-weight: 800;
  363. &::before{
  364. content: url("../images/pictos/noun_External Link_674151.svg");
  365. min-width: 15px;
  366. height: auto;
  367. padding-right: 1rem;
  368. }
  369. svg.ext{
  370. display: none;
  371. }
  372. }
  373. }
  374. }
  375. .block-entity-fieldnodefield-ressource-s-liee-s-{
  376. margin-top: 3rem;
  377. h2{
  378. font-size: 0.8rem;
  379. color: $black;
  380. font-weight: 900;
  381. }
  382. .node-type-ressource{
  383. display: flex;
  384. flex-direction: column;
  385. border: 2px solid $blue-light;
  386. padding: 1rem;
  387. height: fit-content;
  388. margin-bottom: 1rem;
  389. background-color: $white;
  390. &:first-of-type{
  391. border-top: 1px solid $blue-light;
  392. padding-top: 1rem;
  393. &::after{
  394. content: url("../images/pictos/noun_Arrow_3771902.svg");
  395. align-self: flex-end;
  396. }
  397. }
  398. .field--name-title{
  399. a{
  400. color: $black;
  401. font-size: 1.4rem;
  402. font-weight: 600;
  403. }
  404. }
  405. .field--name-field-type-de-ressource{
  406. }
  407. .field--name-field-auteur-s-{
  408. font-weight: 800;
  409. p{
  410. margin: 0;
  411. }
  412. .field__label{
  413. display:none;
  414. }
  415. }
  416. .field--name-field-edition{
  417. p{
  418. margin: 0;
  419. }
  420. .field__label{
  421. display:none;
  422. }
  423. }
  424. .field--name-field-images{
  425. width: 50%;
  426. img{
  427. width: 100%;
  428. height: auto;
  429. }
  430. }
  431. }
  432. }
  433. }
  434. }
  435. .layout__region--bottom{
  436. .block-entity-fieldnodefield-partenaires{
  437. width: 50%;
  438. margin: auto;
  439. display: flex;
  440. flex-direction: row;
  441. flex-wrap: wrap;
  442. h2{display: none;}
  443. .field--name-field-partenaires{
  444. display: flex;
  445. flex-direction: row;
  446. flex-wrap: wrap;
  447. justify-content: space-between;
  448. .field--name-field-titre{
  449. display: none;
  450. }
  451. .paragraph--type--partenaire{
  452. display: flex;
  453. flex-direction: column;
  454. }
  455. }
  456. }
  457. }
  458. }
  459. }
  460. }
  461. }
  462. }