2017-06-02 07:00:42 -05:00
|
|
|
.search-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
2017-08-15 08:25:18 -05:00
|
|
|
bottom: 0;
|
2017-06-02 07:00:42 -05:00
|
|
|
top: $navbarHeight;
|
|
|
|
z-index: $zindex-modal-backdrop;
|
|
|
|
background-color: $black;
|
|
|
|
@include opacity(70);
|
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.search-container {
|
2017-08-15 08:25:18 -05:00
|
|
|
left: $side-menu-width;
|
2017-06-02 07:00:42 -05:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2017-06-08 06:56:51 -05:00
|
|
|
bottom: 0;
|
2017-06-02 07:00:42 -05:00
|
|
|
z-index: ($zindex-modal-backdrop + 10);
|
2017-06-08 06:56:51 -05:00
|
|
|
position: fixed;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
.label-tag {
|
|
|
|
margin-left: 6px;
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 2px 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Search
|
|
|
|
.search-field-wrapper {
|
2017-06-02 07:00:42 -05:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
background-color: $navbarButtonBackground;
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
input {
|
2017-06-02 07:00:42 -05:00
|
|
|
max-width: 653px;
|
|
|
|
//padding: 0.5rem 1.5rem 0.5rem 0;
|
|
|
|
padding: 1rem 1rem 0.75rem 1rem;
|
|
|
|
height: 51px;
|
|
|
|
line-height: 51px;
|
2016-02-15 08:27:41 -06:00
|
|
|
box-sizing: border-box;
|
2017-06-02 07:00:42 -05:00
|
|
|
outline: none;
|
|
|
|
background: $side-menu-bg;
|
|
|
|
background-color: $navbarButtonBackground;
|
|
|
|
flex-grow: 10;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
2017-06-02 07:00:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-field-spacer {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-06-08 06:56:51 -05:00
|
|
|
|
2017-06-02 07:00:42 -05:00
|
|
|
.search-switches {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 1rem 1rem 0.75rem 1rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-field-icon {
|
|
|
|
font-size: $font-size-lg;
|
2017-06-08 06:56:51 -05:00
|
|
|
padding: 1rem 1rem 0.75rem 1.5rem;
|
2017-06-02 07:00:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-dropdown {
|
|
|
|
display: flex;
|
2017-06-02 07:19:39 -05:00
|
|
|
flex-direction: column;
|
2017-11-01 10:59:20 -05:00
|
|
|
max-width: 800px;
|
2017-06-02 07:00:42 -05:00
|
|
|
visibility: none;
|
|
|
|
opacity: 0;
|
2017-08-17 05:06:51 -05:00
|
|
|
background: $panel-bg;
|
2017-11-01 10:59:20 -05:00
|
|
|
height: calc(100% - #{$navbarHeight});
|
2017-06-02 07:00:42 -05:00
|
|
|
|
|
|
|
&--fade-in {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.3s;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results-container {
|
2017-08-15 16:17:34 -05:00
|
|
|
height: 100%;
|
2016-02-15 08:27:41 -06:00
|
|
|
display: block;
|
2017-06-02 07:00:42 -05:00
|
|
|
padding: $spacer;
|
|
|
|
flex-grow: 10;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
|
|
|
.selected {
|
|
|
|
.search-result-tag {
|
|
|
|
opacity: 0.70;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2017-11-01 10:59:20 -05:00
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.search-section__header {
|
|
|
|
font-size: $font-size-h6;
|
|
|
|
padding: 0.6rem 0;
|
|
|
|
color: $text-color-weak;
|
|
|
|
display: flex;
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
&:hover {
|
|
|
|
color: $text-color-weak;
|
|
|
|
.search-section__header__toggle {
|
|
|
|
background: $tight-form-func-bg;
|
|
|
|
color: $link-hover-color;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
2017-06-23 15:00:26 -05:00
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.search-section__header__icon {
|
2017-06-23 15:00:26 -05:00
|
|
|
padding: 3px 10px;
|
2017-11-01 10:59:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-section__header__toggle {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-section__header__text {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-item {
|
|
|
|
display: flex;
|
|
|
|
height: 35px;
|
|
|
|
padding: 0px;
|
2017-06-23 15:00:26 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
background-color: $tight-form-bg;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
@include left-brand-border();
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-06-23 15:00:26 -05:00
|
|
|
&:hover {
|
|
|
|
@include left-brand-border-gradient();
|
|
|
|
background-color: $tight-form-func-bg;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
2017-06-23 15:00:26 -05:00
|
|
|
&.selected {
|
|
|
|
background-color: $tight-form-func-bg;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
2016-07-11 12:07:16 -05:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.fa-star, .fa-star-o {
|
|
|
|
padding-left: 13px;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
2016-07-11 12:07:16 -05:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.fa-star {
|
|
|
|
color: $orange;
|
2016-07-11 12:07:16 -05:00
|
|
|
}
|
2017-11-01 10:59:20 -05:00
|
|
|
}
|
2016-02-15 08:27:41 -06:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.search-item__title {
|
|
|
|
color: $grafanaListMainLinkColor;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-item__icon {
|
|
|
|
padding: 5px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-item__tags {
|
|
|
|
padding: 8px;
|
2017-06-08 06:56:51 -05:00
|
|
|
}
|
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.search-item__actions {
|
|
|
|
visibility: hidden;
|
2017-06-02 07:19:39 -05:00
|
|
|
}
|
2017-06-23 15:00:26 -05:00
|
|
|
|
2017-11-01 10:59:20 -05:00
|
|
|
.search-button-row {
|
|
|
|
text-align: center;
|
|
|
|
padding: $spacer*2 $spacer;
|
|
|
|
}
|