@limetech/lime-elements 36.0.0-next.9 → 36.1.0-dev.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/dist/cjs/{checkbox.template-b6c6562c.js → checkbox.template-ac867c17.js} +1 -1
- package/dist/cjs/{dateFormatter-05d80b12.js → dateFormatter-d7a8d40d.js} +1 -1
- package/dist/cjs/{index-2a28697b.js → index-287e25e0.js} +424 -246
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-badge.cjs.entry.js +24 -3
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -8
- package/dist/cjs/{limel-button.cjs.entry.js → limel-button_2.cjs.entry.js} +117 -21
- package/dist/cjs/limel-checkbox.cjs.entry.js +10 -26
- package/dist/cjs/limel-chip-set.cjs.entry.js +40 -63
- package/dist/cjs/limel-circular-progress.cjs.entry.js +10 -15
- package/dist/cjs/limel-code-editor.cjs.entry.js +1693 -86
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +5 -6
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +5 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +8 -2
- package/dist/cjs/limel-config.cjs.entry.js +2 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +18 -36
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -11
- package/dist/cjs/limel-dock-button.cjs.entry.js +30 -14
- package/dist/cjs/limel-dock.cjs.entry.js +12 -47
- package/dist/cjs/limel-file.cjs.entry.js +10 -24
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +151 -50
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -13
- package/dist/cjs/limel-form.cjs.entry.js +327 -328
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +5 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -8
- package/dist/cjs/limel-icon.cjs.entry.js +4 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +40 -66
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -7
- package/dist/cjs/limel-list_2.cjs.entry.js +9 -18
- package/dist/cjs/limel-menu-list.cjs.entry.js +8 -16
- package/dist/cjs/limel-picker.cjs.entry.js +14 -39
- package/dist/cjs/limel-popover_4.cjs.entry.js +14 -13
- package/dist/cjs/limel-portal.cjs.entry.js +63 -73
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +5 -14
- package/dist/cjs/limel-progress-flow.cjs.entry.js +4 -20
- package/dist/cjs/limel-select.cjs.entry.js +12 -30
- package/dist/cjs/limel-shortcut.cjs.entry.js +52 -0
- package/dist/cjs/limel-slider.cjs.entry.js +12 -33
- package/dist/cjs/limel-snackbar.cjs.entry.js +7 -5
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -7
- package/dist/cjs/limel-split-button.cjs.entry.js +27 -0
- package/dist/cjs/limel-switch.cjs.entry.js +6 -19
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -5
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -5
- package/dist/cjs/limel-table.cjs.entry.js +33 -33
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{moment-5cfac5cd.js → moment-d1e35cdc.js} +2 -2
- package/dist/cjs/{translations-5a8d7f6c.js → translations-ca7279bc.js} +6 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/badge/badge.css +13 -0
- package/dist/collection/components/badge/badge.js +60 -28
- package/dist/collection/components/banner/banner.js +88 -83
- package/dist/collection/components/button/button.css +15 -8
- package/dist/collection/components/button/button.js +148 -160
- package/dist/collection/components/button-group/button-group.js +81 -79
- package/dist/collection/components/checkbox/checkbox.js +172 -176
- package/dist/collection/components/checkbox/checkbox.template.js +15 -23
- package/dist/collection/components/chip-set/chip-set.css +10 -2
- package/dist/collection/components/chip-set/chip-set.js +500 -534
- package/dist/collection/components/circular-progress/circular-progress.css +27 -5
- package/dist/collection/components/circular-progress/circular-progress.js +129 -113
- package/dist/collection/components/code-editor/code-editor.css +153 -1
- package/dist/collection/components/code-editor/code-editor.js +219 -135
- package/dist/collection/components/collapsible-section/collapsible-section.css +8 -7
- package/dist/collection/components/collapsible-section/collapsible-section.js +120 -124
- package/dist/collection/components/color-picker/color-picker-palette.js +102 -92
- package/dist/collection/components/color-picker/color-picker.js +143 -131
- package/dist/collection/components/config/config.js +21 -17
- package/dist/collection/components/date-picker/date-picker.js +255 -245
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +595 -166
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +150 -143
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
- package/dist/collection/components/dialog/dialog.js +134 -142
- package/dist/collection/components/dock/dock-button/dock-button.css +15 -9
- package/dist/collection/components/dock/dock-button/dock-button.js +158 -124
- package/dist/collection/components/dock/dock.css +7 -3
- package/dist/collection/components/dock/dock.js +207 -205
- package/dist/collection/components/file/file.js +187 -191
- package/dist/collection/components/flex-container/flex-container.js +96 -102
- package/dist/collection/components/form/form.js +158 -150
- package/dist/collection/components/grid/grid.js +11 -7
- package/dist/collection/components/header/header.js +89 -87
- package/dist/collection/components/icon/icon.js +79 -66
- package/dist/collection/components/icon-button/icon-button.js +85 -85
- package/dist/collection/components/input-field/input-field.css +9 -8
- package/dist/collection/components/input-field/input-field.js +494 -510
- package/dist/collection/components/linear-progress/linear-progress.js +57 -61
- package/dist/collection/components/list/list-renderer.js +3 -12
- package/dist/collection/components/list/list.js +167 -164
- package/dist/collection/components/list/radio-button/radio-button.template.js +2 -8
- package/dist/collection/components/menu/menu.js +185 -208
- package/dist/collection/components/menu-list/menu-list-renderer.js +2 -9
- package/dist/collection/components/menu-list/menu-list.js +150 -167
- package/dist/collection/components/menu-surface/menu-surface.js +69 -64
- package/dist/collection/components/picker/picker.js +412 -427
- package/dist/collection/components/popover/popover.js +79 -74
- package/dist/collection/components/popover-surface/popover-surface.css +9 -4
- package/dist/collection/components/popover-surface/popover-surface.js +34 -25
- package/dist/collection/components/portal/portal.js +145 -158
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +21 -8
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +90 -94
- package/dist/collection/components/progress-flow/progress-flow.js +93 -101
- package/dist/collection/components/select/select.css +10 -11
- package/dist/collection/components/select/select.js +206 -211
- package/dist/collection/components/select/select.template.js +10 -25
- package/dist/collection/components/shortcut/shortcut.css +91 -0
- package/dist/collection/components/shortcut/shortcut.js +194 -0
- package/dist/collection/components/slider/slider.js +233 -264
- package/dist/collection/components/snackbar/snackbar.js +175 -169
- package/dist/collection/components/spinner/spinner.js +56 -85
- package/dist/collection/components/split-button/split-button.css +75 -0
- package/dist/collection/components/split-button/split-button.js +168 -0
- package/dist/collection/components/switch/switch.js +117 -129
- package/dist/collection/components/tab-bar/tab-bar.js +87 -92
- package/dist/collection/components/tab-panel/tab-panel.js +64 -61
- package/dist/collection/components/table/columns.js +1 -0
- package/dist/collection/components/table/layout.js +8 -0
- package/dist/collection/components/table/table.css +89 -61
- package/dist/collection/components/table/table.js +453 -432
- package/dist/collection/components/tooltip/tooltip-content.js +70 -61
- package/dist/collection/components/tooltip/tooltip.js +96 -91
- package/dist/collection/icons/angle_left.svg +593 -0
- package/dist/collection/icons/angle_right.svg +593 -0
- package/dist/collection/icons/external_link.svg +593 -0
- package/dist/collection/icons/high_importance.svg +593 -0
- package/dist/collection/icons/unit-test.svg +593 -0
- package/dist/collection/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/collection/style/internal/z-index.scss +0 -7
- package/dist/collection/style/mixins.scss +11 -0
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/esm/{checkbox.template-2f1bbc98.js → checkbox.template-fc7fcd06.js} +1 -1
- package/dist/esm/{dateFormatter-2cad0292.js → dateFormatter-784c3334.js} +1 -1
- package/dist/esm/{index-11cd0b60.js → index-cdfd351d.js} +424 -246
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-badge.entry.js +24 -3
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js +3 -8
- package/dist/esm/{limel-button.entry.js → limel-button_2.entry.js} +117 -22
- package/dist/esm/limel-checkbox.entry.js +10 -26
- package/dist/esm/limel-chip-set.entry.js +40 -63
- package/dist/esm/limel-circular-progress.entry.js +10 -15
- package/dist/esm/limel-code-editor.entry.js +1693 -86
- package/dist/esm/limel-collapsible-section.entry.js +5 -6
- package/dist/esm/limel-color-picker-palette.entry.js +5 -1
- package/dist/esm/limel-color-picker.entry.js +8 -2
- package/dist/esm/limel-config.entry.js +2 -1
- package/dist/esm/limel-date-picker.entry.js +18 -36
- package/dist/esm/limel-dialog.entry.js +3 -11
- package/dist/esm/limel-dock-button.entry.js +30 -14
- package/dist/esm/limel-dock.entry.js +12 -47
- package/dist/esm/limel-file.entry.js +10 -24
- package/dist/esm/limel-flatpickr-adapter.entry.js +151 -50
- package/dist/esm/limel-flex-container.entry.js +1 -13
- package/dist/esm/limel-form.entry.js +327 -328
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +5 -1
- package/dist/esm/limel-icon-button.entry.js +3 -8
- package/dist/esm/limel-icon.entry.js +4 -1
- package/dist/esm/limel-input-field.entry.js +40 -66
- package/dist/esm/limel-linear-progress.entry.js +1 -7
- package/dist/esm/limel-list_2.entry.js +9 -18
- package/dist/esm/limel-menu-list.entry.js +8 -16
- package/dist/esm/limel-picker.entry.js +14 -39
- package/dist/esm/limel-popover_4.entry.js +14 -13
- package/dist/esm/limel-portal.entry.js +63 -73
- package/dist/esm/limel-progress-flow-item.entry.js +5 -14
- package/dist/esm/limel-progress-flow.entry.js +4 -20
- package/dist/esm/limel-select.entry.js +12 -30
- package/dist/esm/limel-shortcut.entry.js +48 -0
- package/dist/esm/limel-slider.entry.js +12 -33
- package/dist/esm/limel-snackbar.entry.js +7 -5
- package/dist/esm/limel-spinner.entry.js +1 -7
- package/dist/esm/limel-split-button.entry.js +23 -0
- package/dist/esm/limel-switch.entry.js +6 -19
- package/dist/esm/limel-tab-bar.entry.js +2 -5
- package/dist/esm/limel-tab-panel.entry.js +2 -5
- package/dist/esm/limel-table.entry.js +33 -33
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{moment-367e51c5.js → moment-faa8a4a8.js} +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{translations-682e905e.js → translations-0d0ee941.js} +6 -0
- package/dist/lime-elements/lime-elements.css +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-059e0a64.entry.js +1 -0
- package/dist/lime-elements/{p-440454ed.entry.js → p-06f2f6b4.entry.js} +1 -1
- package/dist/lime-elements/{p-71efe2ca.entry.js → p-0dbde06f.entry.js} +1 -1
- package/dist/lime-elements/p-12a7453b.entry.js +73 -0
- package/dist/lime-elements/p-15c2eb16.entry.js +1 -0
- package/dist/lime-elements/{p-c80acfb2.entry.js → p-15ca0d70.entry.js} +4 -4
- package/dist/lime-elements/{p-ed65468d.entry.js → p-16eb9071.entry.js} +1 -1
- package/dist/lime-elements/{p-1ede893b.js → p-1af8258b.js} +1 -1
- package/dist/lime-elements/p-246862ec.js +1 -0
- package/dist/lime-elements/p-28dffd9e.entry.js +1 -0
- package/dist/lime-elements/p-334b5f82.entry.js +37 -0
- package/dist/lime-elements/p-36a3b897.entry.js +1 -0
- package/dist/lime-elements/p-4b426b7e.entry.js +11 -0
- package/dist/lime-elements/p-4eda8b67.entry.js +82 -0
- package/dist/lime-elements/{p-9af0704c.entry.js → p-4fb4e89b.entry.js} +1 -1
- package/dist/lime-elements/{p-a5af84a7.entry.js → p-5338663b.entry.js} +1 -1
- package/dist/lime-elements/p-5ce60a32.entry.js +126 -0
- package/dist/lime-elements/p-5f13035a.entry.js +1 -0
- package/dist/lime-elements/{p-42b67933.entry.js → p-600464a9.entry.js} +1 -1
- package/dist/lime-elements/p-6534e16a.entry.js +1 -0
- package/dist/lime-elements/p-6a4a5ddd.entry.js +1 -0
- package/dist/lime-elements/p-6c38b505.entry.js +1 -0
- package/dist/lime-elements/{p-d76f896d.js → p-73df4d83.js} +1 -1
- package/dist/lime-elements/p-744c21f8.entry.js +1 -0
- package/dist/lime-elements/p-75d01713.entry.js +1 -0
- package/dist/lime-elements/p-768b7cbb.entry.js +1 -0
- package/dist/lime-elements/{p-6e7809a6.entry.js → p-82cd7bb6.entry.js} +1 -1
- package/dist/lime-elements/p-84a137a7.entry.js +1 -0
- package/dist/lime-elements/p-8715eac0.entry.js +1 -0
- package/dist/lime-elements/{p-8827628d.entry.js → p-8fb83e83.entry.js} +2 -2
- package/dist/lime-elements/p-90961075.entry.js +1 -0
- package/dist/lime-elements/p-945afca2.js +3 -0
- package/dist/lime-elements/p-9984b31c.entry.js +1 -0
- package/dist/lime-elements/p-9bd76629.entry.js +59 -0
- package/dist/lime-elements/p-9f19e0c1.entry.js +1 -0
- package/dist/lime-elements/p-ace4e596.entry.js +1 -0
- package/dist/lime-elements/p-cad7cda1.entry.js +16 -0
- package/dist/lime-elements/p-cfaa685f.entry.js +1 -0
- package/dist/lime-elements/{p-94899019.entry.js → p-d1187867.entry.js} +1 -1
- package/dist/lime-elements/{p-aa66620a.entry.js → p-d3ebc657.entry.js} +2 -2
- package/dist/lime-elements/p-d4e788e1.js +2 -0
- package/dist/lime-elements/p-d512656b.entry.js +1 -0
- package/dist/lime-elements/p-d8e5a9ee.entry.js +1 -0
- package/dist/lime-elements/p-dcd2a664.entry.js +16 -0
- package/dist/lime-elements/p-de161bb5.entry.js +1 -0
- package/dist/lime-elements/p-e4bca82b.entry.js +1 -0
- package/dist/lime-elements/p-e7bb664f.entry.js +1 -0
- package/dist/lime-elements/p-ef04b849.entry.js +82 -0
- package/dist/lime-elements/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/lime-elements/style/internal/z-index.scss +0 -7
- package/dist/lime-elements/style/mixins.scss +11 -0
- package/dist/loader/package.json +1 -0
- package/dist/types/components/badge/badge.d.ts +12 -4
- package/dist/types/components/chip-set/chip-set.d.ts +3 -2
- package/dist/types/components/circular-progress/circular-progress.d.ts +5 -0
- package/dist/types/components/code-editor/code-editor.d.ts +14 -0
- package/dist/types/components/date-picker/date-picker.d.ts +4 -0
- package/dist/types/components/dock/dock-button/dock-button.d.ts +21 -5
- package/dist/types/components/dock/dock.d.ts +11 -3
- package/dist/types/components/input-field/input-field.d.ts +6 -0
- package/dist/types/components/menu/menu.d.ts +1 -2
- package/dist/types/components/menu-list/menu-list.d.ts +2 -7
- package/dist/types/components/picker/picker.d.ts +2 -2
- package/dist/types/components/shortcut/shortcut.d.ts +57 -0
- package/dist/types/components/split-button/split-button.d.ts +45 -0
- package/dist/types/components/tab-bar/tab.types.d.ts +1 -1
- package/dist/types/components/table/layout.d.ts +2 -0
- package/dist/types/components/table/table.d.ts +16 -1
- package/dist/types/components/table/table.types.d.ts +4 -0
- package/dist/types/components.d.ts +390 -80
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/types/translations/da.d.ts +1 -0
- package/dist/types/translations/en.d.ts +1 -0
- package/dist/types/translations/fi.d.ts +1 -0
- package/dist/types/translations/nl.d.ts +1 -0
- package/dist/types/translations/no.d.ts +1 -0
- package/dist/types/translations/sv.d.ts +1 -0
- package/package.json +27 -26
- package/dist/cjs/limel-menu.cjs.entry.js +0 -148
- package/dist/esm/limel-menu.entry.js +0 -144
- package/dist/lime-elements/p-009de50e.entry.js +0 -1
- package/dist/lime-elements/p-19f72dab.entry.js +0 -1
- package/dist/lime-elements/p-1a2ffe75.entry.js +0 -82
- package/dist/lime-elements/p-1dfccbc5.entry.js +0 -1
- package/dist/lime-elements/p-1e59114e.entry.js +0 -1
- package/dist/lime-elements/p-2639edf9.entry.js +0 -73
- package/dist/lime-elements/p-3af5f9ad.js +0 -3
- package/dist/lime-elements/p-3bf54a4c.js +0 -1
- package/dist/lime-elements/p-53e01330.entry.js +0 -1
- package/dist/lime-elements/p-5ad60e14.entry.js +0 -126
- package/dist/lime-elements/p-63e25a0a.entry.js +0 -1
- package/dist/lime-elements/p-64f068a8.entry.js +0 -1
- package/dist/lime-elements/p-6884b012.entry.js +0 -1
- package/dist/lime-elements/p-6966b5df.entry.js +0 -1
- package/dist/lime-elements/p-6b1bc80f.entry.js +0 -1
- package/dist/lime-elements/p-722d32e0.entry.js +0 -1
- package/dist/lime-elements/p-75152d89.entry.js +0 -1
- package/dist/lime-elements/p-7e571ec6.entry.js +0 -11
- package/dist/lime-elements/p-7ee4b825.entry.js +0 -1
- package/dist/lime-elements/p-93cd2268.entry.js +0 -1
- package/dist/lime-elements/p-95f275ab.entry.js +0 -1
- package/dist/lime-elements/p-97d6c4a6.entry.js +0 -1
- package/dist/lime-elements/p-995bbd2a.entry.js +0 -1
- package/dist/lime-elements/p-a465084b.entry.js +0 -82
- package/dist/lime-elements/p-af0ec482.entry.js +0 -16
- package/dist/lime-elements/p-b0046fcd.entry.js +0 -1
- package/dist/lime-elements/p-b95e80c9.entry.js +0 -1
- package/dist/lime-elements/p-bd098a11.entry.js +0 -1
- package/dist/lime-elements/p-d1ee4501.entry.js +0 -37
- package/dist/lime-elements/p-d74fa89e.entry.js +0 -1
- package/dist/lime-elements/p-e98d76e8.entry.js +0 -59
- package/dist/lime-elements/p-e9a95b8f.js +0 -1
- package/dist/lime-elements/p-f0c9dadd.entry.js +0 -1
- package/dist/lime-elements/p-f0e872b6.entry.js +0 -16
|
@@ -63,11 +63,16 @@
|
|
|
63
63
|
/**
|
|
64
64
|
* @prop --circular-progress-size: Determines the visual size of the visualization. This does not override the `size` property if it is specified.
|
|
65
65
|
* @prop --circular-progress-track-color: Determines the color of the circular track. Defaults to `--contrast-400`.
|
|
66
|
+
* @prop --circular-progress-suffix-color: Determines the color of the prefix. Defaults to `--contrast-1000`.
|
|
67
|
+
* @prop --circular-progress-text-color: Determines the color of the value. Defaults to `--contrast-1200`.
|
|
68
|
+
* @prop --circular-progress-prefix-color: Determines the color of the suffix. Defaults to `--contrast-1000`.
|
|
66
69
|
* @prop --circular-progress-fill-color: Determines the color of the progressed section. Defaults to `--lime-primary-color`.
|
|
70
|
+
* @prop --circular-progress-background-color: Determines the background color of the central section. Defaults to `--contrast-100`.
|
|
67
71
|
*/
|
|
68
72
|
:host {
|
|
69
73
|
display: block;
|
|
70
74
|
box-sizing: border-box;
|
|
75
|
+
isolation: isolate;
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
:host([size=x-small]) {
|
|
@@ -99,13 +104,15 @@
|
|
|
99
104
|
--circular-progress-track-color,
|
|
100
105
|
rgb(var(--contrast-400))
|
|
101
106
|
);
|
|
107
|
+
position: relative;
|
|
102
108
|
display: flex;
|
|
103
109
|
align-items: center;
|
|
104
110
|
justify-content: center;
|
|
105
111
|
width: var(--size);
|
|
106
112
|
height: var(--size);
|
|
107
113
|
border-radius: 50%;
|
|
108
|
-
|
|
114
|
+
line-height: normal;
|
|
115
|
+
box-shadow: 0 0 0 0.125rem rgb(var(--contrast-100), 0.7);
|
|
109
116
|
background: conic-gradient(var(--fill-color) 0% var(--percentage), var(--track-color) var(--percentage) 100%);
|
|
110
117
|
}
|
|
111
118
|
.lime-circular-progress:before {
|
|
@@ -114,19 +121,34 @@
|
|
|
114
121
|
width: calc(var(--size) * 0.75 + 0.25rem);
|
|
115
122
|
height: calc(var(--size) * 0.75 + 0.25rem);
|
|
116
123
|
border-radius: 50%;
|
|
117
|
-
background-color: rgb(var(--contrast-100));
|
|
124
|
+
background-color: var(--circular-progress-background-color, rgb(var(--contrast-100)));
|
|
118
125
|
box-shadow: var(--button-shadow-pressed);
|
|
119
126
|
}
|
|
120
127
|
|
|
128
|
+
.prefix {
|
|
129
|
+
font-size: clamp(0.5rem, var(--size) * 0.16, 2.25rem);
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
white-space: nowrap;
|
|
132
|
+
text-overflow: ellipsis;
|
|
133
|
+
text-align: center;
|
|
134
|
+
color: var(--circular-progress-prefix-color, rgb(var(--contrast-1000)));
|
|
135
|
+
width: 45%;
|
|
136
|
+
top: 20%;
|
|
137
|
+
position: absolute;
|
|
138
|
+
}
|
|
139
|
+
|
|
121
140
|
.value {
|
|
122
|
-
|
|
123
|
-
|
|
141
|
+
display: flex;
|
|
142
|
+
font-size: clamp(0.5rem, var(--size) * 0.25, 4rem);
|
|
143
|
+
color: var(--circular-progress-text-color, rgb(var(--contrast-1200)));
|
|
124
144
|
z-index: 1;
|
|
125
145
|
cursor: default;
|
|
126
146
|
}
|
|
127
147
|
|
|
128
148
|
.suffix {
|
|
129
|
-
|
|
149
|
+
font-size: clamp(0.5rem, var(--size) * 0.18, 2.5rem);
|
|
150
|
+
color: var(--circular-progress-suffix-color, rgb(var(--contrast-1000)));
|
|
151
|
+
padding-top: 4%;
|
|
130
152
|
}
|
|
131
153
|
|
|
132
154
|
.displays-percentage-colors[style^="--percentage:1"] {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
2
|
import { abbreviate } from '../badge/format';
|
|
3
3
|
const PERCENT = 100;
|
|
4
4
|
/**
|
|
@@ -27,22 +27,17 @@ const PERCENT = 100;
|
|
|
27
27
|
*/
|
|
28
28
|
export class CircularProgress {
|
|
29
29
|
constructor() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
this.renderPrefix = () => {
|
|
31
|
+
if (this.prefix) {
|
|
32
|
+
return h("span", { class: "prefix" }, this.prefix);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
33
35
|
this.value = 0;
|
|
34
|
-
/**
|
|
35
|
-
* The maximum value within the scale that the progress bar should visualize. Defaults to `100`.
|
|
36
|
-
*/
|
|
37
36
|
this.maxValue = PERCENT;
|
|
38
|
-
|
|
39
|
-
* The suffix which is displayed after the `value`, must be one or two characters long. Defaults to `%`
|
|
40
|
-
*/
|
|
37
|
+
this.prefix = null;
|
|
41
38
|
this.suffix = '%';
|
|
42
|
-
/**
|
|
43
|
-
* When set to `true`, makes the filled section showing the percentage colorful. Colors change with intervals of 10%.
|
|
44
|
-
*/
|
|
45
39
|
this.displayPercentageColors = false;
|
|
40
|
+
this.size = undefined;
|
|
46
41
|
}
|
|
47
42
|
render() {
|
|
48
43
|
const classList = {
|
|
@@ -51,113 +46,134 @@ export class CircularProgress {
|
|
|
51
46
|
};
|
|
52
47
|
const currentPercentage = (this.value * PERCENT) / this.maxValue + '%';
|
|
53
48
|
const value = Math.round(this.value * 10) / 10; // eslint-disable-line no-magic-numbers
|
|
54
|
-
return (h("div", { role: "progressbar", class: classList, "aria-label": "%", "aria-valuemin": "0", "aria-valuemax": this.maxValue, "aria-valuenow": this.value, style: { '--percentage': currentPercentage } },
|
|
55
|
-
h("span", { class: "value" },
|
|
56
|
-
abbreviate(value),
|
|
57
|
-
h("span", { class: "suffix" }, this.suffix))));
|
|
49
|
+
return (h("div", { role: "progressbar", class: classList, "aria-label": "%", "aria-valuemin": "0", "aria-valuemax": this.maxValue, "aria-valuenow": this.value, style: { '--percentage': currentPercentage } }, this.renderPrefix(), h("span", { class: "value" }, abbreviate(value), h("span", { class: "suffix" }, this.suffix))));
|
|
58
50
|
}
|
|
59
51
|
static get is() { return "limel-circular-progress"; }
|
|
60
52
|
static get encapsulation() { return "shadow"; }
|
|
61
|
-
static get originalStyleUrls() {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"original": "number",
|
|
91
|
-
"resolved": "number",
|
|
92
|
-
"references": {}
|
|
93
|
-
},
|
|
94
|
-
"required": false,
|
|
95
|
-
"optional": false,
|
|
96
|
-
"docs": {
|
|
97
|
-
"tags": [],
|
|
98
|
-
"text": "The maximum value within the scale that the progress bar should visualize. Defaults to `100`."
|
|
53
|
+
static get originalStyleUrls() {
|
|
54
|
+
return {
|
|
55
|
+
"$": ["circular-progress.scss"]
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
static get styleUrls() {
|
|
59
|
+
return {
|
|
60
|
+
"$": ["circular-progress.css"]
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
static get properties() {
|
|
64
|
+
return {
|
|
65
|
+
"value": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "number",
|
|
70
|
+
"resolved": "number",
|
|
71
|
+
"references": {}
|
|
72
|
+
},
|
|
73
|
+
"required": false,
|
|
74
|
+
"optional": false,
|
|
75
|
+
"docs": {
|
|
76
|
+
"tags": [],
|
|
77
|
+
"text": "The value of the progress bar."
|
|
78
|
+
},
|
|
79
|
+
"attribute": "value",
|
|
80
|
+
"reflect": false,
|
|
81
|
+
"defaultValue": "0"
|
|
99
82
|
},
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
83
|
+
"maxValue": {
|
|
84
|
+
"type": "number",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "number",
|
|
88
|
+
"resolved": "number",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": "The maximum value within the scale that the progress bar should visualize. Defaults to `100`."
|
|
96
|
+
},
|
|
97
|
+
"attribute": "max-value",
|
|
98
|
+
"reflect": false,
|
|
99
|
+
"defaultValue": "PERCENT"
|
|
111
100
|
},
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
101
|
+
"prefix": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": true,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "The prefix which is displayed before the `value`, must be a few characters characters long."
|
|
114
|
+
},
|
|
115
|
+
"attribute": "prefix",
|
|
116
|
+
"reflect": true,
|
|
117
|
+
"defaultValue": "null"
|
|
117
118
|
},
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
119
|
+
"suffix": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "string",
|
|
124
|
+
"resolved": "string",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "The suffix which is displayed after the `value`, must be one or two characters long. Defaults to `%`"
|
|
132
|
+
},
|
|
133
|
+
"attribute": "suffix",
|
|
134
|
+
"reflect": false,
|
|
135
|
+
"defaultValue": "'%'"
|
|
129
136
|
},
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"
|
|
134
|
-
|
|
137
|
+
"displayPercentageColors": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"mutable": false,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "boolean",
|
|
142
|
+
"resolved": "boolean",
|
|
143
|
+
"references": {}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": "When set to `true`, makes the filled section showing the percentage colorful. Colors change with intervals of 10%."
|
|
150
|
+
},
|
|
151
|
+
"attribute": "display-percentage-colors",
|
|
152
|
+
"reflect": false,
|
|
153
|
+
"defaultValue": "false"
|
|
135
154
|
},
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"CircularProgressSize": {
|
|
148
|
-
"location": "import",
|
|
149
|
-
"path": "./circular-progress.types"
|
|
155
|
+
"size": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "CircularProgressSize",
|
|
160
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\"",
|
|
161
|
+
"references": {
|
|
162
|
+
"CircularProgressSize": {
|
|
163
|
+
"location": "import",
|
|
164
|
+
"path": "./circular-progress.types"
|
|
165
|
+
}
|
|
150
166
|
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
}
|
|
167
|
+
},
|
|
168
|
+
"required": false,
|
|
169
|
+
"optional": false,
|
|
170
|
+
"docs": {
|
|
171
|
+
"tags": [],
|
|
172
|
+
"text": "Determines the visual size of the visualization from a preset size. This property can override the `--circular-progress-size` variable if it is specified."
|
|
173
|
+
},
|
|
174
|
+
"attribute": "size",
|
|
175
|
+
"reflect": true
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
163
179
|
}
|
|
@@ -343,15 +343,125 @@ div.CodeMirror-dragcursors {
|
|
|
343
343
|
/* Help users use markselection to safely style text background */
|
|
344
344
|
span.CodeMirror-selectedtext { background: none; }
|
|
345
345
|
|
|
346
|
+
/* The lint marker gutter */
|
|
347
|
+
.CodeMirror-lint-markers {
|
|
348
|
+
width: 16px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.CodeMirror-lint-tooltip {
|
|
352
|
+
background-color: #ffd;
|
|
353
|
+
border: 1px solid black;
|
|
354
|
+
border-radius: 4px 4px 4px 4px;
|
|
355
|
+
color: black;
|
|
356
|
+
font-family: monospace;
|
|
357
|
+
font-size: 10pt;
|
|
358
|
+
overflow: hidden;
|
|
359
|
+
padding: 2px 5px;
|
|
360
|
+
position: fixed;
|
|
361
|
+
white-space: pre;
|
|
362
|
+
white-space: pre-wrap;
|
|
363
|
+
z-index: 100;
|
|
364
|
+
max-width: 600px;
|
|
365
|
+
opacity: 0;
|
|
366
|
+
transition: opacity .4s;
|
|
367
|
+
-moz-transition: opacity .4s;
|
|
368
|
+
-webkit-transition: opacity .4s;
|
|
369
|
+
-o-transition: opacity .4s;
|
|
370
|
+
-ms-transition: opacity .4s;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.CodeMirror-lint-mark {
|
|
374
|
+
background-position: left bottom;
|
|
375
|
+
background-repeat: repeat-x;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.CodeMirror-lint-mark-warning {
|
|
379
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.CodeMirror-lint-mark-error {
|
|
383
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.CodeMirror-lint-marker {
|
|
387
|
+
background-position: center center;
|
|
388
|
+
background-repeat: no-repeat;
|
|
389
|
+
cursor: pointer;
|
|
390
|
+
display: inline-block;
|
|
391
|
+
height: 16px;
|
|
392
|
+
width: 16px;
|
|
393
|
+
vertical-align: middle;
|
|
394
|
+
position: relative;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.CodeMirror-lint-message {
|
|
398
|
+
padding-left: 18px;
|
|
399
|
+
background-position: top left;
|
|
400
|
+
background-repeat: no-repeat;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
|
|
404
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
|
|
408
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.CodeMirror-lint-marker-multiple {
|
|
412
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
|
|
413
|
+
background-repeat: no-repeat;
|
|
414
|
+
background-position: right bottom;
|
|
415
|
+
width: 100%; height: 100%;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.CodeMirror-lint-line-error {
|
|
419
|
+
background-color: rgba(183, 76, 81, 0.08);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.CodeMirror-lint-line-warning {
|
|
423
|
+
background-color: rgba(255, 211, 0, 0.1);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.CodeMirror-foldmarker {
|
|
427
|
+
color: blue;
|
|
428
|
+
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|
|
429
|
+
font-family: arial;
|
|
430
|
+
line-height: .3;
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
}
|
|
433
|
+
.CodeMirror-foldgutter {
|
|
434
|
+
width: .7em;
|
|
435
|
+
}
|
|
436
|
+
.CodeMirror-foldgutter-open,
|
|
437
|
+
.CodeMirror-foldgutter-folded {
|
|
438
|
+
cursor: pointer;
|
|
439
|
+
}
|
|
440
|
+
.CodeMirror-foldgutter-open:after {
|
|
441
|
+
content: "\25BE";
|
|
442
|
+
}
|
|
443
|
+
.CodeMirror-foldgutter-folded:after {
|
|
444
|
+
content: "\25B8";
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/*
|
|
448
|
+
* This file is imported into every component!
|
|
449
|
+
*
|
|
450
|
+
* Nothing in this file may output any CSS
|
|
451
|
+
* without being explicitly called by outside code.
|
|
452
|
+
*/
|
|
346
453
|
/**
|
|
347
454
|
* @prop --code-editor-max-height: Defines how tall the code editor can get before content becomes scrollable, defaults to `10rem`.
|
|
455
|
+
* @prop --code-editor-font-size: Defines the font size of the code, defaults to `0.875rem`.
|
|
348
456
|
*/
|
|
349
457
|
:host {
|
|
350
458
|
display: flex;
|
|
351
|
-
font-size:
|
|
459
|
+
font-size: var(--code-editor-font-size, 0.875rem);
|
|
352
460
|
}
|
|
353
461
|
|
|
354
462
|
.editor {
|
|
463
|
+
display: flex;
|
|
464
|
+
align-items: stretch;
|
|
355
465
|
width: 100%;
|
|
356
466
|
}
|
|
357
467
|
.editor.is-light-mode {
|
|
@@ -477,6 +587,7 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
477
587
|
background-color: rgb(var(--code-editor-background-color));
|
|
478
588
|
border-radius: 0.25rem;
|
|
479
589
|
height: auto;
|
|
590
|
+
width: 100%;
|
|
480
591
|
}
|
|
481
592
|
.cm-s-lime .CodeMirror-scroll {
|
|
482
593
|
max-height: var(--code-editor-max-height, 10rem);
|
|
@@ -518,4 +629,45 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
518
629
|
bottom: -0.4rem;
|
|
519
630
|
left: 0;
|
|
520
631
|
right: 0;
|
|
632
|
+
}
|
|
633
|
+
.cm-s-lime .CodeMirror-lint-marker-error,
|
|
634
|
+
.cm-s-lime .CodeMirror-lint-message-error {
|
|
635
|
+
background-image: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs/><path fill='rgb(255,255,255)' d='M7.219 5.781L5.78 7.22 14.563 16 5.78 24.781 7.22 26.22 16 17.437l8.781 8.782 1.438-1.438L17.437 16l8.782-8.781L24.78 5.78 16 14.563z'/></svg>");
|
|
636
|
+
background-color: rgb(var(--color-red-default));
|
|
637
|
+
background-size: 0.75rem;
|
|
638
|
+
border-radius: 50%;
|
|
639
|
+
}
|
|
640
|
+
.cm-s-lime .CodeMirror-foldmarker {
|
|
641
|
+
position: relative;
|
|
642
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
|
|
643
|
+
box-shadow: var(--button-shadow-normal);
|
|
644
|
+
color: transparent;
|
|
645
|
+
text-shadow: none;
|
|
646
|
+
padding: 0 0.5rem;
|
|
647
|
+
border-radius: 1rem;
|
|
648
|
+
background-image: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' xml:space='preserve'><circle cx='16' cy='16' r='2'/><circle cx='26' cy='16' r='2'/><circle cx='6' cy='16' r='2'/></svg>");
|
|
649
|
+
background-size: contain;
|
|
650
|
+
background-repeat: no-repeat;
|
|
651
|
+
background-position: center;
|
|
652
|
+
}
|
|
653
|
+
.cm-s-lime .CodeMirror-foldmarker:hover {
|
|
654
|
+
box-shadow: var(--button-shadow-hovered);
|
|
655
|
+
}
|
|
656
|
+
.cm-s-lime .CodeMirror-foldmarker:active {
|
|
657
|
+
box-shadow: var(--button-shadow-pressed);
|
|
658
|
+
transform: translate3d(0, 0.08rem, 0);
|
|
659
|
+
}
|
|
660
|
+
.is-dark-mode .cm-s-lime .CodeMirror-foldmarker {
|
|
661
|
+
background-color: rgb(var(--contrast-1200));
|
|
662
|
+
}
|
|
663
|
+
.cm-s-lime [class^=CodeMirror-foldgutter] {
|
|
664
|
+
color: var(--code-editor-neutral-text-color);
|
|
665
|
+
transition: opacity 0.2s ease;
|
|
666
|
+
opacity: 0.4;
|
|
667
|
+
}
|
|
668
|
+
.cm-s-lime [class^=CodeMirror-foldgutter]:hover {
|
|
669
|
+
opacity: 1;
|
|
670
|
+
}
|
|
671
|
+
.cm-s-lime .CodeMirror-foldgutter-folded {
|
|
672
|
+
opacity: 0.7;
|
|
521
673
|
}
|