-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace custom search with vertex search widget
- Loading branch information
1 parent
8d4cc04
commit 41b7296
Showing
11 changed files
with
13 additions
and
401 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,15 @@ | ||
@use 'mixins'; | ||
|
||
.searchbar { | ||
display: none; | ||
position: relative; | ||
} | ||
|
||
.mag { | ||
svg { | ||
color: var(--mm-color-primary-text); | ||
left: calc(var(--mm-spacing) / 2); | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
} | ||
} | ||
|
||
.searchbar__open { | ||
display: inline-block; | ||
left: calc(50% - 20px); | ||
margin: 0 calc(var(--mm-spacing) / 2); | ||
max-width: calc(var(--mm-max-content-width) - var(--mm-spacing) ); | ||
position: absolute; | ||
top: calc(50% + 5px); | ||
transform: translate(-50%, -50%); | ||
width: calc(100% - (var(--mm-spacing))); | ||
z-index: 100; | ||
} | ||
|
||
.search { | ||
position: relative; | ||
} | ||
|
||
.search__button { | ||
@include mixins.menu-button; | ||
float: right; | ||
|
||
svg { | ||
margin-top: 3px; | ||
} | ||
} | ||
|
||
.input { | ||
appearance: none !important; | ||
border: 1px solid var(--mm-color-border); | ||
border-radius: var(--mm-border-radius); | ||
color: var(--mm-color-primary-text); | ||
padding: 12px 10px 12px calc(var(--mm-spacing) + 15px); | ||
width: 100%; | ||
|
||
&::placeholder { | ||
opacity: 0.5; | ||
} | ||
|
||
&:focus { | ||
box-shadow: 0 0 0 2px var(--mm-color-logo-blue-light); | ||
outline: none; | ||
} | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
.search__button svg { | ||
margin-top: 3px; | ||
pointer-events: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.