_incubateur.scss 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  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. }
  298. }
  299. #edit-field-encours-fini-value--wrapper{
  300. legend{display: none;}
  301. .js-form-item-field-encours-fini-value:first-of-type{
  302. display: none;
  303. }
  304. @media (max-width: 479px){
  305. padding-bottom: 1rem;
  306. }
  307. }
  308. .js-form-type-textfield{
  309. label{display: none;}
  310. @media (max-width: 479px){
  311. padding-bottom: 1rem;
  312. }
  313. }
  314. input[type="radio"]{
  315. display: none;
  316. }
  317. input[type="radio"] + label::before{
  318. content:"";
  319. display:inline-block;
  320. width: 15px;
  321. height: 15px;
  322. background:#fff;
  323. border-radius:0px;
  324. border-color: rgba($color: #000000, $alpha: 1);
  325. border-style: solid;
  326. border-width: 1px;
  327. margin-right: 0.5rem;
  328. }
  329. input[type="radio"]:checked + label::before{
  330. background:$blue-light;
  331. }
  332. label{
  333. padding-right: 1rem;
  334. }
  335. #edit-submit-projets{
  336. background-color: $blue-light;
  337. color: white;
  338. text-transform: uppercase;
  339. border: none;
  340. padding: 0.1rem 0.7rem;
  341. margin-left: 2rem;
  342. @media (max-width: 479px){
  343. margin-left: 0rem;
  344. margin-right: 2rem;
  345. }
  346. }
  347. #edit-reset{
  348. background-color: $blue-light;
  349. color: white;
  350. text-transform: uppercase;
  351. border: none;
  352. padding: 0.1rem 0.7rem;
  353. margin-left: 1rem;
  354. }
  355. @media (max-width: 479px){
  356. flex-direction: column;
  357. }
  358. }
  359. }
  360. //grille de projets
  361. .view-content{
  362. margin-top: 2rem;
  363. display: flex;
  364. flex-direction: row;
  365. flex-wrap: wrap;
  366. @media (max-width: 810px){
  367. flex-direction: column;
  368. }
  369. .views-row{
  370. width: 25%;
  371. // flex: 0 0 25%;
  372. @media (max-width: 810px){
  373. width: 100%;
  374. }
  375. }
  376. }
  377. .node-type-projet{
  378. color: $blue-dark;
  379. line-height: 1.5rem;
  380. padding: 0.5rem;
  381. padding-right: 1rem;
  382. padding-left: 1rem;
  383. @media (max-width: 479px){
  384. padding-left: 0rem;
  385. padding-right: 0rem;
  386. padding-top: 2rem;
  387. }
  388. div:first-child{
  389. display: flex;
  390. flex-direction: column;
  391. a{
  392. color: $blue-dark;
  393. }
  394. .field--name-field-photo {
  395. order:1;
  396. img{
  397. width: 100%;
  398. max-height: 175px;
  399. object-fit: cover;
  400. }
  401. &::after{
  402. display: block;
  403. 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>');
  404. }
  405. }
  406. .field--name-field-adresse{
  407. order:2;
  408. display: flex;
  409. text-transform: uppercase;
  410. font-size: 0.9rem;
  411. font-weight: 800;
  412. margin-top: 0.8rem;
  413. line-height: 0.6rem;
  414. .address{
  415. display: flex;
  416. flex-direction: row;
  417. margin: 0;
  418. .locality{
  419. padding-top: 0 !important;
  420. padding-bottom: 0 !important;
  421. &::after{
  422. content:",";
  423. margin-right: 0.3rem;
  424. }
  425. }
  426. .country{
  427. padding-top: 0 !important;
  428. padding-bottom: 0 !important;
  429. } }
  430. }
  431. .field--name-field-sous-titre{
  432. margin-top: 0.5rem;
  433. font-size: 0.9rem;
  434. font-weight: 800;
  435. order: 4;
  436. }
  437. .field--name-title{
  438. order: 3;
  439. margin-top: 0.5rem;
  440. font-size: 0.9rem;
  441. font-weight: 800;
  442. h2{margin: 0;}
  443. }
  444. .field--name-field-incube{
  445. order:4;
  446. color: red;
  447. margin-top: 0.8rem;
  448. font-size: 0.7rem;
  449. }
  450. }
  451. }
  452. }
  453. }
  454. }
  455. }
  456. }
  457. }
  458. }
  459. }
  460. // }
  461. }
  462. }