The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grafana/public/sass/components/_row.scss

87 lines
1.4 KiB

.dashboard-row {
display: flex;
8 years ago
align-items: center;
height: 100%;
8 years ago
&--collapsed {
background: $panel-bg;
.dashboard-row__panel_count {
8 years ago
display: inline-block;
}
.dashboard-row__drag {
visibility: visible;
opacity: 1;
}
.dashboard-row__actions {
visibility: hidden;
}
.dashboard-row__toggle-target {
flex: 1;
cursor: pointer;
margin-right: 15px;
}
}
&:hover {
.dashboard-row__actions {
visibility: visible;
opacity: 1;
}
}
}
.dashboard-row__title {
flex-grow: 0;
font-size: $font-size-h5;
font-weight: $font-weight-semi-bold;
color: $text-color;
.fa {
color: $text-muted;
8 years ago
font-size: $font-size-xs;
padding: 0 $space-sm;
}
}
.dashboard-row__actions {
color: $text-muted;
visibility: hidden;
opacity: 0;
transition: 200ms opacity ease-in 200ms;
a {
color: $text-color-weak;
padding-left: $spacer;
&:hover {
color: $link-hover-color;
}
}
}
.dashboard-row__panel_count {
8 years ago
padding-left: $spacer;
color: $text-color-weak;
font-style: italic;
font-size: $font-size-sm;
font-weight: normal;
display: none;
}
.dashboard-row__drag {
cursor: move;
width: 16px;
height: 100%;
background: url('../img/grab_dark.svg') no-repeat 50% 50%;
background-size: 8px;
visibility: hidden;
position: absolute;
top: 0;
right: 0;
}