forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* scope Search scss, reduce custom styling * use translation for loading and no results found * remove unnescessary test
- Loading branch information
1 parent
146f435
commit 2a25efc
Showing
9 changed files
with
215 additions
and
237 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
.resultsContainer mark { | ||
background: none; | ||
color: inherit; | ||
} | ||
|
||
.searchResultTitle mark { | ||
color: var(--color-auto-blue-5); | ||
} | ||
|
||
.searchResultIntro mark { | ||
border-bottom: 1px solid var(--color-auto-blue-5); | ||
} | ||
|
||
.searchResultContent mark { | ||
text-decoration: none; | ||
border-bottom: 1px dotted var(--color-auto-gray-5); | ||
} | ||
|
||
.searchResultTitle em { | ||
font-style: normal; | ||
text-decoration: underline; | ||
} | ||
|
||
.resultsContainerOverlay { | ||
display: none; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
width: 0; | ||
border-radius: 3px; | ||
background: var(--color-bg-primary); | ||
box-shadow: 0 1px 15px rgba(0, 0, 0, 0.15); | ||
transition: width 0.3s ease-in-out; | ||
padding: 64px 24px 24px; | ||
} | ||
|
||
.resultsContainerOpen { | ||
display: block; | ||
} | ||
.resultsContainerOpen.resultsContainerOverlay { | ||
width: 60vw; | ||
max-width: 760px; | ||
} | ||
|
||
.searchInput { | ||
transition: width 0.3s ease-in-out; | ||
} | ||
.searchInputOverlay { | ||
max-width: 690px; | ||
width: 256px; | ||
} | ||
.searchInputExpanded { | ||
width: 55vw; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
} | ||
|
||
.searchOverlayOpen { | ||
background: var(--color-bg-backdrop); | ||
position: fixed; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
display: block; | ||
} |
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 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 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 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 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
Oops, something went wrong.