+
+
+
+ {{ctrl.folderTitle}}
+
+
+
+
+
+
+ Dashboard
+
+
+
+ Folder
+
+
+
-
+
Dashboard
-
+
Folder
@@ -39,29 +57,12 @@
-
+
+
+
+
-
No dashboards matching your query were found.
+ No dashboards matching your query were found.
{ } }, q, searchSrvStub);
+ return new DashboardListCtrl({}, { getNav: () => { } }, q, searchSrvStub, {});
}
diff --git a/public/sass/components/_dashboard_list.scss b/public/sass/components/_dashboard_list.scss
index 9d0b3144ba6..e1574f46da6 100644
--- a/public/sass/components/_dashboard_list.scss
+++ b/public/sass/components/_dashboard_list.scss
@@ -1,20 +1,25 @@
.dashboard-list {
- height: 75%;
-
.search-results-container {
- padding-left: 0;
- padding-right: 0;
+ padding: 5px 0 0 0;
}
}
.search-results-filter-row {
+ height: 35px;
display: flex;
justify-content: space-between;
+
+ .gf-form-button-row {
+ padding-top: 0;
+
+ button:last-child {
+ margin-right: 0;
+ }
+ }
}
.search-results-filter-row__filters {
display: flex;
- width: 300px;
}
.search-results-filter-row__filters-item {
diff --git a/public/sass/components/_switch.scss b/public/sass/components/_switch.scss
index 4888f5c9c4a..b612091d171 100644
--- a/public/sass/components/_switch.scss
+++ b/public/sass/components/_switch.scss
@@ -102,12 +102,23 @@ $switch-height: 1.5rem;
}
}
-.gf-form-switch--search-result__section, .gf-form-switch--search-result__item {
- min-width: 2.6rem;
-
+.gf-form-switch--transparent {
input + label {
- background-color: inherit;
- height: 1.7rem;
+ background: transparent;
+ }
+
+ input + label::before, input + label::after {
+ background: transparent;
+ }
+
+ &:hover {
+ input + label::before {
+ background: transparent;
+ }
+
+ input + label::after {
+ background: transparent;
+ }
}
}
@@ -115,57 +126,24 @@ $switch-height: 1.5rem;
min-width: 3.3rem;
margin-right: -0.3rem;
- &:hover {
- input + label::before {
- @include buttonBackground($panel-bg, $panel-bg);
- }
-
- input + label::after {
- @include buttonBackground($panel-bg, $panel-bg, lighten($orange, 10%));
- }
- }
-
- input + label::before, input + label::after {
- @include buttonBackground($panel-bg, $panel-bg);
- }
-
- input + label::before {
- color: $gray-2
- }
-
- input + label::after {
- color: $orange
+ input + label {
+ height: 1.7rem;
}
}
.gf-form-switch--search-result__item {
+ min-width: 2.6rem;
+
input + label {
height: 2.7rem;
}
+}
+.gf-form-switch--search-result-filter-row__checkbox {
+ min-width: 4.7rem;
- &:hover {
- input + label::before {
- @include buttonBackground($list-item-hover-bg, $list-item-hover-bg);
- }
-
- input + label::after {
- @include buttonBackground($list-item-hover-bg, $list-item-hover-bg);
- color: lighten($orange, 10%);
- }
-
- }
-
- input + label::before, input + label::after {
- @include buttonBackground($list-item-hover-bg, $list-item-hover-bg);
- }
-
- input + label::before {
- color: $gray-2
- }
-
- input + label::after {
- color: $orange
+ input + label {
+ height: 2.5rem;
}
}