mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 16:27:02 -06:00
42 lines
675 B
SCSS
42 lines
675 B
SCSS
|
|
.add-panel {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
overflow: auto;
|
|
height: 100%;
|
|
align-content: flex-start;
|
|
justify-content: space-around;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.add-panel__item {
|
|
background: $card-background;
|
|
box-shadow: $card-shadow;
|
|
|
|
border: $panel-border;
|
|
padding: $spacer/3 $spacer;
|
|
width: 31%;
|
|
height: 60px;
|
|
text-align: center;
|
|
margin: $gf-form-margin;
|
|
cursor: pointer;
|
|
|
|
&.active,
|
|
&:hover {
|
|
background: $card-background-hover;
|
|
}
|
|
}
|
|
|
|
.add-panel__item-name {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-size: $font-size-sm;
|
|
}
|
|
|
|
.add-panel__item-img {
|
|
height: calc(100% - 15px);
|
|
}
|
|
|