mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 23:36:21 +08:00
fix(search): New X, focus styling for search
Fixes T3485
This commit is contained in:
parent
3a5f667a0b
commit
659bac0069
|
@ -57,9 +57,11 @@ class SearchBar extends React.Component
|
|||
key="accessory"
|
||||
mode={RetinaImg.Mode.ContentDark}
|
||||
onClick={@_doSearch} />
|
||||
<div className="search-accessory clear"
|
||||
key="clear"
|
||||
onClick={@_onClearSearch}><i className="fa fa-remove"></i></div>
|
||||
<RetinaImg className="search-accessory clear"
|
||||
name="searchclear.png"
|
||||
key="clear"
|
||||
mode={RetinaImg.Mode.ContentDark}
|
||||
onClick={@_onClearSearch} />
|
||||
]
|
||||
|
||||
itemContentFunc = (item) =>
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
&.clear {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
color: @input-accessory-color;
|
||||
right: @padding-base-horizontal;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
BIN
static/images/search/searchclear@2x.png
Normal file
BIN
static/images/search/searchclear@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -34,7 +34,8 @@ input[type="url"] {
|
|||
input[type="text"]:focus,
|
||||
input[type="email"]:focus, {
|
||||
&.input-bordered {
|
||||
box-shadow: 0 0 3px @accent-primary;
|
||||
border: 1px solid @accent-primary;
|
||||
box-shadow: 0 0 1.5px @accent-primary;
|
||||
}
|
||||
}
|
||||
body.platform-win32 {
|
||||
|
|
Loading…
Reference in a new issue