@c8y/style 1023.14.70 → 1023.14.92
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/branding-login.less +1 -1
- package/helper-scripts/README-variable-imports.md +155 -0
- package/helper-scripts/README.md +104 -0
- package/helper-scripts/convert-scss-to-less.sh +502 -0
- package/helper-scripts/convert-stroke-icons-to-less.js +115 -0
- package/helper-scripts/remove-redundant-variable-imports.sh +80 -0
- package/helper-scripts/scss-to-less-skip +20 -0
- package/{sync-scss-to-less.sh → helper-scripts/sync-scss-to-less.sh} +2 -2
- package/helper-scripts/test-compile.sh +71 -0
- package/markdown-files/MANUAL-SYNC-FILES.md +56 -0
- package/package.json +2 -2
- package/styles/_login-app.less +34 -0
- package/styles/_login-app.scss +2 -2
- package/styles/_mixins.less +47 -0
- package/styles/_utilities.less +21 -0
- package/styles/_utilities.scss +1 -0
- package/styles/animations/_animate.less +18 -13
- package/styles/animations/_component-animations.less +18 -16
- package/styles/animations/_realtime-animation-list.less +11 -1
- package/styles/animations/_spinner-snake.less +17 -2
- package/styles/animations/_spinner.less +24 -6
- package/styles/base/_normalize.less +14 -0
- package/styles/base/_print.less +25 -12
- package/styles/base/_scaffolding.less +24 -28
- package/styles/base/_type.less +41 -19
- package/styles/components/_markdown-content.less +4 -1
- package/styles/components/_smartrules.less +14 -8
- package/styles/components/_smartrules.scss +6 -2
- package/styles/components/application-and-system/_c8y-cookie-banner.less +36 -0
- package/styles/components/{specialized → application-and-system}/_c8y-login.less +20 -6
- package/styles/components/data-display-and-visualization/_boxed-label.less +45 -0
- package/styles/components/data-display-and-visualization/_boxed-label.scss +46 -0
- package/styles/components/{specialized → data-display-and-visualization}/_c8y-data-explorer.less +76 -24
- package/styles/components/{specialized → data-display-and-visualization}/_c8y-data-explorer.scss +39 -1
- package/styles/components/{specialized → data-display-and-visualization}/_c8y-datapoint-pill.less +29 -13
- package/styles/components/{specialized → data-display-and-visualization}/_c8y-pulse.less +33 -6
- package/styles/components/data-display-and-visualization/_range-display.less +25 -16
- package/styles/components/{specialized → data-display-and-visualization}/_smart-list-icon-label.less +19 -5
- package/styles/components/{specialized → data-display-and-visualization}/_status.less +16 -2
- package/styles/components/{specialized → data-display-and-visualization}/_statusContainer.less +16 -2
- package/styles/components/data-display-and-visualization/_timelines-chart.less +2 -0
- package/styles/components/data-display-and-visualization/lists/_c8y-data-point-list.less +10 -0
- package/styles/components/data-display-and-visualization/lists/_c8y-empty-state.less +26 -12
- package/styles/components/data-display-and-visualization/lists/_c8y-list-group.less +88 -42
- package/styles/components/data-display-and-visualization/lists/_cards-layout.less +38 -16
- package/styles/components/data-display-and-visualization/lists/_list-group.less +46 -28
- package/styles/components/data-display-and-visualization/lists/_smart-rules-template-list.less +12 -1
- package/styles/components/data-display-and-visualization/lists/{timeline-list.less → _timeline-list.less} +46 -24
- package/styles/components/data-display-and-visualization/tables/_data-grid.less +45 -25
- package/styles/components/data-display-and-visualization/tables/_resizable-grid.less +18 -1
- package/styles/components/data-display-and-visualization/tables/_tables.less +25 -9
- package/styles/components/data-input/_c8y-ai-chat.less +1 -0
- package/styles/components/{specialized → data-input}/_c8y-countdown-interval.less +15 -13
- package/styles/components/{specialized → data-input}/_c8y-range.less +22 -6
- package/styles/components/{specialized → data-input}/_dtm-icon-selector.less +17 -2
- package/styles/components/{specialized → data-input}/_dtm-icon-selector.scss +1 -2
- package/styles/components/{specialized → data-input}/_measurements-time-control.less +34 -6
- package/styles/components/{specialized → data-input}/_measurements-time-control.scss +14 -2
- package/styles/components/{specialized → data-input}/_search-header.less +22 -6
- package/styles/components/data-input/_static-assets-file-picker.less +22 -0
- package/styles/components/data-input/assets/_asset-property-list.less +38 -23
- package/styles/components/data-input/assets/_asset-table.less +21 -3
- package/styles/components/data-input/assets/_c8y-asset-notes.less +13 -1
- package/styles/components/data-input/assets/_c8y-asset-selector-miller.less +27 -8
- package/styles/components/data-input/assets/_c8y-asset-selector.less +32 -15
- package/styles/components/data-input/assets/_c8y-child-assets-selector.less +90 -9
- package/styles/components/{specialized → forms}/_c8y-schema-form.less +44 -17
- package/styles/components/{specialized → forms}/_c8y-schema-form.scss +15 -3
- package/styles/components/{specialized → navigation-and-layout}/_c8y-role-card.less +21 -5
- package/styles/components/{specialized → navigation-and-layout}/_c8y-scrollbar.less +24 -7
- package/styles/components/{specialized → navigation-and-layout}/_c8y-smart-rest-tab.less +21 -6
- package/styles/components/{specialized → navigation-and-layout}/_c8y-stepper.less +15 -1
- package/styles/components/{specialized → navigation-and-layout}/_c8y-user-roles.less +45 -28
- package/styles/components/{specialized → navigation-and-layout}/_device-software-tab.less +14 -0
- package/styles/components/navigation-and-layout/action-bars/_app-switcher.less +27 -5
- package/styles/components/navigation-and-layout/action-bars/_c8y-action-bar.less +49 -21
- package/styles/components/navigation-and-layout/cards/_card-dashboard.less +25 -4
- package/styles/components/navigation-and-layout/cards/_card-flip.less +41 -14
- package/styles/components/navigation-and-layout/cards/_card-grid.less +20 -4
- package/styles/components/navigation-and-layout/cards/_card.less +90 -75
- package/styles/components/navigation-and-layout/cards/_panels.less +38 -20
- package/styles/components/navigation-and-layout/navigation/_breadcrumbs.less +22 -49
- package/styles/components/navigation-and-layout/navigation/_c8y-nav-stacked.less +26 -14
- package/styles/components/navigation-and-layout/navigation/_main-header.less +39 -13
- package/styles/components/navigation-and-layout/navigation/_main-header.scss +1 -1
- package/styles/components/navigation-and-layout/navigation/_navbar.less +22 -25
- package/styles/components/navigation-and-layout/navigation/_navbar.scss +7 -7
- package/styles/components/navigation-and-layout/navigation/_navigator.less +71 -69
- package/styles/components/navigation-and-layout/navigation/_navs.less +13 -0
- package/styles/components/navigation-and-layout/navigation/_pagination.less +24 -5
- package/styles/components/navigation-and-layout/navigation/{steps-navbar.less → _steps-navbar.less} +7 -6
- package/styles/components/navigation-and-layout/navigation/_tabs.less +18 -14
- package/styles/components/navigation-and-layout/navigation/_tabs.scss +2 -2
- package/styles/components/{specialized → status-feedback-and-notifications}/_c8y-message-banner.less +14 -0
- package/styles/components/{specialized → status-feedback-and-notifications}/_code.less +18 -2
- package/styles/core/buttons/_button-groups.less +29 -79
- package/styles/core/buttons/_buttons.less +229 -198
- package/styles/core/buttons/_buttons.scss +6 -10
- package/styles/core/feedback/_alerts.less +52 -41
- package/styles/core/feedback/_badges.less +29 -17
- package/styles/core/feedback/_close.less +24 -7
- package/styles/core/feedback/_labels.less +21 -8
- package/styles/core/feedback/_progress-bars.less +24 -7
- package/styles/core/feedback/_tag.less +23 -6
- package/styles/core/feedback/_tooltip.less +44 -20
- package/styles/core/forms/_c8y-switch.less +39 -19
- package/styles/core/forms/_c8y-switch.scss +37 -29
- package/styles/core/forms/_file-picker.less +79 -61
- package/styles/core/forms/_forms.less +130 -133
- package/styles/core/forms/_input-groups.less +110 -59
- package/styles/core/forms/_input-groups.scss +21 -3
- package/styles/core/overlays/_c8y-dashboard-modal.less +25 -29
- package/styles/core/overlays/_c8y-wizard.less +38 -15
- package/styles/core/overlays/_dropdowns.less +86 -63
- package/styles/core/overlays/_modals.less +58 -40
- package/styles/core/overlays/_popovers.less +25 -9
- package/styles/dashboard/_availability-pie.less +3 -0
- package/styles/dashboard/_c8y-dashboard-style.less +61 -34
- package/styles/dashboard/_c8y-gauges.less +20 -4
- package/styles/dashboard/_dashboard-widgets.less +17 -4
- package/styles/dashboard/_info-gauge.less +20 -5
- package/styles/dashboard/_quick-links-widget.less +13 -3
- package/styles/{welcome-widget.less → dashboard/_welcome-widget.less} +21 -4
- package/styles/dashboard/{welcome.less → _welcome.less} +54 -45
- package/styles/icons/_c8y-glyphs.less +12 -1
- package/styles/icons/_c8y-glyphs.scss +2 -1
- package/styles/icons/_c8y-icons.less +214 -199
- package/styles/icons/_dlt-c8y-icons-stroke.less +7238 -1834
- package/styles/icons/_dlt-c8y-icons.less +14 -0
- package/styles/icons/_marker-icons.less +10 -0
- package/styles/index.less +160 -134
- package/styles/index.scss +53 -29
- package/styles/layout/_bottom-drawer.less +21 -7
- package/styles/layout/_c8y-help-drawer.less +30 -9
- package/styles/layout/_c8y-right-drawer.less +34 -19
- package/styles/layout/_c8y-top-drawer.less +43 -28
- package/styles/layout/_grid.less +18 -4
- package/styles/layout/_group-info.less +14 -2
- package/styles/layout/_layouts.less +48 -30
- package/styles/layout/_mcontainer.less +26 -12
- package/styles/layout/_page-tabs.less +115 -23
- package/styles/layout/_split-scroll.less +16 -4
- package/styles/layout/_split-view.less +34 -2
- package/styles/login-app-use.scss +2 -2
- package/styles/login-app.less +4 -4
- package/styles/mixins/_buttons.scss +1 -0
- package/styles/mixins/{color-mixins.less → _color-mixins.less} +2 -2
- package/styles/mixins/{element-queries.less → _element-queries.less} +2 -2
- package/styles/mixins/{forms.less → _forms.less} +1 -1
- package/styles/mixins/_gradients.less +117 -0
- package/styles/mixins/{grid-framework.less → _grid-framework.less} +21 -21
- package/styles/mixins/_icon-base.less +29 -0
- package/styles/mixins/{nav-vertical-align.less → _nav-vertical-align.less} +6 -2
- package/styles/mixins/_nav-vertical-align.scss +5 -2
- package/styles/mixins/{progress-bar.less → _progress-bar.less} +1 -1
- package/styles/mixins/{shadows-helper.less → _shadows-helper.less} +3 -5
- package/styles/mixins/_shadows-helper.scss +1 -4
- package/styles/mixins/{vendor-prefixes.less → _vendor-prefixes.less} +7 -22
- package/styles/mixins/_vendor-prefixes.scss +1 -17
- package/styles/utilities/_borders.less +21 -11
- package/styles/{components/specialized → utilities}/_c8y-utils.less +14 -0
- package/styles/{components/specialized → utilities}/_c8y-utils.scss +1 -1
- package/styles/utilities/_caret.less +18 -4
- package/styles/utilities/_container-queries.less +11 -3
- package/styles/utilities/_contextual-colors.less +48 -119
- package/styles/utilities/_display.less +26 -41
- package/styles/utilities/_elevation.less +17 -7
- package/styles/utilities/_flex-containers.less +10 -0
- package/styles/utilities/_flex-items.less +11 -0
- package/styles/utilities/_icon-utils.less +15 -3
- package/styles/utilities/_margins-paddings.less +23 -4
- package/styles/utilities/_overflows.less +10 -0
- package/styles/utilities/_position.less +11 -0
- package/styles/utilities/_quickfloats.less +20 -1
- package/styles/utilities/_separators.less +11 -0
- package/styles/utilities/_shadows.less +5 -49
- package/styles/{utilities.less → utilities/_sizing.less} +13 -21
- package/styles/utilities/_text-utils.less +35 -24
- package/styles/vendor/ace-editor/_ace-editor.less +1 -0
- package/styles/vendor/angular/_loading-bar.less +1 -0
- package/styles/vendor/angular/_ui-sortable.less +2 -1
- package/styles/vendor/angular/_uib-accordion.less +1 -0
- package/styles/{angular-ui-select/select.less → vendor/angular/angular-ui-select/_select.less} +2 -10
- package/styles/vendor/cdk/_cdk-drag.less +3 -0
- package/styles/vendor/cdk/_cdk-tree.less +6 -3
- package/styles/vendor/cdk/_cdk-virtual-scroll-window.less +1 -0
- package/styles/vendor/datepicker/_bs-datepicker.less +26 -6
- package/styles/vendor/datepicker/_uib-datepicker.less +37 -4
- package/styles/vendor/leaflet/_c8y-map-internal.less +44 -54
- package/styles/vendor/leaflet/_leaflet.less +4 -1
- package/styles/vendor/other/_colorpicker.less +3 -2
- package/styles/vendor/selectize/_c8y-selectize.less +33 -10
- package/variables/_color-defaults.less +29 -10
- package/variables/_color-defaults.scss +29 -10
- package/variables/_color-vars.less +37 -89
- package/variables/_color-vars.scss +19 -77
- package/variables/{login-vars.less → _login-vars.less} +3 -5
- package/variables/index.less +3 -3
- package/variables/tokens/{c8y-design-tokens-dark.less → _c8y-design-tokens-dark.less} +5 -1
- package/variables/tokens/{c8y-design-tokens.less → _c8y-design-tokens.less} +5 -1
- package/styles/components/specialized/_boxed-label.less +0 -21
- package/styles/components/specialized/_boxed-label.scss +0 -36
- package/styles/components/specialized/_c8y-cookie-banner.less +0 -22
- package/styles/components/specialized/_static-assets-file-picker.less +0 -8
- package/styles/dashboard/welcome-widget.less +0 -50
- package/styles/mixins/gradients.less +0 -142
- package/styles/mixins.less +0 -45
- package/styles/steps-navbar.less +0 -97
- package/styles/timeline-list.less +0 -210
- package/styles/vendor/angular/angular-ui-select/select.less +0 -161
- package/styles/welcome.less +0 -128
- /package/styles/components/{specialized → application-and-system}/_c8y-cookie-banner.scss +0 -0
- /package/styles/components/{specialized → application-and-system}/_c8y-login.scss +0 -0
- /package/styles/components/{specialized → data-display-and-visualization}/_c8y-datapoint-pill.scss +0 -0
- /package/styles/components/{specialized → data-display-and-visualization}/_c8y-pulse.scss +0 -0
- /package/styles/components/{specialized → data-display-and-visualization}/_smart-list-icon-label.scss +0 -0
- /package/styles/components/{specialized → data-display-and-visualization}/_status.scss +0 -0
- /package/styles/components/{specialized → data-display-and-visualization}/_statusContainer.scss +0 -0
- /package/styles/components/{specialized → data-input}/_c8y-countdown-interval.scss +0 -0
- /package/styles/components/{specialized → data-input}/_c8y-range.scss +0 -0
- /package/styles/components/{specialized → data-input}/_search-header.scss +0 -0
- /package/styles/components/{specialized → data-input}/_static-assets-file-picker.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_c8y-role-card.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_c8y-scrollbar.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_c8y-smart-rest-tab.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_c8y-stepper.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_c8y-user-roles.scss +0 -0
- /package/styles/components/{specialized → navigation-and-layout}/_device-software-tab.scss +0 -0
- /package/styles/components/{specialized → status-feedback-and-notifications}/_c8y-message-banner.scss +0 -0
- /package/styles/components/{specialized → status-feedback-and-notifications}/_code.scss +0 -0
- /package/styles/mixins/{alert-variant.less → _alert-variant.less} +0 -0
- /package/styles/mixins/{animation.less → _animation.less} +0 -0
- /package/styles/mixins/{background-variant.less → _background-variant.less} +0 -0
- /package/styles/mixins/{border-radius.less → _border-radius.less} +0 -0
- /package/styles/mixins/{buttons.less → _buttons.less} +0 -0
- /package/styles/mixins/{c8y-scrollbar.less → _c8y-scrollbar.less} +0 -0
- /package/styles/mixins/{center-block.less → _center-block.less} +0 -0
- /package/styles/mixins/{clearfix.less → _clearfix.less} +0 -0
- /package/styles/mixins/{create-grid.less → _create-grid.less} +0 -0
- /package/styles/mixins/{grid.less → _grid.less} +0 -0
- /package/styles/mixins/{hide-scrollbars.less → _hide-scrollbars.less} +0 -0
- /package/styles/mixins/{hide-text.less → _hide-text.less} +0 -0
- /package/styles/mixins/{image.less → _image.less} +0 -0
- /package/styles/mixins/{labels.less → _labels.less} +0 -0
- /package/styles/mixins/{list-group.less → _list-group.less} +0 -0
- /package/styles/mixins/{nav-divider.less → _nav-divider.less} +0 -0
- /package/styles/mixins/{opacity.less → _opacity.less} +0 -0
- /package/styles/mixins/{pagination.less → _pagination.less} +0 -0
- /package/styles/mixins/{panels.less → _panels.less} +0 -0
- /package/styles/mixins/{reset-filter.less → _reset-filter.less} +0 -0
- /package/styles/mixins/{reset-text.less → _reset-text.less} +0 -0
- /package/styles/mixins/{resize.less → _resize.less} +0 -0
- /package/styles/mixins/{responsive-visibility.less → _responsive-visibility.less} +0 -0
- /package/styles/mixins/{size.less → _size.less} +0 -0
- /package/styles/mixins/{tab-focus.less → _tab-focus.less} +0 -0
- /package/styles/mixins/{table-row.less → _table-row.less} +0 -0
- /package/styles/mixins/{tag.less → _tag.less} +0 -0
- /package/styles/mixins/{text-emphasis.less → _text-emphasis.less} +0 -0
- /package/styles/mixins/{text-overflow.less → _text-overflow.less} +0 -0
- /package/variables/{login-vars.scss → _login-vars.scss} +0 -0
- /package/variables/{shadows.less → _shadows.less} +0 -0
- /package/variables/{shadows.scss → _shadows.scss} +0 -0
- /package/variables/tokens/{c8y-design-tokens-dark.scss → _c8y-design-tokens-dark.scss} +0 -0
- /package/variables/tokens/{c8y-design-tokens.scss → _c8y-design-tokens.scss} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@import '_color-defaults.less';
|
|
2
|
+
@import '_forms-vars.less';
|
|
3
|
+
|
|
1
4
|
@palette-high: var(--c8y-palette-high);
|
|
2
5
|
@palette-low: var(--c8y-palette-low);
|
|
3
6
|
@black: black; // we need it as a color object
|
|
@@ -14,14 +17,33 @@
|
|
|
14
17
|
@gray-20: var(--c8y-palette-gray-20);
|
|
15
18
|
@gray-10: var(--c8y-palette-gray-10);
|
|
16
19
|
|
|
20
|
+
/* TYPOGRAPHY COLORS - Defined early as used throughout */
|
|
21
|
+
/* Text */
|
|
22
|
+
@text-color: var(--text-color, var(--c8y-text-color));
|
|
23
|
+
@text-muted: var(--text-muted, var(--c8y-text-muted));
|
|
24
|
+
|
|
17
25
|
/* Brand */
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
@brand-primary: var(--brand-primary, var(--c8y-brand-primary));
|
|
27
|
+
@brand-primary-light: var(--brand-light, var(--c8y-brand-light));
|
|
28
|
+
@brand-primary-dark: var(--brand-dark, var(--c8y-brand-dark));
|
|
29
|
+
@brand-complementary: var(--brand-complementary, var(--c8y-brand-complementary));
|
|
30
|
+
@brand-10: var(--brand-10, var(--c8y-brand-10));
|
|
31
|
+
@brand-20: var(--brand-20, var(--c8y-brand-20));
|
|
32
|
+
@brand-30: var(--brand-30, var(--c8y-brand-30));
|
|
33
|
+
@brand-40: var(--brand-40, var(--c8y-brand-40));
|
|
34
|
+
@brand-50: var(--brand-50, var(--c8y-brand-50));
|
|
35
|
+
@brand-60: var(--brand-60, var(--c8y-brand-60));
|
|
36
|
+
@brand-70: var(--brand-70, var(--c8y-brand-70));
|
|
37
|
+
@brand-80: var(--brand-80, var(--c8y-brand-80));
|
|
38
|
+
@brand-accent: var(--brand-accent, var(--c8y-brand-accent));
|
|
39
|
+
@brand-accent-dark: var(--brand-accent-dark, var(--c8y-brand-accent-dark));
|
|
40
|
+
@brand-accent-light: var(--brand-accent-light, var(--c8y-brand-accent-light));
|
|
22
41
|
|
|
23
42
|
/* Status, feedback states and alerts */
|
|
24
|
-
|
|
43
|
+
@status-success: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
44
|
+
@status-info: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
45
|
+
@status-danger: var(--palette-status-danger, var(--c8y-palette-status-danger));
|
|
46
|
+
@status-warning: var(--palette-status-warning, var(--c8y-palette-status-warning));
|
|
25
47
|
@status-success-light: var(--palette-status-success-light, var(--c8y-palette-status-success-light));
|
|
26
48
|
@status-success-dark: var(--palette-status-success-dark, var(--c8y-palette-status-success-dark));
|
|
27
49
|
@status-info-light: var(--palette-status-info-light, var(--c8y-palette-status-info-light));
|
|
@@ -54,15 +76,15 @@
|
|
|
54
76
|
@state-danger-border: var(--c8y-palette-status-danger);
|
|
55
77
|
|
|
56
78
|
/* NAVIGATOR */
|
|
57
|
-
@navigator-background-default: var(--navigator-bg-color, var(--c8y-navigator-
|
|
58
|
-
@navigator-header-background: var(--navigator-header-bg, var(--c8y-navigator-header-
|
|
59
|
-
@navigator-text-color: var(--navigator-text-color, var(--c8y-navigator-text-color
|
|
60
|
-
@navigator-header-color: var(--navigator-title-color, var(--c8y-navigator-
|
|
79
|
+
@navigator-background-default: var(--navigator-bg-color, var(--c8y-navigator-bg-color));
|
|
80
|
+
@navigator-header-background: var(--navigator-header-bg, var(--c8y-navigator-header-bg));
|
|
81
|
+
@navigator-text-color: var(--navigator-text-color, var(--c8y-navigator-text-color));
|
|
82
|
+
@navigator-header-color: var(--navigator-title-color, var(--c8y-navigator-title-color));
|
|
61
83
|
@navigator-separator-color: var(--navigator-separator-color, var(--c8y-navigator-separator-color));
|
|
62
84
|
@navigator-text-color-selected: var(--navigator-active-color, var(--navigator-color-active, var(--c8y-navigator-text-color-active, var(--c8y-navigator-text-color-selected))));
|
|
63
|
-
@navigator-background-selected: var(--navigator-active-bg, var(--c8y-navigator-
|
|
64
|
-
@navigator-border-selected: var(--navigator-border-active, var(--c8y-navigator-border-
|
|
65
|
-
@navigator-background-active: var(--navigator-active-bg, var(--c8y-navigator-
|
|
85
|
+
@navigator-background-selected: var(--navigator-active-bg, var(--c8y-navigator-active-bg));
|
|
86
|
+
@navigator-border-selected: var(--navigator-border-active, var(--c8y-navigator-border-active));
|
|
87
|
+
@navigator-background-active: var(--navigator-active-bg, var(--c8y-navigator-active-bg));
|
|
66
88
|
@navigator-scrollbar-track-color: var(--c8y-navigator-scrollbar-track);
|
|
67
89
|
@navigator-scrollbar-thumb-color: var(--c8y-navigator-scrollbar-thumb-default);
|
|
68
90
|
@navigator-scrollbar-thumb-color-hover: var(--c8y-navigator-scrollbar-thumb-hover);
|
|
@@ -101,17 +123,15 @@
|
|
|
101
123
|
@header-background-hover: var(--c8y-main-header-background-hover);
|
|
102
124
|
@header-background-active: var(--c8y-main-header-background-active);
|
|
103
125
|
@header-text-color: var(--header-text-color, var(--c8y-main-header-text-color-default));
|
|
104
|
-
@header-text-color-hover: var(--header-hover-color, var(--c8y-
|
|
126
|
+
@header-text-color-hover: var(--header-hover-color, var(--c8y-header-hover-color));
|
|
105
127
|
@header-border-color: var(--header-border-color, var(--c8y-main-header-border-color));
|
|
106
128
|
@header-shadow: var(--c8y-main-header-shadow);
|
|
107
129
|
|
|
108
130
|
/* TYPOGRAPHY COLORS */
|
|
109
131
|
|
|
110
|
-
/* Text */
|
|
111
|
-
@text-color: var(--text-color, var(--c8y-text-color));
|
|
112
|
-
@text-muted: var(--text-muted, var(--c8y-text-muted));
|
|
132
|
+
/* Text - @text-color and @text-muted defined at top of file */
|
|
113
133
|
@headings-color: var(--c8y-headings-color);
|
|
114
|
-
@abbr-border-color:
|
|
134
|
+
@abbr-border-color: var(--c8y-abbr-border-color);
|
|
115
135
|
@blockquote-small-color: @text-muted;
|
|
116
136
|
@blockquote-border-color: var(--c8y-blockquote-border-color);
|
|
117
137
|
|
|
@@ -223,75 +243,3 @@
|
|
|
223
243
|
@selectize-color-optgroup: @selectize-color-dropdown;
|
|
224
244
|
@selectize-color-optgroup-text: @selectize-color-text;
|
|
225
245
|
@selectize-arrow-color: @component-brand-primary;
|
|
226
|
-
|
|
227
|
-
/* ============================================================================
|
|
228
|
-
CSS Custom Properties based on LESS Variables
|
|
229
|
-
|
|
230
|
-
These CSS custom properties are set based on the LESS variable values,
|
|
231
|
-
allowing LESS variable overrides to work for backwards compatibility.
|
|
232
|
-
|
|
233
|
-
When a user overrides @brand-primary before importing main.less,
|
|
234
|
-
these CSS custom properties will be set to the overridden value,
|
|
235
|
-
which will then be used throughout the application.
|
|
236
|
-
|
|
237
|
-
IMPORTANT: We only override the --c8y-* design tokens when the user has
|
|
238
|
-
explicitly overridden the LESS variables. The default values come from
|
|
239
|
-
the design tokens (c8y-design-tokens.less and c8y-design-tokens-dark.less)
|
|
240
|
-
which correctly handle light vs dark theme defaults.
|
|
241
|
-
============================================================================ */
|
|
242
|
-
|
|
243
|
-
/* Check if user overrode @brand-primary by comparing against default */
|
|
244
|
-
& when not (@brand-primary = @brand-primary-default) {
|
|
245
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
246
|
-
/* User overrode @brand-primary, so apply it to both themes */
|
|
247
|
-
--c8y-brand-primary: @brand-primary;
|
|
248
|
-
--c8y-brand-light: @brand-primary-light;
|
|
249
|
-
--c8y-brand-dark: @brand-primary-dark;
|
|
250
|
-
--c8y-brand-complementary: @brand-complementary;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
& when not (@brand-10 = @brand-10-default) {
|
|
255
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
256
|
-
--c8y-brand-10: @brand-10;
|
|
257
|
-
--c8y-brand-20: @brand-20;
|
|
258
|
-
--c8y-brand-30: @brand-30;
|
|
259
|
-
--c8y-brand-40: @brand-40;
|
|
260
|
-
--c8y-brand-50: @brand-50;
|
|
261
|
-
--c8y-brand-60: @brand-60;
|
|
262
|
-
--c8y-brand-70: @brand-70;
|
|
263
|
-
--c8y-brand-80: @brand-80;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
& when not (@brand-accent = @brand-accent-default) {
|
|
268
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
269
|
-
--c8y-brand-accent: @brand-accent;
|
|
270
|
-
--c8y-brand-accent-dark: @brand-accent-dark;
|
|
271
|
-
--c8y-brand-accent-light: @brand-accent-light;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
& when not (@status-success = @status-success-default) {
|
|
276
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
277
|
-
--c8y-palette-status-success: @status-success;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
& when not (@status-info = @status-info-default) {
|
|
282
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
283
|
-
--c8y-palette-status-info: @status-info;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
& when not (@status-danger = @status-danger-default) {
|
|
288
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
289
|
-
--c8y-palette-status-danger: @status-danger;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
& when not (@status-warning = @status-warning-default) {
|
|
294
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
295
|
-
--c8y-palette-status-warning: @status-warning;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
@@ -23,13 +23,27 @@ $text-color: var(--text-color, var(--c8y-text-color));
|
|
|
23
23
|
$text-muted: var(--text-muted, var(--c8y-text-muted));
|
|
24
24
|
|
|
25
25
|
/* Brand */
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
$brand-primary: var(--brand-primary, var(--c8y-brand-primary));
|
|
27
|
+
$brand-primary-light: var(--brand-light, var(--c8y-brand-light));
|
|
28
|
+
$brand-primary-dark: var(--brand-dark, var(--c8y-brand-dark));
|
|
29
|
+
$brand-complementary: var(--brand-complementary, var(--c8y-brand-complementary));
|
|
30
|
+
$brand-10: var(--brand-10, var(--c8y-brand-10));
|
|
31
|
+
$brand-20: var(--brand-20, var(--c8y-brand-20));
|
|
32
|
+
$brand-30: var(--brand-30, var(--c8y-brand-30));
|
|
33
|
+
$brand-40: var(--brand-40, var(--c8y-brand-40));
|
|
34
|
+
$brand-50: var(--brand-50, var(--c8y-brand-50));
|
|
35
|
+
$brand-60: var(--brand-60, var(--c8y-brand-60));
|
|
36
|
+
$brand-70: var(--brand-70, var(--c8y-brand-70));
|
|
37
|
+
$brand-80: var(--brand-80, var(--c8y-brand-80));
|
|
38
|
+
$brand-accent: var(--brand-accent, var(--c8y-brand-accent));
|
|
39
|
+
$brand-accent-dark: var(--brand-accent-dark, var(--c8y-brand-accent-dark));
|
|
40
|
+
$brand-accent-light: var(--brand-accent-light, var(--c8y-brand-accent-light));
|
|
30
41
|
|
|
31
42
|
/* Status, feedback states and alerts */
|
|
32
|
-
|
|
43
|
+
$status-success: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
44
|
+
$status-info: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
45
|
+
$status-danger: var(--palette-status-danger, var(--c8y-palette-status-danger));
|
|
46
|
+
$status-warning: var(--palette-status-warning, var(--c8y-palette-status-warning));
|
|
33
47
|
$status-success-light: var(--palette-status-success-light, var(--c8y-palette-status-success-light));
|
|
34
48
|
$status-success-dark: var(--palette-status-success-dark, var(--c8y-palette-status-success-dark));
|
|
35
49
|
$status-info-light: var(--palette-status-info-light, var(--c8y-palette-status-info-light));
|
|
@@ -229,75 +243,3 @@ $selectize-color-dropdown-item-create-active-text: $selectize-color-dropdown-ite
|
|
|
229
243
|
$selectize-color-optgroup: $selectize-color-dropdown;
|
|
230
244
|
$selectize-color-optgroup-text: $selectize-color-text;
|
|
231
245
|
$selectize-arrow-color: $component-brand-primary;
|
|
232
|
-
|
|
233
|
-
/* ============================================================================
|
|
234
|
-
CSS Custom Properties based on LESS Variables
|
|
235
|
-
|
|
236
|
-
These CSS custom properties are set based on the LESS variable values,
|
|
237
|
-
allowing LESS variable overrides to work for backwards compatibility.
|
|
238
|
-
|
|
239
|
-
When a user overrides $brand-primary before importing main.less,
|
|
240
|
-
these CSS custom properties will be set to the overridden value,
|
|
241
|
-
which will then be used throughout the application.
|
|
242
|
-
|
|
243
|
-
IMPORTANT: We only override the --c8y-* design tokens when the user has
|
|
244
|
-
explicitly overridden the LESS variables. The default values come from
|
|
245
|
-
the design tokens (c8y-design-tokens.less and c8y-design-tokens-dark.less)
|
|
246
|
-
which correctly handle light vs dark theme defaults.
|
|
247
|
-
============================================================================ */
|
|
248
|
-
|
|
249
|
-
/* Check if user overrode $brand-primary by comparing against default */
|
|
250
|
-
@if ($brand-primary != $brand-primary-default) {
|
|
251
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
252
|
-
/* User overrode $brand-primary, so apply it to both themes */
|
|
253
|
-
--c8y-brand-primary: #{$brand-primary};
|
|
254
|
-
--c8y-brand-light: #{$brand-primary-light};
|
|
255
|
-
--c8y-brand-dark: #{$brand-primary-dark};
|
|
256
|
-
--c8y-brand-complementary: #{$brand-complementary};
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@if ($brand-10 != $brand-10-default) {
|
|
261
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
262
|
-
--c8y-brand-10: #{$brand-10};
|
|
263
|
-
--c8y-brand-20: #{$brand-20};
|
|
264
|
-
--c8y-brand-30: #{$brand-30};
|
|
265
|
-
--c8y-brand-40: #{$brand-40};
|
|
266
|
-
--c8y-brand-50: #{$brand-50};
|
|
267
|
-
--c8y-brand-60: #{$brand-60};
|
|
268
|
-
--c8y-brand-70: #{$brand-70};
|
|
269
|
-
--c8y-brand-80: #{$brand-80};
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
@if ($brand-accent != $brand-accent-default) {
|
|
274
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
275
|
-
--c8y-brand-accent: #{$brand-accent};
|
|
276
|
-
--c8y-brand-accent-dark: #{$brand-accent-dark};
|
|
277
|
-
--c8y-brand-accent-light: #{$brand-accent-light};
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
@if ($status-success != $status-success-default) {
|
|
282
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
283
|
-
--c8y-palette-status-success: #{$status-success};
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
@if ($status-info != $status-info-default) {
|
|
288
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
289
|
-
--c8y-palette-status-info: #{$status-info};
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
@if ($status-danger != $status-danger-default) {
|
|
294
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
295
|
-
--c8y-palette-status-danger: #{$status-danger};
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
@if ($status-warning != $status-warning-default) {
|
|
300
|
-
:root, .c8y-light-theme, .c8y-dark-theme {
|
|
301
|
-
--c8y-palette-status-warning: #{$status-warning};
|
|
302
|
-
}
|
|
303
|
-
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import 'tokens/
|
|
2
|
-
@import 'tokens/
|
|
1
|
+
@import 'tokens/_c8y-design-tokens.less';
|
|
2
|
+
@import 'tokens/_c8y-design-tokens-dark.less';
|
|
3
3
|
|
|
4
4
|
.c8y-system-theme{
|
|
5
5
|
@media(prefers-color-scheme: dark) {
|
|
@@ -43,6 +43,4 @@
|
|
|
43
43
|
// @import '_selectize-vars.less';
|
|
44
44
|
// @import '_page-sticky-header.less';
|
|
45
45
|
|
|
46
|
-
@import '
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
@import '_shadows.less';
|
package/variables/index.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* Import color defaults FIRST so LESS variables can be overridden before main.less import */
|
|
2
2
|
@import '_color-defaults.less';
|
|
3
3
|
|
|
4
|
-
@import 'tokens/
|
|
5
|
-
@import 'tokens/
|
|
4
|
+
@import 'tokens/_c8y-design-tokens.less';
|
|
5
|
+
@import 'tokens/_c8y-design-tokens-dark.less';
|
|
6
6
|
|
|
7
7
|
.c8y-system-theme{
|
|
8
8
|
@media(prefers-color-scheme: dark) {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
@import '_page-sticky-header.less';
|
|
49
49
|
|
|
50
50
|
// @import 'compatibility.less';
|
|
51
|
-
@import '
|
|
51
|
+
@import '_shadows.less';
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
// dashboard themes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit directly
|
|
3
3
|
// Generated on Mon, 12 Jan 2026 11:47:08 GMT
|
|
4
4
|
|
|
5
|
-
.c8y-dark-theme {
|
|
5
|
+
.c8y-dark-theme() {
|
|
6
6
|
|
|
7
7
|
/* SECTION: Primitives - Colors */
|
|
8
8
|
--c8y-palette-gray-10: #f2f2f3;
|
|
@@ -326,3 +326,7 @@
|
|
|
326
326
|
/* SECTION: Tooltip - Defaults */
|
|
327
327
|
--c8y-tooltip-opacity: 1;
|
|
328
328
|
}
|
|
329
|
+
|
|
330
|
+
.c8y-dark-theme {
|
|
331
|
+
.c8y-dark-theme();
|
|
332
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit directly
|
|
3
3
|
// Generated on Mon, 12 Jan 2026 11:47:08 GMT
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.c8y-light-theme() {
|
|
6
6
|
|
|
7
7
|
/* SECTION: Primitives - Colors */
|
|
8
8
|
--c8y-palette-blue-10: #033c79;
|
|
@@ -584,3 +584,7 @@
|
|
|
584
584
|
--c8y-tooltip-opacity: 0.95;
|
|
585
585
|
--c8y-tooltip-width: calc(var(--c8y-unit-base) * 25);
|
|
586
586
|
}
|
|
587
|
+
|
|
588
|
+
:root, .c8y-light-theme {
|
|
589
|
+
.c8y-light-theme();
|
|
590
|
+
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.boxed-label {
|
|
2
|
-
border: dashed 1px transparent;
|
|
3
|
-
padding: 8px 8px 4px;
|
|
4
|
-
border-radius: 2px;
|
|
5
|
-
position: relative;
|
|
6
|
-
&[data-label] {
|
|
7
|
-
border-color: var(--c8y-palette-gray-60);
|
|
8
|
-
&:before{
|
|
9
|
-
content: attr(data-label);
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: -6px;
|
|
12
|
-
left: 8px;
|
|
13
|
-
font-size: var(--c8y-font-size-xs);
|
|
14
|
-
background-color: var(--c8y-root-component-background-default);
|
|
15
|
-
color: var(--c8y-root-component-color-text-muted);
|
|
16
|
-
padding: 0 4px;
|
|
17
|
-
font-style: italic;
|
|
18
|
-
border-radius: 2px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
@use "../../../variables/index" as *;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* uoxed lauel - Component styles
|
|
6
|
-
*
|
|
7
|
-
* Note: Uses $size-* tokens for spacing where applicable.
|
|
8
|
-
*
|
|
9
|
-
* Intentionally hardcoded values:
|
|
10
|
-
* - Component-specific dimensions: Fixed sizes for component layout
|
|
11
|
-
* - Off-grid spacing: Component-specific positioning
|
|
12
|
-
* - Border widths (1px, 2px, 3px): Standard borders
|
|
13
|
-
* - Font-sizes: Typography
|
|
14
|
-
* - Percentages: Layout
|
|
15
|
-
*/
|
|
16
|
-
.boxed-label {
|
|
17
|
-
border: dashed 1px transparent;
|
|
18
|
-
padding: $size-8 $size-8 $size-4;
|
|
19
|
-
border-radius: 2px;
|
|
20
|
-
position: relative;
|
|
21
|
-
&[data-label] {
|
|
22
|
-
border-color: var(--c8y-palette-gray-60);
|
|
23
|
-
&:before{
|
|
24
|
-
content: attr(data-label);
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: -6px;
|
|
27
|
-
left: 8px;
|
|
28
|
-
font-size: var(--c8y-font-size-xs);
|
|
29
|
-
background-color: var(--c8y-root-component-background-default);
|
|
30
|
-
color: var(--c8y-root-component-color-text-muted);
|
|
31
|
-
padding: 0 4px;
|
|
32
|
-
font-style: italic;
|
|
33
|
-
border-radius: 2px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.c8y-cookie-banner {
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: auto;
|
|
4
|
-
right: 0;
|
|
5
|
-
bottom: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
z-index: @zindex-modal - 3;
|
|
8
|
-
background-color: rgba(@black, 0.8);
|
|
9
|
-
color: white;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.cookie-banner-content {
|
|
13
|
-
column-width: 26rem;
|
|
14
|
-
|
|
15
|
-
a{
|
|
16
|
-
color: inherit;
|
|
17
|
-
text-decoration: underline;
|
|
18
|
-
&:hover {
|
|
19
|
-
color: inherit;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
.welcome-widget {
|
|
2
|
-
height: 100%;
|
|
3
|
-
.welcome-illustration {
|
|
4
|
-
position: relative;
|
|
5
|
-
flex-grow: 1;
|
|
6
|
-
height: auto;
|
|
7
|
-
> svg {
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: 0;
|
|
10
|
-
right: 0;
|
|
11
|
-
bottom: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
> .flex-row {
|
|
16
|
-
height: 100%;
|
|
17
|
-
}
|
|
18
|
-
.card-group.interact-grid {
|
|
19
|
-
margin-bottom: 0;
|
|
20
|
-
.card {
|
|
21
|
-
margin-bottom: 8px;
|
|
22
|
-
margin-top: 1px;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
|
|
25
|
-
outline: 1px solid @component-border-color;
|
|
26
|
-
|
|
27
|
-
&:hover,
|
|
28
|
-
&:focus {
|
|
29
|
-
z-index: @zindex-navbar - 1;
|
|
30
|
-
outline: 2px solid @component-brand-primary;
|
|
31
|
-
outline-offset: -2px;
|
|
32
|
-
}
|
|
33
|
-
&:focus {
|
|
34
|
-
.c8y-focus();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@media (min-width: @screen-md-min) {
|
|
41
|
-
.welcome-widget {
|
|
42
|
-
padding-top: 0;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
body:not(:has(.c8y-logo)) {
|
|
47
|
-
#c8y-mark{
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
#gradient {
|
|
2
|
-
// Horizontal gradient, from left to right
|
|
3
|
-
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
|
4
|
-
// Color stops are not available in IE9 and below.
|
|
5
|
-
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
|
6
|
-
background-image: -webkit-linear-gradient(
|
|
7
|
-
left,
|
|
8
|
-
@start-color @start-percent,
|
|
9
|
-
@end-color @end-percent
|
|
10
|
-
); // Safari 5.1-6, Chrome 10+
|
|
11
|
-
background-image: -o-linear-gradient(
|
|
12
|
-
left,
|
|
13
|
-
@start-color @start-percent,
|
|
14
|
-
@end-color @end-percent
|
|
15
|
-
); // Opera 12
|
|
16
|
-
background-image: linear-gradient(
|
|
17
|
-
to right,
|
|
18
|
-
@start-color @start-percent,
|
|
19
|
-
@end-color @end-percent
|
|
20
|
-
); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
|
21
|
-
background-repeat: repeat-x;
|
|
22
|
-
filter: e(
|
|
23
|
-
%(
|
|
24
|
-
"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",
|
|
25
|
-
argb(@start-color),
|
|
26
|
-
argb(@end-color)
|
|
27
|
-
)
|
|
28
|
-
); // IE9 and down
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// Vertical gradient, from top to bottom
|
|
32
|
-
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
|
33
|
-
// Color stops are not available in IE9 and below.
|
|
34
|
-
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
|
35
|
-
background-image: -webkit-linear-gradient(
|
|
36
|
-
top,
|
|
37
|
-
@start-color @start-percent,
|
|
38
|
-
@end-color @end-percent
|
|
39
|
-
); // Safari 5.1-6, Chrome 10+
|
|
40
|
-
background-image: -o-linear-gradient(
|
|
41
|
-
top,
|
|
42
|
-
@start-color @start-percent,
|
|
43
|
-
@end-color @end-percent
|
|
44
|
-
); // Opera 12
|
|
45
|
-
background-image: linear-gradient(
|
|
46
|
-
to bottom,
|
|
47
|
-
@start-color @start-percent,
|
|
48
|
-
@end-color @end-percent
|
|
49
|
-
); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
|
50
|
-
background-repeat: repeat-x;
|
|
51
|
-
filter: e(
|
|
52
|
-
%(
|
|
53
|
-
"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",
|
|
54
|
-
argb(@start-color),
|
|
55
|
-
argb(@end-color)
|
|
56
|
-
)
|
|
57
|
-
); // IE9 and down
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
|
|
61
|
-
background-repeat: repeat-x;
|
|
62
|
-
background-image: -webkit-linear-gradient(
|
|
63
|
-
@deg,
|
|
64
|
-
@start-color,
|
|
65
|
-
@end-color
|
|
66
|
-
); // Safari 5.1-6, Chrome 10+
|
|
67
|
-
background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12
|
|
68
|
-
background-image: linear-gradient(
|
|
69
|
-
@deg,
|
|
70
|
-
@start-color,
|
|
71
|
-
@end-color
|
|
72
|
-
); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
|
73
|
-
}
|
|
74
|
-
.horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
|
75
|
-
background-image: -webkit-linear-gradient(
|
|
76
|
-
left,
|
|
77
|
-
@start-color,
|
|
78
|
-
@mid-color @color-stop,
|
|
79
|
-
@end-color
|
|
80
|
-
);
|
|
81
|
-
background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
|
82
|
-
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
|
|
83
|
-
background-repeat: no-repeat;
|
|
84
|
-
filter: e(
|
|
85
|
-
%(
|
|
86
|
-
"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",
|
|
87
|
-
argb(@start-color),
|
|
88
|
-
argb(@end-color)
|
|
89
|
-
)
|
|
90
|
-
); // IE9 and down, gets no color-stop at all for proper fallback
|
|
91
|
-
}
|
|
92
|
-
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
|
93
|
-
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
|
94
|
-
background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
|
95
|
-
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
|
96
|
-
background-repeat: no-repeat;
|
|
97
|
-
filter: e(
|
|
98
|
-
%(
|
|
99
|
-
"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",
|
|
100
|
-
argb(@start-color),
|
|
101
|
-
argb(@end-color)
|
|
102
|
-
)
|
|
103
|
-
); // IE9 and down, gets no color-stop at all for proper fallback
|
|
104
|
-
}
|
|
105
|
-
.radial(@inner-color: #555; @outer-color: #333) {
|
|
106
|
-
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
|
|
107
|
-
background-image: radial-gradient(circle, @inner-color, @outer-color);
|
|
108
|
-
background-repeat: no-repeat;
|
|
109
|
-
}
|
|
110
|
-
.striped(@color: rgba(255,255,255,0.15); @angle: 45deg) {
|
|
111
|
-
background-image: -webkit-linear-gradient(
|
|
112
|
-
@angle,
|
|
113
|
-
@color 25%,
|
|
114
|
-
transparent 25%,
|
|
115
|
-
transparent 50%,
|
|
116
|
-
@color 50%,
|
|
117
|
-
@color 75%,
|
|
118
|
-
transparent 75%,
|
|
119
|
-
transparent
|
|
120
|
-
);
|
|
121
|
-
background-image: -o-linear-gradient(
|
|
122
|
-
@angle,
|
|
123
|
-
@color 25%,
|
|
124
|
-
transparent 25%,
|
|
125
|
-
transparent 50%,
|
|
126
|
-
@color 50%,
|
|
127
|
-
@color 75%,
|
|
128
|
-
transparent 75%,
|
|
129
|
-
transparent
|
|
130
|
-
);
|
|
131
|
-
background-image: linear-gradient(
|
|
132
|
-
@angle,
|
|
133
|
-
@color 25%,
|
|
134
|
-
transparent 25%,
|
|
135
|
-
transparent 50%,
|
|
136
|
-
@color 50%,
|
|
137
|
-
@color 75%,
|
|
138
|
-
transparent 75%,
|
|
139
|
-
transparent
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
}
|
package/styles/mixins.less
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// Utilities
|
|
2
|
-
@import 'mixins/hide-text.less';
|
|
3
|
-
@import 'mixins/opacity.less';
|
|
4
|
-
@import 'mixins/image.less';
|
|
5
|
-
@import 'mixins/labels.less'; /* Remove after Codex launch. will be replaced by Tag */
|
|
6
|
-
@import 'mixins/tag.less';
|
|
7
|
-
@import 'mixins/reset-filter.less';
|
|
8
|
-
@import 'mixins/resize.less';
|
|
9
|
-
@import 'mixins/responsive-visibility.less';
|
|
10
|
-
@import 'mixins/size.less';
|
|
11
|
-
@import 'mixins/tab-focus.less';
|
|
12
|
-
@import 'mixins/reset-text.less';
|
|
13
|
-
@import 'mixins/text-emphasis.less';
|
|
14
|
-
@import 'mixins/text-overflow.less';
|
|
15
|
-
@import 'mixins/vendor-prefixes.less';
|
|
16
|
-
@import 'mixins/color-mixins.less';
|
|
17
|
-
@import 'mixins/animation.less';
|
|
18
|
-
|
|
19
|
-
// Components
|
|
20
|
-
@import 'mixins/buttons.less';
|
|
21
|
-
@import 'mixins/alert-variant.less';
|
|
22
|
-
@import 'mixins/panels.less';
|
|
23
|
-
@import 'mixins/pagination.less';
|
|
24
|
-
@import 'mixins/list-group.less';
|
|
25
|
-
@import 'mixins/nav-divider.less';
|
|
26
|
-
@import 'mixins/forms.less';
|
|
27
|
-
@import 'mixins/progress-bar.less';
|
|
28
|
-
@import 'mixins/table-row.less';
|
|
29
|
-
@import 'mixins/c8y-scrollbar.less';
|
|
30
|
-
|
|
31
|
-
// Skins
|
|
32
|
-
@import 'mixins/background-variant.less';
|
|
33
|
-
@import 'mixins/border-radius.less';
|
|
34
|
-
@import 'mixins/gradients.less';
|
|
35
|
-
|
|
36
|
-
// Layout
|
|
37
|
-
@import 'mixins/clearfix.less';
|
|
38
|
-
@import 'mixins/center-block.less';
|
|
39
|
-
@import 'mixins/nav-vertical-align.less';
|
|
40
|
-
@import 'mixins/grid-framework.less';
|
|
41
|
-
@import 'mixins/grid.less';
|
|
42
|
-
@import 'mixins/hide-scrollbars.less';
|
|
43
|
-
@import 'mixins/shadows-helper.less';
|
|
44
|
-
@import 'mixins/element-queries.less';
|
|
45
|
-
@import 'mixins/create-grid.less';
|