_projet.scss 18 KB

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