les-sites-pilotes.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. .page-sitespilotes{
  2. h1{
  3. width: 80%;
  4. margin: auto;
  5. font-weight: 1000;
  6. }
  7. .view-display-id-page_1{
  8. width: 80%;
  9. margin: auto;
  10. display: flex;
  11. flex-direction: row;
  12. flex-wrap: wrap;
  13. align-items: baseline;
  14. justify-content: space-between;
  15. article{
  16. padding-bottom: 0.7rem;
  17. }
  18. .views-row{
  19. width: 28%;
  20. padding: 1rem;
  21. &:hover{
  22. transform: scale(1.05);
  23. transition: 0.3s transform ease, 0.3s box-shadow ease;
  24. }
  25. .node-type-site{
  26. background-color: white;
  27. .entete_site{
  28. display: flex;
  29. flex-direction: column;
  30. .image-site{
  31. order: 1;
  32. .field--name-field-image{
  33. max-width: 100%;
  34. img{
  35. width: 100%;
  36. object-fit: cover;
  37. height: fit-content;
  38. }
  39. }
  40. }
  41. .infos-content-site{
  42. background-color: $white-button;
  43. order: 2;
  44. display: flex;
  45. flex-direction: column;
  46. padding-left: 1rem;
  47. padding-right: 1rem;
  48. padding-top: 0.5rem;
  49. h1{display: none;}
  50. h2{
  51. order: 2;
  52. margin: 0;
  53. font-size: 1.6rem;
  54. font-weight: 900;
  55. line-height: 1;
  56. padding-bottom: 0.8rem;
  57. }
  58. .first-row{
  59. order: 1;
  60. display:flex;
  61. flex-direction: row;
  62. align-items: end;
  63. padding-bottom: 0.5rem;
  64. .field--name-field-numero-site {
  65. order: 1;
  66. text-transform: uppercase;
  67. font-size: 1rem;
  68. display: inline-flex;
  69. &::after{
  70. content: '|';
  71. padding-left: 1rem;
  72. padding-right: 1rem;
  73. }
  74. }
  75. .field--name-field-adresse-site{
  76. order: 3;
  77. font-size: 1.2rem;
  78. .field__item{
  79. display: flex;
  80. }
  81. .address{
  82. margin: 0;
  83. display: inline-flex;
  84. .postal-code{
  85. order: 2;
  86. }
  87. .locality{
  88. order: 1;
  89. text-transform: capitalize;
  90. margin-right: 0.5rem;
  91. }
  92. .country{
  93. display: none;
  94. }
  95. }
  96. }
  97. }
  98. .field--name-field-architecte{
  99. order: 4;
  100. font-size: 1.2rem;
  101. .field__items{
  102. display: flex;
  103. flex-direction: row;
  104. flex-wrap: wrap;
  105. .field__item{
  106. display: inline;
  107. &::after{
  108. content:',';
  109. padding-right: 0.5rem;
  110. }
  111. }
  112. }
  113. .field__item:last-of-type::after {
  114. content: '';
  115. }
  116. }
  117. ul.links{
  118. order: 5;
  119. text-transform: uppercase;
  120. padding: 0;
  121. margin: 0;
  122. border: none;
  123. padding-bottom: 1rem;
  124. padding-top: 3rem;
  125. display: inline-flex;
  126. &::after{
  127. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  128. padding-left: 0.5rem;
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }
  135. footer{
  136. background-color: transparent;
  137. text-transform: none !important;
  138. p{
  139. font-size: 2rem;
  140. padding-left: 1rem;
  141. font-weight: 1000;
  142. }
  143. .view-display-id-block_2{
  144. display: flex;
  145. flex-direction: row;
  146. flex-wrap: wrap;
  147. align-items: baseline;
  148. justify-content: space-between;
  149. .views-row{
  150. width: 28%;
  151. padding: 1rem;
  152. &:hover{
  153. transform: none;
  154. }
  155. .node-type-site{
  156. margin: auto;
  157. display: flex;
  158. flex-direction: column;
  159. width: 100%;
  160. background-color: transparent;
  161. .infos-content-site{
  162. background-color: transparent;
  163. order: 2;
  164. display: flex;
  165. flex-direction: column;
  166. padding-left: 1rem;
  167. padding-right: 1rem;;
  168. padding-right: 1rem;
  169. h2{
  170. order: 2;
  171. margin: 0;
  172. font-size: 1.6rem;
  173. font-weight: 900;
  174. line-height: 1;
  175. a{
  176. cursor: default !important;
  177. pointer-events: none;
  178. }
  179. }
  180. .first-row{
  181. order: 1;
  182. display:flex;
  183. flex-direction: row;
  184. align-items: center;
  185. padding-bottom: 0.5rem;
  186. .field--name-field-lettre-de-site {
  187. order: 1;
  188. text-transform: uppercase;
  189. font-size: 1rem;
  190. font-weight: 400;
  191. display: flex;
  192. align-items: center;
  193. &::before{
  194. content:'SITE';
  195. padding-right: 0.5rem;
  196. }
  197. &::after{
  198. content: '|';
  199. padding-left: 1rem;
  200. padding-right: 1rem;
  201. }
  202. }
  203. .field--name-field-adresse-site{
  204. order: 3;
  205. p.address{
  206. padding-left: 0;
  207. margin: 0;
  208. display: inline-flex;
  209. font-size: 1.3rem;
  210. font-weight: 500!important;
  211. .postal-code{
  212. order: 2;
  213. }
  214. .locality{
  215. order: 1;
  216. text-transform: capitalize;
  217. margin-right: 0.5rem;
  218. }
  219. .country{
  220. display: none;
  221. }
  222. }
  223. }
  224. }
  225. .field--name-field-architecte{
  226. order: 4;
  227. text-transform: capitalize;
  228. font-weight: 400;
  229. font-size: 1.2rem;
  230. }
  231. ul.links{
  232. order: 5;
  233. text-transform: uppercase;
  234. padding: 0;
  235. margin: 0;
  236. border: none;
  237. padding-bottom: 2rem;
  238. padding-top: 0.9rem;
  239. display: inline-flex;
  240. &::after{
  241. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  242. padding-left: 0.5rem;
  243. }
  244. }
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. }
  252. .block-page-title-block{
  253. padding-left: 1rem;
  254. h1{
  255. font-weight: 1000;
  256. }
  257. }
  258. .view-display-id-page_1{
  259. display: flex;
  260. flex-direction: row;
  261. flex-wrap: wrap;
  262. align-items: baseline;
  263. justify-content: space-between;
  264. article{
  265. padding-bottom: 0.7rem;
  266. }
  267. .views-row{
  268. width: 28%;
  269. padding: 1rem;
  270. &:hover{
  271. transform: scale(1.05);
  272. transition: 0.3s transform ease, 0.3s box-shadow ease;
  273. }
  274. .node-type-site{
  275. margin: auto;
  276. display: flex;
  277. flex-direction: column;
  278. width: 100%;
  279. background-color: white;
  280. .field--name-field-image{
  281. order: 1;
  282. max-width: 100%;
  283. img{
  284. width: 100%;
  285. object-fit: cover;
  286. height: fit-content;
  287. }
  288. }
  289. .infos-content-site{
  290. background-color: $white-button;
  291. order: 2;
  292. display: flex;
  293. flex-direction: column;
  294. padding-left: 1rem;
  295. padding-right: 1rem;
  296. padding-top: 0.5rem;
  297. h1{display: none;}
  298. h2{
  299. order: 2;
  300. margin: 0;
  301. font-size: 1.6rem;
  302. font-weight: 900;
  303. line-height: 1;
  304. padding-bottom: 0.8rem;
  305. }
  306. .first-row{
  307. order: 1;
  308. display:flex;
  309. flex-direction: row;
  310. align-items: end;
  311. padding-bottom: 0.5rem;
  312. .field--name-field-numero-site {
  313. order: 1;
  314. text-transform: uppercase;
  315. font-size: 1rem;
  316. display: inline-flex;
  317. &::after{
  318. content: '|';
  319. padding-left: 1rem;
  320. padding-right: 1rem;
  321. }
  322. }
  323. .field--name-field-adresse-site{
  324. order: 3;
  325. font-size: 1.2rem;
  326. .field__item{
  327. display: flex;
  328. }
  329. .address{
  330. margin: 0;
  331. display: inline-flex;
  332. .postal-code{
  333. order: 2;
  334. }
  335. .locality{
  336. order: 1;
  337. text-transform: capitalize;
  338. margin-right: 0.5rem;
  339. }
  340. .country{
  341. display: none;
  342. }
  343. }
  344. }
  345. }
  346. .field--name-field-architecte{
  347. order: 4;
  348. font-size: 1.2rem;
  349. .field__items{
  350. display: flex;
  351. flex-direction: row;
  352. flex-wrap: wrap;
  353. .field__item{
  354. display: inline;
  355. &::after{
  356. content:',';
  357. padding-right: 0.5rem;
  358. }
  359. }
  360. }
  361. .field__item:last-of-type::after {
  362. content: '';
  363. }
  364. }
  365. ul.links{
  366. order: 5;
  367. text-transform: uppercase;
  368. padding: 0;
  369. margin: 0;
  370. border: none;
  371. padding-bottom: 1rem;
  372. padding-top: 3rem;
  373. display: inline-flex;
  374. &::after{
  375. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  376. padding-left: 0.5rem;
  377. }
  378. }
  379. }
  380. }
  381. }
  382. footer{
  383. background-color: transparent;
  384. text-transform: none !important;
  385. p{
  386. font-size: 2rem;
  387. padding-left: 1rem;
  388. font-weight: 1000;
  389. }
  390. .view-display-id-block_2{
  391. display: flex;
  392. flex-direction: row;
  393. flex-wrap: wrap;
  394. align-items: baseline;
  395. justify-content: space-between;
  396. .views-row{
  397. width: 28%;
  398. padding: 1rem;
  399. &:hover{
  400. transform: none;
  401. }
  402. .node-type-site{
  403. margin: auto;
  404. display: flex;
  405. flex-direction: column;
  406. width: 100%;
  407. background-color: transparent;
  408. .infos-content-site{
  409. background-color: transparent;
  410. order: 2;
  411. display: flex;
  412. flex-direction: column;
  413. padding-left: 1rem;
  414. padding-right: 1rem;;
  415. padding-right: 1rem;
  416. h2{
  417. order: 2;
  418. margin: 0;
  419. font-size: 1.6rem;
  420. font-weight: 900;
  421. line-height: 1;
  422. a{
  423. cursor: default !important;
  424. pointer-events: none;
  425. }
  426. }
  427. .first-row{
  428. order: 1;
  429. display:flex;
  430. flex-direction: row;
  431. align-items: center;
  432. padding-bottom: 0.5rem;
  433. .field--name-field-lettre-de-site {
  434. order: 1;
  435. text-transform: uppercase;
  436. font-size: 1rem;
  437. font-weight: 400;
  438. display: flex;
  439. align-items: center;
  440. &::before{
  441. content:'SITE';
  442. padding-right: 0.5rem;
  443. }
  444. &::after{
  445. content: '|';
  446. padding-left: 1rem;
  447. padding-right: 1rem;
  448. }
  449. }
  450. .field--name-field-adresse-site{
  451. order: 3;
  452. p.address{
  453. padding-left: 0;
  454. margin: 0;
  455. display: inline-flex;
  456. font-size: 1.3rem;
  457. font-weight: 500!important;
  458. .postal-code{
  459. order: 2;
  460. }
  461. .locality{
  462. order: 1;
  463. text-transform: capitalize;
  464. margin-right: 0.5rem;
  465. }
  466. .country{
  467. display: none;
  468. }
  469. }
  470. }
  471. }
  472. .field--name-field-architecte{
  473. order: 4;
  474. text-transform: capitalize;
  475. font-weight: 400;
  476. font-size: 1.2rem;
  477. }
  478. ul.links{
  479. order: 5;
  480. text-transform: uppercase;
  481. padding: 0;
  482. margin: 0;
  483. border: none;
  484. padding-bottom: 2rem;
  485. padding-top: 0.9rem;
  486. display: inline-flex;
  487. &::after{
  488. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  489. padding-left: 0.5rem;
  490. }
  491. }
  492. }
  493. }
  494. }
  495. }
  496. }
  497. }