mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
[Search] Checkbox style
Changed the checkboxes to be not blue.
This commit is contained in:
parent
5726dd0e0c
commit
c62e73f863
@ -276,13 +276,13 @@ ul.tree {
|
||||
padding-right: 5px;
|
||||
top: 23px;
|
||||
margin-top: 10px; }
|
||||
/* line 36, ../sass/search/_search.scss */
|
||||
/* line 37, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar {
|
||||
width: 100%;
|
||||
height: 19px;
|
||||
margin-top: 4px;
|
||||
position: relative; }
|
||||
/* line 46, ../sass/search/_search.scss */
|
||||
/* line 47, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-input {
|
||||
position: relative;
|
||||
top: -4px;
|
||||
@ -290,7 +290,7 @@ ul.tree {
|
||||
height: 19px;
|
||||
padding-right: 16px;
|
||||
padding-right: 28px; }
|
||||
/* line 59, ../sass/search/_search.scss */
|
||||
/* line 60, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-icon {
|
||||
color: #737373;
|
||||
font-size: 12px;
|
||||
@ -299,18 +299,18 @@ ul.tree {
|
||||
height: 0;
|
||||
margin-top: -19px;
|
||||
transition: visibility .15s, opacity .15s, color .2s; }
|
||||
/* line 73, ../sass/search/_search.scss */
|
||||
/* line 74, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-icon.content {
|
||||
visibility: hidden;
|
||||
opacity: 0; }
|
||||
/* line 81, ../sass/search/_search.scss */
|
||||
/* line 82, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-input:focus + div.search-icon {
|
||||
visibility: hidden;
|
||||
opacity: 0; }
|
||||
/* line 87, ../sass/search/_search.scss */
|
||||
/* line 88, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-input:hover + div.search-icon {
|
||||
color: #a6a6a6; }
|
||||
/* line 91, ../sass/search/_search.scss */
|
||||
/* line 92, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .clear-icon {
|
||||
position: absolute;
|
||||
display: block;
|
||||
@ -326,11 +326,11 @@ ul.tree {
|
||||
transition: visibility .15s, opacity .15s;
|
||||
right: 16px;
|
||||
padding-right: 2px; }
|
||||
/* line 111, ../sass/search/_search.scss */
|
||||
/* line 112, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .clear-icon.content {
|
||||
visibility: visible;
|
||||
opacity: 1; }
|
||||
/* line 121, ../sass/search/_search.scss */
|
||||
/* line 122, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .menu-icon {
|
||||
position: absolute;
|
||||
display: block;
|
||||
@ -342,41 +342,46 @@ ul.tree {
|
||||
right: 0px;
|
||||
top: -3px;
|
||||
transition: color .2s; }
|
||||
/* line 137, ../sass/search/_search.scss */
|
||||
/* line 138, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .menu-icon:hover {
|
||||
color: #a6a6a6; }
|
||||
/* line 142, ../sass/search/_search.scss */
|
||||
/* line 143, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder {
|
||||
float: right;
|
||||
margin-top: 17px;
|
||||
left: -25px; }
|
||||
/* line 147, ../sass/search/_search.scss */
|
||||
/* line 148, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu {
|
||||
border-top: 0; }
|
||||
/* line 150, ../sass/search/_search.scss */
|
||||
/* line 151, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-left: 4px;
|
||||
padding-right: 6px;
|
||||
font-size: 0.8em; }
|
||||
/* line 159, ../sass/search/_search.scss */
|
||||
font-size: 0.8em;
|
||||
color: #e6e6e6; }
|
||||
/* line 161, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox {
|
||||
margin-top: 0.3em;
|
||||
padding-left: 0;
|
||||
margin-right: 0;
|
||||
padding-right: 3px; }
|
||||
/* line 172, ../sass/search/_search.scss */
|
||||
/* line 174, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-checkbox em:before {
|
||||
color: white;
|
||||
background-color: grey; }
|
||||
/* line 182, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item .search-menu-glyph {
|
||||
color: white; }
|
||||
/* line 176, ../sass/search/_search.scss */
|
||||
color: #3dcfff; }
|
||||
/* line 186, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special {
|
||||
font-weight: bold;
|
||||
background-color: gray; }
|
||||
/* line 180, ../sass/search/_search.scss */
|
||||
background-color: #666666; }
|
||||
/* line 190, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder .search-menu .search-menu-item.special .search-menu-label {
|
||||
font-size: 1.1em; }
|
||||
/* line 189, ../sass/search/_search.scss */
|
||||
/* line 199, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .search-menu-holder:after {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
@ -386,17 +391,17 @@ ul.tree {
|
||||
border-bottom: 6px solid #5e5e5e;
|
||||
border-left: 6px solid transparent;
|
||||
content: ''; }
|
||||
/* line 202, ../sass/search/_search.scss */
|
||||
/* line 212, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar .menu-icon:hover + div.search-menu-holder {
|
||||
visibility: visible; }
|
||||
/* line 205, ../sass/search/_search.scss */
|
||||
/* line 215, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-bar div.search-menu-holder:hover {
|
||||
visibility: visible; }
|
||||
/* line 210, ../sass/search/_search.scss */
|
||||
/* line 220, ../sass/search/_search.scss */
|
||||
.search-holder .search .active-filter-display {
|
||||
font-size: .6em;
|
||||
height: auto; }
|
||||
/* line 214, ../sass/search/_search.scss */
|
||||
/* line 224, ../sass/search/_search.scss */
|
||||
.search-holder .search .active-filter-display .clear-filters-icon {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
@ -407,12 +412,15 @@ ul.tree {
|
||||
cursor: pointer;
|
||||
color: #737373;
|
||||
font-size: 6px; }
|
||||
/* line 230, ../sass/search/_search.scss */
|
||||
/* line 240, ../sass/search/_search.scss */
|
||||
.search-holder .search .active-filter-display.on + .search-scroll {
|
||||
top: 40px; }
|
||||
/* line 244, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll {
|
||||
top: 25px;
|
||||
overflow-y: auto;
|
||||
padding-right: 5px; }
|
||||
/* line 238, ../sass/search/_search.scss */
|
||||
/* line 252, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item {
|
||||
-moz-transition: background-color 0.25s;
|
||||
-o-transition: background-color 0.25s;
|
||||
@ -422,10 +430,10 @@ ul.tree {
|
||||
border-radius: 2px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 2px; }
|
||||
/* line 252, ../sass/search/_search.scss */
|
||||
/* line 266, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item .label {
|
||||
margin-left: 6px; }
|
||||
/* line 256, ../sass/search/_search.scss */
|
||||
/* line 270, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item .label .title-label {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
@ -437,47 +445,47 @@ ul.tree {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
/* line 278, ../sass/search/_search.scss */
|
||||
/* line 292, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item.selected {
|
||||
background: #005177;
|
||||
color: #fff; }
|
||||
/* line 282, ../sass/search/_search.scss */
|
||||
/* line 296, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item.selected .view-control {
|
||||
color: #0099cc; }
|
||||
/* line 285, ../sass/search/_search.scss */
|
||||
/* line 299, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item.selected .label .type-icon {
|
||||
color: #fff; }
|
||||
/* line 292, ../sass/search/_search.scss */
|
||||
/* line 306, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover {
|
||||
background: #404040;
|
||||
color: #cccccc; }
|
||||
/* line 295, ../sass/search/_search.scss */
|
||||
/* line 309, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .context-trigger {
|
||||
display: block; }
|
||||
/* line 298, ../sass/search/_search.scss */
|
||||
/* line 312, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .results .search-result-item:not(.selected):hover .icon {
|
||||
color: #33ccff; }
|
||||
/* line 306, ../sass/search/_search.scss */
|
||||
/* line 320, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-icon {
|
||||
position: relative; }
|
||||
/* line 308, ../sass/search/_search.scss */
|
||||
/* line 322, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-icon.loading {
|
||||
pointer-events: none;
|
||||
margin-left: 6px; }
|
||||
/* line 312, ../sass/search/_search.scss */
|
||||
/* line 326, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-icon.loading .title-label {
|
||||
font-style: italic;
|
||||
font-size: .9em;
|
||||
opacity: 0.5;
|
||||
margin-left: 26px;
|
||||
line-height: 24px; }
|
||||
/* line 322, ../sass/search/_search.scss */
|
||||
/* line 336, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-icon.loading .wait-spinner {
|
||||
margin-left: 6px; }
|
||||
/* line 327, ../sass/search/_search.scss */
|
||||
/* line 341, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-icon:not(.loading) {
|
||||
cursor: pointer; }
|
||||
/* line 332, ../sass/search/_search.scss */
|
||||
/* line 346, ../sass/search/_search.scss */
|
||||
.search-holder .search .search-scroll .load-more-button {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
|
@ -32,6 +32,7 @@
|
||||
margin-top: 10px;
|
||||
|
||||
.search {
|
||||
//display: block;
|
||||
|
||||
.search-bar {
|
||||
$heightAdjust: 4px;
|
||||
@ -155,6 +156,7 @@
|
||||
padding-right: 6px;
|
||||
|
||||
font-size: 0.8em;
|
||||
color: lighten($colorBodyBg, 70%);
|
||||
|
||||
.search-menu-checkbox {
|
||||
// Vertically center
|
||||
@ -167,15 +169,23 @@
|
||||
|
||||
// Spacing with labels
|
||||
padding-right: 3px;
|
||||
|
||||
// Change checkbox colors
|
||||
em:before {
|
||||
// check
|
||||
color: white;
|
||||
// box
|
||||
background-color: grey;
|
||||
}
|
||||
}
|
||||
|
||||
.search-menu-glyph {
|
||||
color: white;
|
||||
color: lighten($colorMenuIc, 5%);//lighten($colorItemFg, 35%);//$colorMenuIc;
|
||||
}
|
||||
|
||||
&.special {
|
||||
font-weight: bold;
|
||||
background-color: lighten($colorBodyBg, 30%);
|
||||
background-color: lighten($colorBodyBg, 20%);
|
||||
|
||||
.search-menu-label {
|
||||
font-size: 1.1em;
|
||||
@ -227,6 +237,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.active-filter-display.on + .search-scroll {
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
.search-scroll {
|
||||
// Spacing away from the search input
|
||||
top: 25px;
|
||||
|
@ -107,7 +107,8 @@
|
||||
|
||||
<!-- Active filter display -->
|
||||
<div class="active-filter-display"
|
||||
ng-if="filtersString !== ''">
|
||||
ng-if="filtersString !== ''"
|
||||
ng-class="{on: filterString !== ''}">
|
||||
Filtered by: {{ filtersString }}
|
||||
<a class="ui-symbol clear-filters-icon"
|
||||
ng-click="ngModel.checkAll = true; controller.checkAll(); controller.updateOptions()">
|
||||
|
Loading…
x
Reference in New Issue
Block a user