.chartview { padding-top: 30px; .chartview-toolbar { height: 30px; margin-top: -30px; display: flex; padding: 0 10px; justify-content: space-between; .chart-title { font-size: 20px; } .chart-tools { display: none; font-size: 20px; .anticon { margin-left: 10px; cursor: pointer; } } } .chartview-content { .chart-default { background-image: url(/images/chart-default.png); width: 100%; height: 100%; background-position: center; background-size: contain; background-repeat: no-repeat; } .richtexteditor { padding-bottom: 10px; height: 100%; .w-e-toolbar { height: 30px; background-color: white !important; border: none !important; position: fixed; top: 0; display: none; } .w-e-text-container { height: 100% !important; pointer-events: none; border: none !important; .w-e-text { overflow-y: auto; padding: 0 14px; &>table { margin: 0; } &>p { margin: 0; } } .w-e-panel-container { z-index:100000; } } } } &:hover { .chart-tools { display: block; .anticon { &:hover { color: red; } } } } } .chartview-edit { .chartview-toolbar { cursor: move; } .chartview-content { canvas { cursor: move; } .richtexteditor { .w-e-text-container { pointer-events: all; } } } } .previewbox { top: 50px; width: 98% !important; height: 80%; .ant-modal-content { height: 100%; .ant-modal-close { display: none; } .ant-modal-body { height: 100%; .chartview { height: 100%; } .chartview-edit { .chartview-toolbar { cursor: default; } .chartview-content { canvas { cursor: default; } } } } } } .react-grid-layout { background: #eee; } .layoutJSON { background: #ddd; border: 1px solid black; margin-top: 10px; padding: 10px; } .columns { -moz-columns: 120px; -webkit-columns: 120px; columns: 120px; } .react-grid-item { box-sizing: border-box; } .react-grid-item:not(.react-grid-placeholder) { background: white; border: 1px solid #D6D6D6; } .react-grid-item.resizing { opacity: 0.9; } .react-grid-item.static { background: #cce; } .react-grid-item .text { font-size: 24px; text-align: center; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } .react-grid-item .minMax { font-size: 12px; } .react-grid-item .add { cursor: pointer; } .react-grid-dragHandleExample { cursor: move; /* fallback if grab cursor is unsupported */ cursor: grab; cursor: -moz-grab; cursor: -webkit-grab; } li b { font-size: 19px; line-height: 14px; } .toolbox { background-color: #dfd; width: 100%; height: 120px; overflow: scroll; } .hide-button { cursor: pointer; position: absolute; font-size: 20px; top: 0px; right: 5px; } .toolbox__title { font-size: 24px; margin-bottom: 5px; } .toolbox__items { display: block; } .toolbox__items__item { display: inline-block; text-align: center; line-height: 40px; cursor: pointer; width: 40px; height: 40px; padding: 10px; margin: 5px; border: 1px solid black; background-color: #ddd; } .react-grid-layout { position: relative; transition: height 200ms ease; } .react-grid-item { transition: all 200ms ease; transition-property: left, top; } .react-grid-item.cssTransforms { transition-property: transform; } .react-grid-item.resizing { z-index: 2; opacity: 0.5; will-change: width, height; } .react-grid-item.react-draggable-dragging { transition: none; opacity: 0.5; z-index: 3; will-change: transform; } .react-grid-item.react-grid-placeholder { background: #dddddd; border: 5px dashed #cccccc; transition-duration: 100ms; z-index: 1; user-select: none; } .react-grid-item > .react-resizable-handle { position: absolute; width: 20px; height: 20px; bottom: 0; right: 0; cursor: se-resize; } .react-grid-item > .react-resizable-handle::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 5px; height: 5px; border-right: 2px solid rgba(0, 0, 0, 0.4); border-bottom: 2px solid rgba(0, 0, 0, 0.4); }