Skip to content

Commit

Permalink
early linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rrusher committed Mar 6, 2024
1 parent a7df658 commit dbd79fc
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 30 deletions.
60 changes: 30 additions & 30 deletions blocks/property-result-listing/property-result-listing.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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 {
Expand All @@ -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);
Expand All @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions blocks/property-result-map/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dbd79fc

Please sign in to comment.