_lesprojets.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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. margin-top: 5rem;
  113. background-color: $blue-light;
  114. padding: 1rem;
  115. a{
  116. color:white;
  117. font-weight: 600;
  118. text-transform: uppercase;
  119. // padding: 0.3rem 0.7rem;
  120. // background-color: $blue-light;
  121. border: none;
  122. }
  123. }
  124. // &:after{
  125. // content:'ou bien';
  126. // display: block;
  127. // margin-top:1rem;
  128. // }
  129. }
  130. //partie projets
  131. .block-views-blockprojets-block-1{
  132. grid-column: 2 / span 7;
  133. // width: 80%;
  134. @media (max-width: 810px){
  135. padding: 1rem;
  136. }
  137. .view-projets{
  138. .buttons-filtres-ressources{display: none;}
  139. // width: 80%;
  140. margin: auto;
  141. //filtres
  142. #filtres {
  143. scroll-margin-top: 10rem;
  144. }
  145. .view-filters{
  146. // margin-top: 4rem;
  147. padding-left: 0.5rem;
  148. display: flex;
  149. flex-direction: column;
  150. @media (max-width: 479px){
  151. flex-direction: column;
  152. padding-bottom: 3rem;
  153. margin-top: 0rem;
  154. }
  155. &::before{
  156. content: 'Filtrer les projets pour les visualiser en ligne :';
  157. margin-right: 2rem;
  158. margin-bottom: 1rem;
  159. // margin-left: 0.5rem;
  160. font-weight: 900;
  161. // width: 160px;
  162. min-width: fit-content;
  163. @media (max-width: 479px){
  164. padding-bottom: 1rem;
  165. }
  166. }
  167. .form-actions{
  168. margin-right: 1rem;
  169. margin-bottom: 1rem;
  170. }
  171. }
  172. //grille de projets
  173. .view-content .view-type-slide .views-row-wrapper{
  174. margin-top: 2rem;
  175. display: flex;
  176. flex-direction: row;
  177. flex-wrap: wrap;
  178. @media (max-width: 810px){
  179. flex-direction: column;
  180. }
  181. .views-row{
  182. width: 25%;
  183. // flex: 0 0 25%;
  184. @media (max-width: 810px){
  185. width: 100%;
  186. }
  187. }
  188. }
  189. .node-type-projet{
  190. color: $blue-dark;
  191. line-height: 1.5rem;
  192. padding: 0.5rem;
  193. padding-right: 1rem;
  194. padding-left: 1rem;
  195. transition:
  196. transform 0.3s ease,
  197. box-shadow 0.3s ease;
  198. transform-origin: center;
  199. @media (max-width: 479px){
  200. padding-left: 0rem;
  201. padding-right: 0rem;
  202. padding-top: 2rem;
  203. }
  204. &:hover{
  205. transform: translateY(-5px);
  206. }
  207. div:first-child{
  208. display: flex;
  209. flex-direction: column;
  210. a{
  211. color: $blue-dark;
  212. }
  213. .field--name-field-photo {
  214. order:1;
  215. .field__item{
  216. display:none;
  217. }
  218. .field__item:first-child{
  219. display:block;
  220. }
  221. img{
  222. width: 100%;
  223. max-height: 175px;
  224. object-fit: cover;
  225. }
  226. &::after{
  227. display: block;
  228. 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>');
  229. }
  230. }
  231. .field--name-field-adresse{
  232. display: none;
  233. }
  234. .field--name-field-sous-titre{
  235. margin-top: 0.5rem;
  236. font-size: 0.9rem;
  237. font-weight: 800;
  238. order: 4;
  239. }
  240. .field--name-title{
  241. order: 4;
  242. margin-top: 0.5rem;
  243. font-size: 0.8rem;
  244. font-weight: 800;
  245. h2{margin: 0;}
  246. }
  247. .field--name-field-incube{
  248. order:5;
  249. color: red;
  250. margin-top: 0.8rem;
  251. font-size: 0.7rem;
  252. }
  253. .field--name-field-region{
  254. display: none;
  255. }
  256. .field--name-field-type-de-moa{
  257. display: none;
  258. }
  259. .field--name-field-type-de-projet{
  260. display: none;
  261. }
  262. .field--name-field-etape-du-projet{
  263. display: none;
  264. }
  265. .ville-region{
  266. order: 2;
  267. display: flex;
  268. flex-wrap: wrap;
  269. flex-direction: row;
  270. font-size: 0.9rem;
  271. .field--name-field-adresse{
  272. display: flex;
  273. flex: 0 1 auto;
  274. width: auto;
  275. min-width: 0;
  276. text-transform: uppercase;
  277. line-height: 1.3;
  278. font-weight: 800;
  279. .address{
  280. display: flex;
  281. margin: 0;
  282. flex-wrap: wrap;
  283. min-width: 0;
  284. .postal-code{
  285. display: none;
  286. }
  287. .locality{
  288. padding-top: 0 !important;
  289. padding-bottom: 0 !important;
  290. &::after{
  291. content:",";
  292. margin-right: 0.3rem;
  293. }
  294. }
  295. .country{
  296. display: none;
  297. padding-top: 0 !important;
  298. padding-bottom: 0 !important;
  299. } }
  300. }
  301. .field--name-field-region{
  302. display: flex;
  303. min-width: 0;
  304. flex: 0 1 auto;
  305. width: auto;
  306. overflow-wrap: break-word;
  307. text-transform: uppercase;
  308. font-weight: 800;
  309. padding-top: 0 !important;
  310. padding-bottom: 0 !important;
  311. line-height: 1.3;
  312. }
  313. }
  314. }
  315. }
  316. }
  317. }
  318. }
  319. }
  320. }
  321. }
  322. }