@c8y/style 1023.17.19 → 1023.22.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/branding-login.scss +17 -0
- package/branding.scss +15 -0
- package/export.scss +1 -0
- package/extend.scss +4 -0
- package/login.scss +17 -0
- package/main.scss +6 -0
- package/package.json +1 -1
- package/styles/README.md +204 -0
- package/styles/_login-app.scss +34 -0
- package/styles/_mixins.scss +47 -0
- package/styles/_utilities.scss +21 -0
- package/styles/animations/_animate.less +648 -0
- package/styles/animations/_animate.scss +654 -0
- package/styles/animations/_component-animations.scss +70 -0
- package/styles/animations/_realtime-animation-list.scss +21 -0
- package/styles/animations/_spinner-snake.scss +73 -0
- package/styles/{_spinner.less → animations/_spinner.less} +0 -3
- package/styles/animations/_spinner.scss +165 -0
- package/styles/base/_normalize.scss +309 -0
- package/styles/base/_print.scss +159 -0
- package/styles/base/_scaffolding.scss +162 -0
- package/styles/{_type.less → base/_type.less} +2 -2
- package/styles/base/_type.scss +350 -0
- package/styles/components/_markdown-content.less +75 -0
- package/styles/components/_markdown-content.scss +82 -0
- package/styles/{_smartrules.less → components/_smartrules.less} +120 -97
- package/styles/components/_smartrules.scss +392 -0
- package/styles/{_range-display.less → components/data-display-and-visualization/_range-display.less} +67 -49
- package/styles/components/data-display-and-visualization/_range-display.scss +488 -0
- package/styles/{_timelines-chart.less → components/data-display-and-visualization/_timelines-chart.less} +42 -33
- package/styles/components/data-display-and-visualization/_timelines-chart.scss +45 -0
- package/styles/{_c8y-data-point-list.less → components/data-display-and-visualization/lists/_c8y-data-point-list.less} +2 -20
- package/styles/components/data-display-and-visualization/lists/_c8y-data-point-list.scss +32 -0
- package/styles/components/data-display-and-visualization/lists/_c8y-empty-state.scss +164 -0
- package/styles/{_c8y-list-group.less → components/data-display-and-visualization/lists/_c8y-list-group.less} +1 -1
- package/styles/components/data-display-and-visualization/lists/_c8y-list-group.scss +789 -0
- package/styles/components/data-display-and-visualization/lists/_cards-layout.scss +415 -0
- package/styles/{_list-group.less → components/data-display-and-visualization/lists/_list-group.less} +4 -2
- package/styles/components/data-display-and-visualization/lists/_list-group.scss +381 -0
- package/styles/components/data-display-and-visualization/lists/_smart-rules-template-list.scss +36 -0
- package/styles/components/data-display-and-visualization/lists/_timeline-list.scss +240 -0
- package/styles/components/data-display-and-visualization/lists/timeline-list.less +216 -0
- package/styles/components/data-display-and-visualization/tables/_data-grid.scss +814 -0
- package/styles/{_resizable-grid.less → components/data-display-and-visualization/tables/_resizable-grid.less} +0 -3
- package/styles/components/data-display-and-visualization/tables/_resizable-grid.scss +138 -0
- package/styles/components/data-display-and-visualization/tables/_tables.scss +411 -0
- package/styles/{_c8y-ai-chat.less → components/data-input/_c8y-ai-chat.less} +44 -28
- package/styles/components/data-input/_c8y-ai-chat.scss +212 -0
- package/styles/components/data-input/assets/_asset-property-list.scss +285 -0
- package/styles/{_asset-table.less → components/data-input/assets/_asset-table.less} +3 -6
- package/styles/components/data-input/assets/_asset-table.scss +95 -0
- package/styles/components/data-input/assets/_c8y-asset-notes.scss +41 -0
- package/styles/components/data-input/assets/_c8y-asset-selector-miller.scss +134 -0
- package/styles/{_c8y-asset-selector.less → components/data-input/assets/_c8y-asset-selector.less} +1 -1
- package/styles/components/data-input/assets/_c8y-asset-selector.scss +178 -0
- package/styles/components/data-input/assets/_c8y-child-assets-selector.scss +231 -0
- package/styles/{_app-switcher.less → components/navigation-and-layout/action-bars/_app-switcher.less} +1 -1
- package/styles/components/navigation-and-layout/action-bars/_app-switcher.scss +111 -0
- package/styles/components/navigation-and-layout/action-bars/_c8y-action-bar.scss +418 -0
- package/styles/{_card-dashboard.less → components/navigation-and-layout/cards/_card-dashboard.less} +2 -5
- package/styles/components/navigation-and-layout/cards/_card-dashboard.scss +179 -0
- package/styles/components/navigation-and-layout/cards/_card-flip.scss +104 -0
- package/styles/components/navigation-and-layout/cards/_card-grid.scss +95 -0
- package/styles/{_card.less → components/navigation-and-layout/cards/_card.less} +18 -22
- package/styles/components/navigation-and-layout/cards/_card.scss +769 -0
- package/styles/{_panels.less → components/navigation-and-layout/cards/_panels.less} +11 -21
- package/styles/components/navigation-and-layout/cards/_panels.scss +514 -0
- package/styles/{_breadcrumbs.less → components/navigation-and-layout/navigation/_breadcrumbs.less} +0 -29
- package/styles/components/navigation-and-layout/navigation/_breadcrumbs.scss +61 -0
- package/styles/components/navigation-and-layout/navigation/_c8y-nav-stacked.scss +85 -0
- package/styles/components/navigation-and-layout/navigation/_main-header.scss +510 -0
- package/styles/{_navbar.less → components/navigation-and-layout/navigation/_navbar.less} +7 -6
- package/styles/components/navigation-and-layout/navigation/_navbar.scss +488 -0
- package/styles/components/navigation-and-layout/navigation/_navigator.scss +454 -0
- package/styles/components/navigation-and-layout/navigation/_navs.scss +118 -0
- package/styles/components/navigation-and-layout/navigation/_pagination.scss +148 -0
- package/styles/components/navigation-and-layout/navigation/_steps-navbar.scss +101 -0
- package/styles/{_tabs.less → components/navigation-and-layout/navigation/_tabs.less} +1 -1
- package/styles/components/navigation-and-layout/navigation/_tabs.scss +254 -0
- package/styles/components/navigation-and-layout/navigation/steps-navbar.less +98 -0
- package/styles/components/specialized/_boxed-label.scss +36 -0
- package/styles/components/specialized/_c8y-cookie-banner.scss +37 -0
- package/styles/{_c8y-countdown-interval.less → components/specialized/_c8y-countdown-interval.less} +1 -1
- package/styles/components/specialized/_c8y-countdown-interval.scss +126 -0
- package/styles/{_c8y-data-explorer.less → components/specialized/_c8y-data-explorer.less} +12 -115
- package/styles/components/specialized/_c8y-data-explorer.scss +260 -0
- package/styles/components/specialized/_c8y-datapoint-pill.scss +105 -0
- package/styles/{_c8y-login.less → components/specialized/_c8y-login.less} +3 -3
- package/styles/components/specialized/_c8y-login.scss +120 -0
- package/styles/components/specialized/_c8y-message-banner.less +37 -0
- package/styles/components/specialized/_c8y-message-banner.scss +52 -0
- package/styles/components/specialized/_c8y-pulse.scss +118 -0
- package/styles/components/specialized/_c8y-range.scss +237 -0
- package/styles/{_c8y-role-card.less → components/specialized/_c8y-role-card.less} +2 -22
- package/styles/components/specialized/_c8y-role-card.scss +68 -0
- package/styles/{_c8y-schema-form.less → components/specialized/_c8y-schema-form.less} +1 -5
- package/styles/components/specialized/_c8y-schema-form.scss +193 -0
- package/styles/components/specialized/_c8y-scrollbar.scss +82 -0
- package/styles/components/specialized/_c8y-smart-rest-tab.scss +75 -0
- package/styles/{_c8y-stepper.less → components/specialized/_c8y-stepper.less} +3 -3
- package/styles/components/specialized/_c8y-stepper.scss +110 -0
- package/styles/{_c8y-user-roles.less → components/specialized/_c8y-user-roles.less} +6 -7
- package/styles/components/specialized/_c8y-user-roles.scss +351 -0
- package/styles/{_c8y-utils.less → components/specialized/_c8y-utils.less} +0 -3
- package/styles/components/specialized/_c8y-utils.scss +109 -0
- package/styles/components/specialized/_code.scss +94 -0
- package/styles/components/specialized/_device-software-tab.scss +52 -0
- package/styles/components/specialized/_dtm-icon-selector.scss +84 -0
- package/styles/{_measurements-time-control.less → components/specialized/_measurements-time-control.less} +12 -52
- package/styles/components/specialized/_measurements-time-control.scss +237 -0
- package/styles/components/specialized/_search-header.scss +126 -0
- package/styles/{_smart-list-icon-label.less → components/specialized/_smart-list-icon-label.less} +1 -1
- package/styles/components/specialized/_smart-list-icon-label.scss +75 -0
- package/styles/components/specialized/_static-assets-file-picker.scss +23 -0
- package/styles/{_status.less → components/specialized/_status.less} +11 -11
- package/styles/components/specialized/_status.scss +106 -0
- package/styles/components/specialized/_statusContainer.scss +62 -0
- package/styles/core/buttons/_button-groups.scss +202 -0
- package/styles/{_buttons.less → core/buttons/_buttons.less} +30 -21
- package/styles/core/buttons/_buttons.scss +1318 -0
- package/styles/{_alerts.less → core/feedback/_alerts.less} +2 -6
- package/styles/core/feedback/_alerts.scss +243 -0
- package/styles/core/feedback/_badges.scss +85 -0
- package/styles/core/feedback/_close.scss +54 -0
- package/styles/{_labels.less → core/feedback/_labels.less} +1 -1
- package/styles/core/feedback/_labels.scss +93 -0
- package/styles/core/feedback/_progress-bars.scss +96 -0
- package/styles/{_tag.less → core/feedback/_tag.less} +1 -1
- package/styles/core/feedback/_tag.scss +103 -0
- package/styles/core/feedback/_tooltip.scss +147 -0
- package/styles/{_c8y-switch.less → core/forms/_c8y-switch.less} +2 -2
- package/styles/core/forms/_c8y-switch.scss +226 -0
- package/styles/{_file-picker.less → core/forms/_file-picker.less} +1 -1
- package/styles/core/forms/_file-picker.scss +219 -0
- package/styles/{_forms.less → core/forms/_forms.less} +14 -16
- package/styles/core/forms/_forms.scss +1183 -0
- package/styles/{_input-groups.less → core/forms/_input-groups.less} +2 -2
- package/styles/core/forms/_input-groups.scss +700 -0
- package/styles/{_c8y-dashboard-modal.less → core/overlays/_c8y-dashboard-modal.less} +3 -3
- package/styles/core/overlays/_c8y-dashboard-modal.scss +86 -0
- package/styles/{_c8y-wizard.less → core/overlays/_c8y-wizard.less} +1 -1
- package/styles/core/overlays/_c8y-wizard.scss +226 -0
- package/styles/{_dropdowns.less → core/overlays/_dropdowns.less} +4 -4
- package/styles/core/overlays/_dropdowns.scss +815 -0
- package/styles/{_modals.less → core/overlays/_modals.less} +7 -8
- package/styles/core/overlays/_modals.scss +461 -0
- package/styles/core/overlays/_popovers.scss +183 -0
- package/styles/dashboard/_availability-pie.scss +33 -0
- package/styles/{_c8y-dashboard-style.less → dashboard/_c8y-dashboard-style.less} +4 -6
- package/styles/dashboard/_c8y-dashboard-style.scss +409 -0
- package/styles/{_c8y-gauges.less → dashboard/_c8y-gauges.less} +1 -1
- package/styles/dashboard/_c8y-gauges.scss +62 -0
- package/styles/dashboard/_dashboard-widgets.scss +47 -0
- package/styles/dashboard/_info-gauge.scss +107 -0
- package/styles/dashboard/_quick-links-widget.scss +49 -0
- package/styles/dashboard/_welcome-widget.scss +68 -0
- package/styles/dashboard/_welcome.scss +138 -0
- package/styles/dashboard/welcome-widget.less +50 -0
- package/styles/dashboard/welcome.less +128 -0
- package/styles/icons/_c8y-glyphs.scss +63 -0
- package/styles/{_c8y-icons.less → icons/_c8y-icons.less} +12 -12
- package/styles/icons/_c8y-icons.scss +1209 -0
- package/styles/icons/_dlt-c8y-icons-stroke.less +1856 -0
- package/styles/icons/_dlt-c8y-icons-stroke.scss +3667 -0
- package/styles/{_dlt-c8y-icons.less → icons/_dlt-c8y-icons.less} +5 -112
- package/styles/icons/_dlt-c8y-icons.scss +9204 -0
- package/styles/icons/_marker-icons.less +22 -0
- package/styles/icons/_marker-icons.scss +33 -0
- package/styles/index.less +233 -152
- package/styles/index.scss +240 -0
- package/styles/layout/_bottom-drawer.scss +59 -0
- package/styles/layout/_c8y-help-drawer.scss +104 -0
- package/styles/layout/_c8y-right-drawer.scss +150 -0
- package/styles/layout/_c8y-top-drawer.scss +117 -0
- package/styles/{_grid.less → layout/_grid.less} +3 -18
- package/styles/layout/_grid.scss +114 -0
- package/styles/layout/_group-info.scss +27 -0
- package/styles/{_layouts.less → layout/_layouts.less} +1 -3
- package/styles/layout/_layouts.scss +375 -0
- package/styles/layout/_mcontainer.scss +136 -0
- package/styles/layout/_page-tabs.scss +314 -0
- package/styles/{_split-scroll.less → layout/_split-scroll.less} +1 -1
- package/styles/layout/_split-scroll.scss +112 -0
- package/styles/layout/_split-view.scss +126 -0
- package/styles/login-app-use.scss +36 -0
- package/styles/login-app.less +25 -24
- package/styles/mixins/_alert-variant.scss +13 -0
- package/styles/mixins/_animation.scss +25 -0
- package/styles/mixins/_background-variant.scss +34 -0
- package/styles/mixins/_border-radius.scss +18 -0
- package/styles/mixins/_buttons.scss +65 -0
- package/styles/mixins/_c8y-scrollbar.scss +29 -0
- package/styles/mixins/_center-block.scss +7 -0
- package/styles/mixins/_clearfix.scss +22 -0
- package/styles/mixins/_color-mixins.scss +21 -0
- package/styles/mixins/_create-grid.scss +137 -0
- package/styles/mixins/_element-queries.scss +39 -0
- package/styles/mixins/_forms.scss +122 -0
- package/styles/mixins/_gradients.scss +120 -0
- package/styles/mixins/_grid-framework.scss +104 -0
- package/styles/mixins/_grid.scss +126 -0
- package/styles/mixins/_hide-scrollbars.scss +10 -0
- package/styles/mixins/_hide-text.scss +24 -0
- package/styles/mixins/_icon-base.scss +30 -0
- package/styles/mixins/_image.scss +26 -0
- package/styles/mixins/_index.scss +48 -0
- package/styles/mixins/_labels.scss +14 -0
- package/styles/mixins/_list-group.scss +32 -0
- package/styles/mixins/_nav-divider.scss +8 -0
- package/styles/mixins/_nav-vertical-align.scss +9 -0
- package/styles/mixins/_opacity.scss +9 -0
- package/styles/mixins/_pagination.scss +26 -0
- package/styles/mixins/_panels.scss +25 -0
- package/styles/mixins/_progress-bar.scss +12 -0
- package/styles/mixins/_reset-filter.scss +9 -0
- package/styles/mixins/_reset-text.scss +21 -0
- package/styles/mixins/_resize.scss +6 -0
- package/styles/mixins/_responsive-visibility.scss +21 -0
- package/styles/mixins/_shadows-helper.scss +40 -0
- package/styles/mixins/_size.scss +109 -0
- package/styles/mixins/_tab-focus.scss +20 -0
- package/styles/mixins/_table-row.scss +30 -0
- package/styles/mixins/_tag.scss +14 -0
- package/styles/mixins/_text-emphasis.scss +19 -0
- package/styles/mixins/_text-overflow.scss +10 -0
- package/styles/mixins/_vendor-prefixes.scss +149 -0
- package/styles/mixins/vendor-prefixes.less +37 -112
- package/styles/utilities/_borders.less +3 -12
- package/styles/utilities/_borders.scss +137 -0
- package/styles/utilities/_caret.scss +50 -0
- package/styles/utilities/_container-queries.scss +113 -0
- package/styles/utilities/_contextual-colors.less +113 -168
- package/styles/utilities/_contextual-colors.scss +170 -0
- package/styles/utilities/_display.scss +439 -0
- package/styles/utilities/_elevation.scss +41 -0
- package/styles/utilities/_flex-containers.scss +219 -0
- package/styles/utilities/_flex-items.scss +152 -0
- package/styles/utilities/_icon-utils.less +5 -5
- package/styles/utilities/_icon-utils.scss +94 -0
- package/styles/utilities/_margins-paddings.scss +190 -0
- package/styles/utilities/_overflows.scss +69 -0
- package/styles/utilities/_position.less +3 -6
- package/styles/utilities/_position.scss +143 -0
- package/styles/utilities/_quickfloats.less +1 -8
- package/styles/utilities/_quickfloats.scss +36 -0
- package/styles/utilities/_separators.scss +71 -0
- package/styles/utilities/_shadows.scss +7 -0
- package/styles/utilities/_sizing.scss +122 -0
- package/styles/utilities/_text-utils.scss +691 -0
- package/styles/utilities.less +1 -4
- package/styles/vendor/ace-editor/_ace-editor.scss +26 -0
- package/styles/vendor/angular/_loading-bar.scss +33 -0
- package/styles/{_ui-sortable.less → vendor/angular/_ui-sortable.less} +1 -1
- package/styles/vendor/angular/_ui-sortable.scss +70 -0
- package/styles/{_uib-accordion.less → vendor/angular/_uib-accordion.less} +1 -1
- package/styles/vendor/angular/_uib-accordion.scss +59 -0
- package/styles/vendor/angular/angular-ui-select/_select.scss +154 -0
- package/styles/vendor/angular/angular-ui-select/select.less +161 -0
- package/styles/vendor/cdk/_cdk-drag.scss +71 -0
- package/styles/{_cdk-tree.less → vendor/cdk/_cdk-tree.less} +1 -1
- package/styles/vendor/cdk/_cdk-tree.scss +66 -0
- package/styles/vendor/cdk/_cdk-virtual-scroll-window.scss +18 -0
- package/styles/{_bs-datepicker.less → vendor/datepicker/_bs-datepicker.less} +1 -7
- package/styles/vendor/datepicker/_bs-datepicker.scss +628 -0
- package/styles/{_datepicker.less → vendor/datepicker/_uib-datepicker.less} +1 -6
- package/styles/vendor/datepicker/_uib-datepicker.scss +173 -0
- package/styles/{_c8y-map-internal.less → vendor/leaflet/_c8y-map-internal.less} +4 -4
- package/styles/vendor/leaflet/_c8y-map-internal.scss +316 -0
- package/styles/{_leaflet.less → vendor/leaflet/_leaflet.less} +4 -3
- package/styles/vendor/leaflet/_leaflet.scss +803 -0
- package/styles/{_colorpicker.less → vendor/other/_colorpicker.less} +2 -2
- package/styles/vendor/other/_colorpicker.scss +40 -0
- package/styles/{_c8y-selectize.less → vendor/selectize/_c8y-selectize.less} +1 -10
- package/styles/vendor/selectize/_c8y-selectize.scss +403 -0
- package/sync-scss-to-less.sh +75 -0
- package/variables/README.md +485 -0
- package/variables/_alert-vars.scss +36 -0
- package/variables/_badge-vars.less +0 -1
- package/variables/_badge-vars.scss +24 -0
- package/variables/_brand-vars.scss +97 -0
- package/variables/_breadcrumbs-vars.scss +13 -0
- package/variables/_buttons-vars.less +17 -0
- package/variables/_buttons-vars.scss +107 -0
- package/variables/_c8y-action-bar-vars.less +1 -1
- package/variables/_c8y-action-bar-vars.scss +15 -0
- package/variables/_c8y-icon-vars.scss +199 -0
- package/variables/_code-vars.less +2 -3
- package/variables/_code-vars.scss +18 -0
- package/variables/_color-defaults.less +91 -0
- package/variables/_color-defaults.scss +91 -0
- package/variables/_color-vars.less +96 -39
- package/variables/_color-vars.scss +303 -0
- package/variables/_components-vars.scss +22 -0
- package/variables/_dlt-c8y-icons-vars.scss +1825 -0
- package/variables/_forms-vars.less +1 -1
- package/variables/_forms-vars.scss +98 -0
- package/variables/_label-vars.less +5 -2
- package/variables/_label-vars.scss +37 -0
- package/variables/_layout-vars.less +29 -13
- package/variables/_layout-vars.scss +110 -0
- package/variables/_map-vars.scss +12 -0
- package/variables/_modal-vars.less +2 -2
- package/variables/_modal-vars.scss +13 -0
- package/variables/_navbar-vars.less +15 -7
- package/variables/_navbar-vars.scss +72 -0
- package/variables/_navigator.scss +8 -0
- package/variables/_page-sticky-header.scss +4 -0
- package/variables/_pagination-vars.scss +30 -0
- package/variables/_panel-vars.less +2 -2
- package/variables/_panel-vars.scss +40 -0
- package/variables/_popover-vars.scss +23 -0
- package/variables/_progress-bars-vars.less +5 -5
- package/variables/_progress-bars-vars.scss +19 -0
- package/variables/_scaffolding.scss +33 -0
- package/variables/_selectize-vars.scss +37 -0
- package/variables/_tables-vars.scss +7 -0
- package/variables/_tag-vars.less +1 -1
- package/variables/_tag-vars.scss +38 -0
- package/variables/_thumbnail-vars.scss +12 -0
- package/variables/_tooltip-vars.scss +16 -0
- package/variables/_typography-vars.scss +45 -0
- package/variables/dashboard-themes/_branded-dashboard.less +0 -11
- package/variables/dashboard-themes/_branded-dashboard.scss +296 -0
- package/variables/dashboard-themes/_dark-dashboard.less +7 -0
- package/variables/dashboard-themes/_dark-dashboard.scss +40 -0
- package/variables/dashboard-themes/_transparent-dashboard.scss +17 -0
- package/variables/dashboard-themes/_white-dashboard.scss +44 -0
- package/variables/index.less +4 -0
- package/variables/index.scss +146 -0
- package/variables/login-vars.scss +48 -0
- package/variables/shadows.scss +15 -0
- package/variables/tokens/c8y-design-tokens-dark.less +2 -13
- package/variables/tokens/c8y-design-tokens-dark.scss +332 -0
- package/variables/tokens/c8y-design-tokens.less +4 -15
- package/variables/tokens/c8y-design-tokens.scss +590 -0
- package/styles/_animate.less +0 -1133
- package/styles/_baseline-grid.less +0 -22
- package/styles/_browser-mock.less +0 -59
- package/styles/_bulk-operation-details-tab.less +0 -10
- package/styles/_c8y-message-banner.less +0 -37
- package/styles/_dlt-c8y-icons-stroke.less +0 -32797
- package/styles/_markdown-content.less +0 -54
- package/styles/_marker-icons.less +0 -19
- /package/styles/{_component-animations.less → animations/_component-animations.less} +0 -0
- /package/styles/{_realtime-animation-list.less → animations/_realtime-animation-list.less} +0 -0
- /package/styles/{_spinner-snake.less → animations/_spinner-snake.less} +0 -0
- /package/styles/{_normalize.less → base/_normalize.less} +0 -0
- /package/styles/{_print.less → base/_print.less} +0 -0
- /package/styles/{_scaffolding.less → base/_scaffolding.less} +0 -0
- /package/styles/{_c8y-empty-state.less → components/data-display-and-visualization/lists/_c8y-empty-state.less} +0 -0
- /package/styles/{_cards-layout.less → components/data-display-and-visualization/lists/_cards-layout.less} +0 -0
- /package/styles/{_smart-rules-template-list.less → components/data-display-and-visualization/lists/_smart-rules-template-list.less} +0 -0
- /package/styles/{_data-grid.less → components/data-display-and-visualization/tables/_data-grid.less} +0 -0
- /package/styles/{_tables.less → components/data-display-and-visualization/tables/_tables.less} +0 -0
- /package/styles/{_asset-property-list.less → components/data-input/assets/_asset-property-list.less} +0 -0
- /package/styles/{_c8y-asset-notes.less → components/data-input/assets/_c8y-asset-notes.less} +0 -0
- /package/styles/{_c8y-asset-selector-miller.less → components/data-input/assets/_c8y-asset-selector-miller.less} +0 -0
- /package/styles/{_c8y-child-assets-selector.less → components/data-input/assets/_c8y-child-assets-selector.less} +0 -0
- /package/styles/{_c8y-action-bar.less → components/navigation-and-layout/action-bars/_c8y-action-bar.less} +0 -0
- /package/styles/{_card-flip.less → components/navigation-and-layout/cards/_card-flip.less} +0 -0
- /package/styles/{_card-grid.less → components/navigation-and-layout/cards/_card-grid.less} +0 -0
- /package/styles/{_c8y-nav-stacked.less → components/navigation-and-layout/navigation/_c8y-nav-stacked.less} +0 -0
- /package/styles/{_main-header.less → components/navigation-and-layout/navigation/_main-header.less} +0 -0
- /package/styles/{_navigator.less → components/navigation-and-layout/navigation/_navigator.less} +0 -0
- /package/styles/{_navs.less → components/navigation-and-layout/navigation/_navs.less} +0 -0
- /package/styles/{_pagination.less → components/navigation-and-layout/navigation/_pagination.less} +0 -0
- /package/styles/{_boxed-label.less → components/specialized/_boxed-label.less} +0 -0
- /package/styles/{_c8y-cookie-banner.less → components/specialized/_c8y-cookie-banner.less} +0 -0
- /package/styles/{_c8y-datapoint-pill.less → components/specialized/_c8y-datapoint-pill.less} +0 -0
- /package/styles/{_c8y-pulse.less → components/specialized/_c8y-pulse.less} +0 -0
- /package/styles/{_c8y-range.less → components/specialized/_c8y-range.less} +0 -0
- /package/styles/{_c8y-scrollbar.less → components/specialized/_c8y-scrollbar.less} +0 -0
- /package/styles/{_c8y-smart-rest-tab.less → components/specialized/_c8y-smart-rest-tab.less} +0 -0
- /package/styles/{_code.less → components/specialized/_code.less} +0 -0
- /package/styles/{_device-software-tab.less → components/specialized/_device-software-tab.less} +0 -0
- /package/styles/{_dtm-icon-selector.less → components/specialized/_dtm-icon-selector.less} +0 -0
- /package/styles/{_search-header.less → components/specialized/_search-header.less} +0 -0
- /package/styles/{_static-assets-file-picker.less → components/specialized/_static-assets-file-picker.less} +0 -0
- /package/styles/{_statusContainer.less → components/specialized/_statusContainer.less} +0 -0
- /package/styles/{_button-groups.less → core/buttons/_button-groups.less} +0 -0
- /package/styles/{_badges.less → core/feedback/_badges.less} +0 -0
- /package/styles/{_close.less → core/feedback/_close.less} +0 -0
- /package/styles/{_progress-bars.less → core/feedback/_progress-bars.less} +0 -0
- /package/styles/{_tooltip.less → core/feedback/_tooltip.less} +0 -0
- /package/styles/{_popovers.less → core/overlays/_popovers.less} +0 -0
- /package/styles/{_availability-pie.less → dashboard/_availability-pie.less} +0 -0
- /package/styles/{_dashboard-widgets.less → dashboard/_dashboard-widgets.less} +0 -0
- /package/styles/{_info-gauge.less → dashboard/_info-gauge.less} +0 -0
- /package/styles/{_quick-links-widget.less → dashboard/_quick-links-widget.less} +0 -0
- /package/styles/{_c8y-glyphs.less → icons/_c8y-glyphs.less} +0 -0
- /package/styles/{_bottom-drawer.less → layout/_bottom-drawer.less} +0 -0
- /package/styles/{_c8y-help-drawer.less → layout/_c8y-help-drawer.less} +0 -0
- /package/styles/{_c8y-right-drawer.less → layout/_c8y-right-drawer.less} +0 -0
- /package/styles/{_c8y-top-drawer.less → layout/_c8y-top-drawer.less} +0 -0
- /package/styles/{_group-info.less → layout/_group-info.less} +0 -0
- /package/styles/{_mcontainer.less → layout/_mcontainer.less} +0 -0
- /package/styles/{_page-tabs.less → layout/_page-tabs.less} +0 -0
- /package/styles/{_split-view.less → layout/_split-view.less} +0 -0
- /package/styles/{_ace-editor.less → vendor/ace-editor/_ace-editor.less} +0 -0
- /package/styles/{_loading-bar.less → vendor/angular/_loading-bar.less} +0 -0
- /package/styles/{_cdk-drag.less → vendor/cdk/_cdk-drag.less} +0 -0
- /package/styles/{_cdk-virtual-scroll-window.less → vendor/cdk/_cdk-virtual-scroll-window.less} +0 -0
|
@@ -261,9 +261,7 @@ body fieldset > .dashboard-preview-slot {
|
|
|
261
261
|
z-index: 9;
|
|
262
262
|
height: 100%;
|
|
263
263
|
|
|
264
|
-
|
|
265
|
-
height: calc(~'100% - 65px');
|
|
266
|
-
}
|
|
264
|
+
// Removed unused state modifier class - verified 0 usages: .has-footer
|
|
267
265
|
|
|
268
266
|
&:before {
|
|
269
267
|
display: none;
|
|
@@ -275,7 +273,7 @@ body fieldset > .dashboard-preview-slot {
|
|
|
275
273
|
.c8y-map-status {
|
|
276
274
|
margin-top: 0;
|
|
277
275
|
}
|
|
278
|
-
.
|
|
276
|
+
.sticky-top {
|
|
279
277
|
padding-top: @margin-base;
|
|
280
278
|
}
|
|
281
279
|
}
|
|
@@ -326,7 +324,7 @@ body fieldset > .dashboard-preview-slot {
|
|
|
326
324
|
.c8y-map-status {
|
|
327
325
|
margin-top: 24px;
|
|
328
326
|
}
|
|
329
|
-
.
|
|
327
|
+
.sticky-top {
|
|
330
328
|
padding-top: @margin-base;
|
|
331
329
|
}
|
|
332
330
|
}
|
|
@@ -360,7 +358,7 @@ body fieldset > .dashboard-preview-slot {
|
|
|
360
358
|
}
|
|
361
359
|
|
|
362
360
|
.dashboard-template-marker{
|
|
363
|
-
color:
|
|
361
|
+
color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
364
362
|
line-height: .5;
|
|
365
363
|
font-size: 10px;
|
|
366
364
|
font-weight: bold;
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
@use "sass:string";
|
|
4
|
+
@use "../../variables/dlt-c8y-icons-vars";
|
|
5
|
+
@use "../mixins/c8y-scrollbar";
|
|
6
|
+
@use "../mixins/icon-base";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Dashboard Styles - Grid-based dashboard layout with drag-and-drop
|
|
10
|
+
*
|
|
11
|
+
* Note: Uses design tokens for spacing ($size-*, $component-padding) and colors.
|
|
12
|
+
*
|
|
13
|
+
* Intentionally hardcoded values:
|
|
14
|
+
* - Media query breakpoint (768px): Responsive breakpoint
|
|
15
|
+
* - Border widths (1px, 2px): Standard border sizes
|
|
16
|
+
* - Widget dimensions (30px, 40px, 65px, 99vh): Component-specific sizes
|
|
17
|
+
* - Min-heights (6px): Off-grid positioning
|
|
18
|
+
* - Transition duration (0.3s): Animation timing
|
|
19
|
+
* - Opacity values: Visual effects
|
|
20
|
+
* - Z-index values (1085, 100, 12, 11, 10, 9): Stacking order
|
|
21
|
+
* - Percentages and viewport units: Layout calculations
|
|
22
|
+
* - Line-height (0.5): Typography ratio
|
|
23
|
+
* - Padding 3px (off-grid): Fine-tuning for template marker
|
|
24
|
+
* - Height 14px (off-grid): Template marker height
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
@media (max-width: 768px) {
|
|
28
|
+
.dashboard-grid {
|
|
29
|
+
grid-template-columns: 1fr !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dashboard-grid-child {
|
|
33
|
+
grid-column-start: 1 !important;
|
|
34
|
+
grid-column-end: 1 !important;
|
|
35
|
+
grid-row-start: auto !important;
|
|
36
|
+
}
|
|
37
|
+
.card-header-grid.cdk-drag-handle {
|
|
38
|
+
cursor: auto;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
body.c8y-grid-dashboard > .card.card-dashboard.cdk-drag-preview {
|
|
43
|
+
opacity: 0.8;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.dashboard-grid {
|
|
47
|
+
display: grid;
|
|
48
|
+
|
|
49
|
+
.dashboard-grid-child {
|
|
50
|
+
min-width: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.cdk-drop-list {
|
|
54
|
+
position: relative;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.card-dashboard {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.card-dashboard.on-resize {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
opacity: 0.8;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.card-dashboard.panel-content-transparent.on-resize {
|
|
69
|
+
outline: 1px solid $component-brand-primary;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.card-header-grid {
|
|
73
|
+
min-height: 6px;
|
|
74
|
+
height: auto !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.card-header-actions:after,
|
|
78
|
+
.card-header-actions + .card-inner-scroll:before {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.header-actions {
|
|
83
|
+
top: 0;
|
|
84
|
+
right: 0;
|
|
85
|
+
z-index: 10;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.resize-handle {
|
|
89
|
+
position: absolute;
|
|
90
|
+
right: 0;
|
|
91
|
+
bottom: 0;
|
|
92
|
+
z-index: 12;
|
|
93
|
+
width: 30px;
|
|
94
|
+
height: 30px;
|
|
95
|
+
cursor: se-resize;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.resize-icon {
|
|
99
|
+
position: absolute;
|
|
100
|
+
@include icon-base.dlt-c8y-icon;
|
|
101
|
+
right: $size-4;
|
|
102
|
+
bottom: $size-4;
|
|
103
|
+
z-index: 11;
|
|
104
|
+
width: $size-20;
|
|
105
|
+
height: $size-20;
|
|
106
|
+
opacity: 0;
|
|
107
|
+
cursor: se-resize;
|
|
108
|
+
transition: opacity 0.3s ease-in-out;
|
|
109
|
+
transform: rotate(-90deg);
|
|
110
|
+
|
|
111
|
+
&:before {
|
|
112
|
+
content: dlt-c8y-icons-vars.$dlt-c8y-icon-enlarge;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.card-dashboard:hover .resize-icon {
|
|
117
|
+
opacity: 0.25;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.resize-handle:hover + .resize-icon {
|
|
121
|
+
opacity: 1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.on-resize .resize-icon {
|
|
125
|
+
opacity: 1 !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.card-placeholder {
|
|
129
|
+
height: 100%;
|
|
130
|
+
opacity: 1 !important;
|
|
131
|
+
outline: 2px dotted $component-border-color !important;
|
|
132
|
+
outline-offset: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.cdk-drop-list,
|
|
136
|
+
.card-dashboard {
|
|
137
|
+
height: 100%;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@mixin fullscreen-dashboard-styles {
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
.navigator,
|
|
144
|
+
.app-main-header {
|
|
145
|
+
display: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.mcontainer {
|
|
149
|
+
margin-top: 0;
|
|
150
|
+
margin-left: 0 !important;
|
|
151
|
+
padding: 0 !important;
|
|
152
|
+
background-color: $body-background-color;
|
|
153
|
+
|
|
154
|
+
> .container-fluid {
|
|
155
|
+
padding-bottom: 0;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.c8y-ui-action-bar {
|
|
160
|
+
top: 0 !important;
|
|
161
|
+
left: 0 !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
.dashboard {
|
|
167
|
+
top: 0;
|
|
168
|
+
left: 0;
|
|
169
|
+
z-index: 1085 !important;
|
|
170
|
+
overflow-y: auto;
|
|
171
|
+
margin: 0 !important;
|
|
172
|
+
padding-top: calc($size-base * 10);
|
|
173
|
+
padding-bottom: $size-24 !important;
|
|
174
|
+
width: 100vw;
|
|
175
|
+
height: 99vh;
|
|
176
|
+
@include c8y-scrollbar.c8y-scrollbar();
|
|
177
|
+
|
|
178
|
+
.dashboard {
|
|
179
|
+
padding-bottom: 0 !important;
|
|
180
|
+
|
|
181
|
+
all: unset;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.dashboard-container {
|
|
185
|
+
margin-top: 0 !important;
|
|
186
|
+
margin-bottom: 0 !important;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.page-tabs:not(.c8y-top-drawer--tabs) {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.fullscreen-dashboard {
|
|
196
|
+
@include fullscreen-dashboard-styles;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// hide action bar when a single widget is in fullscreen
|
|
200
|
+
.singleWidget {
|
|
201
|
+
.c8y-ui-action-bar {
|
|
202
|
+
display: none !important;
|
|
203
|
+
}
|
|
204
|
+
.dashboard-grid-child:not(.fullscreen) {
|
|
205
|
+
display: none !important;
|
|
206
|
+
}
|
|
207
|
+
.dashboard-grid-child.fullscreen {
|
|
208
|
+
position: fixed;
|
|
209
|
+
inset: $size-24;
|
|
210
|
+
z-index: 100;
|
|
211
|
+
margin: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
.dashboard {
|
|
214
|
+
overflow: hidden !important;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:-webkit-full-screen:not(:root) {
|
|
219
|
+
@include fullscreen-dashboard-styles;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:-moz-full-screen:not(:root) {
|
|
223
|
+
@include fullscreen-dashboard-styles;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
:-ms-fullscreen:not(:root) {
|
|
227
|
+
@include fullscreen-dashboard-styles;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
:fullscreen:not(:root) {
|
|
231
|
+
@include fullscreen-dashboard-styles;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
body .dashboard-preview-slot {
|
|
235
|
+
margin: 0 !important;
|
|
236
|
+
padding: 30px;
|
|
237
|
+
border: 1px solid $component-border-color;
|
|
238
|
+
.page-tabs-horizontal {
|
|
239
|
+
margin-top: 2px !important;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.card.card-dashboard {
|
|
243
|
+
position: relative;
|
|
244
|
+
top: 0;
|
|
245
|
+
right: 0;
|
|
246
|
+
bottom: 0;
|
|
247
|
+
left: 0;
|
|
248
|
+
margin: 0 !important;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
body fieldset > .dashboard-preview-slot {
|
|
252
|
+
border: 0;
|
|
253
|
+
padding: 0;
|
|
254
|
+
margin: 0 !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// title hidden
|
|
258
|
+
.card.card-dashboard {
|
|
259
|
+
.panel-title-hidden &,
|
|
260
|
+
.dashboard-preview-slot.panel-title-hidden,
|
|
261
|
+
&.panel-title-hidden.cdk-drag-disabled {
|
|
262
|
+
.card-header-actions {
|
|
263
|
+
position: absolute;
|
|
264
|
+
z-index: 10;
|
|
265
|
+
min-height: 6px;
|
|
266
|
+
width: 100%;
|
|
267
|
+
height: 0;
|
|
268
|
+
border: 0;
|
|
269
|
+
pointer-events: none;
|
|
270
|
+
&:after {
|
|
271
|
+
display: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
> * {
|
|
275
|
+
display: none;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
> .header-actions {
|
|
279
|
+
position: absolute;
|
|
280
|
+
top: 0;
|
|
281
|
+
right: 0;
|
|
282
|
+
z-index: 10;
|
|
283
|
+
display: flex;
|
|
284
|
+
border-left: 0;
|
|
285
|
+
opacity: 0;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
+ .card-inner-scroll {
|
|
289
|
+
top: 0;
|
|
290
|
+
z-index: 9;
|
|
291
|
+
height: 100%;
|
|
292
|
+
|
|
293
|
+
// Removed unused state modifier class - verified 0 usages: .has-footer
|
|
294
|
+
|
|
295
|
+
&:before {
|
|
296
|
+
display: none;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.leaflet-top .leaflet-control {
|
|
300
|
+
margin-top: $size-16;
|
|
301
|
+
}
|
|
302
|
+
.c8y-map-status {
|
|
303
|
+
margin-top: 0;
|
|
304
|
+
}
|
|
305
|
+
.sticky-top {
|
|
306
|
+
padding-top: $size-base;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// title overlay
|
|
314
|
+
.card.card-dashboard {
|
|
315
|
+
.panel-title-overlay &,
|
|
316
|
+
.dashboard-preview-slot.panel-title-overlay &,
|
|
317
|
+
&.panel-title-overlay.cdk-drag-disabled {
|
|
318
|
+
.card-header-actions {
|
|
319
|
+
position: absolute;
|
|
320
|
+
z-index: 10;
|
|
321
|
+
width: 100%;
|
|
322
|
+
border: 0;
|
|
323
|
+
pointer-events: none;
|
|
324
|
+
|
|
325
|
+
&:after {
|
|
326
|
+
display: none;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.card-header-title {
|
|
330
|
+
min-height: 40px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
> .header-actions {
|
|
334
|
+
position: absolute;
|
|
335
|
+
top: 0;
|
|
336
|
+
right: 0;
|
|
337
|
+
z-index: 10;
|
|
338
|
+
display: flex;
|
|
339
|
+
border-left: 0;
|
|
340
|
+
opacity: 0;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
+ .card-inner-scroll {
|
|
344
|
+
top: 0;
|
|
345
|
+
z-index: 9;
|
|
346
|
+
height: 100%;
|
|
347
|
+
&:before {
|
|
348
|
+
display: none;
|
|
349
|
+
}
|
|
350
|
+
.leaflet-top .leaflet-control {
|
|
351
|
+
margin-top: 40px;
|
|
352
|
+
}
|
|
353
|
+
.c8y-map-status {
|
|
354
|
+
margin-top: $size-24;
|
|
355
|
+
}
|
|
356
|
+
.sticky-top {
|
|
357
|
+
padding-top: $size-base;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
//title border
|
|
365
|
+
.card.card-dashboard {
|
|
366
|
+
.panel-title-border &,
|
|
367
|
+
.dashboard-preview-slot.panel-title-border &,
|
|
368
|
+
&.panel-title-border {
|
|
369
|
+
.card-header-actions {
|
|
370
|
+
z-index: 10;
|
|
371
|
+
border-color: $component-border-color;
|
|
372
|
+
border-top: 1px solid transparent;
|
|
373
|
+
border-bottom-width: 1px;
|
|
374
|
+
border-bottom-style: solid;
|
|
375
|
+
|
|
376
|
+
&:after {
|
|
377
|
+
display: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
+ .card-inner-scroll {
|
|
381
|
+
&:before {
|
|
382
|
+
display: none;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.dashboard-template-marker {
|
|
390
|
+
color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
391
|
+
line-height: 0.5;
|
|
392
|
+
font-size: $size-10;
|
|
393
|
+
font-weight: bold;
|
|
394
|
+
padding: $size-4 3px;
|
|
395
|
+
border: 1px solid;
|
|
396
|
+
height: 14px;
|
|
397
|
+
display: inline-block;
|
|
398
|
+
&::before {
|
|
399
|
+
content: 'T';
|
|
400
|
+
}
|
|
401
|
+
.label &,
|
|
402
|
+
.tag & {
|
|
403
|
+
position: static;
|
|
404
|
+
margin: 0 $size-4 0 calc(-1 * $size-4);
|
|
405
|
+
}
|
|
406
|
+
.tag--info & {
|
|
407
|
+
color: inherit;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
@use "../core/buttons/buttons";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Gauges - Radial gauge widget styles
|
|
7
|
+
*
|
|
8
|
+
* Note: Uses $size-base for padding and $size-4 for border-radius.
|
|
9
|
+
*
|
|
10
|
+
* Intentionally hardcoded values:
|
|
11
|
+
* - Percentages (99%): Near-full dimensions
|
|
12
|
+
* - Aspect-ratio (1): Square ratio
|
|
13
|
+
* - Transition duration (0.25s): Animation timing
|
|
14
|
+
* - Outline width (1px): Standard border
|
|
15
|
+
* - Outline-offset (-2px): Inset positioning
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
$image-directory: if($use-relative-paths, '../../img/', 'img/');
|
|
19
|
+
|
|
20
|
+
.c8y-radial-gauge {
|
|
21
|
+
width: 99%;
|
|
22
|
+
height: 99%;
|
|
23
|
+
position: relative;
|
|
24
|
+
display: block;
|
|
25
|
+
&--square {
|
|
26
|
+
height: auto;
|
|
27
|
+
aspect-ratio: 1;
|
|
28
|
+
}
|
|
29
|
+
&__preset {
|
|
30
|
+
@include buttons.btn-clean();
|
|
31
|
+
padding: $size-base !important;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
align-items: center;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
transition: all 0.25s linear;
|
|
37
|
+
outline: 0;
|
|
38
|
+
&:hover, &.selected {
|
|
39
|
+
outline: 1px solid $component-brand-primary;
|
|
40
|
+
outline-offset: -2px;
|
|
41
|
+
border-radius: $size-4;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.preset-custom::before {
|
|
45
|
+
content: '';
|
|
46
|
+
display: block;
|
|
47
|
+
aspect-ratio: 1;
|
|
48
|
+
background-size: contain;
|
|
49
|
+
background-repeat: no-repeat;
|
|
50
|
+
background-position: center;
|
|
51
|
+
min-width: 100%;
|
|
52
|
+
background-image: url('#{$image-directory}gauge-presets/custom.webp');
|
|
53
|
+
.c8y-dark-theme & {
|
|
54
|
+
background-image: url('#{$image-directory}gauge-presets/custom-dark.webp');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.c8y-radial-gauge--square {
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard Widgets - Widget-specific styles for dashboards
|
|
5
|
+
*
|
|
6
|
+
* Note: Uses $component-padding and $size-16 for spacing. Uses $text-muted for colors.
|
|
7
|
+
*
|
|
8
|
+
* Intentionally hardcoded values:
|
|
9
|
+
* - Clamp font-size (14px, 75%, 54px): Responsive font constraints
|
|
10
|
+
* - Transition duration (0.25s): Animation timing
|
|
11
|
+
* - Bottom positioning (12px): Off-grid fine-tuning
|
|
12
|
+
* - Aspect-ratio (281/148): Specific thumbnail ratio
|
|
13
|
+
* - Min-height (240px): Chart container height
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
.kpi-widget__container {
|
|
17
|
+
padding: 0 $component-padding $component-padding;
|
|
18
|
+
.panel-title-hidden & {
|
|
19
|
+
padding-top: $component-padding;
|
|
20
|
+
}
|
|
21
|
+
small {
|
|
22
|
+
color: $text-muted;
|
|
23
|
+
font-size: clamp(14px, 75%, 54px);
|
|
24
|
+
}
|
|
25
|
+
.dot-info {
|
|
26
|
+
transition: all 0.25s ease;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pie-chart-warning {
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 12px;
|
|
33
|
+
margin-left: $size-16;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.widget-thumbnail {
|
|
37
|
+
width: 100%;
|
|
38
|
+
aspect-ratio: 281/148;
|
|
39
|
+
object-fit: cover;
|
|
40
|
+
object-position: top left;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.widget-preview {
|
|
44
|
+
.chart-container {
|
|
45
|
+
min-height: 240px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Info Gauge - SVG-based label-value-unit gauge widget
|
|
5
|
+
*
|
|
6
|
+
* Note: Uses $size-24 for padding and $size-10 for font-size. Uses color tokens.
|
|
7
|
+
*
|
|
8
|
+
* Intentionally hardcoded values:
|
|
9
|
+
* - SVG stroke-widths (24px, 22px, 7): Gauge appearance
|
|
10
|
+
* - SVG stroke-dasharray/-offset values (503, -503px, -125.75px): Gauge drawing calculations
|
|
11
|
+
* - Font-sizes (26px, 14px): Component-specific typography
|
|
12
|
+
* - Letter-spacing (-1px): Typography fine-tuning
|
|
13
|
+
* - Transition duration (0.25s): Animation timing
|
|
14
|
+
* - Min-height (280px): Chart container height
|
|
15
|
+
* - Container query breakpoint (150px): Responsive layout
|
|
16
|
+
* - Container query units (40cqw, 100cqh): Container-relative sizing
|
|
17
|
+
* - SVG em-based dasharray (0.03em, 5): Stroke pattern
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.label-value-unit-gauge {
|
|
21
|
+
display: block;
|
|
22
|
+
padding: 0 $size-24;
|
|
23
|
+
min-height: 100%;
|
|
24
|
+
.gauge-legend {
|
|
25
|
+
width: 100%;
|
|
26
|
+
h3 {
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
circle.empty {
|
|
31
|
+
stroke: transparent;
|
|
32
|
+
stroke-width: 24px;
|
|
33
|
+
fill: none;
|
|
34
|
+
}
|
|
35
|
+
.center-value,
|
|
36
|
+
.center-label,
|
|
37
|
+
.center-unit,
|
|
38
|
+
.center-date-time {
|
|
39
|
+
text-anchor: middle;
|
|
40
|
+
fill: $component-color-default;
|
|
41
|
+
color: $component-color-default;
|
|
42
|
+
}
|
|
43
|
+
.center-value {
|
|
44
|
+
letter-spacing: -1px;
|
|
45
|
+
font-size: 26px;
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
}
|
|
48
|
+
.center-label {
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.center-unit,
|
|
53
|
+
.center-date-time {
|
|
54
|
+
font-size: $size-10;
|
|
55
|
+
fill: $text-muted;
|
|
56
|
+
color: $text-muted;
|
|
57
|
+
}
|
|
58
|
+
.gauge-svg svg {
|
|
59
|
+
path.track,
|
|
60
|
+
path.track-value {
|
|
61
|
+
display: block;
|
|
62
|
+
stroke-linejoin: miter;
|
|
63
|
+
stroke-linecap: miter;
|
|
64
|
+
fill: none;
|
|
65
|
+
stroke-width: 22px;
|
|
66
|
+
stroke-dasharray: 503;
|
|
67
|
+
stroke-dashoffset: -503px;
|
|
68
|
+
}
|
|
69
|
+
path.track {
|
|
70
|
+
stroke-dashoffset: -125.75px;
|
|
71
|
+
stroke: $component-background-active;
|
|
72
|
+
}
|
|
73
|
+
path.track-value {
|
|
74
|
+
transition: stroke-dashoffset 0.25s ease;
|
|
75
|
+
}
|
|
76
|
+
path.track-scale {
|
|
77
|
+
stroke: $component-background-active;
|
|
78
|
+
stroke-width: 7;
|
|
79
|
+
fill: none;
|
|
80
|
+
stroke-dasharray: 0.03em, 5;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
#mask {
|
|
84
|
+
fill: $component-background-default;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.chart-container {
|
|
89
|
+
min-height: 280px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
@container (min-width: 150px) {
|
|
95
|
+
.label-value-unit-gauge {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-flow: row nowrap;
|
|
98
|
+
align-items: center;
|
|
99
|
+
.gauge-legend {
|
|
100
|
+
width: 40cqw;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
.gauge-svg {
|
|
104
|
+
height: 100cqh;
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Quick Links Widget - Link list widget for dashboards
|
|
5
|
+
*
|
|
6
|
+
* Note: Uses $component-padding and $size-20 for spacing. Uses drawer color tokens.
|
|
7
|
+
*
|
|
8
|
+
* Intentionally hardcoded values:
|
|
9
|
+
* - Vertical padding (6px): Off-grid fine-tuning for link items
|
|
10
|
+
* - Outline width (2px): Focus indicator
|
|
11
|
+
* - Outline-offset (-2px): Inset positioning
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
.c8y-quick-links__link {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
width: 100%;
|
|
18
|
+
color: inherit;
|
|
19
|
+
text-align: left;
|
|
20
|
+
padding: 6px $component-padding;
|
|
21
|
+
background-image: none;
|
|
22
|
+
background-color: transparent;
|
|
23
|
+
border: 0;
|
|
24
|
+
&.sticky-top {
|
|
25
|
+
background-color: inherit;
|
|
26
|
+
}
|
|
27
|
+
[class^='dlt-c8y-icon-'],
|
|
28
|
+
[class*=' dlt-c8y-icon-'],
|
|
29
|
+
.c8y-icon {
|
|
30
|
+
font-size: $size-20;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:active {
|
|
34
|
+
background-color: $drawer-background-active;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:hover,
|
|
38
|
+
&:focus {
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
outline: 2px solid $drawer-border-selected;
|
|
41
|
+
outline-offset: -2px;
|
|
42
|
+
color: $drawer-color;
|
|
43
|
+
[class^='dlt-c8y-icon-'],
|
|
44
|
+
[class*=' dlt-c8y-icon-'],
|
|
45
|
+
.c8y-icon {
|
|
46
|
+
color: $drawer-border-selected;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|