From dbd79fc167d2e4401fc709c275f730e791ddb35d Mon Sep 17 00:00:00 2001 From: Rob Rusher Date: Wed, 6 Mar 2024 12:56:02 -0700 Subject: [PATCH] early linting --- .../property-result-listing.css | 60 +++++++++---------- blocks/property-result-map/map.css | 2 + 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/blocks/property-result-listing/property-result-listing.css b/blocks/property-result-listing/property-result-listing.css index 099e5e97..ef9a1700 100644 --- a/blocks/property-result-listing/property-result-listing.css +++ b/blocks/property-result-listing/property-result-listing.css @@ -71,6 +71,24 @@ z-index: 1; } +.property-result-listing.block .disclaimer { + font-family: var(--font-family-proxima); + font-size: var(--body-font-size-xs); + font-weight: var(--font-weight-normal); + letter-spacing: var(--letter-spacing-s); + color: var(--dark-grey); + line-height: var(--line-height-m); +} + +.property-result-listing.block .property-result-map-container .disclaimer { + display: block; +} + +.property-result-listing.block [name="Page"] { + display: flex; + justify-content: flex-end; +} + .search-map-active .property-result-listing.block .property-list-cards, .search-map-active .property-result-listing.block [name="Page"], .search-map-active .property-result-listing.block .property-result-content .disclaimer { @@ -119,11 +137,6 @@ display: none; } -.property-result-listing.block [name="Page"] { - display: flex; - justify-content: flex-end; -} - .property-result-listing.block [name="Page"] .select-selected, .property-result-listing.block [name="Page"] .search-results-dropdown .select-item li { font-size: var(--body-font-size-xs); @@ -203,19 +216,6 @@ transform: rotate(-45deg) translate(-3px,-3px); } -.property-result-listing.block .disclaimer { - font-family: var(--font-family-proxima); - font-size: var(--body-font-size-xs); - font-weight: var(--font-weight-normal); - letter-spacing: var(--letter-spacing-s); - color: var(--dark-grey); - line-height: var(--line-height-m); -} - -.property-result-listing.block .property-result-map-container .disclaimer { - display: block; -} - .property-result-listing.block .disclaimer hr { height: 1px; background: var(--grey); @@ -299,6 +299,18 @@ text-align: center; flex-direction: row; } + .property-result-listing.block .property-list-cards { + grid-template: repeat(8, 0fr) / repeat(4, 1fr); + } + + .search-map-active .property-result-listing.block .property-result-content .disclaimer { + display: block; + } + + .property-result-listing.block .property-result-map-container .disclaimer { + display: none; + } + .search-map-active .property-result-listing.block .property-list-cards, .search-map-active .property-result-listing.block [name="Page"], .search-map-active .property-result-listing.block .property-list-cards .property-result-content .disclaimer { @@ -323,14 +335,6 @@ text-align: center; justify-content: flex-end; } - .property-result-listing.block .property-result-map-container .disclaimer { - display: none; - } - - .search-map-active .property-result-listing.block .property-result-content .disclaimer { - display: block; - } - .property-result-listing.block [class*="disclaimer"] * { font-family: var(--font-family-proxima); font-size: var(--body-font-size-xs); @@ -351,10 +355,6 @@ text-align: center; .property-result-listing.block .property-search-results-buttons { display: none; } - - .property-result-listing.block .property-list-cards { - grid-template: repeat(8, 0fr) / repeat(4, 1fr); - } } @media (min-width: 1200px) { diff --git a/blocks/property-result-map/map.css b/blocks/property-result-map/map.css index e1318ac9..d384ab7b 100644 --- a/blocks/property-result-map/map.css +++ b/blocks/property-result-map/map.css @@ -363,9 +363,11 @@ .property-search-template .property-result-map-container { display: none; } + .property-search-template.search-map-active .property-result-map-container { display: block; } + /* end */ @media (min-width: 600px) {