_projet.scss 21 KB

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