_incubateur.scss 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. .path-incubateur{
  2. background: url('../images/pictos/carre-contour-bleu_programme.svg');
  3. background-repeat: no-repeat;
  4. background-position-y: 7rem;
  5. max-width: 100vw;
  6. background-size: contain;
  7. .layout-container{
  8. overflow: unset;
  9. // display: flex;
  10. // flex-direction: column;
  11. // flex-flow: row wrap;
  12. // header{
  13. // flex: 0 0 100%;
  14. // }
  15. // main{
  16. // flex: 0 0 100%;
  17. .layout-content{
  18. .region-content{
  19. #block-contenudelapageprincipale{
  20. span{
  21. width: fit-content;
  22. // margin-left: 11%;
  23. // margin-top: 15vh;
  24. // @media (max-width: 810px){
  25. // margin-left: 8%;
  26. // margin-right: 5%;
  27. // }
  28. h2{
  29. width: fit-content;
  30. margin-left: 11%;
  31. margin-top: 15vh;
  32. color: $white;
  33. font-family: "Source Code Pro";
  34. text-transform: uppercase;
  35. font-size: 2rem;
  36. font-weight: 800;
  37. background: $blue-light;
  38. margin-bottom: 15vh;
  39. }
  40. }
  41. .layout--threecol-25-50-25{
  42. // menu ancres a gauche
  43. .layout__region--first{ // menu ancres a gauche
  44. position: relative;
  45. .block-region-first{
  46. .block-config-pages-block{
  47. display: flex;
  48. justify-content: flex-end;
  49. position: -webkit-sticky;
  50. position: sticky;
  51. top: 10rem;
  52. @media (max-width: 810px){
  53. display: none;
  54. }
  55. .config_pages--type--incubateur-du-programme {
  56. display: flex;
  57. flex-direction: row-reverse;
  58. width: 50%;
  59. background-color: $white;
  60. padding-right: 2rem;
  61. .field--name-field-titre{
  62. display: flex;
  63. flex-direction: column;
  64. font-size: 1rem;
  65. font-weight: 1000;
  66. color: $blue-dark;
  67. border-bottom: 1px solid $blue-light;
  68. padding-bottom: 0.8rem;
  69. padding-right: 1rem;
  70. margin-top: 1rem;
  71. scroll-margin-top: 7em;
  72. &:hover{
  73. text-decoration: underline;
  74. }
  75. }
  76. }
  77. }
  78. }
  79. }
  80. // paragraphe texte
  81. .layout__region--second{
  82. .block-config-pages-block{
  83. .config_pages--type--incubateur-du-programme{
  84. .field--name-field-textes{
  85. .field__item{
  86. .paragraph--type--texte{
  87. padding-right: 2rem;
  88. margin-top: 1rem;
  89. background-color: $white;
  90. .field--name-field-titre{
  91. font-size: 1.5rem;
  92. font-weight: 1000;
  93. font-family: 'Source Code Pro', monospace;
  94. color: $blue-dark;
  95. text-transform: uppercase;
  96. // margin-top: 2rem;
  97. margin-bottom: 0.8rem;
  98. }
  99. .field--name-field-texte{
  100. margin-bottom: 2rem;
  101. }
  102. }
  103. }
  104. }
  105. }
  106. }
  107. }
  108. // colone de droite fichiers et ressources liées
  109. .layout__region--third{
  110. .block-region-third{
  111. .block-config-pages-block{
  112. .config_pages--type--incubateur-du-programme{
  113. margin-top: 1rem;
  114. display: flex;
  115. flex-direction: column;
  116. width: 70%;
  117. // position: -webkit-sticky;
  118. // position: sticky;
  119. // top: 9rem;
  120. @media (max-width: 810px){
  121. margin: auto;
  122. }
  123. .field--name-field-documents{
  124. height: fit-content;
  125. border: 2px solid $blue-light;
  126. background-color: $white;
  127. margin-bottom: 1rem;
  128. .field__item{
  129. min-height: 4rem;
  130. background: $white;
  131. color: $blue-light;
  132. padding-left: 0.8rem;
  133. padding-top: 1rem;
  134. span:nth-of-type(2){
  135. display: none;
  136. }
  137. .file--mime-application-pdf{
  138. height: inherit;
  139. margin: auto;
  140. ::before{
  141. content: url("../images/pictos/noun_Download_file_307900.svg");
  142. min-width:40px;
  143. height: auto;
  144. padding-right: 0.5rem;
  145. display: inline-flex;
  146. align-items: center;
  147. }
  148. a{
  149. hyphens: auto;
  150. display: inline-flex;
  151. align-items: center;
  152. color: $blue-light;
  153. font-weight: 800;
  154. // max-width: 80px ;
  155. }
  156. }
  157. }
  158. }
  159. .field--name-field-liens{
  160. .field__item{
  161. margin: auto;
  162. height: fit-content;
  163. border: 2px solid $blue-light;
  164. min-height: 4rem;
  165. background: $white;
  166. color: $blue-light;
  167. padding-left: 0.8rem;
  168. padding-top: 1rem;
  169. margin-bottom: 1rem;
  170. }
  171. a{
  172. display: inline-flex;
  173. align-items: center;
  174. justify-items: center;
  175. color: $blue-light;
  176. font-weight: 800;
  177. &::before{
  178. content: url("../images/pictos/noun_External Link_674151.svg");
  179. min-width: 40px;
  180. height: auto;
  181. padding-right: 0.5rem;
  182. display: inline-flex;
  183. align-items: center;
  184. }
  185. svg.ext{
  186. display: none;
  187. }
  188. }
  189. }
  190. // .block-entity-fieldnodefield-ress{
  191. // margin-top: 3rem;
  192. // h2{
  193. // font-size: 0.8rem;
  194. // color: $black;
  195. // font-weight: 900;
  196. // }
  197. // .node-type-ressource{
  198. // display: flex;
  199. // flex-direction: column;
  200. // border: 2px solid $blue-light;
  201. // padding: 1rem;
  202. // height: fit-content;
  203. // margin-bottom: 1rem;
  204. // background-color: $white;
  205. // &:first-of-type{
  206. // border-top: 1px solid $blue-light;
  207. // padding-top: 1rem;
  208. // &::after{
  209. // content: url("../images/pictos/noun_Arrow_3771902.svg");
  210. // align-self: flex-end;
  211. // }
  212. // }
  213. // .field--name-title{
  214. // a{
  215. // color: $black;
  216. // font-size: 1.4rem;
  217. // font-weight: 600;
  218. // }
  219. // }
  220. // .field--name-field-auteur-s-{
  221. // font-weight: 800;
  222. // p{
  223. // margin: 0;
  224. // }
  225. // .field__label{
  226. // display:none;
  227. // }
  228. // }
  229. // .field--name-field-edition{
  230. // p{
  231. // margin: 0;
  232. // }
  233. // .field__label{
  234. // display:none;
  235. // }
  236. // }
  237. // .field--name-field-images{
  238. // display: none;
  239. // width: 50%;
  240. // img{
  241. // width: 100%;
  242. // height: auto;
  243. // }
  244. // }
  245. // .field--name-field-type-de-ressource{
  246. // display: inline-flex;
  247. // margin-top: 2rem;
  248. // background: $blue-dark;
  249. // margin-right: 1rem;
  250. // padding-left: 0.3rem;
  251. // padding-right: 0.3rem;
  252. // color: $white;
  253. // font-weight: 800;
  254. // vertical-align: middle;
  255. // }
  256. // }
  257. // }
  258. }
  259. }
  260. }
  261. }
  262. // filtre et grille projets
  263. .layout__region--bottom{
  264. .block-region-bottom{
  265. .block-views-blockprojets-block-3{
  266. padding-top: 1rem;
  267. background-color: white;
  268. .view-projets{
  269. width: 80%;
  270. margin: auto;
  271. .view-filters{
  272. margin-top: 4rem;
  273. display: flex;
  274. flex-direction: row;
  275. @media (max-width: 479px){
  276. flex-direction: column;
  277. padding-bottom: 3rem;
  278. }
  279. &::before{
  280. content: 'Filtrer par :';
  281. margin-right: 1rem;
  282. @media (max-width: 479px){
  283. padding-bottom: 1rem;
  284. }
  285. }
  286. #views-exposed-form-projets-block-3{
  287. // width: 100%;
  288. display: flex;
  289. flex-direction: row;
  290. #edit-field-neuf-rehabilitation-value--wrapper{
  291. legend{display: none;}
  292. .js-form-item-field-neuf-rehabilitation-value:first-of-type{
  293. display: none;
  294. }
  295. @media (max-width: 479px){
  296. padding-bottom: 1rem;
  297. padding-top: 1rem;
  298. margin-inline-start: 0px;
  299. }
  300. }
  301. #edit-field-encours-fini-value--wrapper{
  302. legend{display: none;}
  303. .js-form-item-field-encours-fini-value:first-of-type{
  304. display: none;
  305. }
  306. @media (max-width: 479px){
  307. padding-bottom: 1rem;
  308. margin-inline-start: 0px;
  309. }
  310. }
  311. .js-form-type-textfield{
  312. label{display: none;}
  313. @media (max-width: 479px){
  314. padding-bottom: 1rem;
  315. }
  316. }
  317. input[type="radio"]{
  318. display: none;
  319. }
  320. input[type="radio"] + label::before{
  321. content:"";
  322. display:inline-block;
  323. width: 15px;
  324. height: 15px;
  325. background:#fff;
  326. border-radius:0px;
  327. border-color: rgba($color: #000000, $alpha: 1);
  328. border-style: solid;
  329. border-width: 1px;
  330. margin-right: 0.5rem;
  331. }
  332. input[type="radio"]:checked + label::before{
  333. background:$blue-light;
  334. }
  335. label{
  336. padding-right: 1rem;
  337. }
  338. #edit-submit-projets{
  339. background-color: $blue-light;
  340. color: white;
  341. text-transform: uppercase;
  342. border: none;
  343. padding: 0.1rem 0.7rem;
  344. margin-left: 2rem;
  345. @media (max-width: 479px){
  346. margin-left: 0rem;
  347. margin-right: 2rem;
  348. }
  349. }
  350. #edit-reset{
  351. background-color: $blue-light;
  352. color: white;
  353. text-transform: uppercase;
  354. border: none;
  355. padding: 0.1rem 0.7rem;
  356. margin-left: 1rem;
  357. }
  358. @media (max-width: 479px){
  359. flex-direction: column;
  360. }
  361. }
  362. }
  363. //grille de projets
  364. .view-content{
  365. margin-top: 2rem;
  366. display: flex;
  367. flex-direction: row;
  368. flex-wrap: wrap;
  369. @media (max-width: 810px){
  370. flex-direction: column;
  371. }
  372. .views-row{
  373. width: 25%;
  374. // flex: 0 0 25%;
  375. @media (max-width: 810px){
  376. width: 100%;
  377. }
  378. }
  379. }
  380. .node-type-projet{
  381. color: $blue-dark;
  382. line-height: 1.5rem;
  383. padding: 0.5rem;
  384. padding-right: 1rem;
  385. padding-left: 1rem;
  386. @media (max-width: 479px){
  387. padding-left: 0rem;
  388. padding-right: 0rem;
  389. padding-top: 2rem;
  390. }
  391. div:first-child{
  392. display: flex;
  393. flex-direction: column;
  394. a{
  395. color: $blue-dark;
  396. }
  397. .field--name-field-photo {
  398. order:1;
  399. img{
  400. width: 100%;
  401. max-height: 175px;
  402. object-fit: cover;
  403. }
  404. &::after{
  405. display: block;
  406. content:url('data:image/svg+xml,<svg width="160" height="25" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="2.5"/></svg>');
  407. }
  408. }
  409. .field--name-field-adresse{
  410. order:2;
  411. display: flex;
  412. text-transform: uppercase;
  413. font-size: 0.9rem;
  414. font-weight: 800;
  415. margin-top: 0.8rem;
  416. line-height: 0.6rem;
  417. .address{
  418. display: flex;
  419. flex-direction: row;
  420. margin: 0;
  421. .locality{
  422. padding-top: 0 !important;
  423. padding-bottom: 0 !important;
  424. &::after{
  425. content:",";
  426. margin-right: 0.3rem;
  427. }
  428. }
  429. .country{
  430. padding-top: 0 !important;
  431. padding-bottom: 0 !important;
  432. } }
  433. }
  434. .field--name-field-sous-titre{
  435. margin-top: 0.5rem;
  436. font-size: 0.9rem;
  437. font-weight: 800;
  438. order: 4;
  439. }
  440. .field--name-title{
  441. order: 3;
  442. margin-top: 0.5rem;
  443. font-size: 0.9rem;
  444. font-weight: 800;
  445. h2{margin: 0;}
  446. }
  447. .field--name-field-incube{
  448. order:4;
  449. color: red;
  450. margin-top: 0.8rem;
  451. font-size: 0.7rem;
  452. }
  453. }
  454. }
  455. }
  456. }
  457. }
  458. }
  459. }
  460. }
  461. }
  462. }
  463. // }
  464. }
  465. }