mirror of
https://github.com/apache/superset.git
synced 2026-06-07 08:39:25 +00:00
* Use react-grid-layout instead of gridster * visualizations show and resize * display slice name and description; links work * positioning of widgets to match gridster, rowHeight matches * Change margins, rowHeight, unpositioned viz, and expandedSlices to match gridster * Saving dashboard, deleting slices, formatting on slices (chart control and resize handle), expanded slices fixed. * responsiveness + use es6 classes * Minor ui fixes + linting * CSS transforms on slices messes up nvd3 tooltip positioning. Turn off CSS transforms for the time being, with a cost of painting speed. Issue is currently being looked at on the nvd3 repo PR: https://github.com/novus/nvd3/pull/1674 * Remove breakpoint listener, fires when it shouldn't (i.e. too often) * resize is no longer buggy, minor cleanup * gridster class, const, landscape error * one source of data for data to front end from python
47 lines
847 B
CSS
47 lines
847 B
CSS
.dashboard a i {
|
|
cursor: pointer;
|
|
}
|
|
.dashboard i.drag {
|
|
cursor: move !important;
|
|
}
|
|
.dashboard .slice-grid .preview-holder {
|
|
z-index: 1;
|
|
position: absolute;
|
|
background-color: #AAA;
|
|
border-color: #AAA;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.slice-grid div.widget{
|
|
border-radius: 0;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 2px 1px 5px -2px #aaa;
|
|
background-color: #fff;
|
|
}
|
|
.dashboard .slice-grid .dragging,
|
|
.dashboard .slice-grid .resizing {
|
|
opacity: 0.5;
|
|
}
|
|
.dashboard img.loading {
|
|
width: 20px;
|
|
margin: 5px;
|
|
position: absolute;
|
|
}
|
|
.dashboard .title {
|
|
text-align: center;
|
|
}
|
|
.dashboard .slice_title {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
padding: 5px;
|
|
}
|
|
.dashboard div.slice_content {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.dashboard div.nvtooltip {
|
|
z-index: 888; /* this lets tool tips go on top of other slices */
|
|
}
|