2023-05-16 10:50:42 +08:00

163 lines
3.4 KiB
CSS

body.m-dashboard-view {background-color: #efefef;}
.main-header {padding: 5px 0;}
.main-col+.side-col {padding-left: 5px; padding-right: 0;}
.side-col {width: 300px;}
#sidebar>.cell {width: 100%;}
#dashboard-container {padding: 0;}
#dashboard-container .vue-grid-layout, #sidebar>.cell {
min-height: 500px;
}
#dashboard-container .vue-grid-layout {
height: 170px;
background: #fff;
border: 1px solid #ddd;
}
.filter-condition {
flex-flow: wrap;
}
.filter-action button {
max-height: 35px;
}
.chart {
padding: 10px;
cursor: pointer;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 5px;
}
.chart .title {font-weight: bold; margin-bottom: 3px;}
.chart p {margin: 0; color: #808080;}
.chartbox {
width: 100%;
height: 100%;
overflow: overlay;
}
.ant-table-body table {
width: 100%;
}
.vue-grid-layout {
background: #eee;
}
.vue-grid-item {touch-action: none;}
.vue-grid-item:not(.vue-grid-placeholder) {
background: #fff;
border: 1px solid black;
}
.vue-grid-item .resizing {
opacity: 0.9;
}
.vue-grid-item .text {
font-size: 18px;
text-align: left;
position: absolute;
top: 10px;
bottom: 0;
left: 10px;
right: 0;
margin: auto;
height: 100%;
width: 100%;
}
.vue-grid-item .text.edit {
left: auto;
right: 0;
font-weight: normal;
font-size: 11px;
cursor: pointer;
}
.vue-grid-item .text.edit:hover {
color: #16a8f8;
}
.vue-grid-item .no-drag {
height: 100%;
width: 100%;
}
.vue-grid-item .minMax {
font-size: 12px;
}
.vue-grid-item .add {
cursor: pointer;
}
.vue-draggable-handle {
position: absolute;
width: 20px;
height: 20px;
top: 0;
left: 0;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><circle cx='5' cy='5' r='5' fill='#999999'/></svg>") no-repeat;
background-position: bottom right;
padding: 0 8px 8px 0;
background-repeat: no-repeat;
background-origin: content-box;
box-sizing: border-box;
cursor: pointer;
}
.droppable-element {
width: 150px;
text-align: center;
background: #fdd;
border: 1px solid black;
margin: 10px 0;
padding: 10px;
}
.vue-grid-layout {
background: #eee;
}
.vue-grid-item:not(.vue-grid-placeholder) {
background: #fff;
border: 1px solid #ddd;
}
.vue-grid-item .resizing {
opacity: 0.9;
}
.vue-grid-item .no-drag {
height: 100%;
width: 100%;
}
.vue-grid-item .minMax {
font-size: 12px;
}
.vue-grid-item .add {
cursor: pointer;
}
.vue-draggable-handle {
position: absolute;
width: 20px;
height: 20px;
top: 0;
left: 0;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><circle cx='5' cy='5' r='5' fill='#999999'/></svg>") no-repeat;
background-position: bottom right;
padding: 0 8px 8px 0;
background-repeat: no-repeat;
background-origin: content-box;
box-sizing: border-box;
cursor: pointer;
}
.layoutJSON {
background: #ddd;
border: 1px solid black;
margin-top: 10px;
padding: 10px;
}
.layoutJSON {
background: #ddd;
border: 1px solid black;
margin-top: 10px;
padding: 10px;
}
.columns {
-moz-columns: 120px;
-webkit-columns: 120px;
columns: 120px;
}
.vue-grid-item .text {
width: auto;
height: auto;
right: auto;
bottom: auto;
font-weight: bold;
}