Files
grafana/public/sass/components/_row.scss

87 lines
1.4 KiB
SCSS
Raw Normal View History

2017-08-18 16:33:36 +02:00
.dashboard-row {
display: flex;
2017-10-17 12:04:18 +02:00
align-items: center;
height: 100%;
2017-10-17 14:53:52 +02:00
&--collapsed {
2017-08-18 16:33:36 +02:00
background: $panel-bg;
2017-08-24 16:37:00 +02:00
.dashboard-row__panel_count {
2017-10-17 12:04:18 +02:00
display: inline-block;
2017-08-24 16:37:00 +02:00
}
.dashboard-row__drag {
2017-08-24 16:37:00 +02:00
visibility: visible;
opacity: 1;
}
.dashboard-row__actions {
visibility: hidden;
}
.dashboard-row__toggle-target {
flex: 1;
cursor: pointer;
margin-right: 15px;
}
2017-08-18 16:33:36 +02:00
}
&:hover {
.dashboard-row__actions {
visibility: visible;
opacity: 1;
}
}
}
2017-08-18 16:33:36 +02:00
.dashboard-row__title {
2017-08-25 18:53:35 +02:00
flex-grow: 0;
2017-08-18 17:39:07 +02:00
font-size: 1.15rem;
2017-08-18 16:33:36 +02:00
font-weight: $font-weight-semi-bold;
color: $text-color;
.fa {
color: $text-muted;
2017-10-17 12:04:18 +02:00
font-size: $font-size-xs;
padding: 0 0.5rem;
}
2017-08-18 16:33:36 +02:00
}
.dashboard-row__actions {
color: $text-muted;
2017-08-24 14:08:05 +02:00
visibility: hidden;
opacity: 0;
transition: 200ms opacity ease-in 200ms;
2017-08-25 18:53:35 +02:00
2017-08-24 14:08:05 +02:00
a {
color: $text-color-weak;
2017-08-24 16:37:00 +02:00
padding-left: $spacer;
2017-08-24 14:08:05 +02:00
&:hover {
color: $link-hover-color;
}
}
2017-08-18 16:33:36 +02:00
}
2017-08-24 16:37:00 +02:00
.dashboard-row__panel_count {
2017-10-17 12:04:18 +02:00
padding-left: $spacer;
2017-08-24 16:37:00 +02:00
color: $text-color-weak;
font-style: italic;
font-size: $font-size-sm;
font-weight: normal;
display: none;
}
.dashboard-row__drag {
cursor: move;
width: 1rem;
2017-10-16 16:09:23 +02:00
height: 100%;
background: url('../img/grab_dark.svg') no-repeat 50% 50%;
2017-08-24 16:37:00 +02:00
background-size: 8px;
visibility: hidden;
2017-08-25 18:53:35 +02:00
position: absolute;
top: 0;
right: 0;
2017-08-24 16:37:00 +02:00
}