les-sites-pilotes.scss 11 KB

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