_les-sites-pilotes.scss 11 KB

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