les-sites-pilotes.scss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. }
  174. }
  175. .first-row{
  176. order: 1;
  177. display:flex;
  178. flex-direction: row;
  179. align-items: center;
  180. padding-bottom: 0.5rem;
  181. .field--name-field-lettre-de-site {
  182. order: 1;
  183. text-transform: uppercase;
  184. font-size: 1rem;
  185. font-weight: 400;
  186. display: flex;
  187. align-items: center;
  188. &::before{
  189. content:'SITE';
  190. padding-right: 0.5rem;
  191. }
  192. &::after{
  193. content: '|';
  194. padding-left: 1rem;
  195. padding-right: 1rem;
  196. }
  197. }
  198. .field--name-field-adresse-site{
  199. order: 3;
  200. p.address{
  201. padding-left: 0;
  202. margin: 0;
  203. display: inline-flex;
  204. font-size: 1.3rem;
  205. font-weight: 500!important;
  206. .postal-code{
  207. order: 2;
  208. }
  209. .locality{
  210. order: 1;
  211. text-transform: capitalize;
  212. margin-right: 0.5rem;
  213. }
  214. .country{
  215. display: none;
  216. }
  217. }
  218. }
  219. }
  220. .field--name-field-architecte{
  221. order: 4;
  222. text-transform: capitalize;
  223. font-weight: 400;
  224. font-size: 1.2rem;
  225. }
  226. ul.links{
  227. order: 5;
  228. text-transform: uppercase;
  229. padding: 0;
  230. margin: 0;
  231. border: none;
  232. padding-bottom: 2rem;
  233. padding-top: 0.9rem;
  234. display: inline-flex;
  235. &::after{
  236. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  237. padding-left: 0.5rem;
  238. }
  239. }
  240. }
  241. }
  242. }
  243. }
  244. }
  245. }