_projet.scss 18 KB

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