[Search] Item background highlight
Each result item now has a highlighted background, with correct rounding of edges. Need to now detect when to highlight (on selection).
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
|
||||
span.search-holder {
|
||||
$iconwidth: 20px;
|
||||
.search-holder {
|
||||
$iconWidth: 20px;
|
||||
//$iconheight: 17px;
|
||||
$leftMargin: 8px;
|
||||
|
||||
.searchbar {
|
||||
width: 100%;
|
||||
@@ -34,8 +35,15 @@ span.search-holder {
|
||||
|
||||
.search-result-item {
|
||||
margin-bottom: 5px;
|
||||
background: $colorKeySelectedBg; // Later make this apply to only certain ones
|
||||
border-radius: 2px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 1px;
|
||||
|
||||
.label {
|
||||
//position: absolute;
|
||||
left: 15px;
|
||||
margin-left: $leftMargin;
|
||||
|
||||
.type-icon {
|
||||
.icon {
|
||||
@@ -47,10 +55,11 @@ span.search-holder {
|
||||
position: absolute;
|
||||
|
||||
width: auto;
|
||||
left: $iconwidth;
|
||||
left: $leftMargin + 3px + $iconWidth;
|
||||
right: 0;
|
||||
|
||||
font-size: .8em;
|
||||
line-height: 17px;
|
||||
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
Reference in New Issue
Block a user