[Search] Font and spacing

Use em for filter options positioning. Cursor
as pointer for menu. Results list padding fix.
This commit is contained in:
slhale 2015-08-14 11:52:11 -07:00
parent bcea3832ed
commit d6d16f8f1c
2 changed files with 38 additions and 36 deletions

View File

@ -366,28 +366,29 @@ ul.tree {
padding-left: 4px; padding-left: 4px;
padding-right: 6px; padding-right: 6px;
font-size: 0.8em; font-size: 0.8em;
color: #e6e6e6; } color: #e6e6e6;
/* line 164, ../sass/search/_search.scss */ cursor: pointer; }
/* line 166, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox { .search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox {
margin-top: 0.3em; margin-top: 0.3em;
padding-left: 0; padding-left: 0;
margin-right: 0; margin-right: 0;
padding-right: 3px; } padding-right: 3px; }
/* line 177, ../sass/search/_search.scss */ /* line 179, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox em:before { .search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox em:before {
color: white; color: white;
background-color: grey; } background-color: grey; }
/* line 185, ../sass/search/_search.scss */ /* line 187, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-glyph { .search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-glyph {
color: #3dcfff; } color: #3dcfff; }
/* line 189, ../sass/search/_search.scss */ /* line 191, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special { .search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special {
font-weight: bold; font-weight: bold;
background-color: #666666; } background-color: #666666; }
/* line 193, ../sass/search/_search.scss */ /* line 195, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special .search-menu-label { .search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special .search-menu-label {
font-size: 1.1em; } font-size: 1.1em; }
/* line 202, ../sass/search/_search.scss */ /* line 204, ../sass/search/_search.scss */
.search-holder .search .search-bar .search-menu-holder:after { .search-holder .search .search-bar .search-menu-holder:after {
position: absolute; position: absolute;
top: -6px; top: -6px;
@ -397,13 +398,13 @@ ul.tree {
border-bottom: 6px solid #5e5e5e; border-bottom: 6px solid #5e5e5e;
border-left: 6px solid transparent; border-left: 6px solid transparent;
content: ''; } content: ''; }
/* line 215, ../sass/search/_search.scss */ /* line 217, ../sass/search/_search.scss */
.search-holder .search .search-bar .menu-icon:hover + div.search-menu-holder { .search-holder .search .search-bar .menu-icon:hover + div.search-menu-holder {
visibility: visible; } visibility: visible; }
/* line 218, ../sass/search/_search.scss */ /* line 220, ../sass/search/_search.scss */
.search-holder .search .search-bar div.search-menu-holder:hover { .search-holder .search .search-bar div.search-menu-holder:hover {
visibility: visible; } visibility: visible; }
/* line 223, ../sass/search/_search.scss */ /* line 225, ../sass/search/_search.scss */
.search-holder .search .active-filter-display { .search-holder .search .active-filter-display {
order: 2; order: 2;
font-size: .6em; font-size: .6em;
@ -414,33 +415,32 @@ ul.tree {
padding-right: 4px; padding-right: 4px;
overflow: hidden; overflow: hidden;
margin-top: 2px; } margin-top: 2px; }
/* line 236, ../sass/search/_search.scss */ /* line 238, ../sass/search/_search.scss */
.search-holder .search .active-filter-display .clear-filters-icon { .search-holder .search .active-filter-display .clear-filters-icon {
padding: 4px; padding: 4px;
position: relative; position: relative;
margin-left: -4px; margin-left: -4px;
top: 0.2em; top: 0.3em;
cursor: pointer; cursor: pointer;
color: #737373; color: #737373;
font-size: 6px; } font-size: 6px; }
/* line 249, ../sass/search/_search.scss */ /* line 251, ../sass/search/_search.scss */
.search-holder .search .active-filter-display .filter-options { .search-holder .search .active-filter-display .filter-options {
position: relative; position: relative;
top: -8px; top: -0.7em;
margin-bottom: -6px; margin-bottom: -5px;
margin-left: 14px; margin-left: 14px;
text-indent: -4px; } text-indent: -4px; }
/* line 260, ../sass/search/_search.scss */ /* line 262, ../sass/search/_search.scss */
.search-holder .search .search-scroll { .search-holder .search .search-scroll {
order: 3; order: 3;
padding-right: 5px;
margin-top: 4px; margin-top: 4px;
overflow-y: auto; overflow-y: auto;
top: auto; top: auto;
height: auto; height: auto;
max-height: 100%; max-height: 100%;
position: relative; } position: relative; }
/* line 275, ../sass/search/_search.scss */ /* line 277, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item { .search-holder .search .search-scroll .results .search-result-item {
-moz-transition: background-color 0.25s; -moz-transition: background-color 0.25s;
-o-transition: background-color 0.25s; -o-transition: background-color 0.25s;
@ -450,10 +450,10 @@ ul.tree {
border-radius: 2px; border-radius: 2px;
padding-top: 4px; padding-top: 4px;
padding-bottom: 2px; } padding-bottom: 2px; }
/* line 289, ../sass/search/_search.scss */ /* line 291, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item .label { .search-holder .search .search-scroll .results .search-result-item .label {
margin-left: 6px; } margin-left: 6px; }
/* line 293, ../sass/search/_search.scss */ /* line 295, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item .label .title-label { .search-holder .search .search-scroll .results .search-result-item .label .title-label {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
@ -465,47 +465,47 @@ ul.tree {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; } white-space: nowrap; }
/* line 315, ../sass/search/_search.scss */ /* line 317, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item.selected { .search-holder .search .search-scroll .results .search-result-item.selected {
background: #005177; background: #005177;
color: #fff; } color: #fff; }
/* line 319, ../sass/search/_search.scss */ /* line 321, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item.selected .view-control { .search-holder .search .search-scroll .results .search-result-item.selected .view-control {
color: #0099cc; } color: #0099cc; }
/* line 322, ../sass/search/_search.scss */ /* line 324, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item.selected .label .type-icon { .search-holder .search .search-scroll .results .search-result-item.selected .label .type-icon {
color: #fff; } color: #fff; }
/* line 329, ../sass/search/_search.scss */ /* line 331, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover { .search-holder .search .search-scroll .results .search-result-item:not(.selected):hover {
background: #404040; background: #404040;
color: #cccccc; } color: #cccccc; }
/* line 332, ../sass/search/_search.scss */ /* line 334, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .context-trigger { .search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .context-trigger {
display: block; } display: block; }
/* line 335, ../sass/search/_search.scss */ /* line 337, ../sass/search/_search.scss */
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .icon { .search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .icon {
color: #33ccff; } color: #33ccff; }
/* line 343, ../sass/search/_search.scss */ /* line 345, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-icon { .search-holder .search .search-scroll .load-icon {
position: relative; } position: relative; }
/* line 345, ../sass/search/_search.scss */ /* line 347, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-icon.loading { .search-holder .search .search-scroll .load-icon.loading {
pointer-events: none; pointer-events: none;
margin-left: 6px; } margin-left: 6px; }
/* line 349, ../sass/search/_search.scss */ /* line 351, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-icon.loading .title-label { .search-holder .search .search-scroll .load-icon.loading .title-label {
font-style: italic; font-style: italic;
font-size: .9em; font-size: .9em;
opacity: 0.5; opacity: 0.5;
margin-left: 26px; margin-left: 26px;
line-height: 24px; } line-height: 24px; }
/* line 359, ../sass/search/_search.scss */ /* line 361, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-icon.loading .wait-spinner { .search-holder .search .search-scroll .load-icon.loading .wait-spinner {
margin-left: 6px; } margin-left: 6px; }
/* line 364, ../sass/search/_search.scss */ /* line 366, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-icon:not(.loading) { .search-holder .search .search-scroll .load-icon:not(.loading) {
cursor: pointer; } cursor: pointer; }
/* line 369, ../sass/search/_search.scss */ /* line 371, ../sass/search/_search.scss */
.search-holder .search .search-scroll .load-more-button { .search-holder .search .search-scroll .load-more-button {
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;

View File

@ -161,6 +161,8 @@
font-size: 0.8em; font-size: 0.8em;
color: lighten($colorBodyBg, 70%); color: lighten($colorBodyBg, 70%);
cursor: pointer;
.search-menu-checkbox { .search-menu-checkbox {
// Vertically center // Vertically center
margin-top: 0.3em; margin-top: 0.3em;
@ -238,7 +240,7 @@
position: relative; position: relative;
margin-left: -4px; margin-left: -4px;
top: 0.2em; top: 0.3em;
cursor: pointer; cursor: pointer;
@ -248,8 +250,8 @@
.filter-options { .filter-options {
position: relative; position: relative;
top: -8px; top: -0.7em;
margin-bottom: -6px; margin-bottom: -5px;
// Hanging indent // Hanging indent
margin-left: 14px; margin-left: 14px;
@ -260,7 +262,7 @@
.search-scroll { .search-scroll {
order: 3; order: 3;
padding-right: $rightPadding; //padding-right: $rightPadding;
margin-top: 4px; margin-top: 4px;
// Adjustable scrolling size // Adjustable scrolling size