@limetech/lime-elements 39.0.1 → 39.0.2
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/CHANGELOG.md +7 -0
- package/dist/cjs/{checkbox.template-Bu9mvjbY.js → checkbox.template-VElWkDR9.js} +1 -1
- package/dist/cjs/{index-DYJkh2ZK.js → index-Ddjrlc-6.js} +1 -1
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +1 -1
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js +4 -4
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +2 -2
- package/dist/cjs/limel-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/limel-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-config.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock.cjs.entry.js +2 -2
- package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +2 -2
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
- package/dist/cjs/limel-help.cjs.entry.js +1 -1
- package/dist/cjs/limel-helper-line_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +1 -1
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-portal_3.cjs.entry.js +1 -1
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-progress-flow.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-select.cjs.entry.js +2 -2
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +2 -2
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +2 -2
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/button/button.css +34 -33
- package/dist/collection/components/chart/chart.css +120 -376
- package/dist/collection/components/chip/chip.css +68 -69
- package/dist/collection/components/chip-set/chip-set.css +29 -116
- package/dist/collection/components/circular-progress/circular-progress.css +193 -193
- package/dist/collection/components/code-editor/code-editor.css +350 -189
- package/dist/collection/components/collapsible-section/collapsible-section.css +125 -125
- package/dist/collection/components/dock/dock.css +60 -153
- package/dist/collection/components/file-viewer/file-viewer.css +80 -172
- package/dist/collection/components/form/form.css +77 -164
- package/dist/collection/components/input-field/input-field.css +75 -168
- package/dist/collection/components/list/list.css +59 -151
- package/dist/collection/components/menu-list/menu-list.css +59 -151
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +74 -80
- package/dist/collection/components/progress-flow/progress-flow.css +2 -0
- package/dist/collection/components/radio-button-group/radio-button.css +2 -2
- package/dist/collection/components/select/select.css +39 -132
- package/dist/collection/components/slider/slider.css +391 -403
- package/dist/collection/components/snackbar/snackbar.css +76 -75
- package/dist/collection/components/switch/switch.css +106 -106
- package/dist/collection/components/tab-bar/tab-bar.css +208 -203
- package/dist/collection/components/table/table.css +170 -462
- package/dist/collection/style/color-palette-primary.scss.bak +1 -1
- package/dist/collection/style/color-palette-ui.scss.bak +1 -1
- package/dist/collection/style/internal/fieldset.scss +2 -2
- package/dist/esm/{checkbox.template-CVMlWdZR.js → checkbox.template-BB2t2jwT.js} +1 -1
- package/dist/esm/{index-BudcI_o9.js → index-xvTBZcD2.js} +1 -1
- package/dist/esm/lime-elements.js +2 -2
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar-item_2.entry.js +1 -1
- package/dist/esm/limel-action-bar_2.entry.js +1 -1
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-badge.entry.js +1 -1
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_7.entry.js +4 -4
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +2 -2
- package/dist/esm/limel-checkbox.entry.js +2 -2
- package/dist/esm/limel-chip_2.entry.js +3 -3
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette.entry.js +1 -1
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-config.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +1 -1
- package/dist/esm/limel-dock-button.entry.js +1 -1
- package/dist/esm/limel-dock.entry.js +2 -2
- package/dist/esm/limel-drag-handle.entry.js +1 -1
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-file-dropzone_2.entry.js +1 -1
- package/dist/esm/limel-file-viewer.entry.js +2 -2
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +2 -2
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-help-content.entry.js +1 -1
- package/dist/esm/limel-help.entry.js +1 -1
- package/dist/esm/limel-helper-line_2.entry.js +1 -1
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list-item.entry.js +2 -2
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_2.entry.js +1 -1
- package/dist/esm/limel-portal_3.entry.js +1 -1
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-progress-flow-item.entry.js +2 -2
- package/dist/esm/limel-progress-flow.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-select.entry.js +2 -2
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +2 -2
- package/dist/esm/limel-snackbar.entry.js +2 -2
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-switch.entry.js +2 -2
- package/dist/esm/limel-tab-bar.entry.js +2 -2
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +2 -2
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/lime-elements/lime-elements.css +2 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-f80d0b8b.entry.js → p-00859fac.entry.js} +1 -1
- package/dist/lime-elements/{p-6c51b3bd.entry.js → p-017dd326.entry.js} +1 -1
- package/dist/lime-elements/{p-a91b36d3.entry.js → p-045c6027.entry.js} +1 -1
- package/dist/lime-elements/{p-a0b6339c.entry.js → p-083b24bb.entry.js} +1 -1
- package/dist/lime-elements/{p-0d1c887c.entry.js → p-11f716f5.entry.js} +1 -1
- package/dist/lime-elements/{p-72489a91.entry.js → p-1e5b18cc.entry.js} +1 -1
- package/dist/lime-elements/{p-ce8be001.entry.js → p-23f7956e.entry.js} +1 -1
- package/dist/lime-elements/{p-7a47ecdc.entry.js → p-264f791d.entry.js} +1 -1
- package/dist/lime-elements/{p-690b9cf4.entry.js → p-2a5b259e.entry.js} +1 -1
- package/dist/lime-elements/{p-b857f209.entry.js → p-2c1538f0.entry.js} +1 -1
- package/dist/lime-elements/{p-48eb1ff2.entry.js → p-303d01e5.entry.js} +1 -1
- package/dist/lime-elements/{p-8850374d.entry.js → p-34ef71f2.entry.js} +1 -1
- package/dist/lime-elements/{p-3aa32860.entry.js → p-38fb97fe.entry.js} +1 -1
- package/dist/lime-elements/{p-ed20f52d.entry.js → p-3c933811.entry.js} +1 -1
- package/dist/lime-elements/{p-6abc7ed8.entry.js → p-478d225c.entry.js} +1 -1
- package/dist/lime-elements/{p-93c9b561.entry.js → p-4be18a57.entry.js} +1 -1
- package/dist/lime-elements/{p-be4e99b4.entry.js → p-52bb74b9.entry.js} +1 -1
- package/dist/lime-elements/{p-70450a21.entry.js → p-52edfe86.entry.js} +1 -1
- package/dist/lime-elements/{p-846a1d26.entry.js → p-534fdf9b.entry.js} +1 -1
- package/dist/lime-elements/{p-94c76e12.entry.js → p-5536e886.entry.js} +1 -1
- package/dist/lime-elements/{p-69fec8b9.entry.js → p-5d5f0a73.entry.js} +1 -1
- package/dist/lime-elements/{p-8c631f1e.entry.js → p-5ddeb498.entry.js} +1 -1
- package/dist/lime-elements/{p-7f50dd29.entry.js → p-6275668f.entry.js} +1 -1
- package/dist/lime-elements/{p-c127acfd.entry.js → p-6896d5c8.entry.js} +1 -1
- package/dist/lime-elements/{p-903c0e45.entry.js → p-68f49d6f.entry.js} +1 -1
- package/dist/lime-elements/p-693cbb67.entry.js +1 -0
- package/dist/lime-elements/{p-ea6204d1.entry.js → p-6951136b.entry.js} +1 -1
- package/dist/lime-elements/{p-a0ddf68a.entry.js → p-6aebcf60.entry.js} +1 -1
- package/dist/lime-elements/{p-638642a0.entry.js → p-6e3666e5.entry.js} +1 -1
- package/dist/lime-elements/{p-1f78b29b.entry.js → p-7457bc07.entry.js} +1 -1
- package/dist/lime-elements/{p-88519938.entry.js → p-7464e43d.entry.js} +1 -1
- package/dist/lime-elements/p-74fbf987.entry.js +1 -0
- package/dist/lime-elements/{p-ce82000d.entry.js → p-752df4bf.entry.js} +1 -1
- package/dist/lime-elements/p-7c37a99e.entry.js +1 -0
- package/dist/lime-elements/{p-8ba65d1b.entry.js → p-7d5bd4a2.entry.js} +1 -1
- package/dist/lime-elements/{p-df0892cd.entry.js → p-80d35f8f.entry.js} +1 -1
- package/dist/lime-elements/p-880b9683.entry.js +23 -0
- package/dist/lime-elements/{p-e50a1d0b.entry.js → p-88f503eb.entry.js} +1 -1
- package/dist/lime-elements/{p-99a9abf7.entry.js → p-8a2b2fac.entry.js} +1 -1
- package/dist/lime-elements/{p-9c80e222.entry.js → p-8db6b7d9.entry.js} +2 -2
- package/dist/lime-elements/{p-5028a09d.entry.js → p-927622ec.entry.js} +1 -1
- package/dist/lime-elements/{p-5054a30b.entry.js → p-9a8d6440.entry.js} +1 -1
- package/dist/lime-elements/{p-90688692.entry.js → p-9ea564fe.entry.js} +2 -2
- package/dist/lime-elements/{p-d22e07f0.entry.js → p-9ed578ec.entry.js} +1 -1
- package/dist/lime-elements/{p-ngNtOjhe.js → p-BlsZTyGA.js} +1 -1
- package/dist/lime-elements/p-a6fae24d.entry.js +1 -0
- package/dist/lime-elements/{p-ddc25dd2.entry.js → p-abef62d7.entry.js} +1 -1
- package/dist/lime-elements/{p-e33c71b7.entry.js → p-aea52308.entry.js} +1 -1
- package/dist/lime-elements/{p-773a37c0.entry.js → p-bbaf35ce.entry.js} +1 -1
- package/dist/lime-elements/{p-e77059f2.entry.js → p-c118eac0.entry.js} +1 -1
- package/dist/lime-elements/{p-5cddb3df.entry.js → p-c9e934af.entry.js} +1 -1
- package/dist/lime-elements/{p-10900b3f.entry.js → p-cbb7d624.entry.js} +1 -1
- package/dist/lime-elements/p-d1fa6da3.entry.js +67 -0
- package/dist/lime-elements/{p-2b0cfd52.entry.js → p-d2123236.entry.js} +1 -1
- package/dist/lime-elements/p-d424688d.entry.js +1 -0
- package/dist/lime-elements/{p-1c97671b.entry.js → p-d6270e4a.entry.js} +1 -1
- package/dist/lime-elements/p-dd36d57b.entry.js +203 -0
- package/dist/lime-elements/p-e11c9b40.entry.js +1 -0
- package/dist/lime-elements/{p-23ef08cc.entry.js → p-e1656821.entry.js} +2 -2
- package/dist/lime-elements/p-e6d74062.entry.js +1 -0
- package/dist/lime-elements/{p-70ea6855.entry.js → p-ec42a4aa.entry.js} +1 -1
- package/dist/lime-elements/{p-2b1f729d.entry.js → p-f395fbe3.entry.js} +1 -1
- package/dist/lime-elements/{p-170fd367.entry.js → p-fc3209db.entry.js} +1 -1
- package/dist/lime-elements/p-feeae1e4.entry.js +1 -0
- package/dist/lime-elements/{p-BudcI_o9.js → p-xvTBZcD2.js} +1 -1
- package/dist/lime-elements/style/color-palette-primary.scss.bak +1 -1
- package/dist/lime-elements/style/color-palette-ui.scss.bak +1 -1
- package/dist/lime-elements/style/internal/fieldset.scss +2 -2
- package/package.json +1 -1
- package/dist/lime-elements/p-1691e794.entry.js +0 -1
- package/dist/lime-elements/p-1db54640.entry.js +0 -1
- package/dist/lime-elements/p-45304b5c.entry.js +0 -23
- package/dist/lime-elements/p-4ab87bae.entry.js +0 -1
- package/dist/lime-elements/p-7203e289.entry.js +0 -203
- package/dist/lime-elements/p-8408a45f.entry.js +0 -1
- package/dist/lime-elements/p-c18a8a9f.entry.js +0 -1
- package/dist/lime-elements/p-d73c300f.entry.js +0 -1
- package/dist/lime-elements/p-da63420d.entry.js +0 -67
- package/dist/lime-elements/p-de541d0f.entry.js +0 -1
- package/dist/lime-elements/p-e6e65d9d.entry.js +0 -1
|
@@ -1,6 +1,92 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* Note! This file is exported to `dist/scss/` in the published
|
|
4
|
+
* node module, for consumer projects to import.
|
|
5
|
+
* That means this file cannot import from any file that isn't
|
|
6
|
+
* also exported, keeping the same relative path.
|
|
7
|
+
*
|
|
8
|
+
* Or, just don't import anything, that works too.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* This mixin will mask out the content that is close to
|
|
15
|
+
* the edges of a scrollable area.
|
|
16
|
+
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
17
|
+
* as an argument for `$direction`.
|
|
18
|
+
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
19
|
+
* as an argument for `$direction`.
|
|
20
|
+
*
|
|
21
|
+
* For the visual effect to work smoothly, we need to make sure that
|
|
22
|
+
* the size of the fade-out edge effect is the same as the
|
|
23
|
+
* internal paddings of the scrollable area. Otherwise, content of a
|
|
24
|
+
* scrollable area that does not have a padding will fade out before
|
|
25
|
+
* any scrolling has been done.
|
|
26
|
+
* This is why this mixin already adds paddings, which automatically
|
|
27
|
+
* default to the size of the fade-out effect.
|
|
28
|
+
* This size defaults to `1rem`, but to override the size use
|
|
29
|
+
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
30
|
+
* when `vertically` argument is set, and use
|
|
31
|
+
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
32
|
+
* when `horizontally` argument is set.
|
|
33
|
+
* Of course you can also programmatically increase and decrease the
|
|
34
|
+
* size of these variables for each edge, based on the amount of
|
|
35
|
+
* scrolling that has been done by the user. In this case, make sure
|
|
36
|
+
* to add a custom padding where the mixin is used, to override
|
|
37
|
+
* the paddings that are automatically added by the mixin in the
|
|
38
|
+
* compiled CSS code.
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
42
|
+
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
43
|
+
* before using this mixin.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* This mixin creates a cross-browser font stack.
|
|
47
|
+
* - `sans-serif` can be used for the UI of the components.
|
|
48
|
+
* - `monospace` can be used for code.
|
|
49
|
+
*
|
|
50
|
+
* ⚠️ If we change the font stacks, we need to update
|
|
51
|
+
* 1. the consumer documentation in `README.md`, and
|
|
52
|
+
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
53
|
+
* in the `<style>` tag of `index.html`.
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* This mixin is a hack, using old CSS syntax
|
|
57
|
+
* to enable you to truncate a piece of text,
|
|
58
|
+
* after a certain number of lines.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* This mixin will add a chessboard background pattern,
|
|
62
|
+
* typically used to visualize transparency.
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Make a container resizable by the user.
|
|
66
|
+
* This is used in the documentations and examples
|
|
67
|
+
* of some components, to demonstrate how the component
|
|
68
|
+
* behaves in a resizable container.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Drag to reorder mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* The breakpoints below are used to create responsive designs
|
|
75
|
+
* in Lime's products. Therefore, they are here to get distributed
|
|
76
|
+
* to all components in other private repos, which rely on this `mixins`
|
|
77
|
+
* file, to create consistent styles.
|
|
78
|
+
*
|
|
79
|
+
* :::important
|
|
80
|
+
* In very rare cases you should used media queries!
|
|
81
|
+
* Nowadays, there are many better ways of achieving responsive design
|
|
82
|
+
* without media queries. For example, using CSS Grid, Flexbox, and their features.
|
|
83
|
+
* :::
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Media query mixins for responsive design based on screen width.
|
|
87
|
+
* Note that these mixins do not detect the device type!
|
|
88
|
+
*/
|
|
2
89
|
/* BASICS */
|
|
3
|
-
|
|
4
90
|
.CodeMirror {
|
|
5
91
|
/* Set height, width, borders, and global font properties here */
|
|
6
92
|
font-family: monospace;
|
|
@@ -10,10 +96,10 @@
|
|
|
10
96
|
}
|
|
11
97
|
|
|
12
98
|
/* PADDING */
|
|
13
|
-
|
|
14
99
|
.CodeMirror-lines {
|
|
15
100
|
padding: 4px 0; /* Vertical padding around content */
|
|
16
101
|
}
|
|
102
|
+
|
|
17
103
|
.CodeMirror pre.CodeMirror-line,
|
|
18
104
|
.CodeMirror pre.CodeMirror-line-like {
|
|
19
105
|
padding: 0 4px; /* Horizontal padding of content */
|
|
@@ -24,13 +110,12 @@
|
|
|
24
110
|
}
|
|
25
111
|
|
|
26
112
|
/* GUTTER */
|
|
27
|
-
|
|
28
113
|
.CodeMirror-gutters {
|
|
29
114
|
border-right: 1px solid #ddd;
|
|
30
115
|
background-color: #f7f7f7;
|
|
31
116
|
white-space: nowrap;
|
|
32
117
|
}
|
|
33
|
-
|
|
118
|
+
|
|
34
119
|
.CodeMirror-linenumber {
|
|
35
120
|
padding: 0 3px 0 5px;
|
|
36
121
|
min-width: 20px;
|
|
@@ -39,117 +124,222 @@
|
|
|
39
124
|
white-space: nowrap;
|
|
40
125
|
}
|
|
41
126
|
|
|
42
|
-
.CodeMirror-guttermarker {
|
|
43
|
-
|
|
127
|
+
.CodeMirror-guttermarker {
|
|
128
|
+
color: black;
|
|
129
|
+
}
|
|
44
130
|
|
|
45
|
-
|
|
131
|
+
.CodeMirror-guttermarker-subtle {
|
|
132
|
+
color: #999;
|
|
133
|
+
}
|
|
46
134
|
|
|
135
|
+
/* CURSOR */
|
|
47
136
|
.CodeMirror-cursor {
|
|
48
137
|
border-left: 1px solid black;
|
|
49
138
|
border-right: none;
|
|
50
139
|
width: 0;
|
|
51
140
|
}
|
|
141
|
+
|
|
52
142
|
/* Shown when moving in bi-directional text */
|
|
53
143
|
.CodeMirror div.CodeMirror-secondarycursor {
|
|
54
144
|
border-left: 1px solid silver;
|
|
55
145
|
}
|
|
146
|
+
|
|
56
147
|
.cm-fat-cursor .CodeMirror-cursor {
|
|
57
148
|
width: auto;
|
|
58
149
|
border: 0 !important;
|
|
59
150
|
background: #7e7;
|
|
60
151
|
}
|
|
152
|
+
|
|
61
153
|
.cm-fat-cursor div.CodeMirror-cursors {
|
|
62
154
|
z-index: 1;
|
|
63
155
|
}
|
|
156
|
+
|
|
64
157
|
.cm-fat-cursor .CodeMirror-line::selection,
|
|
65
|
-
.cm-fat-cursor .CodeMirror-line > span::selection,
|
|
66
|
-
.cm-fat-cursor .CodeMirror-line > span > span::selection {
|
|
158
|
+
.cm-fat-cursor .CodeMirror-line > span::selection,
|
|
159
|
+
.cm-fat-cursor .CodeMirror-line > span > span::selection {
|
|
160
|
+
background: transparent;
|
|
161
|
+
}
|
|
162
|
+
|
|
67
163
|
.cm-fat-cursor .CodeMirror-line::-moz-selection,
|
|
68
164
|
.cm-fat-cursor .CodeMirror-line > span::-moz-selection,
|
|
69
|
-
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
|
|
70
|
-
|
|
165
|
+
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
|
|
166
|
+
background: transparent;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.cm-fat-cursor {
|
|
170
|
+
caret-color: transparent;
|
|
171
|
+
}
|
|
172
|
+
|
|
71
173
|
@-moz-keyframes blink {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
174
|
+
50% {
|
|
175
|
+
background-color: transparent;
|
|
176
|
+
}
|
|
75
177
|
}
|
|
76
178
|
@-webkit-keyframes blink {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
179
|
+
50% {
|
|
180
|
+
background-color: transparent;
|
|
181
|
+
}
|
|
80
182
|
}
|
|
81
183
|
@keyframes blink {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
184
|
+
50% {
|
|
185
|
+
background-color: transparent;
|
|
186
|
+
}
|
|
85
187
|
}
|
|
86
|
-
|
|
87
188
|
/* Can style cursor different in overwrite (non-insert) mode */
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
189
|
+
.cm-tab {
|
|
190
|
+
display: inline-block;
|
|
191
|
+
text-decoration: inherit;
|
|
192
|
+
}
|
|
91
193
|
|
|
92
194
|
.CodeMirror-rulers {
|
|
93
195
|
position: absolute;
|
|
94
|
-
left: 0;
|
|
196
|
+
left: 0;
|
|
197
|
+
right: 0;
|
|
198
|
+
top: -50px;
|
|
199
|
+
bottom: 0;
|
|
95
200
|
overflow: hidden;
|
|
96
201
|
}
|
|
202
|
+
|
|
97
203
|
.CodeMirror-ruler {
|
|
98
204
|
border-left: 1px solid #ccc;
|
|
99
|
-
top: 0;
|
|
205
|
+
top: 0;
|
|
206
|
+
bottom: 0;
|
|
100
207
|
position: absolute;
|
|
101
208
|
}
|
|
102
209
|
|
|
103
210
|
/* DEFAULT THEME */
|
|
211
|
+
.cm-s-default .cm-header {
|
|
212
|
+
color: blue;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.cm-s-default .cm-quote {
|
|
216
|
+
color: #090;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.cm-negative {
|
|
220
|
+
color: #d44;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.cm-positive {
|
|
224
|
+
color: #292;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.cm-header, .cm-strong {
|
|
228
|
+
font-weight: bold;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.cm-em {
|
|
232
|
+
font-style: italic;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.cm-link {
|
|
236
|
+
text-decoration: underline;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cm-strikethrough {
|
|
240
|
+
text-decoration: line-through;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.cm-s-default .cm-keyword {
|
|
244
|
+
color: #708;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.cm-s-default .cm-atom {
|
|
248
|
+
color: #219;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.cm-s-default .cm-number {
|
|
252
|
+
color: #164;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.cm-s-default .cm-def {
|
|
256
|
+
color: #00f;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.cm-s-default .cm-variable-2 {
|
|
260
|
+
color: #05a;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {
|
|
264
|
+
color: #085;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.cm-s-default .cm-comment {
|
|
268
|
+
color: #a50;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.cm-s-default .cm-string {
|
|
272
|
+
color: #a11;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.cm-s-default .cm-string-2 {
|
|
276
|
+
color: #f50;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.cm-s-default .cm-meta {
|
|
280
|
+
color: #555;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.cm-s-default .cm-qualifier {
|
|
284
|
+
color: #555;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.cm-s-default .cm-builtin {
|
|
288
|
+
color: #30a;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.cm-s-default .cm-bracket {
|
|
292
|
+
color: #997;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.cm-s-default .cm-tag {
|
|
296
|
+
color: #170;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.cm-s-default .cm-attribute {
|
|
300
|
+
color: #00c;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.cm-s-default .cm-hr {
|
|
304
|
+
color: #999;
|
|
305
|
+
}
|
|
104
306
|
|
|
105
|
-
.cm-s-default .cm-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.cm-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
.cm-s-default .cm-property,
|
|
121
|
-
.cm-s-default .cm-operator {}
|
|
122
|
-
.cm-s-default .cm-variable-2 {color: #05a;}
|
|
123
|
-
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
|
|
124
|
-
.cm-s-default .cm-comment {color: #a50;}
|
|
125
|
-
.cm-s-default .cm-string {color: #a11;}
|
|
126
|
-
.cm-s-default .cm-string-2 {color: #f50;}
|
|
127
|
-
.cm-s-default .cm-meta {color: #555;}
|
|
128
|
-
.cm-s-default .cm-qualifier {color: #555;}
|
|
129
|
-
.cm-s-default .cm-builtin {color: #30a;}
|
|
130
|
-
.cm-s-default .cm-bracket {color: #997;}
|
|
131
|
-
.cm-s-default .cm-tag {color: #170;}
|
|
132
|
-
.cm-s-default .cm-attribute {color: #00c;}
|
|
133
|
-
.cm-s-default .cm-hr {color: #999;}
|
|
134
|
-
.cm-s-default .cm-link {color: #00c;}
|
|
135
|
-
|
|
136
|
-
.cm-s-default .cm-error {color: #f00;}
|
|
137
|
-
.cm-invalidchar {color: #f00;}
|
|
138
|
-
|
|
139
|
-
.CodeMirror-composing { border-bottom: 2px solid; }
|
|
307
|
+
.cm-s-default .cm-link {
|
|
308
|
+
color: #00c;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.cm-s-default .cm-error {
|
|
312
|
+
color: #f00;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.cm-invalidchar {
|
|
316
|
+
color: #f00;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.CodeMirror-composing {
|
|
320
|
+
border-bottom: 2px solid;
|
|
321
|
+
}
|
|
140
322
|
|
|
141
323
|
/* Default styles for common addons */
|
|
324
|
+
div.CodeMirror span.CodeMirror-matchingbracket {
|
|
325
|
+
color: #0b0;
|
|
326
|
+
}
|
|
142
327
|
|
|
143
|
-
div.CodeMirror span.CodeMirror-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
.CodeMirror-activeline-background {background: #e8f2ff;}
|
|
328
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
329
|
+
color: #a22;
|
|
330
|
+
}
|
|
147
331
|
|
|
148
|
-
|
|
332
|
+
.CodeMirror-matchingtag {
|
|
333
|
+
background: rgba(255, 150, 0, 0.3);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.CodeMirror-activeline-background {
|
|
337
|
+
background: #e8f2ff;
|
|
338
|
+
}
|
|
149
339
|
|
|
340
|
+
/* STOP */
|
|
150
341
|
/* The rest of this file contains styles related to the mechanics of
|
|
151
342
|
the editor. You probably shouldn't touch them. */
|
|
152
|
-
|
|
153
343
|
.CodeMirror {
|
|
154
344
|
position: relative;
|
|
155
345
|
overflow: hidden;
|
|
@@ -160,13 +350,15 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
160
350
|
overflow: scroll !important; /* Things will break if this is overridden */
|
|
161
351
|
/* 50px is the magic margin used to hide the element's real scrollbars */
|
|
162
352
|
/* See overflow: hidden in .CodeMirror */
|
|
163
|
-
margin-bottom: -50px;
|
|
353
|
+
margin-bottom: -50px;
|
|
354
|
+
margin-right: -50px;
|
|
164
355
|
padding-bottom: 50px;
|
|
165
356
|
height: 100%;
|
|
166
357
|
outline: none; /* Prevent dragging from highlighting the element */
|
|
167
358
|
position: relative;
|
|
168
359
|
z-index: 0;
|
|
169
360
|
}
|
|
361
|
+
|
|
170
362
|
.CodeMirror-sizer {
|
|
171
363
|
position: relative;
|
|
172
364
|
border-right: 50px solid transparent;
|
|
@@ -181,28 +373,39 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
181
373
|
display: none;
|
|
182
374
|
outline: none;
|
|
183
375
|
}
|
|
376
|
+
|
|
184
377
|
.CodeMirror-vscrollbar {
|
|
185
|
-
right: 0;
|
|
378
|
+
right: 0;
|
|
379
|
+
top: 0;
|
|
186
380
|
overflow-x: hidden;
|
|
187
381
|
overflow-y: scroll;
|
|
188
382
|
}
|
|
383
|
+
|
|
189
384
|
.CodeMirror-hscrollbar {
|
|
190
|
-
bottom: 0;
|
|
385
|
+
bottom: 0;
|
|
386
|
+
left: 0;
|
|
191
387
|
overflow-y: hidden;
|
|
192
388
|
overflow-x: scroll;
|
|
193
389
|
}
|
|
390
|
+
|
|
194
391
|
.CodeMirror-scrollbar-filler {
|
|
195
|
-
right: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
bottom: 0;
|
|
196
394
|
}
|
|
395
|
+
|
|
197
396
|
.CodeMirror-gutter-filler {
|
|
198
|
-
left: 0;
|
|
397
|
+
left: 0;
|
|
398
|
+
bottom: 0;
|
|
199
399
|
}
|
|
200
400
|
|
|
201
401
|
.CodeMirror-gutters {
|
|
202
|
-
position: absolute;
|
|
402
|
+
position: absolute;
|
|
403
|
+
left: 0;
|
|
404
|
+
top: 0;
|
|
203
405
|
min-height: 100%;
|
|
204
406
|
z-index: 3;
|
|
205
407
|
}
|
|
408
|
+
|
|
206
409
|
.CodeMirror-gutter {
|
|
207
410
|
white-space: normal;
|
|
208
411
|
height: 100%;
|
|
@@ -210,33 +413,46 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
210
413
|
vertical-align: top;
|
|
211
414
|
margin-bottom: -50px;
|
|
212
415
|
}
|
|
416
|
+
|
|
213
417
|
.CodeMirror-gutter-wrapper {
|
|
214
418
|
position: absolute;
|
|
215
419
|
z-index: 4;
|
|
216
420
|
background: none !important;
|
|
217
421
|
border: none !important;
|
|
218
422
|
}
|
|
423
|
+
|
|
219
424
|
.CodeMirror-gutter-background {
|
|
220
425
|
position: absolute;
|
|
221
|
-
top: 0;
|
|
426
|
+
top: 0;
|
|
427
|
+
bottom: 0;
|
|
222
428
|
z-index: 4;
|
|
223
429
|
}
|
|
430
|
+
|
|
224
431
|
.CodeMirror-gutter-elt {
|
|
225
432
|
position: absolute;
|
|
226
433
|
cursor: default;
|
|
227
434
|
z-index: 4;
|
|
228
435
|
}
|
|
229
|
-
|
|
230
|
-
.CodeMirror-gutter-wrapper
|
|
436
|
+
|
|
437
|
+
.CodeMirror-gutter-wrapper ::selection {
|
|
438
|
+
background-color: transparent;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.CodeMirror-gutter-wrapper ::-moz-selection {
|
|
442
|
+
background-color: transparent;
|
|
443
|
+
}
|
|
231
444
|
|
|
232
445
|
.CodeMirror-lines {
|
|
233
446
|
cursor: text;
|
|
234
447
|
min-height: 1px; /* prevents collapsing before first draw */
|
|
235
448
|
}
|
|
449
|
+
|
|
236
450
|
.CodeMirror pre.CodeMirror-line,
|
|
237
451
|
.CodeMirror pre.CodeMirror-line-like {
|
|
238
452
|
/* Reset some styles that the rest of the page might have set */
|
|
239
|
-
-moz-border-radius: 0;
|
|
453
|
+
-moz-border-radius: 0;
|
|
454
|
+
-webkit-border-radius: 0;
|
|
455
|
+
border-radius: 0;
|
|
240
456
|
border-width: 0;
|
|
241
457
|
background: transparent;
|
|
242
458
|
font-family: inherit;
|
|
@@ -253,6 +469,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
253
469
|
-webkit-font-variant-ligatures: contextual;
|
|
254
470
|
font-variant-ligatures: contextual;
|
|
255
471
|
}
|
|
472
|
+
|
|
256
473
|
.CodeMirror-wrap pre.CodeMirror-line,
|
|
257
474
|
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
258
475
|
word-wrap: break-word;
|
|
@@ -262,7 +479,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
262
479
|
|
|
263
480
|
.CodeMirror-linebackground {
|
|
264
481
|
position: absolute;
|
|
265
|
-
left: 0;
|
|
482
|
+
left: 0;
|
|
483
|
+
right: 0;
|
|
484
|
+
top: 0;
|
|
485
|
+
bottom: 0;
|
|
266
486
|
z-index: 0;
|
|
267
487
|
}
|
|
268
488
|
|
|
@@ -272,9 +492,9 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
272
492
|
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
|
273
493
|
}
|
|
274
494
|
|
|
275
|
-
.CodeMirror-
|
|
276
|
-
|
|
277
|
-
|
|
495
|
+
.CodeMirror-rtl pre {
|
|
496
|
+
direction: rtl;
|
|
497
|
+
}
|
|
278
498
|
|
|
279
499
|
.CodeMirror-code {
|
|
280
500
|
outline: none;
|
|
@@ -302,13 +522,17 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
302
522
|
position: absolute;
|
|
303
523
|
pointer-events: none;
|
|
304
524
|
}
|
|
305
|
-
|
|
525
|
+
|
|
526
|
+
.CodeMirror-measure pre {
|
|
527
|
+
position: static;
|
|
528
|
+
}
|
|
306
529
|
|
|
307
530
|
div.CodeMirror-cursors {
|
|
308
531
|
visibility: hidden;
|
|
309
532
|
position: relative;
|
|
310
533
|
z-index: 3;
|
|
311
534
|
}
|
|
535
|
+
|
|
312
536
|
div.CodeMirror-dragcursors {
|
|
313
537
|
visibility: visible;
|
|
314
538
|
}
|
|
@@ -317,19 +541,35 @@ div.CodeMirror-dragcursors {
|
|
|
317
541
|
visibility: visible;
|
|
318
542
|
}
|
|
319
543
|
|
|
320
|
-
.CodeMirror-selected {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
.CodeMirror-
|
|
544
|
+
.CodeMirror-selected {
|
|
545
|
+
background: #d9d9d9;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.CodeMirror-focused .CodeMirror-selected {
|
|
549
|
+
background: #d7d4f0;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.CodeMirror-crosshair {
|
|
553
|
+
cursor: crosshair;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
|
|
557
|
+
background: #d7d4f0;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
|
|
561
|
+
background: #d7d4f0;
|
|
562
|
+
}
|
|
325
563
|
|
|
326
564
|
.cm-searching {
|
|
327
565
|
background-color: #ffa;
|
|
328
|
-
background-color: rgba(255, 255, 0, .4);
|
|
566
|
+
background-color: rgba(255, 255, 0, 0.4);
|
|
329
567
|
}
|
|
330
568
|
|
|
331
569
|
/* Used to force a border model for a node */
|
|
332
|
-
.cm-force-border {
|
|
570
|
+
.cm-force-border {
|
|
571
|
+
padding-right: 0.1px;
|
|
572
|
+
}
|
|
333
573
|
|
|
334
574
|
@media print {
|
|
335
575
|
/* Hide the cursor when printing */
|
|
@@ -337,12 +577,15 @@ div.CodeMirror-dragcursors {
|
|
|
337
577
|
visibility: hidden;
|
|
338
578
|
}
|
|
339
579
|
}
|
|
340
|
-
|
|
341
580
|
/* See issue #2901 */
|
|
342
|
-
.cm-tab-wrap-hack:after {
|
|
581
|
+
.cm-tab-wrap-hack:after {
|
|
582
|
+
content: "";
|
|
583
|
+
}
|
|
343
584
|
|
|
344
585
|
/* Help users use markselection to safely style text background */
|
|
345
|
-
span.CodeMirror-selectedtext {
|
|
586
|
+
span.CodeMirror-selectedtext {
|
|
587
|
+
background: none;
|
|
588
|
+
}
|
|
346
589
|
|
|
347
590
|
/* The lint marker gutter */
|
|
348
591
|
.CodeMirror-lint-markers {
|
|
@@ -364,11 +607,11 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
364
607
|
z-index: 100;
|
|
365
608
|
max-width: 600px;
|
|
366
609
|
opacity: 0;
|
|
367
|
-
transition: opacity .4s;
|
|
368
|
-
-moz-transition: opacity .4s;
|
|
369
|
-
-webkit-transition: opacity .4s;
|
|
370
|
-
-o-transition: opacity .4s;
|
|
371
|
-
-ms-transition: opacity .4s;
|
|
610
|
+
transition: opacity 0.4s;
|
|
611
|
+
-moz-transition: opacity 0.4s;
|
|
612
|
+
-webkit-transition: opacity 0.4s;
|
|
613
|
+
-o-transition: opacity 0.4s;
|
|
614
|
+
-ms-transition: opacity 0.4s;
|
|
372
615
|
}
|
|
373
616
|
|
|
374
617
|
.CodeMirror-lint-mark {
|
|
@@ -413,7 +656,8 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
413
656
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
|
|
414
657
|
background-repeat: no-repeat;
|
|
415
658
|
background-position: right bottom;
|
|
416
|
-
width: 100%;
|
|
659
|
+
width: 100%;
|
|
660
|
+
height: 100%;
|
|
417
661
|
}
|
|
418
662
|
|
|
419
663
|
.CodeMirror-lint-line-error {
|
|
@@ -428,110 +672,27 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
428
672
|
color: blue;
|
|
429
673
|
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|
|
430
674
|
font-family: arial;
|
|
431
|
-
line-height: .3;
|
|
675
|
+
line-height: 0.3;
|
|
432
676
|
cursor: pointer;
|
|
433
677
|
}
|
|
678
|
+
|
|
434
679
|
.CodeMirror-foldgutter {
|
|
435
|
-
width: .7em;
|
|
680
|
+
width: 0.7em;
|
|
436
681
|
}
|
|
682
|
+
|
|
437
683
|
.CodeMirror-foldgutter-open,
|
|
438
684
|
.CodeMirror-foldgutter-folded {
|
|
439
685
|
cursor: pointer;
|
|
440
686
|
}
|
|
687
|
+
|
|
441
688
|
.CodeMirror-foldgutter-open:after {
|
|
442
|
-
content: "
|
|
689
|
+
content: "▾";
|
|
443
690
|
}
|
|
691
|
+
|
|
444
692
|
.CodeMirror-foldgutter-folded:after {
|
|
445
|
-
content: "
|
|
693
|
+
content: "▸";
|
|
446
694
|
}
|
|
447
695
|
|
|
448
|
-
/**
|
|
449
|
-
* Note! This file is exported to `dist/scss/` in the published
|
|
450
|
-
* node module, for consumer projects to import.
|
|
451
|
-
* That means this file cannot import from any file that isn't
|
|
452
|
-
* also exported, keeping the same relative path.
|
|
453
|
-
*
|
|
454
|
-
* Or, just don't import anything, that works too.
|
|
455
|
-
*/
|
|
456
|
-
/**
|
|
457
|
-
* This can be used on a trigger element that opens a dropdown menu or a popover.
|
|
458
|
-
*/
|
|
459
|
-
/**
|
|
460
|
-
* This mixin will mask out the content that is close to
|
|
461
|
-
* the edges of a scrollable area.
|
|
462
|
-
* - If the scrollable content has `overflow-y`, use `vertically`
|
|
463
|
-
* as an argument for `$direction`.
|
|
464
|
-
- If the scrollable content has `overflow-x`, use `horizontally`
|
|
465
|
-
* as an argument for `$direction`.
|
|
466
|
-
*
|
|
467
|
-
* For the visual effect to work smoothly, we need to make sure that
|
|
468
|
-
* the size of the fade-out edge effect is the same as the
|
|
469
|
-
* internal paddings of the scrollable area. Otherwise, content of a
|
|
470
|
-
* scrollable area that does not have a padding will fade out before
|
|
471
|
-
* any scrolling has been done.
|
|
472
|
-
* This is why this mixin already adds paddings, which automatically
|
|
473
|
-
* default to the size of the fade-out effect.
|
|
474
|
-
* This size defaults to `1rem`, but to override the size use
|
|
475
|
-
* `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
|
|
476
|
-
* when `vertically` argument is set, and use
|
|
477
|
-
* `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
|
|
478
|
-
* when `horizontally` argument is set.
|
|
479
|
-
* Of course you can also programmatically increase and decrease the
|
|
480
|
-
* size of these variables for each edge, based on the amount of
|
|
481
|
-
* scrolling that has been done by the user. In this case, make sure
|
|
482
|
-
* to add a custom padding where the mixin is used, to override
|
|
483
|
-
* the paddings that are automatically added by the mixin in the
|
|
484
|
-
* compiled CSS code.
|
|
485
|
-
*/
|
|
486
|
-
/**
|
|
487
|
-
* This mixin will add an animated underline to the bottom of an `a` elements.
|
|
488
|
-
* Note that you may need to add `all: unset;` –depending on your use case–
|
|
489
|
-
* before using this mixin.
|
|
490
|
-
*/
|
|
491
|
-
/**
|
|
492
|
-
* This mixin creates a cross-browser font stack.
|
|
493
|
-
* - `sans-serif` can be used for the UI of the components.
|
|
494
|
-
* - `monospace` can be used for code.
|
|
495
|
-
*
|
|
496
|
-
* ⚠️ If we change the font stacks, we need to update
|
|
497
|
-
* 1. the consumer documentation in `README.md`, and
|
|
498
|
-
* 2. the CSS variables of `--kompendium-example-font-family`
|
|
499
|
-
* in the `<style>` tag of `index.html`.
|
|
500
|
-
*/
|
|
501
|
-
/**
|
|
502
|
-
* This mixin is a hack, using old CSS syntax
|
|
503
|
-
* to enable you to truncate a piece of text,
|
|
504
|
-
* after a certain number of lines.
|
|
505
|
-
*/
|
|
506
|
-
/**
|
|
507
|
-
* This mixin will add a chessboard background pattern,
|
|
508
|
-
* typically used to visualize transparency.
|
|
509
|
-
*/
|
|
510
|
-
/**
|
|
511
|
-
* Make a container resizable by the user.
|
|
512
|
-
* This is used in the documentations and examples
|
|
513
|
-
* of some components, to demonstrate how the component
|
|
514
|
-
* behaves in a resizable container.
|
|
515
|
-
*/
|
|
516
|
-
/**
|
|
517
|
-
* Drag to reorder mixins
|
|
518
|
-
*/
|
|
519
|
-
/**
|
|
520
|
-
* The breakpoints below are used to create responsive designs
|
|
521
|
-
* in Lime's products. Therefore, they are here to get distributed
|
|
522
|
-
* to all components in other private repos, which rely on this `mixins`
|
|
523
|
-
* file, to create consistent styles.
|
|
524
|
-
*
|
|
525
|
-
* :::important
|
|
526
|
-
* In very rare cases you should used media queries!
|
|
527
|
-
* Nowadays, there are many better ways of achieving responsive design
|
|
528
|
-
* without media queries. For example, using CSS Grid, Flexbox, and their features.
|
|
529
|
-
* :::
|
|
530
|
-
*/
|
|
531
|
-
/**
|
|
532
|
-
* Media query mixins for responsive design based on screen width.
|
|
533
|
-
* Note that these mixins do not detect the device type!
|
|
534
|
-
*/
|
|
535
696
|
/**
|
|
536
697
|
* @prop --code-editor-max-height: Defines how tall the code editor can get before content becomes scrollable, defaults to `10rem`.
|
|
537
698
|
* @prop --code-editor-font-size: Defines the font size of the code, defaults to `0.8125rem`.
|