_projet.scss 21 KB

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