_lesprojets.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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. }
  36. }
  37. //texte de présentation
  38. .block-config-pages-block{
  39. grid-column: 3 / span 5;
  40. // width: 60%;
  41. margin: auto;
  42. span h2{
  43. display: none;
  44. }
  45. .config_pages--type--les-projets{
  46. .field--name-field-introduction{
  47. p:nth-of-type(1){
  48. font-size: 1.5rem;
  49. }
  50. }
  51. }
  52. @media (max-width: 810px){
  53. padding: 2rem;
  54. }
  55. }
  56. // bouton projets incubés
  57. .block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
  58. grid-column: 8 / span 9;
  59. margin-top: 4rem;
  60. background-color: $blue-light;
  61. height: fit-content;
  62. width: 60%;
  63. margin-left: 2rem;
  64. grid-row: 2;
  65. .display{
  66. display: block;
  67. }
  68. .field--name-field-lien{
  69. display: flex;
  70. flex-direction: column;
  71. margin-top: 2rem;
  72. margin-bottom: 2rem;
  73. margin-left: 1.5rem;
  74. margin-right: 1.5rem;
  75. text-align: center;
  76. a{
  77. font-weight: 800;
  78. color: $white;
  79. font-size: 1.3rem;
  80. }
  81. &:after{
  82. margin-left: auto;
  83. padding-top: 1rem;
  84. display: block;
  85. content:url("../images/pictos/noun_Arrow_3771902.svg")
  86. }
  87. }
  88. @media (max-width: 810px){
  89. margin: auto;
  90. }
  91. }
  92. //partie projets
  93. .block-views-blockprojets-block-1{
  94. grid-column: 2 / span 7;
  95. // width: 80%;
  96. @media (max-width: 810px){
  97. padding: 2rem;
  98. }
  99. .view-projets{
  100. // width: 80%;
  101. margin: auto;
  102. //filtres
  103. #filtres {
  104. scroll-margin-top: 10rem;
  105. }
  106. .view-filters{
  107. margin-top: 4rem;
  108. padding-left: 0.5rem;
  109. display: flex;
  110. flex-direction: column;
  111. @media (max-width: 479px){
  112. flex-direction: column;
  113. padding-bottom: 3rem;
  114. }
  115. &::before{
  116. content: 'Filtrer par :';
  117. margin-right: 2rem;
  118. margin-bottom: 1rem;
  119. margin-left: 0.5rem;
  120. font-weight: 900;
  121. // width: 160px;
  122. min-width: fit-content;
  123. @media (max-width: 479px){
  124. padding-bottom: 1rem;
  125. }
  126. }
  127. }
  128. //grille de projets
  129. .view-content .view-type-slide .views-row-wrapper{
  130. margin-top: 2rem;
  131. display: flex;
  132. flex-direction: row;
  133. flex-wrap: wrap;
  134. @media (max-width: 810px){
  135. flex-direction: column;
  136. }
  137. .views-row{
  138. width: 25%;
  139. // flex: 0 0 25%;
  140. @media (max-width: 810px){
  141. width: 100%;
  142. }
  143. }
  144. }
  145. .node-type-projet{
  146. color: $blue-dark;
  147. line-height: 1.5rem;
  148. padding: 0.5rem;
  149. padding-right: 1rem;
  150. padding-left: 1rem;
  151. @media (max-width: 479px){
  152. padding-left: 0rem;
  153. padding-right: 0rem;
  154. padding-top: 2rem;
  155. }
  156. div:first-child{
  157. display: flex;
  158. flex-direction: column;
  159. a{
  160. color: $blue-dark;
  161. }
  162. .field--name-field-photo {
  163. order:1;
  164. .field__item{
  165. display:none;
  166. }
  167. .field__item:first-child{
  168. display:block;
  169. }
  170. img{
  171. width: 100%;
  172. max-height: 175px;
  173. object-fit: cover;
  174. }
  175. &::after{
  176. display: block;
  177. 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>');
  178. }
  179. }
  180. .field--name-field-adresse{
  181. order:2;
  182. display: flex;
  183. text-transform: uppercase;
  184. font-size: 0.9rem;
  185. font-weight: 800;
  186. margin-top: 0.8rem;
  187. line-height: 0.6rem;
  188. .address{
  189. display: flex;
  190. flex-direction: row;
  191. margin: 0;
  192. .locality{
  193. padding-top: 0 !important;
  194. padding-bottom: 0 !important;
  195. &::after{
  196. content:",";
  197. margin-right: 0.3rem;
  198. }
  199. }
  200. .country{
  201. padding-top: 0 !important;
  202. padding-bottom: 0 !important;
  203. } }
  204. }
  205. .field--name-field-sous-titre{
  206. margin-top: 0.5rem;
  207. font-size: 0.9rem;
  208. font-weight: 800;
  209. order: 4;
  210. }
  211. .field--name-title{
  212. order: 3;
  213. margin-top: 0.5rem;
  214. font-size: 0.9rem;
  215. font-weight: 800;
  216. h2{margin: 0;}
  217. }
  218. .field--name-field-incube{
  219. order:4;
  220. color: red;
  221. margin-top: 0.8rem;
  222. font-size: 0.7rem;
  223. }
  224. .field--name-field-region{
  225. display: none;
  226. }
  227. .field--name-field-type-de-moa{
  228. display: none;
  229. }
  230. .field--name-field-type-de-projet{
  231. display: none;
  232. }
  233. .field--name-field-etape-du-projet{
  234. display: none;
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. }
  242. }
  243. }
  244. }