mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboard: Dashboard folder page wip #10083
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user