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

104 lines
1.8 KiB

$dashboard-row-height: 30px;
.dashboard-row {
display: flex;
height: $dashboard-row-height;
line-height: $dashboard-row-height;
align-items: center;
align-content: center;
justify-content: center;
&--collapse {
background: $panel-bg;
.dashboard-row__panel_count {
display: block;
}
.dashboard-row__drag,
.dashboard-row__actions {
visibility: visible;
opacity: 1;
}
}
&:hover {
.dashboard-row__actions-left,
.dashboard-row__actions-right {
visibility: visible;
opacity: 1;
transition: opacity 200ms ease-in-out 100ms;
}
}
}
.dashboard-row__center {
position: relative;
}
.dashboard-row__title {
@include brand-bottom-border();
position: relative;
flex-grow: 0;
8 years ago
font-size: 1.15rem;
font-weight: $font-weight-semi-bold;
padding: 0rem 1rem 0.3rem 1rem;
}
.dashboard-row__actions-left {
position: absolute;
left: -23px;
font-size: $font-size-xs;
color: $text-muted;
top: 1px;
visibility: hidden;
opacity: 0;
}
.dashboard-row__actions-right {
position: absolute;
right: -40px;
padding-right: 1rem;
font-size: $font-size-sm;
visibility: hidden;
opacity: 0;
top: 0px;
a {
color: $text-color-weak;
padding-left: $spacer;
&:hover {
color: $link-hover-color;
}
}
}
.dashboard-row__title-text {
color: $text-color;
}
.dashboard-row__panel_count {
color: $text-color-weak;
font-style: italic;
font-size: $font-size-sm;
font-weight: normal;
display: none;
position: absolute;
right: 30px;
top: 0;
}
.dashboard-row__drag {
cursor: move;
width: 1rem;
height: $dashboard-row-height;
background: url("../img/grab_dark.svg") no-repeat 50% 50%;
background-size: 8px;
visibility: hidden;
position: absolute;
top: 0;
right: 0;
}