les-sites-pilotes.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. .page-actualites{
  2. h1{
  3. width: 80%;
  4. margin: auto;
  5. font-weight: 1000;
  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. }
  247. }
  248. .block-page-title-block{
  249. padding-left: 1rem;
  250. h1{
  251. font-weight: 1000;
  252. }
  253. }
  254. .view-display-id-page_1{
  255. display: flex;
  256. flex-direction: row;
  257. flex-wrap: wrap;
  258. align-items: baseline;
  259. justify-content: space-between;
  260. article{
  261. padding-bottom: 0.7rem;
  262. }
  263. .views-row{
  264. width: 28%;
  265. padding: 1rem;
  266. &:hover{
  267. transform: scale(1.05);
  268. transition: 0.3s transform ease, 0.3s box-shadow ease;
  269. }
  270. .node-type-site{
  271. margin: auto;
  272. display: flex;
  273. flex-direction: column;
  274. width: 100%;
  275. background-color: white;
  276. .field--name-field-image{
  277. order: 1;
  278. max-width: 100%;
  279. img{
  280. width: 100%;
  281. object-fit: cover;
  282. height: fit-content;
  283. }
  284. }
  285. .infos-content-site{
  286. background-color: $white-button;
  287. order: 2;
  288. display: flex;
  289. flex-direction: column;
  290. padding-left: 1rem;
  291. padding-right: 1rem;
  292. padding-top: 0.5rem;
  293. h1{display: none;}
  294. h2{
  295. order: 2;
  296. margin: 0;
  297. font-size: 1.6rem;
  298. font-weight: 900;
  299. line-height: 1;
  300. padding-bottom: 0.8rem;
  301. }
  302. .first-row{
  303. order: 1;
  304. display:flex;
  305. flex-direction: row;
  306. align-items: end;
  307. padding-bottom: 0.5rem;
  308. .field--name-field-numero-site {
  309. order: 1;
  310. text-transform: uppercase;
  311. font-size: 1rem;
  312. display: inline-flex;
  313. &::after{
  314. content: '|';
  315. padding-left: 1rem;
  316. padding-right: 1rem;
  317. }
  318. }
  319. .field--name-field-adresse-site{
  320. order: 3;
  321. font-size: 1.2rem;
  322. .field__item{
  323. display: flex;
  324. }
  325. .address{
  326. margin: 0;
  327. display: inline-flex;
  328. .postal-code{
  329. order: 2;
  330. }
  331. .locality{
  332. order: 1;
  333. text-transform: capitalize;
  334. margin-right: 0.5rem;
  335. }
  336. .country{
  337. display: none;
  338. }
  339. }
  340. }
  341. }
  342. .field--name-field-architecte{
  343. order: 4;
  344. font-size: 1.2rem;
  345. .field__items{
  346. display: flex;
  347. flex-direction: row;
  348. flex-wrap: wrap;
  349. .field__item{
  350. display: inline;
  351. &::after{
  352. content:',';
  353. padding-right: 0.5rem;
  354. }
  355. }
  356. }
  357. .field__item:last-of-type::after {
  358. content: '';
  359. }
  360. }
  361. ul.links{
  362. order: 5;
  363. text-transform: uppercase;
  364. padding: 0;
  365. margin: 0;
  366. border: none;
  367. padding-bottom: 1rem;
  368. padding-top: 3rem;
  369. display: inline-flex;
  370. &::after{
  371. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  372. padding-left: 0.5rem;
  373. }
  374. }
  375. }
  376. }
  377. }
  378. footer{
  379. background-color: transparent;
  380. text-transform: none !important;
  381. p{
  382. font-size: 2rem;
  383. padding-left: 1rem;
  384. font-weight: 1000;
  385. }
  386. .view-display-id-block_2{
  387. display: flex;
  388. flex-direction: row;
  389. flex-wrap: wrap;
  390. align-items: baseline;
  391. justify-content: space-between;
  392. .views-row{
  393. width: 28%;
  394. padding: 1rem;
  395. &:hover{
  396. transform: none;
  397. }
  398. .node-type-site{
  399. margin: auto;
  400. display: flex;
  401. flex-direction: column;
  402. width: 100%;
  403. background-color: transparent;
  404. .infos-content-site{
  405. background-color: transparent;
  406. order: 2;
  407. display: flex;
  408. flex-direction: column;
  409. padding-left: 1rem;
  410. padding-right: 1rem;;
  411. padding-right: 1rem;
  412. h2{
  413. order: 2;
  414. margin: 0;
  415. font-size: 1.6rem;
  416. font-weight: 900;
  417. line-height: 1;
  418. a{
  419. cursor: default !important;
  420. pointer-events: none;
  421. }
  422. }
  423. .first-row{
  424. order: 1;
  425. display:flex;
  426. flex-direction: row;
  427. align-items: center;
  428. padding-bottom: 0.5rem;
  429. .field--name-field-lettre-de-site {
  430. order: 1;
  431. text-transform: uppercase;
  432. font-size: 1rem;
  433. font-weight: 400;
  434. display: flex;
  435. align-items: center;
  436. &::before{
  437. content:'SITE';
  438. padding-right: 0.5rem;
  439. }
  440. &::after{
  441. content: '|';
  442. padding-left: 1rem;
  443. padding-right: 1rem;
  444. }
  445. }
  446. .field--name-field-adresse-site{
  447. order: 3;
  448. p.address{
  449. padding-left: 0;
  450. margin: 0;
  451. display: inline-flex;
  452. font-size: 1.3rem;
  453. font-weight: 500!important;
  454. .postal-code{
  455. order: 2;
  456. }
  457. .locality{
  458. order: 1;
  459. text-transform: capitalize;
  460. margin-right: 0.5rem;
  461. }
  462. .country{
  463. display: none;
  464. }
  465. }
  466. }
  467. }
  468. .field--name-field-architecte{
  469. order: 4;
  470. text-transform: capitalize;
  471. font-weight: 400;
  472. font-size: 1.2rem;
  473. }
  474. ul.links{
  475. order: 5;
  476. text-transform: uppercase;
  477. padding: 0;
  478. margin: 0;
  479. border: none;
  480. padding-bottom: 2rem;
  481. padding-top: 0.9rem;
  482. display: inline-flex;
  483. &::after{
  484. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  485. padding-left: 0.5rem;
  486. }
  487. }
  488. }
  489. }
  490. }
  491. }
  492. }
  493. }