stem-core
Version:
Frontend and core-library framework
71 lines (61 loc) • 1.42 kB
JavaScript
import {StyleSheet, styleRule} from "./Style";
class RangePanelStyle extends StyleSheet {
rowHeight = 52;
default = {
height: "100%",
width: "100%",
display: "flex",
flexDirection: "column",
position: "relative",
overflow: "auto",
overflowY: "hidden",
};
tableContainer = {
flex: "1",
height: "100%",
width: "100%",
position: "relative",
};
scrollablePanel = {
overflow: "auto",
height: "calc(100% - 30px)",
width: "100%",
};
fakePanel = {
width: "100%",
};
footer = {
fontWeight: "bold",
textAlign: "center",
position: "absolute",
bottom: "0px",
width: "100%",
whiteSpace: "nowrap",
paddingBottom: "15px",
paddingTop: "3px",
};
jumpToButton = {
marginLeft: "5px",
padding: "2.3px 10px",
verticalAlign: "bottom",
};
table = {
width: "calc(100% - 15px)",
marginBottom: "0px",
top: "0px",
position: "absolute",
pointerEvents: "none",
">tbody>tr>td": {
height: `${this.rowHeight}px !important`,
whiteSpace: "nowrap !important",
}
};
}
export {RangePanelStyle};