_projet.scss 23 KB

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