_lesprojets.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. .path-projets{
  2. .region-content{
  3. #block-contenudelapageprincipale{
  4. span{
  5. padding-top: 3rem;
  6. padding-bottom: 3rem;
  7. vertical-align: middle;
  8. h2{
  9. margin: 0;
  10. padding-top: 2rem;
  11. height: 4rem;
  12. color: $white;
  13. font-family: "Source Code Pro";
  14. text-transform: uppercase;
  15. background: $blue-light;
  16. padding-left: 13%;
  17. }
  18. }
  19. .layout--onecol{
  20. .block-region-content{
  21. display: grid;
  22. grid-template-columns: 1fr repeat(7, 1fr) 1fr;
  23. @media (max-width: 810px){
  24. display: flex;
  25. flex-direction: column;
  26. }
  27. /// carte
  28. .block-views-blockprojets-block-2{
  29. grid-column: 1 / span 10;
  30. .leaflet-popup-content{
  31. overflow: scroll;
  32. height: 210px;
  33. margin: 17px 10px 17px 20px !important;
  34. padding-right: 10px;
  35. a {
  36. display: none;
  37. }
  38. a:nth-child(1){
  39. display: block !important;
  40. }
  41. a:last-of-type{
  42. display: block !important;
  43. }
  44. #text{display: none;}
  45. }
  46. }
  47. //texte de présentation
  48. .block-config-pages-block{
  49. grid-column: 3 / span 5;
  50. // width: 60%;
  51. margin: auto;
  52. margin-bottom: 4rem;
  53. span h2{
  54. display: none;
  55. }
  56. .config_pages--type--les-projets{
  57. .field--name-field-introduction{
  58. p:nth-of-type(1){
  59. font-size: 1.5rem;
  60. @media (max-width: 810px){
  61. font-size: 1.3rem;
  62. }
  63. }
  64. }
  65. }
  66. @media (max-width: 810px){
  67. padding: 1rem;
  68. }
  69. }
  70. // bouton projets incubés
  71. .block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
  72. grid-column: 8 / span 9;
  73. margin-top: 4rem;
  74. background-color: $blue-light;
  75. height: fit-content;
  76. width: 60%;
  77. margin-left: 2rem;
  78. grid-row: 2;
  79. .display{
  80. display: block;
  81. }
  82. .field--name-field-lien{
  83. display: flex;
  84. flex-direction: column;
  85. margin-top: 2rem;
  86. margin-bottom: 2rem;
  87. margin-left: 1.5rem;
  88. margin-right: 1.5rem;
  89. text-align: center;
  90. a{
  91. font-weight: 800;
  92. color: $white;
  93. font-size: 1.3rem;
  94. }
  95. &:after{
  96. margin-left: auto;
  97. padding-top: 1rem;
  98. display: block;
  99. content:url("../images/pictos/noun_Arrow_3771902.svg")
  100. }
  101. }
  102. @media (max-width: 810px){
  103. margin: auto;
  104. }
  105. }
  106. //bouton imprimer pdf
  107. .block-block-content6f7a1e47-526a-438b-af42-7a7d66c9b282{
  108. grid-column: 2 / span 7;
  109. padding-left: 0.5rem;
  110. margin-bottom: 2rem;
  111. .field--name-field-lien{
  112. a{
  113. color:white;
  114. font-weight: 600;
  115. text-transform: uppercase;
  116. padding: 0.3rem 0.7rem;
  117. background-color: $blue-light;
  118. border: none;
  119. }
  120. }
  121. &:after{
  122. content:'ou bien';
  123. display: block;
  124. margin-top:1rem;
  125. }
  126. }
  127. //partie projets
  128. .block-views-blockprojets-block-1{
  129. grid-column: 2 / span 7;
  130. // width: 80%;
  131. @media (max-width: 810px){
  132. padding: 1rem;
  133. }
  134. .view-projets{
  135. .buttons-filtres-ressources{display: none;}
  136. // width: 80%;
  137. margin: auto;
  138. //filtres
  139. #filtres {
  140. scroll-margin-top: 10rem;
  141. }
  142. .view-filters{
  143. // margin-top: 4rem;
  144. padding-left: 0.5rem;
  145. display: flex;
  146. flex-direction: column;
  147. @media (max-width: 479px){
  148. flex-direction: column;
  149. padding-bottom: 3rem;
  150. margin-top: 0rem;
  151. }
  152. &::before{
  153. content: 'Filtrer les projets pour les visualiser en ligne :';
  154. margin-right: 2rem;
  155. margin-bottom: 1rem;
  156. // margin-left: 0.5rem;
  157. font-weight: 900;
  158. // width: 160px;
  159. min-width: fit-content;
  160. @media (max-width: 479px){
  161. padding-bottom: 1rem;
  162. }
  163. }
  164. .form-actions{
  165. margin-right: 1rem;
  166. margin-bottom: 1rem;
  167. }
  168. }
  169. //grille de projets
  170. .view-content .view-type-slide .views-row-wrapper{
  171. margin-top: 2rem;
  172. display: flex;
  173. flex-direction: row;
  174. flex-wrap: wrap;
  175. @media (max-width: 810px){
  176. flex-direction: column;
  177. }
  178. .views-row{
  179. width: 25%;
  180. // flex: 0 0 25%;
  181. @media (max-width: 810px){
  182. width: 100%;
  183. }
  184. }
  185. }
  186. .node-type-projet{
  187. color: $blue-dark;
  188. line-height: 1.5rem;
  189. padding: 0.5rem;
  190. padding-right: 1rem;
  191. padding-left: 1rem;
  192. transition:
  193. transform 0.3s ease,
  194. box-shadow 0.3s ease;
  195. transform-origin: center;
  196. @media (max-width: 479px){
  197. padding-left: 0rem;
  198. padding-right: 0rem;
  199. padding-top: 2rem;
  200. }
  201. &:hover{
  202. transform: translateY(-5px);
  203. }
  204. div:first-child{
  205. display: flex;
  206. flex-direction: column;
  207. a{
  208. color: $blue-dark;
  209. }
  210. .field--name-field-photo {
  211. order:1;
  212. .field__item{
  213. display:none;
  214. }
  215. .field__item:first-child{
  216. display:block;
  217. }
  218. img{
  219. width: 100%;
  220. max-height: 175px;
  221. object-fit: cover;
  222. }
  223. &::after{
  224. display: block;
  225. content:url('data:image/svg+xml,<svg width="160" height="25" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="2.5"/></svg>');
  226. }
  227. }
  228. .field--name-field-adresse{
  229. display: none;
  230. }
  231. .field--name-field-sous-titre{
  232. margin-top: 0.5rem;
  233. font-size: 0.9rem;
  234. font-weight: 800;
  235. order: 4;
  236. }
  237. .field--name-title{
  238. order: 4;
  239. margin-top: 0.5rem;
  240. font-size: 0.8rem;
  241. font-weight: 800;
  242. h2{margin: 0;}
  243. }
  244. .field--name-field-incube{
  245. order:5;
  246. color: red;
  247. margin-top: 0.8rem;
  248. font-size: 0.7rem;
  249. }
  250. .field--name-field-region{
  251. display: none;
  252. }
  253. .field--name-field-type-de-moa{
  254. display: none;
  255. }
  256. .field--name-field-type-de-projet{
  257. display: none;
  258. }
  259. .field--name-field-etape-du-projet{
  260. display: none;
  261. }
  262. .ville-region{
  263. order: 2;
  264. display: flex;
  265. flex-wrap: wrap;
  266. flex-direction: row;
  267. font-size: 0.9rem;
  268. .field--name-field-adresse{
  269. display: flex;
  270. flex: 0 1 auto;
  271. width: auto;
  272. min-width: 0;
  273. text-transform: uppercase;
  274. line-height: 1.3;
  275. font-weight: 800;
  276. .address{
  277. display: flex;
  278. margin: 0;
  279. flex-wrap: wrap;
  280. min-width: 0;
  281. .postal-code{
  282. display: none;
  283. }
  284. .locality{
  285. padding-top: 0 !important;
  286. padding-bottom: 0 !important;
  287. &::after{
  288. content:",";
  289. margin-right: 0.3rem;
  290. }
  291. }
  292. .country{
  293. display: none;
  294. padding-top: 0 !important;
  295. padding-bottom: 0 !important;
  296. } }
  297. }
  298. .field--name-field-region{
  299. display: flex;
  300. min-width: 0;
  301. flex: 0 1 auto;
  302. width: auto;
  303. overflow-wrap: break-word;
  304. text-transform: uppercase;
  305. font-weight: 800;
  306. padding-top: 0 !important;
  307. padding-bottom: 0 !important;
  308. line-height: 1.3;
  309. }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. }
  316. }
  317. }
  318. }
  319. }