_lesprojets.scss 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. //texte de présentation
  22. .block-config-pages-block{
  23. width: 60%;
  24. margin: auto;
  25. span h2{
  26. display: none;
  27. }
  28. .config_pages--type--les-projets{
  29. .field--name-field-introduction{
  30. p:nth-of-type(1){
  31. font-size: 1.5rem;
  32. }
  33. }
  34. }
  35. }
  36. // bouton projets incubés
  37. .block-block-contentaffaf220-dd27-4c9d-ae02-8044c2662220{
  38. // grid-column: 8 / span 9;
  39. margin-top: 4rem;
  40. background-color: $blue-light;
  41. height: fit-content;
  42. width: 60%;
  43. margin-left: 2rem;
  44. grid-row: 2;
  45. .display{
  46. display: block;
  47. }
  48. .field--name-field-lien{
  49. display: flex;
  50. flex-direction: column;
  51. margin-top: 2rem;
  52. margin-bottom: 2rem;
  53. margin-left: 1.5rem;
  54. margin-right: 1.5rem;
  55. text-align: center;
  56. a{
  57. font-weight: 800;
  58. color: $white;
  59. font-size: 1.3rem;
  60. }
  61. &:after{
  62. margin-left: auto;
  63. padding-top: 1rem;
  64. display: block;
  65. content:url("../images/pictos/noun_Arrow_3771902.svg")
  66. }
  67. }
  68. }
  69. //partie projets
  70. .block-views-blockprojets-block-1{
  71. .view-projets{
  72. width: 80%;
  73. margin: auto;
  74. .view-filters{
  75. margin-top: 4rem;
  76. display: flex;
  77. flex-direction: row;
  78. &::before{
  79. content: 'Filtrer par:';
  80. }
  81. #views-exposed-form-projets-block-1{
  82. display: flex;
  83. flex-direction: row;
  84. #edit-field-neuf-rehabilitation-value--wrapper{
  85. legend{display: none;}
  86. }
  87. #edit-field-encours-fini-value--wrapper{
  88. legend{display: none;}
  89. }
  90. .js-form-type-textfield{
  91. label{display: none;}
  92. }
  93. }
  94. }
  95. //grille de projets
  96. .view-content{
  97. margin-top: 2rem;
  98. display: flex;
  99. flex-direction: row;
  100. .views-row{
  101. width: 25%;
  102. flex: 0 0 25%;
  103. }
  104. }
  105. .node-type-projet{
  106. color: $blue-dark;
  107. line-height: 1.5rem;
  108. padding: 0.5rem;
  109. padding-right: 1rem;
  110. padding-left: 1rem;
  111. div:first-child{
  112. display: flex;
  113. flex-direction: column;
  114. a{
  115. color: $blue-dark;
  116. }
  117. .field--name-field-photo {
  118. order:1;
  119. img{
  120. width: 100%;
  121. max-height: 175px;
  122. object-fit: cover;
  123. }
  124. &::after{
  125. display: block;
  126. 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>');
  127. }
  128. }
  129. .field--name-field-adresse{
  130. order:2;
  131. display: flex;
  132. text-transform: uppercase;
  133. font-size: 0.9rem;
  134. font-weight: 800;
  135. margin-top: 0.8rem;
  136. line-height: 0.6rem;
  137. .address{
  138. display: flex;
  139. flex-direction: row;
  140. margin: 0;
  141. .locality{
  142. padding-top: 0 !important;
  143. padding-bottom: 0 !important;
  144. &::after{
  145. content:",";
  146. margin-right: 0.3rem;
  147. }
  148. }
  149. .country{
  150. padding-top: 0 !important;
  151. padding-bottom: 0 !important;
  152. } }
  153. }
  154. .field--name-field-sous-titre{
  155. margin-top: 0.5rem;
  156. font-size: 0.9rem;
  157. font-weight: 800;
  158. order: 4;
  159. }
  160. .field--name-title{
  161. order: 3;
  162. margin-top: 0.5rem;
  163. font-size: 1rem;
  164. font-weight: 800;
  165. h2{margin: 0;}
  166. }
  167. .field--name-field-incube{
  168. order:4;
  169. color: red;
  170. margin-top: 0.8rem;
  171. }
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. }