_incubateur.scss 30 KB

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