_incubateur.scss 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  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. &::before{
  276. content: 'Filtrer par :';
  277. margin-right: 1rem;
  278. }
  279. #views-exposed-form-projets-block-3{
  280. // width: 100%;
  281. display: flex;
  282. flex-direction: row;
  283. #edit-field-neuf-rehabilitation-value--wrapper{
  284. legend{display: none;}
  285. }
  286. #edit-field-encours-fini-value--wrapper{
  287. legend{display: none;}
  288. }
  289. .js-form-type-textfield{
  290. label{display: none;}
  291. }
  292. input[type="radio"]{
  293. display: none;
  294. }
  295. input[type="radio"] + label::before{
  296. content:"";
  297. display:inline-block;
  298. width: 15px;
  299. height: 15px;
  300. background:#fff;
  301. border-radius:0px;
  302. border-color: rgba($color: #000000, $alpha: 1);
  303. border-style: solid;
  304. border-width: 1px;
  305. margin-right: 0.5rem;
  306. }
  307. input[type="radio"]:checked + label::before{
  308. background:$blue-light;
  309. }
  310. label{
  311. padding-right: 1rem;
  312. }
  313. #edit-submit-projets{
  314. background-color: $blue-light;
  315. color: white;
  316. text-transform: uppercase;
  317. border: none;
  318. padding: 0.1rem 0.7rem;
  319. margin-left: 2rem;
  320. }
  321. #edit-reset{
  322. background-color: $blue-light;
  323. color: white;
  324. text-transform: uppercase;
  325. border: none;
  326. padding: 0.1rem 0.7rem;
  327. margin-left: 1rem;
  328. }
  329. }
  330. }
  331. //grille de projets
  332. .view-content{
  333. margin-top: 2rem;
  334. display: flex;
  335. flex-direction: row;
  336. flex-wrap: wrap;
  337. .views-row{
  338. width: 25%;
  339. // flex: 0 0 25%;
  340. }
  341. }
  342. .node-type-projet{
  343. color: $blue-dark;
  344. line-height: 1.5rem;
  345. padding: 0.5rem;
  346. padding-right: 1rem;
  347. padding-left: 1rem;
  348. div:first-child{
  349. display: flex;
  350. flex-direction: column;
  351. a{
  352. color: $blue-dark;
  353. }
  354. .field--name-field-photo {
  355. order:1;
  356. img{
  357. width: 100%;
  358. max-height: 175px;
  359. object-fit: cover;
  360. }
  361. &::after{
  362. display: block;
  363. 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>');
  364. }
  365. }
  366. .field--name-field-adresse{
  367. order:2;
  368. display: flex;
  369. text-transform: uppercase;
  370. font-size: 0.9rem;
  371. font-weight: 800;
  372. margin-top: 0.8rem;
  373. line-height: 0.6rem;
  374. .address{
  375. display: flex;
  376. flex-direction: row;
  377. margin: 0;
  378. .locality{
  379. padding-top: 0 !important;
  380. padding-bottom: 0 !important;
  381. &::after{
  382. content:",";
  383. margin-right: 0.3rem;
  384. }
  385. }
  386. .country{
  387. padding-top: 0 !important;
  388. padding-bottom: 0 !important;
  389. } }
  390. }
  391. .field--name-field-sous-titre{
  392. margin-top: 0.5rem;
  393. font-size: 0.9rem;
  394. font-weight: 800;
  395. order: 4;
  396. }
  397. .field--name-title{
  398. order: 3;
  399. margin-top: 0.5rem;
  400. font-size: 0.9rem;
  401. font-weight: 800;
  402. h2{margin: 0;}
  403. }
  404. .field--name-field-incube{
  405. order:4;
  406. color: red;
  407. margin-top: 0.8rem;
  408. font-size: 0.7rem;
  409. }
  410. }
  411. }
  412. }
  413. }
  414. }
  415. }
  416. }
  417. }
  418. }
  419. }
  420. // }
  421. }
  422. }