fix(search): New X, focus styling for search

Fixes T3485
This commit is contained in:
Ben Gotow 2015-10-27 11:28:11 -07:00
parent 3a5f667a0b
commit 659bac0069
4 changed files with 8 additions and 5 deletions

View file

@ -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) =>

View file

@ -74,8 +74,8 @@
&.clear {
position: absolute;
top: 4px;
right: 4px;
color: @input-accessory-color;
right: @padding-base-horizontal;
display: none;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View file

@ -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 {