_projet.scss 21 KB

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