_projet.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. .path-node.page-node-type-projet{
  2. .layout-container{
  3. overflow: unset;
  4. }
  5. .layout-content{
  6. .region-content{
  7. #block-contenudelapageprincipale{
  8. .layout--threecol-25-50-25{
  9. // display: grid;
  10. // grid-template-rows: repeat(6, auto);
  11. .layout__region--top{
  12. .block-region-top{
  13. // position: relative;
  14. display: grid;
  15. grid-template-columns: 1fr repeat(8, 1fr) 1fr;
  16. .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{
  17. grid-column: 1 / span 10;
  18. background-color: $blue-light;
  19. .field--name-body{
  20. vertical-align: middle;
  21. color: $white;
  22. font-family: 'Source Code Pro';
  23. font-size: 2rem;
  24. font-weight: 800;
  25. color: $white;
  26. text-transform: uppercase;
  27. margin-left: 10%;
  28. }
  29. }
  30. .block-entity-fieldnodefield-adresse{
  31. margin-top: 3rem;
  32. grid-column: 2 / span 10;
  33. .field--name-field-adresse{
  34. text-transform: uppercase;
  35. font-weight: 800;
  36. font-size: 0.9rem;
  37. .address{
  38. display: flex;
  39. flex-direction: row;
  40. margin: 0;
  41. .locality::after{
  42. content:",";
  43. margin-right: 0.3rem;
  44. }
  45. }
  46. }
  47. }
  48. .block-entity-fieldnodetitle{
  49. grid-column: 2 /span 7;
  50. margin: 0;
  51. .field--name-title{
  52. font-family: "Source Code Pro";
  53. font-size: 2.8rem;
  54. font-weight: 500;
  55. }
  56. }
  57. .block-entity-fieldnodefield-equipe{
  58. grid-column: 2 / span 7;
  59. .field--name-field-equipe{
  60. color: $blue-dark;
  61. font-size: 1.5rem;
  62. font-weight: 900;
  63. text-transform: uppercase ;
  64. }
  65. }
  66. .block-entity-fieldnodefield-incube{
  67. padding-top: 2rem;
  68. grid-column: 2;
  69. width: fit-content;
  70. .field--name-field-incube{
  71. background-color: red;
  72. color: white;
  73. font-weight: 800;
  74. padding-right: 0.3rem;
  75. padding-left: 0.2rem;
  76. }
  77. }
  78. .block-entity-fieldnodefield-photo{
  79. grid-column-start: 5;
  80. grid-column-end: 9;
  81. img{
  82. padding-top: 2rem;
  83. width: 600px;
  84. // height: auto;
  85. max-height: 360px;
  86. object-fit: cover;
  87. }
  88. // position: relative;
  89. // bottom: -50%;
  90. }
  91. }
  92. }
  93. .layout__region--first{
  94. // margin-top: 18rem;
  95. margin-top: 5rem;
  96. .block-region-first{
  97. display: flex;
  98. justify-content: flex-end;
  99. position: -webkit-sticky;
  100. position: sticky;
  101. top: 10rem;
  102. .block-entity-fieldnodefield-textes{
  103. display: flex;
  104. justify-content: flex-end;
  105. width: 50%;
  106. background-color: $white;
  107. padding-right: 2rem;
  108. .field--name-field-titre{
  109. display: flex;
  110. font-size: 1rem;
  111. font-weight: 1000;
  112. color: $blue-dark;
  113. border-bottom: 1px solid $blue-light;
  114. padding-bottom: 0.5rem;
  115. padding-right: 1rem;
  116. // margin-top: 2rem;
  117. margin-bottom: 0.8rem;
  118. &:hover{
  119. text-decoration: underline;
  120. }
  121. }
  122. }
  123. }
  124. }
  125. .layout__region--second{
  126. // grid-row: 3;
  127. margin-top: 5rem;
  128. flex: 0 1 50%;
  129. // margin-top: 18rem;
  130. .block-region-second{
  131. width: 90%;
  132. .block-entity-fieldnodebody{
  133. p{
  134. margin-top: 0;
  135. }
  136. .field--type-text-with-summary{
  137. background-color: white;
  138. }
  139. }
  140. .block-entity-fieldnodefield-textes{
  141. background-color: $white;
  142. .field--name-field-titre{
  143. font-size: 1.5rem;
  144. font-weight: 1000;
  145. font-family: 'Source Code Pro';
  146. color: $blue-dark;
  147. text-transform: uppercase;
  148. margin-bottom: 0.8rem;
  149. }
  150. h4{
  151. text-transform: none !important;
  152. img{
  153. width: 100%;
  154. height: auto;
  155. }
  156. }
  157. .field--type-text-long{
  158. padding-right: 2rem;
  159. }
  160. p{
  161. margin-top: 0;
  162. }
  163. a{
  164. color: $black;
  165. text-decoration: underline;
  166. svg{
  167. display: none;
  168. }
  169. }
  170. }
  171. .block-entity-fieldnodebody{
  172. .panel-body{
  173. #outputtext{
  174. overflow-y: visible !important;
  175. }
  176. }
  177. }
  178. .block-entity-fieldnodefield-partenaires{
  179. .field__label{
  180. font-size: 1.5rem;
  181. font-weight: 1000;
  182. font-family: 'Source Code Pro';
  183. color: $blue-dark;
  184. text-transform: uppercase;
  185. margin-top: 2rem;
  186. margin-bottom: 0.8rem;
  187. }
  188. .field__items{
  189. display: flex;
  190. flex-direction: row;
  191. justify-content: space-between;
  192. .paragraph--type--partenaire{
  193. display: flex;
  194. flex-direction: column;
  195. align-items: center;
  196. // width: 35%;
  197. .field--name-field-lien{
  198. // display: none;
  199. padding-top: 1rem;
  200. }
  201. }
  202. }
  203. }
  204. }
  205. }
  206. .layout__region--third{
  207. // grid-row: 4;
  208. margin-top: 5rem;
  209. .block-region-third{
  210. display: flex;
  211. flex-direction: column;
  212. width: 65%;
  213. .block-entity-fieldnodefield-fichiers{
  214. h2{display: none;}
  215. .field--name-field-fichiers{
  216. .field__item{
  217. height: fit-content;
  218. border: 2px solid $blue-light;
  219. background-color: $white;
  220. margin-bottom: 1rem;
  221. min-height: 4rem;
  222. // background: $white;
  223. color: $blue-light;
  224. padding-left: 1rem;
  225. padding-top: 1rem;
  226. }
  227. span:nth-of-type(2){
  228. display: none;
  229. }
  230. .file--mime-application-pdf{
  231. height: inherit;
  232. margin: auto;
  233. ::before{
  234. content: url("../images/pictos/noun_Download_file_307900.svg");
  235. min-width:40px;
  236. height: auto;
  237. padding-right: 1rem;
  238. }
  239. a{
  240. hyphens: auto;
  241. display: inline-flex;
  242. align-items: center;
  243. color: $blue-light;
  244. font-weight: 800;
  245. // max-width: 80px ;
  246. }
  247. }
  248. }
  249. }
  250. .block-entity-fieldnodefield-liens{
  251. h2{display: none;}
  252. .field--name-field-liens{
  253. .field__item{
  254. margin: auto;
  255. height: fit-content;
  256. border: 2px solid $blue-light;
  257. min-height: 4rem;
  258. background: $white;
  259. color: $blue-light;
  260. padding-left: 1rem;
  261. padding-top: 1rem;
  262. margin-bottom: 1rem;
  263. }
  264. a{
  265. display: inline-flex;
  266. align-items: center;
  267. color: $blue-light;
  268. font-weight: 800;
  269. &::before{
  270. content: url("../images/pictos/noun_External Link_674151.svg");
  271. min-width: 40px;
  272. height: auto;
  273. padding-right: 1rem;
  274. }
  275. svg.ext{
  276. display: none;
  277. }
  278. }
  279. }
  280. }
  281. .block-entity-fieldnodefield-ressource-s-liee-s-{
  282. margin-top: 3rem;
  283. h2{
  284. font-size: 0.8rem;
  285. color: $black;
  286. font-weight: 900;
  287. }
  288. .node-type-ressource{
  289. display: flex;
  290. flex-direction: column;
  291. border: 2px solid $blue-light;
  292. padding: 1rem;
  293. height: fit-content;
  294. margin-bottom: 1rem;
  295. background-color: $white;
  296. &:first-of-type{
  297. border-top: 1px solid $blue-light;
  298. padding-top: 1rem;
  299. &::after{
  300. content: url("../images/pictos/noun_Arrow_3771902.svg");
  301. align-self: flex-end;
  302. }
  303. }
  304. .field--name-title{
  305. a{
  306. color: $black;
  307. font-size: 1.4rem;
  308. font-weight: 600;
  309. }
  310. }
  311. .field--name-field-type-de-ressource{
  312. }
  313. .field--name-field-auteur-s-{
  314. font-weight: 800;
  315. p{
  316. margin: 0;
  317. }
  318. .field__label{
  319. display:none;
  320. }
  321. }
  322. .field--name-field-edition{
  323. p{
  324. margin: 0;
  325. }
  326. .field__label{
  327. display:none;
  328. }
  329. }
  330. .field--name-field-images{
  331. width: 50%;
  332. img{
  333. width: 100%;
  334. height: auto;
  335. }
  336. }
  337. }
  338. }
  339. }
  340. }
  341. .layout__region--bottom{
  342. .block-entity-fieldnodefield-partenaires{
  343. width: 50%;
  344. margin: auto;
  345. display: flex;
  346. flex-direction: row;
  347. flex-wrap: wrap;
  348. h2{display: none;}
  349. .field--name-field-partenaires{
  350. display: flex;
  351. flex-direction: row;
  352. flex-wrap: wrap;
  353. justify-content: space-between;
  354. .field--name-field-titre{
  355. display: none;
  356. }
  357. .paragraph--type--partenaire{
  358. display: flex;
  359. flex-direction: column;
  360. }
  361. }
  362. }
  363. }
  364. }
  365. }
  366. }
  367. }
  368. }