@quantlife/qlchart 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/QLChart.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +75 -0
- package/demo/App.css +213 -0
- package/demo/App.tsx +46 -0
- package/demo/components/ControlPanel.tsx +13 -0
- package/demo/components/DemoNav.tsx +27 -0
- package/demo/index.html +16 -0
- package/demo/main.tsx +10 -0
- package/demo/pages/BasicChartDemo.tsx +61 -0
- package/demo/pages/DrawingDemo.tsx +22 -0
- package/demo/pages/IndicatorDemo.tsx +22 -0
- package/demo/pages/LayoutDemo.tsx +35 -0
- package/demo/pages/MultiPeriodDemo.tsx +31 -0
- package/demo/pages/ReplayDemo.tsx +195 -0
- package/demo/pages/SaveDemo.tsx +27 -0
- package/demo/pages/ThemeDemo.tsx +29 -0
- package/demo/standalone-demo.html +597 -0
- package/demo/vite.config.demo.ts +17 -0
- package/dist/index.d.ts +1973 -0
- package/dist/qlchart.js +23169 -0
- package/dist/style.css +1 -0
- package/doc/api/indicator-data-processor.md +35 -0
- package/doc/api-reference/.nojekyll +1 -0
- package/doc/api-reference/assets/hierarchy.js +1 -0
- package/doc/api-reference/assets/highlight.css +43 -0
- package/doc/api-reference/assets/icons.js +18 -0
- package/doc/api-reference/assets/icons.svg +1 -0
- package/doc/api-reference/assets/main.js +60 -0
- package/doc/api-reference/assets/navigation.js +1 -0
- package/doc/api-reference/assets/search.js +1 -0
- package/doc/api-reference/assets/style.css +1611 -0
- package/doc/api-reference/classes/ChartManager.html +16 -0
- package/doc/api-reference/classes/DataManager.html +13 -0
- package/doc/api-reference/classes/DrawingAdapter.html +64 -0
- package/doc/api-reference/classes/DrawingPersistence.html +21 -0
- package/doc/api-reference/classes/EventManager.html +12 -0
- package/doc/api-reference/classes/HollowCandlestickSeries.html +22 -0
- package/doc/api-reference/classes/IndicatorRenderer.html +20 -0
- package/doc/api-reference/classes/KlineReplay.html +31 -0
- package/doc/api-reference/classes/MockDataService.html +13 -0
- package/doc/api-reference/classes/MockIndicatorService.html +4 -0
- package/doc/api-reference/classes/OverlayIndicator.html +11 -0
- package/doc/api-reference/classes/PaneIndicator.html +16 -0
- package/doc/api-reference/classes/PaneManager.html +24 -0
- package/doc/api-reference/classes/RealtimeDataFeed.html +22 -0
- package/doc/api-reference/classes/RenkoSeries.html +22 -0
- package/doc/api-reference/classes/ScreenshotUtil.html +10 -0
- package/doc/api-reference/classes/SeriesManager.html +30 -0
- package/doc/api-reference/classes/ThemeManager.html +18 -0
- package/doc/api-reference/enums/ChartEvent.html +12 -0
- package/doc/api-reference/enums/IndicatorType.html +4 -0
- package/doc/api-reference/enums/SeriesType.html +13 -0
- package/doc/api-reference/functions/ChartFunctionMenu.html +1 -0
- package/doc/api-reference/functions/DrawingModule.html +8 -0
- package/doc/api-reference/functions/IndicatorPanel.html +2 -0
- package/doc/api-reference/functions/IndicatorTag.html +2 -0
- package/doc/api-reference/functions/KlineTypeSelector.html +1 -0
- package/doc/api-reference/functions/LayoutSwitcher.html +1 -0
- package/doc/api-reference/functions/PeriodSelector.html +1 -0
- package/doc/api-reference/functions/QLChartLayout.html +1 -0
- package/doc/api-reference/functions/QLChartPanel.html +10 -0
- package/doc/api-reference/functions/QLChartProvider.html +2 -0
- package/doc/api-reference/functions/QLToolbar.html +1 -0
- package/doc/api-reference/functions/ReplayController.html +1 -0
- package/doc/api-reference/functions/TimeBarModule.html +4 -0
- package/doc/api-reference/functions/TimeRangeSelector.html +1 -0
- package/doc/api-reference/functions/createIndicatorConfig.html +2 -0
- package/doc/api-reference/functions/getToolConfig.html +2 -0
- package/doc/api-reference/functions/getToolsByCategory.html +2 -0
- package/doc/api-reference/functions/getToolsByPriority.html +2 -0
- package/doc/api-reference/functions/mapLibTypeToOurs.html +2 -0
- package/doc/api-reference/functions/mapToolTypeToLib.html +3 -0
- package/doc/api-reference/functions/transformCandlestickData.html +3 -0
- package/doc/api-reference/functions/transformIndicatorData.html +2 -0
- package/doc/api-reference/functions/transformVolumeData.html +3 -0
- package/doc/api-reference/functions/useChart.html +4 -0
- package/doc/api-reference/functions/useChartStore.html +8 -0
- package/doc/api-reference/functions/useCrosshairSync.html +8 -0
- package/doc/api-reference/functions/useDrawingModule.html +1 -0
- package/doc/api-reference/functions/useDrawingStore.html +8 -0
- package/doc/api-reference/functions/useIndicatorStore.html +8 -0
- package/doc/api-reference/functions/useQLChartConfig.html +2 -0
- package/doc/api-reference/functions/useReplayStore.html +8 -0
- package/doc/api-reference/functions/useTheme.html +2 -0
- package/doc/api-reference/functions/useTimeBarStore.html +8 -0
- package/doc/api-reference/index.html +1 -0
- package/doc/api-reference/interfaces/CandlestickData.html +7 -0
- package/doc/api-reference/interfaces/CandlestickRawData.html +8 -0
- package/doc/api-reference/interfaces/ChartFunctionMenuProps.html +2 -0
- package/doc/api-reference/interfaces/ChartManagerCreateOptions.html +4 -0
- package/doc/api-reference/interfaces/ChartOptions.html +8 -0
- package/doc/api-reference/interfaces/ChartRequestParams.html +8 -0
- package/doc/api-reference/interfaces/ChartResponse.html +5 -0
- package/doc/api-reference/interfaces/ChartState.html +24 -0
- package/doc/api-reference/interfaces/ChartThemeOptions.html +5 -0
- package/doc/api-reference/interfaces/CrosshairData.html +5 -0
- package/doc/api-reference/interfaces/DrawingModuleProps.html +5 -0
- package/doc/api-reference/interfaces/DrawingState.html +48 -0
- package/doc/api-reference/interfaces/HistogramData.html +5 -0
- package/doc/api-reference/interfaces/HollowCandlestickData.html +14 -0
- package/doc/api-reference/interfaces/IndicatorConfig.html +11 -0
- package/doc/api-reference/interfaces/IndicatorDataPoint.html +4 -0
- package/doc/api-reference/interfaces/IndicatorDataResponse.html +5 -0
- package/doc/api-reference/interfaces/IndicatorDefinition.html +9 -0
- package/doc/api-reference/interfaces/IndicatorPanelProps.html +3 -0
- package/doc/api-reference/interfaces/IndicatorParamDef.html +8 -0
- package/doc/api-reference/interfaces/IndicatorRawData.html +4 -0
- package/doc/api-reference/interfaces/IndicatorState.html +19 -0
- package/doc/api-reference/interfaces/IndicatorTagProps.html +2 -0
- package/doc/api-reference/interfaces/KlineReplayOptions.html +4 -0
- package/doc/api-reference/interfaces/LayoutSwitcherProps.html +3 -0
- package/doc/api-reference/interfaces/LineData.html +4 -0
- package/doc/api-reference/interfaces/MockDataConfig.html +8 -0
- package/doc/api-reference/interfaces/MockIndicatorConfig.html +5 -0
- package/doc/api-reference/interfaces/PairInfo.html +6 -0
- package/doc/api-reference/interfaces/PaneInfo.html +6 -0
- package/doc/api-reference/interfaces/PanelConfig.html +9 -0
- package/doc/api-reference/interfaces/PersistenceConfig.html +12 -0
- package/doc/api-reference/interfaces/QLChartConfig.html +18 -0
- package/doc/api-reference/interfaces/QLChartLayoutProps.html +9 -0
- package/doc/api-reference/interfaces/QLChartPanelProps.html +13 -0
- package/doc/api-reference/interfaces/QLChartPanelRef.html +14 -0
- package/doc/api-reference/interfaces/QLToolbarProps.html +7 -0
- package/doc/api-reference/interfaces/RealtimeCandle.html +9 -0
- package/doc/api-reference/interfaces/RealtimeSubscribeFn.html +2 -0
- package/doc/api-reference/interfaces/RenkoData.html +16 -0
- package/doc/api-reference/interfaces/ReplayControllerProps.html +2 -0
- package/doc/api-reference/interfaces/ReplayState.html +19 -0
- package/doc/api-reference/interfaces/ThemeConfig.html +14 -0
- package/doc/api-reference/interfaces/TimeBarModuleProps.html +5 -0
- package/doc/api-reference/interfaces/TimeBarState.html +13 -0
- package/doc/api-reference/interfaces/UseChartReturn.html +4 -0
- package/doc/api-reference/interfaces/UseDrawingModuleOptions.html +11 -0
- package/doc/api-reference/interfaces/UseDrawingModuleReturn.html +6 -0
- package/doc/api-reference/interfaces/UseThemeReturn.html +5 -0
- package/doc/api-reference/types/EventHandler.html +2 -0
- package/doc/api-reference/types/FetchFn.html +2 -0
- package/doc/api-reference/types/LayoutMode.html +2 -0
- package/doc/api-reference/types/MarketTrend.html +2 -0
- package/doc/api-reference/types/ThemePreset.html +2 -0
- package/doc/api-reference/variables/BUILTIN_INDICATORS.html +2 -0
- package/doc/api-reference/variables/CATEGORY_LABELS.html +2 -0
- package/doc/api-reference/variables/DRAWING_TOOLS.html +3 -0
- package/doc/api-reference/variables/MARKET_PRESETS.html +1 -0
- package/doc/api-reference/variables/PAIR_PRESETS.html +1 -0
- package/doc/api-reference/variables/darkPreset.html +1 -0
- package/doc/api-reference/variables/lightPreset.html +1 -0
- package/doc/components/drawing-module.md +24 -0
- package/doc/components/indicator-list-panel.md +24 -0
- package/doc/components/indicator-panel.md +17 -0
- package/doc/components/pane-divider.md +25 -0
- package/doc/components/qlchart-layout.md +30 -0
- package/doc/components/qlchart-panel.md +93 -0
- package/doc/components/qlchart-provider.md +73 -0
- package/doc/components/qltoolbar.md +17 -0
- package/doc/components/replay-controller.md +23 -0
- package/doc/components/timebar-module.md +13 -0
- package/doc/core/chart-manager.md +14 -0
- package/doc/core/data-manager.md +33 -0
- package/doc/core/event-manager.md +26 -0
- package/doc/core/pane-manager.md +13 -0
- package/doc/core/series-manager.md +19 -0
- package/doc/core/theme-manager.md +21 -0
- package/doc/examples/basic-chart.md +24 -0
- package/doc/examples/data-format-guide.md +119 -0
- package/doc/examples/drawing-tools.md +30 -0
- package/doc/examples/indicator-properties.md +34 -0
- package/doc/examples/multi-pane.md +24 -0
- package/doc/examples/multi-panel.md +23 -0
- package/doc/examples/realtime-data.md +147 -0
- package/doc/examples/standalone-js.md +333 -0
- package/doc/guide/architecture.md +87 -0
- package/doc/guide/data-flow.md +310 -0
- package/doc/guide/deployment.md +59 -0
- package/doc/guide/drawing-properties.md +40 -0
- package/doc/guide/getting-started.md +94 -0
- package/doc/guide/pane-system.md +47 -0
- package/doc/guide/theme-switching.md +58 -0
- package/doc/hooks/use-chart.md +20 -0
- package/doc/hooks/use-crosshair-sync.md +14 -0
- package/doc/hooks/use-drawing-module.md +43 -0
- package/doc/hooks/use-theme.md +15 -0
- package/doc/index.md +33 -0
- package/doc/plugins/drawing/overview.md +36 -0
- package/doc/plugins/drawing/persistence.md +42 -0
- package/doc/plugins/drawing/tool-registry.md +29 -0
- package/doc/plugins/hollow-candlestick.md +18 -0
- package/doc/plugins/indicators.md +28 -0
- package/doc/plugins/renko.md +17 -0
- package/doc/plugins/replay.md +21 -0
- package/doc/plugins/screenshot.md +20 -0
- package/docs/api.md +94 -0
- package/package.json +54 -0
- package/python/qlchart/__init__.py +9 -0
- package/python/qlchart/__pycache__/__init__.cpython-311.pyc +0 -0
- package/python/qlchart/__pycache__/chart.cpython-311.pyc +0 -0
- package/python/qlchart/chart.py +333 -0
- package/python/qlchart/templates/chart_template.html +304 -0
- package/python/requirements.txt +1 -0
- package/python/setup.py +18 -0
- package/python/tests/__init__.py +1 -0
- package/python/tests/__pycache__/__init__.cpython-311.pyc +0 -0
- package/python/tests/__pycache__/test_chart.cpython-311-pytest-8.3.3.pyc +0 -0
- package/python/tests/test_chart.py +114 -0
- package/quantlife-qlchart-0.0.1.tgz +0 -0
- package/src/api/chartApi.ts +30 -0
- package/src/api/indicatorApi.ts +27 -0
- package/src/components/ChartFunctionMenu.tsx +64 -0
- package/src/components/PaneChartPanel.tsx +116 -0
- package/src/components/PaneDivider.tsx +66 -0
- package/src/components/QLChartLayout.tsx +151 -0
- package/src/components/QLChartPanel.tsx +560 -0
- package/src/components/QLChartProvider.tsx +90 -0
- package/src/components/context-menu/ChartContextMenu.tsx +139 -0
- package/src/components/context-menu/index.ts +2 -0
- package/src/components/drawing/DrawingModule.tsx +36 -0
- package/src/components/drawing/DrawingPropertyPanel.tsx +347 -0
- package/src/components/drawing/DrawingToolbar.tsx +305 -0
- package/src/components/drawing/index.ts +5 -0
- package/src/components/index.ts +43 -0
- package/src/components/indicator/IndicatorListPanel.tsx +94 -0
- package/src/components/indicator/IndicatorModal.tsx +171 -0
- package/src/components/indicator/IndicatorPanel.tsx +9 -0
- package/src/components/indicator/IndicatorPropertyPanel.tsx +130 -0
- package/src/components/indicator/IndicatorTag.tsx +173 -0
- package/src/components/indicator/index.ts +4 -0
- package/src/components/replay/ReplayController.css +97 -0
- package/src/components/replay/ReplayController.tsx +138 -0
- package/src/components/timebar/TimeBarModule.tsx +30 -0
- package/src/components/timebar/TimeRangeSelector.tsx +96 -0
- package/src/components/timebar/index.ts +3 -0
- package/src/components/toolbar/GlobalToolbar.tsx +58 -0
- package/src/components/toolbar/KlineTypeSelector.tsx +123 -0
- package/src/components/toolbar/LayoutSwitcher.tsx +45 -0
- package/src/components/toolbar/PeriodSelector.tsx +35 -0
- package/src/components/toolbar/QLToolbar.tsx +71 -0
- package/src/components/toolbar/TimeRangeSelector.tsx +89 -0
- package/src/components/ui/Modal.tsx +67 -0
- package/src/core/ChartManager.ts +95 -0
- package/src/core/DataManager.ts +427 -0
- package/src/core/EventManager.ts +63 -0
- package/src/core/IndicatorDataProcessor.ts +104 -0
- package/src/core/PaneManager.ts +121 -0
- package/src/core/RealtimeDataFeed.ts +110 -0
- package/src/core/SeriesManager.ts +210 -0
- package/src/core/ThemeManager.ts +59 -0
- package/src/core/index.ts +10 -0
- package/src/css.d.ts +4 -0
- package/src/hooks/useChart.ts +62 -0
- package/src/hooks/useCrosshairSync.ts +109 -0
- package/src/hooks/useDrawingModule.ts +475 -0
- package/src/hooks/useTheme.ts +31 -0
- package/src/index.ts +170 -0
- package/src/mock/MockDataService.ts +102 -0
- package/src/mock/MockIndicatorService.ts +40 -0
- package/src/mock/index.ts +5 -0
- package/src/mock/presets.ts +16 -0
- package/src/plugins/drawing/DrawingAdapter.ts +1762 -0
- package/src/plugins/drawing/DrawingPersistence.ts +273 -0
- package/src/plugins/drawing/DrawingPropertyTemplates.ts +327 -0
- package/src/plugins/drawing/DrawingSharedService.ts +125 -0
- package/src/plugins/drawing/DrawingToolRegistry.ts +684 -0
- package/src/plugins/drawing/TextLabelOverlay.ts +101 -0
- package/src/plugins/drawing/colorUtils.ts +53 -0
- package/src/plugins/drawing/index.ts +10 -0
- package/src/plugins/drawing/lineStyleMap.ts +46 -0
- package/src/plugins/drawing/migration.ts +105 -0
- package/src/plugins/drawing/patterns/PatternDefinitions.ts +57 -0
- package/src/plugins/drawing/patterns/index.ts +2 -0
- package/src/plugins/drawing/periodUtils.ts +51 -0
- package/src/plugins/indicators/AutoIndicatorRenderer.ts +204 -0
- package/src/plugins/indicators/IndicatorRenderer.ts +350 -0
- package/src/plugins/indicators/OverlayIndicator.ts +114 -0
- package/src/plugins/indicators/PaneIndicator.ts +137 -0
- package/src/plugins/indicators/index.ts +4 -0
- package/src/plugins/replay/KlineReplay.ts +163 -0
- package/src/plugins/replay/index.ts +2 -0
- package/src/plugins/screenshot/ScreenshotUtil.ts +123 -0
- package/src/plugins/screenshot/index.ts +1 -0
- package/src/plugins/series/HollowCandlestickSeries.ts +111 -0
- package/src/plugins/series/RenkoSeries.ts +104 -0
- package/src/plugins/series/VolumeCandlestickSeries.ts +127 -0
- package/src/plugins/series/index.ts +6 -0
- package/src/standalone.ts +386 -0
- package/src/store/useChartStore.ts +101 -0
- package/src/store/useDrawingStore.ts +135 -0
- package/src/store/useIndicatorStore.ts +100 -0
- package/src/store/usePanelRegistry.ts +50 -0
- package/src/store/useReplayStore.ts +42 -0
- package/src/store/useTimeBarStore.ts +34 -0
- package/src/styles/chart.css +312 -0
- package/src/styles/components.css +184 -0
- package/src/styles/context-menu.css +60 -0
- package/src/styles/drawing.css +524 -0
- package/src/styles/indicator-modal.css +216 -0
- package/src/styles/indicator-tag.css +210 -0
- package/src/styles/pane-chart.css +9 -0
- package/src/styles/responsive.css +71 -0
- package/src/styles/themes/dark.css +63 -0
- package/src/styles/themes/light.css +61 -0
- package/src/styles/toolbar.css +129 -0
- package/src/types/api.ts +36 -0
- package/src/types/chart.ts +44 -0
- package/src/types/drawing.ts +265 -0
- package/src/types/index.ts +40 -0
- package/src/types/indicator.ts +344 -0
- package/src/types/series.ts +53 -0
- package/src/types/theme.ts +48 -0
- package/src/utils/dataTransformer.ts +63 -0
- package/src/utils/heikinAshi.ts +41 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/lineBreak.ts +88 -0
- package/src/utils/themePresets.ts +69 -0
- package/src/utils/timeFormatter.ts +29 -0
- package/src/utils/timeScaleUtils.ts +68 -0
- package/tsconfig.json +21 -0
- package/typedoc.json +10 -0
- package/vite.config.standalone.ts +31 -0
- package/vite.config.ts +24 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* ── Chart Context Menu ── */
|
|
2
|
+
.qlchart-context-menu {
|
|
3
|
+
position: fixed;
|
|
4
|
+
z-index: 200;
|
|
5
|
+
background: var(--qlchart-toolbar-bg);
|
|
6
|
+
border: 1px solid var(--qlchart-border);
|
|
7
|
+
border-radius: var(--qlchart-radius-md);
|
|
8
|
+
padding: var(--qlchart-space-sm) 0;
|
|
9
|
+
min-width: 160px;
|
|
10
|
+
box-shadow: var(--qlchart-shadow-lg);
|
|
11
|
+
animation: qlchart-panel-in var(--qlchart-transition-fast);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.qlchart-context-menu-label {
|
|
15
|
+
padding: var(--qlchart-space-sm) var(--qlchart-space-lg);
|
|
16
|
+
font-size: var(--qlchart-text-xs);
|
|
17
|
+
color: var(--qlchart-text-secondary);
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
letter-spacing: 0.5px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.qlchart-context-menu-item {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: var(--qlchart-space-md);
|
|
26
|
+
width: 100%;
|
|
27
|
+
padding: 6px var(--qlchart-space-lg);
|
|
28
|
+
border: none;
|
|
29
|
+
background: none;
|
|
30
|
+
color: var(--qlchart-text);
|
|
31
|
+
font-size: var(--qlchart-text-base);
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
text-align: left;
|
|
34
|
+
transition: background var(--qlchart-transition), color var(--qlchart-transition);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.qlchart-context-menu-item:hover {
|
|
38
|
+
background: var(--qlchart-hover);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.qlchart-context-menu-item.active {
|
|
42
|
+
color: var(--qlchart-accent);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.qlchart-context-menu-item .shortcut {
|
|
46
|
+
margin-left: auto;
|
|
47
|
+
font-size: var(--qlchart-text-xs);
|
|
48
|
+
color: var(--qlchart-text-secondary);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.qlchart-context-menu-item:disabled {
|
|
52
|
+
opacity: 0.4;
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.qlchart-context-menu-divider {
|
|
57
|
+
height: 1px;
|
|
58
|
+
margin: var(--qlchart-space-sm) 0;
|
|
59
|
+
background: var(--qlchart-border);
|
|
60
|
+
}
|
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
/* ── Vertical Drawing Toolbar ── */
|
|
2
|
+
.qlchart-drawing-toolbar-vertical {
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
z-index: 100;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
width: 40px;
|
|
10
|
+
background: var(--qlchart-toolbar-bg);
|
|
11
|
+
border-right: 1px solid var(--qlchart-border);
|
|
12
|
+
border-radius: 0 var(--qlchart-radius-md) var(--qlchart-radius-md) 0;
|
|
13
|
+
padding: var(--qlchart-space-sm) 0;
|
|
14
|
+
gap: var(--qlchart-space-xs);
|
|
15
|
+
box-shadow: var(--qlchart-shadow-sm);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.qlchart-dvt-btn {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
width: 36px;
|
|
23
|
+
height: 36px;
|
|
24
|
+
margin: 0 var(--qlchart-space-xs);
|
|
25
|
+
border: none;
|
|
26
|
+
border-radius: var(--qlchart-radius-sm);
|
|
27
|
+
background: transparent;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
font-size: var(--qlchart-text-lg);
|
|
30
|
+
transition: background var(--qlchart-transition), color var(--qlchart-transition);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.qlchart-dvt-btn:hover {
|
|
34
|
+
background: var(--qlchart-hover);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.qlchart-dvt-btn.active,
|
|
38
|
+
.qlchart-dvt-btn.expanded,
|
|
39
|
+
.qlchart-dvt-btn.has-active {
|
|
40
|
+
background: var(--qlchart-active);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.qlchart-dvt-btn.active {
|
|
44
|
+
outline: 1px solid var(--qlchart-accent);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* disabled 状态 */
|
|
48
|
+
.qlchart-dvt-btn:disabled {
|
|
49
|
+
opacity: 0.4;
|
|
50
|
+
cursor: not-allowed;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.qlchart-dvt-separator {
|
|
54
|
+
height: 1px;
|
|
55
|
+
margin: var(--qlchart-space-sm) 6px;
|
|
56
|
+
background: var(--qlchart-border);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ── Sub Panel(弹出子工具面板) ── */
|
|
60
|
+
.qlchart-dvt-category {
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.qlchart-dvt-subpanel {
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 40px; /* 竖排工具栏右侧 */
|
|
68
|
+
z-index: 101;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
background: var(--qlchart-toolbar-bg);
|
|
72
|
+
border: 1px solid var(--qlchart-border);
|
|
73
|
+
border-radius: var(--qlchart-radius-md);
|
|
74
|
+
padding: var(--qlchart-space-sm);
|
|
75
|
+
min-width: 120px;
|
|
76
|
+
box-shadow: var(--qlchart-shadow-md);
|
|
77
|
+
animation: qlchart-panel-in var(--qlchart-transition);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes qlchart-panel-in {
|
|
81
|
+
from { opacity: 0; transform: scale(0.95); }
|
|
82
|
+
to { opacity: 1; transform: scale(1); }
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.qlchart-dvt-sub-btn {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
gap: 6px;
|
|
89
|
+
padding: 6px var(--qlchart-space-md);
|
|
90
|
+
border: none;
|
|
91
|
+
border-radius: var(--qlchart-radius-sm);
|
|
92
|
+
background: transparent;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
color: var(--qlchart-toolbar-text);
|
|
96
|
+
transition: background var(--qlchart-transition), color var(--qlchart-transition);
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.qlchart-dvt-sub-btn:hover {
|
|
101
|
+
background: var(--qlchart-hover);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.qlchart-dvt-sub-btn.active {
|
|
105
|
+
background: var(--qlchart-active);
|
|
106
|
+
color: var(--qlchart-accent);
|
|
107
|
+
font-weight: 600;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.qlchart-dvt-sub-label {
|
|
111
|
+
font-size: var(--qlchart-text-base);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* ── Drawing Property Panel ── */
|
|
115
|
+
/* ★ V2: 废弃旧的 absolute 定位,改为 Portal + 遮罩层标准 Modal */
|
|
116
|
+
/* .qlchart-drawing-property-panel { ... } — 已废弃 */
|
|
117
|
+
|
|
118
|
+
/* ★ V2 新增:标准弹出式 Modal 容器 */
|
|
119
|
+
.qlchart-drawing-property-modal {
|
|
120
|
+
position: relative;
|
|
121
|
+
z-index: 1;
|
|
122
|
+
width: 280px;
|
|
123
|
+
max-width: 90vw;
|
|
124
|
+
max-height: 80vh;
|
|
125
|
+
background: var(--qlchart-toolbar-bg);
|
|
126
|
+
border: 1px solid var(--qlchart-border);
|
|
127
|
+
border-radius: var(--qlchart-radius-lg);
|
|
128
|
+
box-shadow: var(--qlchart-shadow-lg);
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
overflow: hidden;
|
|
132
|
+
animation: qlchart-modal-slide-in var(--qlchart-transition);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@keyframes qlchart-modal-slide-in {
|
|
136
|
+
from { opacity: 0; transform: scale(0.95) translateY(-10px); }
|
|
137
|
+
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* body 区域 */
|
|
141
|
+
.qlchart-drawing-pp-body {
|
|
142
|
+
padding: var(--qlchart-space-lg);
|
|
143
|
+
overflow-y: auto;
|
|
144
|
+
flex: 1;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.qlchart-drawing-pp-header {
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: space-between;
|
|
151
|
+
margin-bottom: var(--qlchart-space-md);
|
|
152
|
+
padding-bottom: 6px;
|
|
153
|
+
border-bottom: 1px solid var(--qlchart-border);
|
|
154
|
+
font-size: var(--qlchart-text-md);
|
|
155
|
+
font-weight: 600;
|
|
156
|
+
color: var(--qlchart-toolbar-text);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.qlchart-drawing-pp-close {
|
|
160
|
+
background: none;
|
|
161
|
+
border: none;
|
|
162
|
+
color: var(--qlchart-text-secondary);
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
font-size: 14px;
|
|
165
|
+
padding: 0;
|
|
166
|
+
transition: color var(--qlchart-transition);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.qlchart-drawing-pp-close:hover {
|
|
170
|
+
color: var(--qlchart-text);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.qlchart-drawing-pp-row {
|
|
174
|
+
display: flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
gap: 6px;
|
|
177
|
+
margin-bottom: 6px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.qlchart-drawing-pp-row label {
|
|
181
|
+
font-size: var(--qlchart-text-sm);
|
|
182
|
+
color: var(--qlchart-text-secondary);
|
|
183
|
+
min-width: 60px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* 颜色选择器美化 */
|
|
187
|
+
.qlchart-drawing-pp-row input[type="color"] {
|
|
188
|
+
width: 32px;
|
|
189
|
+
height: 28px;
|
|
190
|
+
border: 1px solid var(--qlchart-border);
|
|
191
|
+
border-radius: var(--qlchart-radius-sm);
|
|
192
|
+
cursor: pointer;
|
|
193
|
+
padding: 2px;
|
|
194
|
+
background: var(--qlchart-bg);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* 滑块美化 */
|
|
198
|
+
.qlchart-drawing-pp-row input[type="range"] {
|
|
199
|
+
flex: 1;
|
|
200
|
+
-webkit-appearance: none;
|
|
201
|
+
appearance: none;
|
|
202
|
+
height: 4px;
|
|
203
|
+
background: var(--qlchart-border);
|
|
204
|
+
border-radius: var(--qlchart-radius-sm);
|
|
205
|
+
outline: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.qlchart-drawing-pp-row input[type="range"]::-webkit-slider-thumb {
|
|
209
|
+
-webkit-appearance: none;
|
|
210
|
+
appearance: none;
|
|
211
|
+
width: 14px;
|
|
212
|
+
height: 14px;
|
|
213
|
+
border-radius: 50%;
|
|
214
|
+
background: var(--qlchart-accent);
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
border: 2px solid var(--qlchart-toolbar-bg);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.qlchart-drawing-pp-row input[type="range"]::-moz-range-thumb {
|
|
220
|
+
width: 14px;
|
|
221
|
+
height: 14px;
|
|
222
|
+
border-radius: 50%;
|
|
223
|
+
background: var(--qlchart-accent);
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
border: 2px solid var(--qlchart-toolbar-bg);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.qlchart-drawing-pp-value {
|
|
229
|
+
font-size: var(--qlchart-text-sm);
|
|
230
|
+
color: var(--qlchart-text);
|
|
231
|
+
min-width: 24px;
|
|
232
|
+
text-align: right;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.qlchart-drawing-pp-actions {
|
|
236
|
+
margin-top: var(--qlchart-space-md);
|
|
237
|
+
padding-top: 6px;
|
|
238
|
+
border-top: 1px solid var(--qlchart-border);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.qlchart-drawing-pp-delete {
|
|
242
|
+
width: 100%;
|
|
243
|
+
padding: 6px;
|
|
244
|
+
border: none;
|
|
245
|
+
border-radius: var(--qlchart-radius-sm);
|
|
246
|
+
background: rgba(255, 68, 68, 0.15);
|
|
247
|
+
color: #ff4444;
|
|
248
|
+
cursor: pointer;
|
|
249
|
+
font-size: var(--qlchart-text-base);
|
|
250
|
+
transition: background var(--qlchart-transition);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.qlchart-drawing-pp-delete:hover {
|
|
254
|
+
background: rgba(255, 68, 68, 0.25);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* PropertyPanel 动态渲染控件样式 */
|
|
258
|
+
.qlchart-drawing-pp-select {
|
|
259
|
+
width: 100%;
|
|
260
|
+
padding: var(--qlchart-space-sm) 6px;
|
|
261
|
+
background: var(--qlchart-bg);
|
|
262
|
+
border: 1px solid var(--qlchart-border);
|
|
263
|
+
border-radius: var(--qlchart-radius-sm);
|
|
264
|
+
color: var(--qlchart-text);
|
|
265
|
+
font-size: var(--qlchart-text-base);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.qlchart-drawing-pp-text {
|
|
269
|
+
width: 100%;
|
|
270
|
+
padding: var(--qlchart-space-sm) 6px;
|
|
271
|
+
background: var(--qlchart-bg);
|
|
272
|
+
border: 1px solid var(--qlchart-border);
|
|
273
|
+
border-radius: var(--qlchart-radius-sm);
|
|
274
|
+
color: var(--qlchart-text);
|
|
275
|
+
font-size: var(--qlchart-text-base);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* 功能1:拖拽把手 */
|
|
279
|
+
.qlchart-dvt-drag-handle {
|
|
280
|
+
display: flex;
|
|
281
|
+
align-items: center;
|
|
282
|
+
justify-content: center;
|
|
283
|
+
padding: var(--qlchart-space-sm);
|
|
284
|
+
cursor: grab;
|
|
285
|
+
color: var(--qlchart-text-secondary);
|
|
286
|
+
font-size: var(--qlchart-text-lg);
|
|
287
|
+
user-select: none;
|
|
288
|
+
border-radius: 3px;
|
|
289
|
+
transition: background var(--qlchart-transition), color var(--qlchart-transition);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.qlchart-dvt-drag-handle:hover {
|
|
293
|
+
background: var(--qlchart-hover);
|
|
294
|
+
color: var(--qlchart-text);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.qlchart-dvt-drag-handle:active {
|
|
298
|
+
cursor: grabbing;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* 拖拽中 */
|
|
302
|
+
.qlchart-drawing-toolbar-vertical.dragging,
|
|
303
|
+
.qlchart-drawing-toolbar-horizontal.dragging {
|
|
304
|
+
opacity: 0.9;
|
|
305
|
+
box-shadow: var(--qlchart-shadow-lg);
|
|
306
|
+
transition: none;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* 横向工具栏 */
|
|
310
|
+
.qlchart-drawing-toolbar-horizontal {
|
|
311
|
+
position: absolute;
|
|
312
|
+
top: 0;
|
|
313
|
+
left: 50%;
|
|
314
|
+
transform: translateX(-50%);
|
|
315
|
+
z-index: 100;
|
|
316
|
+
|
|
317
|
+
display: flex;
|
|
318
|
+
flex-direction: row;
|
|
319
|
+
align-items: center;
|
|
320
|
+
gap: var(--qlchart-space-xs);
|
|
321
|
+
padding: var(--qlchart-space-sm) 6px;
|
|
322
|
+
height: 40px;
|
|
323
|
+
width: auto;
|
|
324
|
+
max-width: calc(100% - 20px);
|
|
325
|
+
|
|
326
|
+
background: var(--qlchart-toolbar-bg);
|
|
327
|
+
border: 1px solid var(--qlchart-border);
|
|
328
|
+
border-right: none;
|
|
329
|
+
border-bottom: 1px solid var(--qlchart-border);
|
|
330
|
+
border-radius: 0 0 var(--qlchart-radius-md) var(--qlchart-radius-md);
|
|
331
|
+
box-shadow: var(--qlchart-shadow-sm);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.qlchart-drawing-toolbar-horizontal .qlchart-dvt-category {
|
|
335
|
+
position: relative;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.qlchart-drawing-toolbar-horizontal .qlchart-dvt-subpanel {
|
|
339
|
+
position: absolute;
|
|
340
|
+
top: 100%;
|
|
341
|
+
left: 0;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.qlchart-drawing-toolbar-horizontal .qlchart-dvt-separator {
|
|
346
|
+
width: 1px;
|
|
347
|
+
height: 24px;
|
|
348
|
+
margin: 0 var(--qlchart-space-xs);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/* 横竖转换按钮 */
|
|
352
|
+
.qlchart-dvt-orientation-toggle {
|
|
353
|
+
margin-top: auto;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.qlchart-drawing-toolbar-horizontal .qlchart-dvt-orientation-toggle {
|
|
357
|
+
margin-top: 0;
|
|
358
|
+
margin-left: auto;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* Bug3:保存/取消按钮 */
|
|
362
|
+
.qlchart-drawing-pp-edit-actions {
|
|
363
|
+
display: flex;
|
|
364
|
+
gap: var(--qlchart-space-sm);
|
|
365
|
+
margin-bottom: 6px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.qlchart-drawing-pp-save {
|
|
369
|
+
flex: 1;
|
|
370
|
+
padding: 5px;
|
|
371
|
+
border: none;
|
|
372
|
+
border-radius: var(--qlchart-radius-sm);
|
|
373
|
+
background: rgba(38, 166, 154, 0.2);
|
|
374
|
+
color: #26a69a;
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
font-size: var(--qlchart-text-base);
|
|
377
|
+
transition: background var(--qlchart-transition);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.qlchart-drawing-pp-save:hover {
|
|
381
|
+
background: rgba(38, 166, 154, 0.3);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.qlchart-drawing-pp-cancel {
|
|
385
|
+
flex: 1;
|
|
386
|
+
padding: 5px;
|
|
387
|
+
border: none;
|
|
388
|
+
border-radius: var(--qlchart-radius-sm);
|
|
389
|
+
background: rgba(255, 68, 68, 0.15);
|
|
390
|
+
color: #ff4444;
|
|
391
|
+
cursor: pointer;
|
|
392
|
+
font-size: var(--qlchart-text-base);
|
|
393
|
+
transition: background var(--qlchart-transition);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.qlchart-drawing-pp-cancel:hover {
|
|
397
|
+
background: rgba(255, 68, 68, 0.25);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/* ★ Req3:斐波那契级别编辑器 */
|
|
401
|
+
.qlchart-fib-levels-editor {
|
|
402
|
+
display: flex;
|
|
403
|
+
flex-direction: column;
|
|
404
|
+
gap: var(--qlchart-space-sm);
|
|
405
|
+
max-height: 200px;
|
|
406
|
+
overflow-y: auto;
|
|
407
|
+
padding: var(--qlchart-space-sm);
|
|
408
|
+
background: var(--qlchart-bg);
|
|
409
|
+
border-radius: var(--qlchart-radius-sm);
|
|
410
|
+
border: 1px solid var(--qlchart-border);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.qlchart-fib-level-row {
|
|
414
|
+
display: flex;
|
|
415
|
+
align-items: center;
|
|
416
|
+
gap: 6px;
|
|
417
|
+
font-size: var(--qlchart-text-sm);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.qlchart-fib-level-row input[type="checkbox"] {
|
|
421
|
+
width: 14px;
|
|
422
|
+
height: 14px;
|
|
423
|
+
flex-shrink: 0;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.qlchart-fib-level-input {
|
|
427
|
+
width: 50px;
|
|
428
|
+
padding: var(--qlchart-space-xs) var(--qlchart-space-sm);
|
|
429
|
+
background: var(--qlchart-bg);
|
|
430
|
+
border: 1px solid var(--qlchart-border);
|
|
431
|
+
border-radius: 3px;
|
|
432
|
+
color: var(--qlchart-text);
|
|
433
|
+
font-size: var(--qlchart-text-sm);
|
|
434
|
+
text-align: right;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.qlchart-fib-level-label {
|
|
438
|
+
color: var(--qlchart-text-secondary);
|
|
439
|
+
min-width: 40px;
|
|
440
|
+
font-size: var(--qlchart-text-sm);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/* ★ Bug4修复:删除确认 Modal */
|
|
444
|
+
|
|
445
|
+
/* ★ V2: 副图 pane 指示器 */
|
|
446
|
+
.qlchart-dvt-pane-indicator {
|
|
447
|
+
display: flex;
|
|
448
|
+
align-items: center;
|
|
449
|
+
justify-content: center;
|
|
450
|
+
padding: var(--qlchart-space-xs);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.qlchart-dvt-pane-badge {
|
|
454
|
+
font-size: var(--qlchart-text-xs);
|
|
455
|
+
color: var(--qlchart-accent);
|
|
456
|
+
background: var(--qlchart-active);
|
|
457
|
+
padding: 2px 6px;
|
|
458
|
+
border-radius: var(--qlchart-radius-sm);
|
|
459
|
+
font-weight: 600;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.qlchart-confirm-overlay {
|
|
463
|
+
position: fixed;
|
|
464
|
+
inset: 0;
|
|
465
|
+
background: rgba(0, 0, 0, 0.6);
|
|
466
|
+
z-index: 2100;
|
|
467
|
+
display: flex;
|
|
468
|
+
align-items: center;
|
|
469
|
+
justify-content: center;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.qlchart-confirm-modal {
|
|
473
|
+
min-width: 320px;
|
|
474
|
+
background: var(--qlchart-toolbar-bg, #1e222d);
|
|
475
|
+
border: 1px solid var(--qlchart-border, #2a2e39);
|
|
476
|
+
border-radius: var(--qlchart-radius-lg, 8px);
|
|
477
|
+
box-shadow: var(--qlchart-shadow-lg);
|
|
478
|
+
padding: 24px;
|
|
479
|
+
text-align: center;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.qlchart-confirm-icon {
|
|
483
|
+
font-size: 32px;
|
|
484
|
+
margin-bottom: 12px;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.qlchart-confirm-title {
|
|
488
|
+
font-size: 16px;
|
|
489
|
+
font-weight: 600;
|
|
490
|
+
color: var(--qlchart-text);
|
|
491
|
+
margin-bottom: 8px;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.qlchart-confirm-desc {
|
|
495
|
+
font-size: 13px;
|
|
496
|
+
color: #787b86;
|
|
497
|
+
margin-bottom: 20px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.qlchart-confirm-actions {
|
|
501
|
+
display: flex;
|
|
502
|
+
gap: 12px;
|
|
503
|
+
justify-content: center;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.qlchart-confirm-cancel {
|
|
507
|
+
padding: 8px 20px;
|
|
508
|
+
background: var(--qlchart-toolbar-active-bg, #2a2e39);
|
|
509
|
+
border: 1px solid var(--qlchart-border, #2a2e39);
|
|
510
|
+
border-radius: 4px;
|
|
511
|
+
color: var(--qlchart-text);
|
|
512
|
+
cursor: pointer;
|
|
513
|
+
font-size: 13px;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.qlchart-confirm-ok {
|
|
517
|
+
padding: 8px 20px;
|
|
518
|
+
background: #ef5350;
|
|
519
|
+
border: none;
|
|
520
|
+
border-radius: 4px;
|
|
521
|
+
color: #fff;
|
|
522
|
+
cursor: pointer;
|
|
523
|
+
font-size: 13px;
|
|
524
|
+
}
|