grafana/public/sass/components/_row.scss
Patrick O'Carroll 75e3d3e59a Chore: Theme consistency, rems => pixels (#16145)
* replaced rem with pixels or variables

* replaced rems with pixels or variables

* repalced rems with pixels and variables
2019-03-27 08:48:24 +01:00

87 lines
1.4 KiB
SCSS

.dashboard-row {
display: flex;
align-items: center;
height: 100%;
&--collapsed {
background: $panel-bg;
.dashboard-row__panel_count {
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;
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 {
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;
}