Skip to content

Commit

Permalink
Add margins & theme colors to viewfinder
Browse files Browse the repository at this point in the history
Issues #1796, #2277
  • Loading branch information
Robyn Thiessen-Bock committed Mar 26, 2024
1 parent 8103ffd commit 1bedaad
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/css/map-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -1365,15 +1365,19 @@ other class: .ui-slider-range */
width: 100%;
}

.viewfinder__search-input {
margin: 0 24px;
}

.viewfinder-predictions {
list-style: none;
margin: 0;
margin: -16px 24px 0 24px;

.viewfinder-prediction__content {
align-items: center;
background: var(--map-col-bkg, var(--map-col-bkg__deprecate));
background: var(--map-col-content-bkg, var(--map-col-bkg__deprecate));
/* TODO(ianguerin) */
border: 1px solid var(--portal-col-bkg-active);
border: 1px solid var(--map-col-border);
border-radius: 4px;
box-sizing: border-box;
/* TODO(ianguerin) */
Expand All @@ -1399,12 +1403,10 @@ other class: .ui-slider-range */
text-align: center;
}

&:hover {
background-color: var(--map-col-bkg-lightest, var(--map-col-bkg-lighter));
}

&:hover,
&.viewfinder-prediction__focused {
background-color: var(--map-col-bkg-lighter, var(--map-col-bkg-lighter__deprecate));
border-color: var(--portal-col-border-highlight);
background-color: var(--map-col-content-bkg-highlight, var(--map-col-bkg-lighter__deprecate));
}
}
}

0 comments on commit 1bedaad

Please sign in to comment.