-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use autocomplete for font selection.
- Loading branch information
1 parent
91d59a1
commit 673d31c
Showing
5 changed files
with
106 additions
and
39 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
assets/src/stories-editor/components/font-family-picker/edit.css
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,30 @@ | ||
.autocomplete__wrapper .autocomplete__menu { | ||
border-color: #007cba; | ||
width: 101%; | ||
border-bottom-left-radius: 4px !important; | ||
border-bottom-right-radius: 4px !important; | ||
margin-top: -3px; | ||
padding-top: 3px; | ||
} | ||
.autocomplete__icon { | ||
position: absolute; | ||
top: 4px; | ||
right: 4px; | ||
} | ||
|
||
.autocomplete__option{ | ||
border-bottom: 0px none; | ||
padding: 6px 8px; | ||
font-size: 13px; | ||
} | ||
.autocomplete__option--focused, | ||
.autocomplete__option:hover { | ||
background-color: #0071a1; | ||
border-color: #0071a1; | ||
} | ||
.autocomplete__wrapper .autocomplete__input.autocomplete__input--focused{ | ||
color: #191e23; | ||
border-color: #007cba; | ||
box-shadow: 0 0 0 1px #007cba; | ||
outline: 2px solid transparent; | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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