ux(dashboard): add panel stuff

This commit is contained in:
Torkel Ödegaard
2016-10-26 12:19:18 +02:00
parent 280709327c
commit 113a772e33
4 changed files with 59 additions and 12 deletions

View File

@@ -239,7 +239,6 @@ div.flot-text {
.dash-edit-mode {
.dash-row {
}
.panels-wrapper {
padding: $panel-margin*2 0 0 $panel-margin;
}
@@ -266,3 +265,30 @@ div.flot-text {
color: $white;
}
}
.add-panel-container {
display: flex;
flex-direction: row;
}
.add-panel-item {
background: $panel-bg;
padding: $spacer;
min-width: 10rem;
max-width: 10rem;
text-align: center;
margin: $panel-margin;
&:hover {
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px rgba(82,168,236,10.8)
}
}
.add-panel-item-name {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.add-panel-item-img {
width: 3.5rem;
}