@c8y/style 1023.14.33 → 1023.14.37
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/components/navigation-and-layout/navigation/_breadcrumbs.less +82 -0
- 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/_breadcrumbs.less +0 -99
- 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
|
@@ -121,8 +121,8 @@ bs-modal-backdrop {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
&.dialog-header {
|
|
124
|
-
background-color:
|
|
125
|
-
color:
|
|
124
|
+
background-color: var(--brand-20, var(--c8y-brand-20));
|
|
125
|
+
color: var(--brand-70, var(--c8y-brand-70));
|
|
126
126
|
text-align: center;
|
|
127
127
|
|
|
128
128
|
> [class^='dlt-c8y-icon-'],
|
|
@@ -292,27 +292,27 @@ bs-modal-backdrop {
|
|
|
292
292
|
border: 0;
|
|
293
293
|
|
|
294
294
|
&.modal-header-primary {
|
|
295
|
-
color:
|
|
295
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
296
296
|
text-align: center;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
&.modal-header-success {
|
|
300
|
-
color:
|
|
300
|
+
color: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
301
301
|
text-align: center;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
&.modal-header-info {
|
|
305
|
-
color:
|
|
305
|
+
color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
306
306
|
text-align: center;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
&.modal-header-warning {
|
|
310
|
-
color:
|
|
310
|
+
color: var(--palette-status-warning, var(--c8y-palette-status-warning));
|
|
311
311
|
text-align: center;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
&.modal-header-danger {
|
|
315
|
-
color:
|
|
315
|
+
color: var(--palette-status-danger, var(--c8y-palette-status-danger));
|
|
316
316
|
text-align: center;
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -394,7 +394,6 @@ bs-modal-backdrop {
|
|
|
394
394
|
margin-top: -4px;
|
|
395
395
|
width: 100%;
|
|
396
396
|
height: 4px;
|
|
397
|
-
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
|
398
397
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
|
399
398
|
content: '';
|
|
400
399
|
}
|
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
@use "../../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
@use "sass:string";
|
|
4
|
+
@use "../../mixins/clearfix";
|
|
5
|
+
@use "../../mixins/opacity";
|
|
6
|
+
@use "../../mixins/shadows-helper";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Modals - Modal dialog component
|
|
10
|
+
*
|
|
11
|
+
* Note: Uses $size-*, $modal-*, and $form-control-* tokens. Already partially migrated.
|
|
12
|
+
*
|
|
13
|
+
* Intentionally hardcoded values:
|
|
14
|
+
* - Component-specific dimensions (50px, 62px, 100px, 200px, 290px, 310px, 319px): Modal and content sizes
|
|
15
|
+
* - Off-grid spacing (15px, 30px, 50px): Legacy spacing not in token system
|
|
16
|
+
* - Typography sizes (15px, 16px, 30px, 5em): Font sizes
|
|
17
|
+
* - Border widths (1px): Standard borders
|
|
18
|
+
* - Transform percentages (-25%): Animation positioning
|
|
19
|
+
* - Negative offsets (-1px, -2px): Fine-tuning
|
|
20
|
+
* - Percentages (100%): Layout
|
|
21
|
+
* - Animation duration (0.3s): Timing
|
|
22
|
+
* - Opacity values (0, 0.9): Visual effects
|
|
23
|
+
* - RGBA values: Transparency
|
|
24
|
+
* - Z-index values: Stacking order
|
|
25
|
+
* - Calc expressions: Complex computed values
|
|
26
|
+
* - Box-shadow values: Shadow specifications
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
// .modal-open - body class for killing the scroll
|
|
30
|
+
// .modal - container to scroll within
|
|
31
|
+
// .modal-dialog - positioning shell for the actual modal
|
|
32
|
+
// .modal-content - actual modal w/ bg and corners and shit
|
|
33
|
+
|
|
34
|
+
// Kill the scroll on the body
|
|
35
|
+
.modal-open {
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
modal-container {
|
|
40
|
+
background-color: #0008;
|
|
41
|
+
transition: color 0.3s;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
bs-modal-backdrop {
|
|
45
|
+
opacity: 0 !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.modal {
|
|
49
|
+
position: fixed;
|
|
50
|
+
top: 0;
|
|
51
|
+
right: 0;
|
|
52
|
+
bottom: 0;
|
|
53
|
+
left: 0;
|
|
54
|
+
z-index: $zindex-modal - 2;
|
|
55
|
+
display: none;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
-webkit-overflow-scrolling: touch;
|
|
58
|
+
outline: 0;
|
|
59
|
+
|
|
60
|
+
&.error-detail {
|
|
61
|
+
z-index: $zindex-error-detail !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// When fading in the modal, animate it to slide down
|
|
65
|
+
&.fade .modal-dialog {
|
|
66
|
+
transform: translate(0, -25%);
|
|
67
|
+
transition: transform 0.3s ease-out;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.in .modal-dialog,
|
|
71
|
+
&.show .modal-dialog {
|
|
72
|
+
transform: translate(0, 0);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.modal-open .modal {
|
|
77
|
+
overflow-x: hidden;
|
|
78
|
+
overflow-y: auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Shell div to position the modal with bottom padding
|
|
82
|
+
.modal-dialog {
|
|
83
|
+
position: relative;
|
|
84
|
+
margin: $size-10;
|
|
85
|
+
width: auto;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Actual modal
|
|
89
|
+
.modal-content {
|
|
90
|
+
position: relative;
|
|
91
|
+
outline: 0;
|
|
92
|
+
border-radius: $modal-border-radius;
|
|
93
|
+
background-color: var(--c8y-modal-background-default, $component-background-default);
|
|
94
|
+
background-clip: padding-box;
|
|
95
|
+
color: var(--c8y-modal-color-default, $component-color-default);
|
|
96
|
+
|
|
97
|
+
@include shadows-helper.boxShadowHelper(lg);
|
|
98
|
+
|
|
99
|
+
.c8y-dark-theme & {
|
|
100
|
+
--c8y-component-border-color: var(--c8y-palette-gray-60);
|
|
101
|
+
}
|
|
102
|
+
.c8y-system-theme & {
|
|
103
|
+
@media (prefers-color-scheme: dark) {
|
|
104
|
+
--c8y-component-border-color: var(--c8y-palette-gray-60);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
// limit the height of the modal to fit the viewport
|
|
108
|
+
.viewport-modal {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
max-height: calc(100vh - 100px);
|
|
112
|
+
// when we need to display the asset selector in a dropdown menu
|
|
113
|
+
&.has-asset-selector {
|
|
114
|
+
max-height: calc(100vh - 290px);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// Modal background
|
|
120
|
+
.modal-backdrop {
|
|
121
|
+
position: fixed;
|
|
122
|
+
top: 0;
|
|
123
|
+
right: 0;
|
|
124
|
+
bottom: 0;
|
|
125
|
+
left: 0;
|
|
126
|
+
z-index: $zindex-modal-background;
|
|
127
|
+
background-color: $modal-backdrop-background;
|
|
128
|
+
&.fade {
|
|
129
|
+
@include opacity.opacity(0);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.in,
|
|
133
|
+
&.show {
|
|
134
|
+
opacity: $modal-backdrop-opacity;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Modal header
|
|
139
|
+
.modal-header {
|
|
140
|
+
padding: $size-24;
|
|
141
|
+
border-bottom: 0;
|
|
142
|
+
|
|
143
|
+
&.separator {
|
|
144
|
+
box-shadow: inset 0 -1px 0 $component-border-color;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.input-group-search {
|
|
148
|
+
margin: $size-5 0 calc(-1 * $size-10);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.dialog-header {
|
|
152
|
+
background-color: var(--brand-20, var(--c8y-brand-20));
|
|
153
|
+
color: var(--brand-70, var(--c8y-brand-70));
|
|
154
|
+
text-align: center;
|
|
155
|
+
|
|
156
|
+
> [class^='dlt-c8y-icon-'],
|
|
157
|
+
> [class*=' dlt-c8y-icon-'],
|
|
158
|
+
.c8y-icon {
|
|
159
|
+
font-size: 62px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
> h4,
|
|
163
|
+
> .modal-title {
|
|
164
|
+
margin: $size-base 0 0;
|
|
165
|
+
text-transform: uppercase;
|
|
166
|
+
letter-spacing: 0.15em;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
~ * {
|
|
170
|
+
.modal-inner-scroll,
|
|
171
|
+
.table-data-grid-scroll {
|
|
172
|
+
max-height: calc(100vh - 319px);
|
|
173
|
+
|
|
174
|
+
&--fixed {
|
|
175
|
+
height: calc(100vh - 319px);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
&.dialog-header, &.has-data-grid
|
|
181
|
+
~ .modal-inner-scroll{
|
|
182
|
+
max-height: calc(100vh - 319px);
|
|
183
|
+
|
|
184
|
+
&--fixed {
|
|
185
|
+
height: calc(100vh - 319px);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
~ .modal-inner-scroll .table-data-grid-scroll {
|
|
189
|
+
max-height: calc(100vh - 319px);
|
|
190
|
+
tr {
|
|
191
|
+
> td:first-child, th:first-child{
|
|
192
|
+
padding-left: $size-24;
|
|
193
|
+
}
|
|
194
|
+
> td:last-child, th:last-child{
|
|
195
|
+
padding-right: $size-24;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// Close icon
|
|
202
|
+
.modal-header .close {
|
|
203
|
+
margin-top: -2px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Title text within header
|
|
207
|
+
.modal-title,
|
|
208
|
+
.modal-header h1,
|
|
209
|
+
.modal-header h2,
|
|
210
|
+
.modal-header h3,
|
|
211
|
+
.modal-header h4 {
|
|
212
|
+
margin: 0;
|
|
213
|
+
line-height: $line-height-small;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.modal-title {
|
|
217
|
+
margin-top: $size-base;
|
|
218
|
+
font-size: $font-size-h4 !important;
|
|
219
|
+
font-weight: $headings-font-weight;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.modal-subtitle {
|
|
223
|
+
margin-bottom: 0;
|
|
224
|
+
padding: $size-16 $size-24;
|
|
225
|
+
background-color: $component-background-default;
|
|
226
|
+
text-align: center;
|
|
227
|
+
font-weight: $headings-font-weight;
|
|
228
|
+
font-size: 16px;
|
|
229
|
+
@extend .separator-bottom !optional;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// Modal body
|
|
233
|
+
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
|
234
|
+
.modal-body {
|
|
235
|
+
position: relative;
|
|
236
|
+
padding: $size-24;
|
|
237
|
+
|
|
238
|
+
c8y-modal & {
|
|
239
|
+
padding: 0;
|
|
240
|
+
}
|
|
241
|
+
&.separator {
|
|
242
|
+
box-shadow: 0 -1px 0 $component-border-color;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.modal-header:not(.separator) + .modal-body {
|
|
247
|
+
padding-top: 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// Footer (for actions)
|
|
251
|
+
.modal-footer {
|
|
252
|
+
padding: $size-24;
|
|
253
|
+
box-shadow: inset 0 1px 0 $component-border-color;
|
|
254
|
+
text-align: center; // center align buttons
|
|
255
|
+
@include clearfix.clearfix(); // clear it in case folks use .pull-* classes on buttons
|
|
256
|
+
|
|
257
|
+
> .btn {
|
|
258
|
+
min-width: 100px;
|
|
259
|
+
@media (max-width: $screen-xs-max) {
|
|
260
|
+
min-width: 80px;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Properly space out buttons
|
|
265
|
+
.btn + .btn {
|
|
266
|
+
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
|
267
|
+
margin-left: var(--c8y-unit-base);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// but override that for button groups
|
|
271
|
+
.btn-group .btn + .btn {
|
|
272
|
+
margin-left: -1px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// and override it for block buttons as well
|
|
276
|
+
.btn-block + .btn-block {
|
|
277
|
+
margin-left: 0;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Measure scrollbar width for padding body during modal show/hide
|
|
282
|
+
.modal-scrollbar-measure {
|
|
283
|
+
position: absolute;
|
|
284
|
+
top: -9999px;
|
|
285
|
+
overflow: scroll;
|
|
286
|
+
width: 50px;
|
|
287
|
+
height: 50px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Scale up the modal
|
|
291
|
+
@media (min-width: $screen-sm-min) {
|
|
292
|
+
// Automatically set modal's width for larger viewports
|
|
293
|
+
.modal-dialog {
|
|
294
|
+
margin: 30px auto;
|
|
295
|
+
width: $modal-md;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// Modal sizes
|
|
299
|
+
.modal-sm {
|
|
300
|
+
max-width: $modal-sm;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@media (min-width: $screen-md-min) {
|
|
305
|
+
.modal-lg {
|
|
306
|
+
width: calc($modal-lg - 200px);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@media (min-width: $screen-lg-min) {
|
|
311
|
+
.modal-lg {
|
|
312
|
+
width: $modal-lg;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// c8y
|
|
317
|
+
.modal-header {
|
|
318
|
+
border: 0;
|
|
319
|
+
|
|
320
|
+
&.modal-header-primary {
|
|
321
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
322
|
+
text-align: center;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&.modal-header-success {
|
|
326
|
+
color: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
327
|
+
text-align: center;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&.modal-header-info {
|
|
331
|
+
color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
332
|
+
text-align: center;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
&.modal-header-warning {
|
|
336
|
+
color: var(--palette-status-warning, var(--c8y-palette-status-warning));
|
|
337
|
+
text-align: center;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
&.modal-header-danger {
|
|
341
|
+
color: var(--palette-status-danger, var(--c8y-palette-status-danger));
|
|
342
|
+
text-align: center;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.c8y-prompt .modal-header {
|
|
347
|
+
text-align: center;
|
|
348
|
+
|
|
349
|
+
[class^='dlt-c8y-icon-'],
|
|
350
|
+
[class*=' dlt-c8y-icon-'] {
|
|
351
|
+
padding-top: 30px;
|
|
352
|
+
font-size: 5em;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.c8y-prompt .modal-footer {
|
|
357
|
+
padding-bottom: calc($size-base * 5);
|
|
358
|
+
border: 0;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// Removed unused modal button class - verified 0 usages: .btn-modal-close
|
|
362
|
+
|
|
363
|
+
.modal-status-icon {
|
|
364
|
+
font-size: 30px;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@media (min-width: 768px) {
|
|
368
|
+
.modal-dialog {
|
|
369
|
+
margin: 50px auto;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.modal-inner-scroll {
|
|
374
|
+
overflow-x: hidden;
|
|
375
|
+
overflow-y: auto;
|
|
376
|
+
flex-grow: 1;
|
|
377
|
+
margin: 0;
|
|
378
|
+
max-height: calc(string.unquote('100vh - 310px'));
|
|
379
|
+
|
|
380
|
+
&--fixed {
|
|
381
|
+
height: calc(string.unquote('100vh - 310px'));
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.modal-body & {
|
|
385
|
+
margin: 0 calc($size-base * -1) calc($size-base * -1);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.modal-inner-scroll-sm {
|
|
390
|
+
overflow-x: hidden;
|
|
391
|
+
overflow-y: auto;
|
|
392
|
+
margin: 0;
|
|
393
|
+
max-height: $modal-inner-scroll-sm-height;
|
|
394
|
+
border-top: 1px solid $component-border-color;
|
|
395
|
+
|
|
396
|
+
&--fixed {
|
|
397
|
+
height: $modal-inner-scroll-sm-height;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.modal-body & {
|
|
401
|
+
margin: 0 calc($size-base * -1) calc($size-base * -1);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.modal-list-header {
|
|
406
|
+
position: relative;
|
|
407
|
+
|
|
408
|
+
&:after {
|
|
409
|
+
position: absolute;
|
|
410
|
+
top: 100%;
|
|
411
|
+
left: 0;
|
|
412
|
+
z-index: 10;
|
|
413
|
+
display: block;
|
|
414
|
+
margin-top: calc(-1 * $size-4);
|
|
415
|
+
width: 100%;
|
|
416
|
+
height: $size-4;
|
|
417
|
+
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
|
418
|
+
content: '';
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.modal-body & {
|
|
422
|
+
margin-right: calc($size-24 * -1);
|
|
423
|
+
margin-left: calc($size-24 * -1);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
+ .modal-inner-scroll,
|
|
427
|
+
+ .modal-inner-scroll-sm {
|
|
428
|
+
position: relative;
|
|
429
|
+
padding-top: $size-4;
|
|
430
|
+
|
|
431
|
+
&:before {
|
|
432
|
+
position: absolute;
|
|
433
|
+
top: 0;
|
|
434
|
+
right: 0;
|
|
435
|
+
left: 0;
|
|
436
|
+
z-index: 10;
|
|
437
|
+
width: 100%;
|
|
438
|
+
height: $size-4;
|
|
439
|
+
background-color: $component-background-default;
|
|
440
|
+
content: '';
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.modal-map {
|
|
446
|
+
position: relative;
|
|
447
|
+
|
|
448
|
+
.angular-leaflet-map {
|
|
449
|
+
width: calc(string.unquote('100% - 200px')) !important;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.panel-map {
|
|
453
|
+
position: absolute;
|
|
454
|
+
top: 0;
|
|
455
|
+
right: 0;
|
|
456
|
+
bottom: 0;
|
|
457
|
+
padding: 30px 15px;
|
|
458
|
+
width: 200px;
|
|
459
|
+
background-color: rgba($component-background-default, 0.9);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
@use "../../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
@use "../../mixins/reset-text";
|
|
4
|
+
@use "../../mixins/shadows-helper";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Popovers - Popover overlay component
|
|
8
|
+
*
|
|
9
|
+
* Note: Uses $popover-* variables for most dimensions and $size-* tokens for positioning.
|
|
10
|
+
*
|
|
11
|
+
* Intentionally hardcoded values:
|
|
12
|
+
* - Component-specific dimensions (140px, 341px): Popover specific positioning and widths
|
|
13
|
+
* - Typography size (16px): Title font size
|
|
14
|
+
* - Border widths (1px): Standard borders
|
|
15
|
+
* - Percentages (50%, 100%): Layout and centering
|
|
16
|
+
* - Z-index values: Stacking order
|
|
17
|
+
* - Calc expressions: Complex computed values with $popover-* variables
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.popover {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
z-index: $zindex-popover;
|
|
25
|
+
display: none;
|
|
26
|
+
padding: 1px; // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
|
|
27
|
+
max-width: $popover-max-width;
|
|
28
|
+
border: 1px solid $popover-border-color;
|
|
29
|
+
border-radius: $popover-border-radius;
|
|
30
|
+
background-color: $popover-background-default;
|
|
31
|
+
background-clip: padding-box;
|
|
32
|
+
color: $popover-color-default;
|
|
33
|
+
font-size: $font-size-base; // To reset our font and text properties and avoid inheriting weird values.
|
|
34
|
+
@include reset-text.reset-text();
|
|
35
|
+
|
|
36
|
+
&.high-popover {
|
|
37
|
+
z-index: $zindex-popover + 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.top {
|
|
41
|
+
margin-bottom: $popover-arrow-width;
|
|
42
|
+
@include shadows-helper.boxShadowHelper(md, top);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.right {
|
|
46
|
+
margin-left: $popover-arrow-width;
|
|
47
|
+
@include shadows-helper.boxShadowHelper(md, right);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.bottom {
|
|
51
|
+
margin-top: $popover-arrow-width;
|
|
52
|
+
@include shadows-helper.boxShadowHelper(md);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.left {
|
|
56
|
+
margin-right: $popover-arrow-width;
|
|
57
|
+
@include shadows-helper.boxShadowHelper(md, left);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.popover-title {
|
|
62
|
+
margin: 0; // reset heading margin
|
|
63
|
+
padding: $popover-padding $popover-padding 0;
|
|
64
|
+
border-radius: calc($popover-border-radius - 1px) calc($popover-border-radius - 1px) 0 0;
|
|
65
|
+
background-color: $popover-background-default; //color: $gray-50; //border-bottom: 1px solid darken($popover-background-default, 5%);
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.popover-content {
|
|
71
|
+
padding: $popover-padding;
|
|
72
|
+
word-break: break-word;
|
|
73
|
+
overflow-wrap: break-word;
|
|
74
|
+
&:has(.popover-footer) {
|
|
75
|
+
padding-bottom: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.popover-footer {
|
|
80
|
+
padding: $popover-padding 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.popover-title + .popover-content {
|
|
84
|
+
padding-top: calc($popover-padding / 2);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Arrows
|
|
88
|
+
// .arrow is outer, .arrow:after is inner
|
|
89
|
+
.popover > .arrow {
|
|
90
|
+
&,
|
|
91
|
+
&:after {
|
|
92
|
+
position: absolute;
|
|
93
|
+
display: block;
|
|
94
|
+
width: 0;
|
|
95
|
+
height: 0;
|
|
96
|
+
border-style: solid;
|
|
97
|
+
border-color: transparent;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.popover > .arrow {
|
|
102
|
+
border-width: $popover-arrow-outer-width;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.popover > .arrow:after {
|
|
106
|
+
border-width: $popover-arrow-width;
|
|
107
|
+
content: '';
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.popover {
|
|
111
|
+
&.top > .arrow {
|
|
112
|
+
bottom: calc($popover-arrow-outer-width * -1);
|
|
113
|
+
left: 50%;
|
|
114
|
+
border-top-color: $popover-border-color;
|
|
115
|
+
border-bottom-width: 0;
|
|
116
|
+
|
|
117
|
+
&:after {
|
|
118
|
+
bottom: 1px;
|
|
119
|
+
margin-left: calc($popover-arrow-width * -1);
|
|
120
|
+
border-top-color: $popover-background-default;
|
|
121
|
+
border-bottom-width: 0;
|
|
122
|
+
content: ' ';
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.right > .arrow {
|
|
127
|
+
top: 50%;
|
|
128
|
+
left: calc($popover-arrow-outer-width * -1);
|
|
129
|
+
border-right-color: $popover-border-color;
|
|
130
|
+
border-left-width: 0;
|
|
131
|
+
|
|
132
|
+
&:after {
|
|
133
|
+
bottom: calc($popover-arrow-width * -1);
|
|
134
|
+
left: 1px;
|
|
135
|
+
border-right-color: $popover-background-default;
|
|
136
|
+
border-left-width: 0;
|
|
137
|
+
content: ' ';
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.bottom > .arrow {
|
|
142
|
+
top: calc($popover-arrow-outer-width * -1);
|
|
143
|
+
left: 50%;
|
|
144
|
+
border-top-width: 0;
|
|
145
|
+
border-bottom-color: $popover-border-color;
|
|
146
|
+
|
|
147
|
+
&:after {
|
|
148
|
+
top: 1px;
|
|
149
|
+
margin-left: calc($popover-arrow-width * -1);
|
|
150
|
+
border-top-width: 0;
|
|
151
|
+
border-bottom-color: $popover-background-default;
|
|
152
|
+
content: ' ';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&.left > .arrow {
|
|
157
|
+
top: 50%;
|
|
158
|
+
right: calc($popover-arrow-outer-width * -1);
|
|
159
|
+
border-right-width: 0;
|
|
160
|
+
border-left-color: $popover-border-color;
|
|
161
|
+
|
|
162
|
+
&:after {
|
|
163
|
+
right: 1px;
|
|
164
|
+
bottom: calc($popover-arrow-width * -1);
|
|
165
|
+
border-right-width: 0;
|
|
166
|
+
border-left-color: $popover-background-default;
|
|
167
|
+
content: ' ';
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.popover.navigator-popover {
|
|
173
|
+
max-width: 341px !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
c8y-popover-confirm .right {
|
|
177
|
+
right: $size-20 !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.popover.lns-connection-popover {
|
|
181
|
+
top: $size-10 !important;
|
|
182
|
+
left: 140px !important;
|
|
183
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
@use "../mixins/vendor-prefixes";
|
|
4
|
+
|
|
5
|
+
.availabilityPie {
|
|
6
|
+
.welcome & {
|
|
7
|
+
position: relative;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
padding-bottom: 100%;
|
|
10
|
+
svg {
|
|
11
|
+
position: absolute;
|
|
12
|
+
|
|
13
|
+
@include vendor-prefixes.scale(1.7);
|
|
14
|
+
}
|
|
15
|
+
.percentage {
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.availabilityPie .title {
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.availabilityPie .percentage {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 50%;
|
|
28
|
+
right: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
margin-top: -11px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
font-size: 24px;
|
|
33
|
+
}
|