les-sites-pilotes.scss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. .block-page-title-block{
  2. padding-left: 1rem;
  3. h1{
  4. font-weight: 1000;
  5. }
  6. }
  7. .view-display-id-page_1{
  8. display: flex;
  9. flex-direction: row;
  10. flex-wrap: wrap;
  11. align-items: baseline;
  12. justify-content: space-between;
  13. article{
  14. padding-bottom: 0.7rem;
  15. }
  16. .views-row{
  17. width: 28%;
  18. padding: 1rem;
  19. &:hover{
  20. transform: scale(1.05);
  21. transition: 0.3s transform ease, 0.3s box-shadow ease;
  22. }
  23. .node-type-site{
  24. margin: auto;
  25. display: flex;
  26. flex-direction: column;
  27. width: 100%;
  28. background-color: white;
  29. .field--name-field-image{
  30. order: 1;
  31. max-width: 100%;
  32. img{
  33. width: 100%;
  34. object-fit: cover;
  35. height: fit-content;
  36. }
  37. }
  38. .infos-content-site{
  39. background-color: $white-button;
  40. order: 2;
  41. display: flex;
  42. flex-direction: column;
  43. padding-left: 1rem;
  44. padding-right: 1rem;
  45. padding-top: 0.5rem;
  46. h1{display: none;}
  47. h2{
  48. order: 2;
  49. margin: 0;
  50. font-size: 1.6rem;
  51. font-weight: 900;
  52. line-height: 1;
  53. padding-bottom: 0.8rem;
  54. }
  55. .first-row{
  56. order: 1;
  57. display:flex;
  58. flex-direction: row;
  59. align-items: end;
  60. padding-bottom: 0.5rem;
  61. .field--name-field-numero-site {
  62. order: 1;
  63. text-transform: uppercase;
  64. font-size: 1rem;
  65. display: inline-flex;
  66. &::after{
  67. content: '|';
  68. padding-left: 1rem;
  69. padding-right: 1rem;
  70. }
  71. }
  72. .field--name-field-adresse-site{
  73. order: 3;
  74. font-size: 1.2rem;
  75. .field__item{
  76. display: flex;
  77. }
  78. .address{
  79. margin: 0;
  80. display: inline-flex;
  81. .postal-code{
  82. order: 2;
  83. }
  84. .locality{
  85. order: 1;
  86. text-transform: capitalize;
  87. margin-right: 0.5rem;
  88. }
  89. .country{
  90. display: none;
  91. }
  92. }
  93. }
  94. }
  95. .field--name-field-architecte{
  96. order: 4;
  97. font-size: 1.2rem;
  98. .field__items{
  99. display: flex;
  100. flex-direction: row;
  101. flex-wrap: wrap;
  102. .field__item{
  103. display: inline;
  104. &::after{
  105. content:',';
  106. padding-right: 0.5rem;
  107. }
  108. }
  109. }
  110. .field__item:last-of-type::after {
  111. content: '';
  112. }
  113. }
  114. ul.links{
  115. order: 5;
  116. text-transform: uppercase;
  117. padding: 0;
  118. margin: 0;
  119. border: none;
  120. padding-bottom: 1rem;
  121. padding-top: 3rem;
  122. display: inline-flex;
  123. &::after{
  124. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  125. padding-left: 0.5rem;
  126. }
  127. }
  128. }
  129. }
  130. }
  131. footer{
  132. background-color: transparent;
  133. text-transform: none !important;
  134. p{
  135. font-size: 2rem;
  136. padding-left: 1rem;
  137. font-weight: 1000;
  138. }
  139. .view-display-id-block_2{
  140. display: flex;
  141. flex-direction: row;
  142. flex-wrap: wrap;
  143. align-items: baseline;
  144. justify-content: space-between;
  145. .views-row{
  146. width: 28%;
  147. padding: 1rem;
  148. &:hover{
  149. transform: none;
  150. }
  151. .node-type-site{
  152. margin: auto;
  153. display: flex;
  154. flex-direction: column;
  155. width: 100%;
  156. background-color: transparent;
  157. .infos-content-site{
  158. background-color: transparent;
  159. order: 2;
  160. display: flex;
  161. flex-direction: column;
  162. padding-left: 1rem;
  163. padding-right: 1rem;;
  164. padding-right: 1rem;
  165. h2{
  166. order: 2;
  167. margin: 0;
  168. font-size: 1.6rem;
  169. font-weight: 900;
  170. line-height: 1;
  171. a{
  172. cursor: default !important;
  173. pointer-events: none;
  174. }
  175. }
  176. .first-row{
  177. order: 1;
  178. display:flex;
  179. flex-direction: row;
  180. align-items: center;
  181. padding-bottom: 0.5rem;
  182. .field--name-field-lettre-de-site {
  183. order: 1;
  184. text-transform: uppercase;
  185. font-size: 1rem;
  186. font-weight: 400;
  187. display: flex;
  188. align-items: center;
  189. &::before{
  190. content:'SITE';
  191. padding-right: 0.5rem;
  192. }
  193. &::after{
  194. content: '|';
  195. padding-left: 1rem;
  196. padding-right: 1rem;
  197. }
  198. }
  199. .field--name-field-adresse-site{
  200. order: 3;
  201. p.address{
  202. padding-left: 0;
  203. margin: 0;
  204. display: inline-flex;
  205. font-size: 1.3rem;
  206. font-weight: 500!important;
  207. .postal-code{
  208. order: 2;
  209. }
  210. .locality{
  211. order: 1;
  212. text-transform: capitalize;
  213. margin-right: 0.5rem;
  214. }
  215. .country{
  216. display: none;
  217. }
  218. }
  219. }
  220. }
  221. .field--name-field-architecte{
  222. order: 4;
  223. text-transform: capitalize;
  224. font-weight: 400;
  225. font-size: 1.2rem;
  226. }
  227. ul.links{
  228. order: 5;
  229. text-transform: uppercase;
  230. padding: 0;
  231. margin: 0;
  232. border: none;
  233. padding-bottom: 2rem;
  234. padding-top: 0.9rem;
  235. display: inline-flex;
  236. &::after{
  237. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  238. padding-left: 0.5rem;
  239. }
  240. }
  241. }
  242. }
  243. }
  244. }
  245. }
  246. }