_incubateur.scss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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. }
  278. #views-exposed-form-projets-block-3{
  279. // width: 100%;
  280. display: flex;
  281. flex-direction: row;
  282. #edit-field-neuf-rehabilitation-value--wrapper{
  283. legend{display: none;}
  284. }
  285. #edit-field-encours-fini-value--wrapper{
  286. legend{display: none;}
  287. }
  288. .js-form-type-textfield{
  289. label{display: none;}
  290. }
  291. }
  292. }
  293. //grille de projets
  294. .view-content{
  295. margin-top: 2rem;
  296. display: flex;
  297. flex-direction: row;
  298. .views-row{
  299. width: 25%;
  300. flex: 0 0 25%;
  301. }
  302. }
  303. .node-type-projet{
  304. color: $blue-dark;
  305. line-height: 1.5rem;
  306. padding: 0.5rem;
  307. padding-right: 1rem;
  308. padding-left: 1rem;
  309. div:first-child{
  310. display: flex;
  311. flex-direction: column;
  312. a{
  313. color: $blue-dark;
  314. }
  315. .field--name-field-photo {
  316. order:1;
  317. img{
  318. width: 100%;
  319. max-height: 175px;
  320. object-fit: cover;
  321. }
  322. &::after{
  323. display: block;
  324. 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>');
  325. }
  326. }
  327. .field--name-field-adresse{
  328. order:2;
  329. display: flex;
  330. text-transform: uppercase;
  331. font-size: 0.9rem;
  332. font-weight: 800;
  333. margin-top: 0.8rem;
  334. line-height: 0.6rem;
  335. .address{
  336. display: flex;
  337. flex-direction: row;
  338. margin: 0;
  339. .locality{
  340. padding-top: 0 !important;
  341. padding-bottom: 0 !important;
  342. &::after{
  343. content:",";
  344. margin-right: 0.3rem;
  345. }
  346. }
  347. .country{
  348. padding-top: 0 !important;
  349. padding-bottom: 0 !important;
  350. } }
  351. }
  352. .field--name-field-sous-titre{
  353. margin-top: 0.5rem;
  354. font-size: 0.9rem;
  355. font-weight: 800;
  356. order: 4;
  357. }
  358. .field--name-title{
  359. order: 3;
  360. margin-top: 0.5rem;
  361. font-size: 1rem;
  362. font-weight: 800;
  363. h2{margin: 0;}
  364. }
  365. .field--name-field-incube{
  366. order:4;
  367. color: red;
  368. margin-top: 0.8rem;
  369. }
  370. }
  371. }
  372. }
  373. }
  374. }
  375. }
  376. }
  377. }
  378. }
  379. }
  380. // }
  381. }
  382. }