@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
|
@@ -0,0 +1,1318 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@use "../../../variables/index" as *;
|
|
3
|
+
@use "../../mixins/buttons";
|
|
4
|
+
@use "../../mixins/gradients";
|
|
5
|
+
@use "../../mixins/opacity";
|
|
6
|
+
@use "../../mixins/tab-focus";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Buttons - Button component styles with multiple variants
|
|
10
|
+
*
|
|
11
|
+
* Note: Uses $btn-* variables for sizing, $size-* for spacing. Uses CSS custom properties for colors.
|
|
12
|
+
*
|
|
13
|
+
* Intentionally hardcoded values:
|
|
14
|
+
* - Border/outline widths (1px, 2px): Standard borders and focus indicators
|
|
15
|
+
* - Outline-offsets (-2px): Focus indicator positioning
|
|
16
|
+
* - Small positioning offsets (2px, 3px, 6px, -6px): Fine-tuning for icons and pseudo-elements
|
|
17
|
+
* - Component-specific heights and font-sizes (16px, 20px, 24px, 50px): Button variants
|
|
18
|
+
* - Padding 7px (off-grid): Small button specific
|
|
19
|
+
* - Calc expressions with px: Dynamic sizing calculations
|
|
20
|
+
* - Background patterns and masks: Visual effects
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
// Shared button mixins
|
|
24
|
+
@mixin btn-focus-outline() {
|
|
25
|
+
outline: 2px solid $component-brand-primary !important;
|
|
26
|
+
outline-offset: -2px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin btn-appearance-reset() {
|
|
30
|
+
-webkit-appearance: none;
|
|
31
|
+
-moz-appearance: none;
|
|
32
|
+
appearance: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin btn-base-reset() {
|
|
36
|
+
margin-bottom: 0;
|
|
37
|
+
padding: 0;
|
|
38
|
+
border: 0;
|
|
39
|
+
background-color: transparent;
|
|
40
|
+
background-image: none;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
touch-action: manipulation;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.btn {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
margin-bottom: 0; // For input.btn
|
|
48
|
+
border: 1px solid transparent;
|
|
49
|
+
background-color: transparent;
|
|
50
|
+
background-image: none; // Reset unusual Firefox-on-Android default style,see https://github.com/necolas/normalize.css/issues/214
|
|
51
|
+
vertical-align: middle;
|
|
52
|
+
text-align: center;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
font-weight: $btn-font-weight;
|
|
55
|
+
font-family: $btn-font-family;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
touch-action: manipulation;
|
|
58
|
+
transition: $btn-transition;
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
|
|
61
|
+
@include buttons.button-size($btn-padding-vertical, calc($btn-padding-horizontal * 2), $btn-font-size-base, $btn-line-height-base, $btn-border-radius-base, $form-control-height-base);
|
|
62
|
+
user-select: none;
|
|
63
|
+
|
|
64
|
+
// btns containing just an icon
|
|
65
|
+
> i {
|
|
66
|
+
vertical-align: text-top;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&,
|
|
70
|
+
&:active,
|
|
71
|
+
&.active {
|
|
72
|
+
&:focus,
|
|
73
|
+
&.focus {
|
|
74
|
+
outline: none;
|
|
75
|
+
|
|
76
|
+
&.dropdown-toggle {
|
|
77
|
+
@include tab-focus.c8y-focus-inset();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:hover,
|
|
83
|
+
&:focus,
|
|
84
|
+
&.focus {
|
|
85
|
+
text-decoration: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.disabled,
|
|
89
|
+
&[disabled],
|
|
90
|
+
fieldset[disabled] & {
|
|
91
|
+
&,
|
|
92
|
+
&:hover,
|
|
93
|
+
&:focus {
|
|
94
|
+
cursor: $cursor-disabled !important;
|
|
95
|
+
opacity: var(--c8y-root-component-opacity-disabled);
|
|
96
|
+
box-shadow: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
a & {
|
|
101
|
+
&.disabled,
|
|
102
|
+
fieldset[disabled] & {
|
|
103
|
+
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:has(.badge) {
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
gap: $size-4;
|
|
110
|
+
align-items: center;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.btn-icon {
|
|
115
|
+
padding-left: $btn-padding-icon-horizontal !important;
|
|
116
|
+
padding-right: $btn-padding-icon-horizontal !important;
|
|
117
|
+
height: $form-control-height-base;
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
|
|
121
|
+
&:hover,
|
|
122
|
+
&:focus,
|
|
123
|
+
&:active {
|
|
124
|
+
@include btn-focus-outline();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:focus {
|
|
128
|
+
border-radius: $component-border-radius-focus !important;
|
|
129
|
+
opacity: 1 !important;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.btn-dot {
|
|
134
|
+
@include btn-base-reset();
|
|
135
|
+
@include btn-appearance-reset();
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
max-width: 100%;
|
|
138
|
+
text-align: center;
|
|
139
|
+
font-size: 16px;
|
|
140
|
+
line-height: 1;
|
|
141
|
+
height: 20px;
|
|
142
|
+
display: inline-flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
min-width: $form-control-height-base;
|
|
146
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
147
|
+
border-radius: $btn-border-radius-base;
|
|
148
|
+
&.btn {
|
|
149
|
+
height: $form-control-height-base;
|
|
150
|
+
transition: none;
|
|
151
|
+
.c8y-list__item &,
|
|
152
|
+
.cdk-cell & {
|
|
153
|
+
height: calc($size-base * 5);
|
|
154
|
+
margin-top: calc(-1 * $size-10);
|
|
155
|
+
margin-bottom: calc(-1 * $size-10);
|
|
156
|
+
display: flex;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:hover,
|
|
161
|
+
&:focus,
|
|
162
|
+
&:active {
|
|
163
|
+
@include btn-focus-outline();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:focus {
|
|
167
|
+
border-radius: $component-border-radius-focus !important;
|
|
168
|
+
opacity: 1 !important;
|
|
169
|
+
|
|
170
|
+
> * {
|
|
171
|
+
outline: 0 !important;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.input-group-btn & {
|
|
176
|
+
height: $form-control-height-base;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&.btn-dot--danger {
|
|
180
|
+
color: var(--palette-status-danger, var(--c8y-palette-status-danger));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Removed unused btn-dot color variants - verified 0 usages:
|
|
184
|
+
// .btn-dot--warning, .btn-dot--info, .btn-dot--success
|
|
185
|
+
|
|
186
|
+
&.small {
|
|
187
|
+
font-size: $font-size-small;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
small,
|
|
191
|
+
.small {
|
|
192
|
+
font-size: $font-size-small;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.btn-icon-dot {
|
|
197
|
+
display: flex;
|
|
198
|
+
background: $component-background-default;
|
|
199
|
+
color: $text-color;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
align-items: center;
|
|
202
|
+
aspect-ratio: 1;
|
|
203
|
+
height: 100%;
|
|
204
|
+
border-radius: 50%;
|
|
205
|
+
border: 0;
|
|
206
|
+
padding: 0;
|
|
207
|
+
&:not(.active) {
|
|
208
|
+
background: var(--c8y-level-4);
|
|
209
|
+
color: $text-muted;
|
|
210
|
+
}
|
|
211
|
+
&:hover,
|
|
212
|
+
&:focus,
|
|
213
|
+
&:active {
|
|
214
|
+
@include btn-focus-outline();
|
|
215
|
+
}
|
|
216
|
+
&:not(button) {
|
|
217
|
+
height: 20px;
|
|
218
|
+
}
|
|
219
|
+
&.active, &:not(button) {
|
|
220
|
+
&.default {
|
|
221
|
+
background: $component-background-default;
|
|
222
|
+
color: $component-color-default;
|
|
223
|
+
}
|
|
224
|
+
&.auto-refresh {
|
|
225
|
+
background: var(--c8y-brand-primary);
|
|
226
|
+
color: var(--c8y-palette-high);
|
|
227
|
+
}
|
|
228
|
+
&.time-context {
|
|
229
|
+
background: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
230
|
+
color: var(--c8y-palette-high);
|
|
231
|
+
}
|
|
232
|
+
&.aggregation {
|
|
233
|
+
background: var(--c8y-palette-status-warning-light);
|
|
234
|
+
color: var(--c8y-palette-gray-10);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.btn-icon-dot__item {
|
|
240
|
+
display: flex;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
align-items: center;
|
|
243
|
+
aspect-ratio: 1;
|
|
244
|
+
height: 100%;
|
|
245
|
+
border-radius: $size-16 !important;
|
|
246
|
+
border: 0;
|
|
247
|
+
padding: 0;
|
|
248
|
+
font-size: $font-size-small;
|
|
249
|
+
background: var(--c8y-level-4);
|
|
250
|
+
color: $text-muted;
|
|
251
|
+
|
|
252
|
+
&:not(button) {
|
|
253
|
+
height: 20px;
|
|
254
|
+
}
|
|
255
|
+
&.standalone {
|
|
256
|
+
&.default {
|
|
257
|
+
background: $component-background-default;
|
|
258
|
+
color: $component-color-default;
|
|
259
|
+
}
|
|
260
|
+
&.auto-refresh {
|
|
261
|
+
background: $component-pulse-color;
|
|
262
|
+
color: var(--c8y-palette-high);
|
|
263
|
+
}
|
|
264
|
+
&.time-context {
|
|
265
|
+
background: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
266
|
+
color: var(--c8y-palette-high);
|
|
267
|
+
}
|
|
268
|
+
&.aggregation {
|
|
269
|
+
background: var(--c8y-palette-status-warning-high);
|
|
270
|
+
color: var(--c8y-palette-gray-10);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.btn-icon-dot-set {
|
|
276
|
+
display: flex;
|
|
277
|
+
gap: $size-8;
|
|
278
|
+
background-color: transparent;
|
|
279
|
+
background-image: none;
|
|
280
|
+
box-shadow: none;
|
|
281
|
+
text-align: left;
|
|
282
|
+
white-space: nowrap;
|
|
283
|
+
cursor: pointer;
|
|
284
|
+
touch-action: manipulation;
|
|
285
|
+
color: inherit;
|
|
286
|
+
max-width: 100%;
|
|
287
|
+
appearance: none;
|
|
288
|
+
-webkit-user-select: none;
|
|
289
|
+
user-select: none;
|
|
290
|
+
border: 1px solid $form-control-border-color-default;
|
|
291
|
+
border-radius: $size-16 !important;
|
|
292
|
+
font-size: $font-size-small;
|
|
293
|
+
padding: $size-5 $size-8;
|
|
294
|
+
transition: all 0.25s ease;
|
|
295
|
+
&:hover,
|
|
296
|
+
&:focus,
|
|
297
|
+
&:active {
|
|
298
|
+
outline-offset: -2px;
|
|
299
|
+
outline: 2px solid $form-control-border-color-focus !important;
|
|
300
|
+
}
|
|
301
|
+
&.active {
|
|
302
|
+
.default {
|
|
303
|
+
background: $component-background-default;
|
|
304
|
+
color: $component-color-default;
|
|
305
|
+
}
|
|
306
|
+
.auto-refresh {
|
|
307
|
+
background: $component-pulse-color;
|
|
308
|
+
color: var(--c8y-palette-high);
|
|
309
|
+
}
|
|
310
|
+
.time-context {
|
|
311
|
+
background: $status-info;
|
|
312
|
+
color: var(--c8y-palette-high);
|
|
313
|
+
}
|
|
314
|
+
.aggregation {
|
|
315
|
+
background: var(--c8y-palette-status-warning-high);
|
|
316
|
+
color: var(--c8y-palette-gray-10);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// spacing buttons outside btn-group
|
|
322
|
+
.btn + .btn:not(.btn-block) {
|
|
323
|
+
margin-left: $size-base;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.d-flex, .d-col {
|
|
327
|
+
> .btn + .btn:not(.btn-block) {
|
|
328
|
+
margin: 0;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// Alternate buttons
|
|
333
|
+
.btn-default {
|
|
334
|
+
@include buttons.button-variant(c8y-btn-default);
|
|
335
|
+
.datetime-picker & {
|
|
336
|
+
--c8y-btn-default-background-default: var(--c8y-form-control-background-default);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.btn-primary {
|
|
341
|
+
@include buttons.button-variant(c8y-btn-primary);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.btn-accent {
|
|
345
|
+
@include buttons.button-variant(c8y-btn-accent);
|
|
346
|
+
border-radius: $btn-border-radius-pill !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.btn-danger {
|
|
350
|
+
@include buttons.button-variant(c8y-btn-danger);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.btn-ai {
|
|
354
|
+
@include buttons.button-variant(c8y-btn-default);
|
|
355
|
+
position: relative;
|
|
356
|
+
overflow: hidden;
|
|
357
|
+
transition: all .2s ease;
|
|
358
|
+
border: 0;
|
|
359
|
+
color: $text-muted;
|
|
360
|
+
|
|
361
|
+
&::after {
|
|
362
|
+
content: "";
|
|
363
|
+
position: absolute;
|
|
364
|
+
left: 2px;
|
|
365
|
+
top: 2px;
|
|
366
|
+
width: calc(100% - 4px);
|
|
367
|
+
height: calc(100% - 4px);
|
|
368
|
+
background: var(--c8y-btn-default-background-default);
|
|
369
|
+
transition: all .2s ease;
|
|
370
|
+
border-radius: calc($btn-border-radius-base * .8);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
&::before {
|
|
374
|
+
content: "";
|
|
375
|
+
position: absolute;
|
|
376
|
+
left: 50%;
|
|
377
|
+
top: 50%;
|
|
378
|
+
width: 150%;
|
|
379
|
+
aspect-ratio: 1;
|
|
380
|
+
background-color: var(--c8y-btn-default-background-default);
|
|
381
|
+
background-repeat: no-repeat;
|
|
382
|
+
background-size: 100% 100%, 50%50%;
|
|
383
|
+
background-position: 0 0, 100% 0, 100% 100%, 0 100%;
|
|
384
|
+
background-image: conic-gradient($brand-primary, $status-danger, $status-warning, $status-info, $brand-primary);
|
|
385
|
+
transform: translate(-50%, -50%);
|
|
386
|
+
opacity: .7;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
>* {
|
|
390
|
+
z-index: 10;
|
|
391
|
+
position: relative;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
>span {
|
|
395
|
+
position: relative;
|
|
396
|
+
padding-left: $size-16;
|
|
397
|
+
height: 100%;
|
|
398
|
+
overflow: visible;
|
|
399
|
+
opacity: 1;
|
|
400
|
+
|
|
401
|
+
&:empty {
|
|
402
|
+
padding-left: 0;
|
|
403
|
+
width: 100%;
|
|
404
|
+
|
|
405
|
+
&::before {
|
|
406
|
+
translate: 6px -50%;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&::before {
|
|
411
|
+
content: '';
|
|
412
|
+
position: absolute;
|
|
413
|
+
left: 0;
|
|
414
|
+
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' fill='none'/%3E%3Cpath d='M9.03243 5.98167C9.1394 5.68167 9.54825 5.68167 9.65521 5.98167L11.4431 10.9961C11.4767 11.0904 11.5483 11.1648 11.6392 11.1997L16.4708 13.0552C16.7599 13.1662 16.7599 13.5905 16.4708 13.7015L11.6392 15.557C11.5483 15.5919 11.4767 15.6663 11.4431 15.7606L9.65521 20.775C9.54825 21.075 9.1394 21.075 9.03243 20.775L7.24458 15.7606C7.21095 15.6663 7.13929 15.5919 7.04841 15.557L2.2168 13.7015C1.92773 13.5905 1.92773 13.1662 2.2168 13.0552L7.04841 11.1997C7.13929 11.1648 7.21095 11.0904 7.24458 10.9961L9.03243 5.98167Z' fill='black' fill-opacity='1'/%3E%3Cpath d='M18.3291 3.225C18.436 2.925 18.8449 2.925 18.9518 3.225L19.6636 5.22123C19.6972 5.31555 19.7689 5.38992 19.8597 5.42482L21.7832 6.16349C22.0723 6.2745 22.0723 6.69882 21.7832 6.80983L19.8597 7.5485C19.7689 7.5834 19.6972 7.65776 19.6636 7.75208L18.9518 9.74831C18.8449 10.0483 18.436 10.0483 18.3291 9.74831L17.6173 7.75208C17.5837 7.65776 17.512 7.5834 17.4211 7.5485L15.4977 6.80983C15.2086 6.69882 15.2086 6.2745 15.4977 6.16349L17.4211 5.42482C17.512 5.38992 17.5837 5.31555 17.6173 5.22123L18.3291 3.225Z' fill='black' fill-opacity='1'/%3E%3Cpath d='M17.001 15.63C17.1079 15.33 17.5168 15.33 17.6237 15.63L17.9768 16.6202C18.0104 16.7145 18.0821 16.7889 18.1729 16.8238L19.127 17.1902C19.4161 17.3012 19.4161 17.7255 19.127 17.8365L18.1729 18.2029C18.0821 18.2378 18.0104 18.3122 17.9768 18.4065L17.6237 19.3967C17.5168 19.6967 17.1079 19.6967 17.001 19.3967L16.6479 18.4065C16.6143 18.3122 16.5426 18.2378 16.4518 18.2029L15.4977 17.8365C15.2086 17.7255 15.2086 17.3012 15.4977 17.1902L16.4518 16.8238C16.5426 16.7889 16.6143 16.7145 16.6479 16.6202L17.001 15.63Z' fill='black' fill-opacity='1'/%3E%3C/svg%3E%0A");
|
|
415
|
+
mask-size: 2ch;
|
|
416
|
+
mask-repeat: no-repeat;
|
|
417
|
+
mask-position: 0 center;
|
|
418
|
+
background-color: currentColor;
|
|
419
|
+
width: 2ch;
|
|
420
|
+
height: 2ch;
|
|
421
|
+
transform-origin: center;
|
|
422
|
+
transition: all .2s ease;
|
|
423
|
+
overflow: visible;
|
|
424
|
+
top: 50%;
|
|
425
|
+
translate: -6px -50%;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
&.btn-lg {
|
|
430
|
+
&::after {
|
|
431
|
+
border-radius: calc($btn-border-radius-large * .8);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
>span {
|
|
435
|
+
padding-left: $btn-padding-large-horizontal;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
&.btn-sm {
|
|
440
|
+
&::after {
|
|
441
|
+
border-radius: calc($btn-border-radius-small * .8);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
>span {
|
|
445
|
+
padding-left: $btn-padding-small-horizontal;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
&.btn-xs {
|
|
450
|
+
&:after {
|
|
451
|
+
border-radius: calc($btn-border-radius-xs * .8);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
>span {
|
|
455
|
+
padding-left: $btn-padding-xs-horizontal;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&:not(.btn-ai-hint) {
|
|
460
|
+
&:hover,
|
|
461
|
+
&:focus {
|
|
462
|
+
box-shadow: none !important;
|
|
463
|
+
border-color: transparent;
|
|
464
|
+
color: $text-color;
|
|
465
|
+
|
|
466
|
+
&::before {
|
|
467
|
+
animation: borderRotate 1s linear infinite;
|
|
468
|
+
opacity: .85;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
&::after {
|
|
472
|
+
left: 3px;
|
|
473
|
+
top: 3px;
|
|
474
|
+
width: calc(100% - 6px);
|
|
475
|
+
height: calc(100% - 6px);
|
|
476
|
+
transition: all .2s ease;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
>span::before {
|
|
480
|
+
mask-size: 2.3ch;
|
|
481
|
+
mask-position: -1px center;
|
|
482
|
+
background-image: linear-gradient(90deg, $brand-primary, $status-danger, $status-warning, $status-info, $brand-primary);
|
|
483
|
+
background-size: 50px 50px;
|
|
484
|
+
animation: symbolAnimation 2s linear infinite;
|
|
485
|
+
animation-direction: alternate-reverse;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
&:active {
|
|
490
|
+
&::after {
|
|
491
|
+
background-color: var(--c8y-btn-default-background-active);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
&:focus {
|
|
496
|
+
outline: 2px solid var(--c8y-btn-default-border-color-focus);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.btn-ai-hint, .btn-ai-hint.btn-dot {
|
|
502
|
+
pointer-events: none;
|
|
503
|
+
border-radius: $size-16 !important;
|
|
504
|
+
overflow: hidden;
|
|
505
|
+
color: $text-muted;
|
|
506
|
+
display: inline-flex;
|
|
507
|
+
align-items: center;
|
|
508
|
+
cursor: default !important;
|
|
509
|
+
border-color: transparent !important;
|
|
510
|
+
box-sizing: border-box;
|
|
511
|
+
box-shadow: none!important;
|
|
512
|
+
outline: 0!important;
|
|
513
|
+
flex-shrink: 0;
|
|
514
|
+
&::before{
|
|
515
|
+
animation: borderRotate 6s linear infinite;
|
|
516
|
+
opacity: .5!important;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
&.working{
|
|
520
|
+
&::before{
|
|
521
|
+
animation: borderRotate .5s linear infinite;
|
|
522
|
+
opacity: 1!important;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
&::after {
|
|
527
|
+
border-radius: $size-16 !important;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
&.btn-lg {
|
|
531
|
+
border-radius: calc($btn-border-radius-large * 4) !important;
|
|
532
|
+
|
|
533
|
+
&::after {
|
|
534
|
+
border-radius: calc($btn-border-radius-large * 3.8) !important;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
&.btn-sm {
|
|
538
|
+
padding: $btn-padding-small-horizontal 7px;
|
|
539
|
+
>span:empty::before{
|
|
540
|
+
translate: 0 -50%;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
>span {
|
|
545
|
+
color: $text-color;
|
|
546
|
+
display: flex;
|
|
547
|
+
align-items: center;
|
|
548
|
+
pointer-events: auto;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
@keyframes borderRotate {
|
|
553
|
+
100% {
|
|
554
|
+
transform: translate(-50%, -50%) rotate(1turn);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
@keyframes symbolAnimation {
|
|
559
|
+
|
|
560
|
+
50% {
|
|
561
|
+
transform: scale(1.2);
|
|
562
|
+
background-position: bottom right;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
100% {
|
|
566
|
+
transform: scale(1);
|
|
567
|
+
background-position: top left;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// btn without any padding or styling
|
|
572
|
+
@mixin btn-clean() {
|
|
573
|
+
@include btn-base-reset();
|
|
574
|
+
@include btn-appearance-reset();
|
|
575
|
+
display: inline-block;
|
|
576
|
+
text-align: left;
|
|
577
|
+
white-space: nowrap;
|
|
578
|
+
color: inherit;
|
|
579
|
+
max-width: 100%;
|
|
580
|
+
user-select: none;
|
|
581
|
+
transition: all 0.25s ease;
|
|
582
|
+
|
|
583
|
+
&:not(.form-control){
|
|
584
|
+
box-shadow: none;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
&:hover {
|
|
588
|
+
text-decoration: none;
|
|
589
|
+
color: $component-brand-primary;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
&:focus {
|
|
593
|
+
color: $component-brand-primary;
|
|
594
|
+
@include tab-focus.c8y-focus-inset();
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
&[disabled] {
|
|
598
|
+
&,
|
|
599
|
+
&:hover,
|
|
600
|
+
&:focus {
|
|
601
|
+
cursor: $cursor-disabled;
|
|
602
|
+
@include opacity.opacity(0.65);
|
|
603
|
+
box-shadow: none;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.btn-clean {
|
|
609
|
+
@include btn-clean();
|
|
610
|
+
|
|
611
|
+
&:not(.btn) {
|
|
612
|
+
padding: 0;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
&.text-truncate {
|
|
616
|
+
max-width: 100%;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.btn-no-focus {
|
|
621
|
+
&:focus {
|
|
622
|
+
outline: none !important;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
// inside labels (e.g. for help icon)
|
|
627
|
+
label > .btn-clean {
|
|
628
|
+
vertical-align: baseline;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
// Link buttons
|
|
632
|
+
// Make a button look and behave like a link
|
|
633
|
+
.btn-link {
|
|
634
|
+
min-width: 0;
|
|
635
|
+
border: none;
|
|
636
|
+
border-radius: 0;
|
|
637
|
+
background: transparent;
|
|
638
|
+
color: $link-color;
|
|
639
|
+
font-weight: normal;
|
|
640
|
+
height: auto;
|
|
641
|
+
box-shadow: none;
|
|
642
|
+
transition: $btn-transition;
|
|
643
|
+
|
|
644
|
+
&.c8y-realtime {
|
|
645
|
+
color: inherit;
|
|
646
|
+
}
|
|
647
|
+
&:not(.btn-xs):not(.btn-sm) {
|
|
648
|
+
padding: $btn-padding-vertical $btn-padding-horizontal;
|
|
649
|
+
min-height: $form-control-height-base;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
[class^='dlt-c8y-icon-'] ~ span,
|
|
653
|
+
[class*=' dlt-c8y-icon-'] ~ span,
|
|
654
|
+
[class^='dlt-c8y-icon-'] ~ translate,
|
|
655
|
+
[class*=' dlt-c8y-icon-'] ~ translate {
|
|
656
|
+
color: inherit;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
> i {
|
|
660
|
+
vertical-align: text-top;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
&,
|
|
664
|
+
&:active,
|
|
665
|
+
&.active,
|
|
666
|
+
&[disabled],
|
|
667
|
+
fieldset[disabled] & {
|
|
668
|
+
background-color: transparent;
|
|
669
|
+
box-shadow: none;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
&,
|
|
673
|
+
&:hover,
|
|
674
|
+
&:focus,
|
|
675
|
+
&:active {
|
|
676
|
+
border-color: transparent;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
&:hover,
|
|
680
|
+
&:focus {
|
|
681
|
+
outline: none;
|
|
682
|
+
background-color: transparent;
|
|
683
|
+
color: $link-color-hover;
|
|
684
|
+
text-decoration: $link-hover-decoration;
|
|
685
|
+
cursor: pointer;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
&:focus {
|
|
689
|
+
@include tab-focus.c8y-focus-inset();
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
&[disabled],
|
|
693
|
+
fieldset[disabled] & {
|
|
694
|
+
&:hover,
|
|
695
|
+
&:focus {
|
|
696
|
+
color: $btn-link-disabled-color;
|
|
697
|
+
text-decoration: none;
|
|
698
|
+
cursor: not-allowed;
|
|
699
|
+
pointer-events: none;
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.btn-help {
|
|
705
|
+
min-width: 0;
|
|
706
|
+
border: none;
|
|
707
|
+
box-shadow: none;
|
|
708
|
+
transition: $btn-transition;
|
|
709
|
+
display: inline-flex;
|
|
710
|
+
align-items: center;
|
|
711
|
+
justify-content: center;
|
|
712
|
+
height: 24px;
|
|
713
|
+
width: 24px;
|
|
714
|
+
line-height: 1;
|
|
715
|
+
min-height: auto;
|
|
716
|
+
border-radius: 50%;
|
|
717
|
+
overflow: hidden;
|
|
718
|
+
flex-shrink: 0;
|
|
719
|
+
flex-grow: 0;
|
|
720
|
+
position: relative;
|
|
721
|
+
margin-left: 4px;
|
|
722
|
+
background-color: transparent;
|
|
723
|
+
--help-info-color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
724
|
+
color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
725
|
+
|
|
726
|
+
> [class^='dlt-c8y-icon-'],
|
|
727
|
+
> [class*=' dlt-c8y-icon-'] {
|
|
728
|
+
display: none;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&::before {
|
|
732
|
+
content: '';
|
|
733
|
+
position: absolute;
|
|
734
|
+
display: block;
|
|
735
|
+
inset: 4px;
|
|
736
|
+
background-color: var(--help-info-color);
|
|
737
|
+
mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.82422 2.32422C6.46224 2.32422 7.00911 2.55208 7.46484 3.00781C7.92057 3.46354 8.14844 4.01042 8.14844 4.64844C8.14844 5.14062 7.85677 5.64648 7.27344 6.16602C6.6901 6.68555 6.39844 7.15495 6.39844 7.57422H5.25C5.25 7.15495 5.34115 6.79492 5.52344 6.49414C5.70573 6.19336 5.90625 5.97461 6.125 5.83789C6.34375 5.70117 6.54427 5.53255 6.72656 5.33203C6.90885 5.13151 7 4.90365 7 4.64844C7 4.33854 6.88151 4.06966 6.64453 3.8418C6.40755 3.61393 6.13411 3.5 5.82422 3.5C5.51432 3.5 5.24089 3.61393 5.00391 3.8418C4.76693 4.06966 4.64844 4.33854 4.64844 4.64844H3.5C3.5 4.01042 3.72786 3.46354 4.18359 3.00781C4.63932 2.55208 5.1862 2.32422 5.82422 2.32422ZM5.82422 10.5C7.10026 10.5 8.19857 10.0397 9.11914 9.11914C10.0397 8.19857 10.5 7.10026 10.5 5.82422C10.5 4.54818 10.0397 3.44987 9.11914 2.5293C8.19857 1.60872 7.10026 1.14844 5.82422 1.14844C4.54818 1.14844 3.44987 1.60872 2.5293 2.5293C1.60872 3.44987 1.14844 4.54818 1.14844 5.82422C1.14844 7.10026 1.60872 8.19857 2.5293 9.11914C3.44987 10.0397 4.54818 10.5 5.82422 10.5ZM5.82422 0C7.42839 0 8.80013 0.569661 9.93945 1.70898C11.0788 2.84831 11.6484 4.22005 11.6484 5.82422C11.6484 7.42839 11.0788 8.80013 9.93945 9.93945C8.80013 11.0788 7.42839 11.6484 5.82422 11.6484C4.22005 11.6484 2.84831 11.0788 1.70898 9.93945C0.569661 8.80013 0 7.42839 0 5.82422C0 4.22005 0.569661 2.84831 1.70898 1.70898C2.84831 0.569661 4.22005 0 5.82422 0ZM5.25 9.32422V8.14844H6.39844V9.32422H5.25Z' fill='currentColor'/%3E%3C/svg%3E%0A");
|
|
738
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.82422 2.32422C6.46224 2.32422 7.00911 2.55208 7.46484 3.00781C7.92057 3.46354 8.14844 4.01042 8.14844 4.64844C8.14844 5.14062 7.85677 5.64648 7.27344 6.16602C6.6901 6.68555 6.39844 7.15495 6.39844 7.57422H5.25C5.25 7.15495 5.34115 6.79492 5.52344 6.49414C5.70573 6.19336 5.90625 5.97461 6.125 5.83789C6.34375 5.70117 6.54427 5.53255 6.72656 5.33203C6.90885 5.13151 7 4.90365 7 4.64844C7 4.33854 6.88151 4.06966 6.64453 3.8418C6.40755 3.61393 6.13411 3.5 5.82422 3.5C5.51432 3.5 5.24089 3.61393 5.00391 3.8418C4.76693 4.06966 4.64844 4.33854 4.64844 4.64844H3.5C3.5 4.01042 3.72786 3.46354 4.18359 3.00781C4.63932 2.55208 5.1862 2.32422 5.82422 2.32422ZM5.82422 10.5C7.10026 10.5 8.19857 10.0397 9.11914 9.11914C10.0397 8.19857 10.5 7.10026 10.5 5.82422C10.5 4.54818 10.0397 3.44987 9.11914 2.5293C8.19857 1.60872 7.10026 1.14844 5.82422 1.14844C4.54818 1.14844 3.44987 1.60872 2.5293 2.5293C1.60872 3.44987 1.14844 4.54818 1.14844 5.82422C1.14844 7.10026 1.60872 8.19857 2.5293 9.11914C3.44987 10.0397 4.54818 10.5 5.82422 10.5ZM5.82422 0C7.42839 0 8.80013 0.569661 9.93945 1.70898C11.0788 2.84831 11.6484 4.22005 11.6484 5.82422C11.6484 7.42839 11.0788 8.80013 9.93945 9.93945C8.80013 11.0788 7.42839 11.6484 5.82422 11.6484C4.22005 11.6484 2.84831 11.0788 1.70898 9.93945C0.569661 8.80013 0 7.42839 0 5.82422C0 4.22005 0.569661 2.84831 1.70898 1.70898C2.84831 0.569661 4.22005 0 5.82422 0ZM5.25 9.32422V8.14844H6.39844V9.32422H5.25Z' fill='currentColor'/%3E%3C/svg%3E%0A");
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.c8y-dark-theme & {
|
|
742
|
+
outline: 1px solid var(--palette-status-info, var(--c8y-palette-status-info));
|
|
743
|
+
background-color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
744
|
+
--help-info-color: #{$palette-high};
|
|
745
|
+
color: $palette-high;
|
|
746
|
+
}
|
|
747
|
+
.c8y-system-theme & {
|
|
748
|
+
@media (prefers-color-scheme: dark) {
|
|
749
|
+
outline: 1px solid var(--palette-status-info, var(--c8y-palette-status-info));
|
|
750
|
+
background-color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
751
|
+
--help-info-color: #{$palette-high};
|
|
752
|
+
color: $palette-high;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
&:hover,
|
|
757
|
+
&:active {
|
|
758
|
+
outline: 1px solid var(--palette-status-info, var(--c8y-palette-status-info));
|
|
759
|
+
outline-offset: 0;
|
|
760
|
+
background-color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
761
|
+
--help-info-color: #{$palette-high};
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
&:focus {
|
|
765
|
+
outline: 1px solid var(--palette-status-info, var(--c8y-palette-status-info));
|
|
766
|
+
background-color: var(--palette-status-info, var(--c8y-palette-status-info));
|
|
767
|
+
--help-info-color: #{$palette-high};
|
|
768
|
+
color: $palette-high;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
label &,
|
|
772
|
+
.legend &,
|
|
773
|
+
&--sm {
|
|
774
|
+
display: inline;
|
|
775
|
+
align-self: center;
|
|
776
|
+
height: 14px;
|
|
777
|
+
width: 14px;
|
|
778
|
+
&::before {
|
|
779
|
+
inset: 0;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
label + .btn-help, label .btn-help {
|
|
785
|
+
display: inline;
|
|
786
|
+
align-self: center;
|
|
787
|
+
height: 14px;
|
|
788
|
+
width: 14px;
|
|
789
|
+
&::before {
|
|
790
|
+
inset: 0;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
// Button Sizes
|
|
795
|
+
.btn-lg {
|
|
796
|
+
@include buttons.button-size($btn-padding-large-vertical, $btn-padding-large-horizontal, $btn-font-size-large, $btn-line-height-large,
|
|
797
|
+
$btn-border-radius-large, $form-control-height-lg,
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.btn-sm {
|
|
802
|
+
@include buttons.button-size($btn-padding-small-vertical, $btn-padding-small-horizontal, $btn-font-size-small,
|
|
803
|
+
$btn-line-height-small, $btn-border-radius-small, $form-control-height-sm);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.btn-xs {
|
|
807
|
+
@include buttons.button-size($btn-padding-xs-vertical, $btn-padding-xs-horizontal, $btn-font-size-xs,
|
|
808
|
+
$btn-line-height-xs, $btn-border-radius-xs, $checkbox-size);
|
|
809
|
+
position: relative;
|
|
810
|
+
|
|
811
|
+
> .icon-spin {
|
|
812
|
+
line-height: 10px;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.list-group &,
|
|
816
|
+
.c8y-list__item & {
|
|
817
|
+
&:not(:hover) {
|
|
818
|
+
@extend .btn-default !optional;
|
|
819
|
+
|
|
820
|
+
&.btn-link {
|
|
821
|
+
background-color: transparent;
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.badge {
|
|
827
|
+
position: absolute;
|
|
828
|
+
right: -8px;
|
|
829
|
+
top: -8px;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
// Removed unused button sizing variant - verified 0 usages: .btn-40
|
|
834
|
+
|
|
835
|
+
.btn-block {
|
|
836
|
+
display: block;
|
|
837
|
+
width: 100%;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// Vertically space out multiple block buttons
|
|
841
|
+
.btn-block + .btn-block {
|
|
842
|
+
margin: $size-base 0 0 0;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// Specificity overrides
|
|
846
|
+
input[type='submit'],
|
|
847
|
+
input[type='reset'],
|
|
848
|
+
input[type='button'] {
|
|
849
|
+
&.btn-block {
|
|
850
|
+
width: 100%;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
// BUTTON PENDING
|
|
855
|
+
.btn-pending {
|
|
856
|
+
&,
|
|
857
|
+
&:hover,
|
|
858
|
+
&:focus {
|
|
859
|
+
@include gradients.gradient-striped();
|
|
860
|
+
background-size: 40px 40px;
|
|
861
|
+
animation: progress-bar-stripes 0.5s linear infinite;
|
|
862
|
+
pointer-events: none !important;
|
|
863
|
+
outline: none !important;
|
|
864
|
+
}
|
|
865
|
+
&.btn-default {
|
|
866
|
+
&,
|
|
867
|
+
&:hover,
|
|
868
|
+
&:focus {
|
|
869
|
+
@include gradients.gradient-striped(var(--c8y-brand-70));
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
&.btn-danger {
|
|
873
|
+
&,
|
|
874
|
+
&:hover,
|
|
875
|
+
&:focus {
|
|
876
|
+
@include gradients.gradient-striped(var(--c8y-palette-status-danger-light));
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
// CUSTOM BUTTONS
|
|
882
|
+
// SETTINGS
|
|
883
|
+
.settings {
|
|
884
|
+
width: 40px;
|
|
885
|
+
|
|
886
|
+
.dropdown-toggle {
|
|
887
|
+
opacity: 0.7;
|
|
888
|
+
|
|
889
|
+
&:hover,
|
|
890
|
+
&:focus {
|
|
891
|
+
opacity: 1;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
&:focus {
|
|
895
|
+
@include tab-focus.c8y-focus-inset();
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
&.open {
|
|
900
|
+
.dropdown-toggle {
|
|
901
|
+
opacity: 1;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.collapse-btn {
|
|
907
|
+
padding: 0;
|
|
908
|
+
width: calc($size-base * 5);
|
|
909
|
+
height: calc($size-base * 5);
|
|
910
|
+
display: inline-flex;
|
|
911
|
+
justify-content: center;
|
|
912
|
+
align-items: center;
|
|
913
|
+
border: 0;
|
|
914
|
+
background-color: transparent;
|
|
915
|
+
background-image: none;
|
|
916
|
+
color: $component-color-actions;
|
|
917
|
+
opacity: $component-actions-opacity;
|
|
918
|
+
user-select: none;
|
|
919
|
+
touch-action: manipulation;
|
|
920
|
+
transition: all 0.25s ease;
|
|
921
|
+
&:not(.btn-dot) {
|
|
922
|
+
font-size: 14px;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
> i {
|
|
926
|
+
transition: all 0.25s ease;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
&:hover,
|
|
930
|
+
&:focus {
|
|
931
|
+
text-decoration: none;
|
|
932
|
+
opacity: 1;
|
|
933
|
+
outline: 2px solid $component-color-focus;
|
|
934
|
+
outline-offset: -2px;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
&:focus {
|
|
938
|
+
@include tab-focus.c8y-focus-inset();
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
&.active,
|
|
942
|
+
&[aria-expanded="true"],
|
|
943
|
+
.panel-open & {
|
|
944
|
+
color: $component-brand-primary;
|
|
945
|
+
opacity: 1 !important;
|
|
946
|
+
|
|
947
|
+
> i {
|
|
948
|
+
transform: rotate(180deg);
|
|
949
|
+
&.dlt-c8y-icon-chevron-right {
|
|
950
|
+
transform: rotate(90deg);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.btn-navbar {
|
|
957
|
+
padding: 3px $size-base;
|
|
958
|
+
color: $action-bar-color-actions;
|
|
959
|
+
opacity: 1;
|
|
960
|
+
background-color: transparent;
|
|
961
|
+
|
|
962
|
+
@media (max-width: $screen-xs-max) {
|
|
963
|
+
display: block;
|
|
964
|
+
padding: calc($size-base + 2) $size-16;
|
|
965
|
+
width: 100%;
|
|
966
|
+
max-width: 100%;
|
|
967
|
+
text-align: left;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
&:focus {
|
|
971
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
972
|
+
text-decoration: none;
|
|
973
|
+
@include tab-focus.c8y-focus-inset();
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.c8y-icon,
|
|
977
|
+
[class^='dlt-c8y-icon-'],
|
|
978
|
+
[class*=' dlt-c8y-icon-'] {
|
|
979
|
+
color: $action-bar-color-actions;
|
|
980
|
+
opacity: $action-bar-actions-opacity;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
&:hover,
|
|
984
|
+
&:active {
|
|
985
|
+
color: $action-bar-color-actions-hover;
|
|
986
|
+
text-decoration: none;
|
|
987
|
+
|
|
988
|
+
.c8y-icon,
|
|
989
|
+
> [class^='dlt-c8y-icon-'],
|
|
990
|
+
[class*=' dlt-c8y-icon-'] {
|
|
991
|
+
color: $action-bar-color-actions-hover;
|
|
992
|
+
opacity: 1;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
// TODO: check if we still use this class
|
|
998
|
+
.btn-add-block {
|
|
999
|
+
display: flex;
|
|
1000
|
+
align-items: center;
|
|
1001
|
+
margin-bottom: $size-16;
|
|
1002
|
+
padding: calc($size-base + $size-4) $size-16;
|
|
1003
|
+
width: 100%;
|
|
1004
|
+
border: 0;
|
|
1005
|
+
background-color: $component-background-default;
|
|
1006
|
+
background-image: none;
|
|
1007
|
+
color: $component-brand-primary;
|
|
1008
|
+
text-decoration: none !important;
|
|
1009
|
+
box-shadow: $elevation-sm;
|
|
1010
|
+
transition: all 0.35s ease;
|
|
1011
|
+
|
|
1012
|
+
&[disabled],
|
|
1013
|
+
&.disabled {
|
|
1014
|
+
pointer-events: none;
|
|
1015
|
+
opacity: 0.5;
|
|
1016
|
+
cursor: not-allowed;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
[class^='dlt-c8y-icon-'],
|
|
1020
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1021
|
+
color: $component-brand-primary;
|
|
1022
|
+
font-size: 2em;
|
|
1023
|
+
transition: transform 0.35s ease;
|
|
1024
|
+
margin-right: $size-base;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
&:hover {
|
|
1028
|
+
box-shadow: $elevation-hover;
|
|
1029
|
+
|
|
1030
|
+
> [class^='dlt-c8y-icon-'],
|
|
1031
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1032
|
+
transform: scale(1.1);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
&:focus,
|
|
1037
|
+
&:active {
|
|
1038
|
+
outline: none;
|
|
1039
|
+
box-shadow:
|
|
1040
|
+
$elevation-hover,
|
|
1041
|
+
inset 0 0 0 2px $component-brand-primary;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
&.load-more {
|
|
1045
|
+
align-items: center;
|
|
1046
|
+
justify-content: center;
|
|
1047
|
+
margin-top: $component-padding;
|
|
1048
|
+
min-height: 56px;
|
|
1049
|
+
|
|
1050
|
+
> [class^='dlt-c8y-icon-'],
|
|
1051
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1052
|
+
color: inherit;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
&:hover {
|
|
1056
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
// btn checkbox
|
|
1062
|
+
.btn {
|
|
1063
|
+
&[btnCheckbox],
|
|
1064
|
+
&[uib-btn-checkbox],
|
|
1065
|
+
&.c8y-btn-checkbox {
|
|
1066
|
+
position: relative;
|
|
1067
|
+
z-index: 2;
|
|
1068
|
+
margin-right: 10px;
|
|
1069
|
+
margin-bottom: 10px;
|
|
1070
|
+
padding: 0 32px 0 16px;
|
|
1071
|
+
height: $switch-height;
|
|
1072
|
+
border: 0;
|
|
1073
|
+
background-color: transparent;
|
|
1074
|
+
line-height: 1;
|
|
1075
|
+
color: var(--c8y-switch-handle-color);
|
|
1076
|
+
box-shadow: none;
|
|
1077
|
+
transition: all 0.25s ease;
|
|
1078
|
+
|
|
1079
|
+
* {
|
|
1080
|
+
position: relative;
|
|
1081
|
+
z-index: 1;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
&:focus,
|
|
1085
|
+
&:hover {
|
|
1086
|
+
outline: none;
|
|
1087
|
+
background-color: transparent;
|
|
1088
|
+
background-image: none;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
&:focus {
|
|
1092
|
+
&::before {
|
|
1093
|
+
@include tab-focus.c8y-focus();
|
|
1094
|
+
border-radius: calc($switch-height / 2);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
&::before {
|
|
1099
|
+
position: absolute;
|
|
1100
|
+
top: 0;
|
|
1101
|
+
right: 0;
|
|
1102
|
+
bottom: 0;
|
|
1103
|
+
left: 0;
|
|
1104
|
+
z-index: -1;
|
|
1105
|
+
border-radius: calc($switch-height / 2);
|
|
1106
|
+
background-color: $switch-background-default;
|
|
1107
|
+
content: '';
|
|
1108
|
+
|
|
1109
|
+
transition: background 0.25s ease;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
&::after {
|
|
1113
|
+
content: '';
|
|
1114
|
+
position: absolute;
|
|
1115
|
+
top: 2px;
|
|
1116
|
+
right: 18px;
|
|
1117
|
+
bottom: 2px;
|
|
1118
|
+
left: 2px;
|
|
1119
|
+
z-index: -1;
|
|
1120
|
+
border-radius: calc($switch-height / 2) !important;
|
|
1121
|
+
background-color: var(--c8y-switch-handle-background, $form-control-background-default);
|
|
1122
|
+
box-shadow: 0 2px 3px rgba(black, math.div(20, 100));
|
|
1123
|
+
transition: all 0.25s ease;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
&.active {
|
|
1127
|
+
padding: 0 16px 0 32px;
|
|
1128
|
+
border: 0 !important;
|
|
1129
|
+
background-color: transparent;
|
|
1130
|
+
box-shadow: none;
|
|
1131
|
+
transition: all 0.25s ease;
|
|
1132
|
+
|
|
1133
|
+
&::before {
|
|
1134
|
+
background-color: $switch-background-active;
|
|
1135
|
+
transition: background 0.25s ease;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
&::after {
|
|
1139
|
+
right: 2px;
|
|
1140
|
+
left: 18px;
|
|
1141
|
+
transition: all 0.25s ease;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
&.c8y-btn-checkbox--inline {
|
|
1147
|
+
margin: calc(-1 * $size-5) 0;
|
|
1148
|
+
vertical-align: unset;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
// Data grid buttons
|
|
1153
|
+
.btn-sort {
|
|
1154
|
+
border: 0;
|
|
1155
|
+
background: none;
|
|
1156
|
+
padding: 0;
|
|
1157
|
+
margin-right: 8px;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.btn-header {
|
|
1161
|
+
border: 0;
|
|
1162
|
+
background: none;
|
|
1163
|
+
display: flex;
|
|
1164
|
+
flex-grow: 1;
|
|
1165
|
+
max-width: 100%;
|
|
1166
|
+
height: 45px;
|
|
1167
|
+
|
|
1168
|
+
> span,
|
|
1169
|
+
c8y-cell-renderer {
|
|
1170
|
+
white-space: nowrap;
|
|
1171
|
+
overflow: hidden;
|
|
1172
|
+
text-overflow: ellipsis;
|
|
1173
|
+
flex-grow: 1;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.dlt-c8y-icon-filter {
|
|
1177
|
+
display: none;
|
|
1178
|
+
line-height: inherit;
|
|
1179
|
+
margin-bottom: 1px;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
&:hover,
|
|
1183
|
+
&:focus,
|
|
1184
|
+
.dropdown.open &,
|
|
1185
|
+
.filtered & {
|
|
1186
|
+
.dlt-c8y-icon-filter {
|
|
1187
|
+
display: block;
|
|
1188
|
+
opacity: 1;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.filtered & {
|
|
1193
|
+
color: var(--brand-primary, var(--c8y-brand-primary)) !important;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
&.c8y-dropdown {
|
|
1197
|
+
display: flex;
|
|
1198
|
+
|
|
1199
|
+
&:before {
|
|
1200
|
+
display: none;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
.dropdown.open & {
|
|
1204
|
+
background: white;
|
|
1205
|
+
// .boxShadowHelper(4) !important;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.btn-sort {
|
|
1211
|
+
opacity: 0;
|
|
1212
|
+
|
|
1213
|
+
> .dlt-c8y-icon-exchange {
|
|
1214
|
+
transform: rotate(90deg);
|
|
1215
|
+
margin-top: 4px;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
&:hover {
|
|
1219
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
th:hover &,
|
|
1223
|
+
.sorted & {
|
|
1224
|
+
opacity: 1;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.sorted & {
|
|
1228
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
.btn-sort,
|
|
1233
|
+
.btn-header {
|
|
1234
|
+
&:focus {
|
|
1235
|
+
opacity: 1;
|
|
1236
|
+
@include tab-focus.c8y-focus-inset();
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.btnbar {
|
|
1241
|
+
.btnbar-btn,
|
|
1242
|
+
.dropdown .c8y-dropdown {
|
|
1243
|
+
padding: calc($size-16 - 2px) $size-base;
|
|
1244
|
+
color: $action-bar-color-default;
|
|
1245
|
+
opacity: 1;
|
|
1246
|
+
background: none;
|
|
1247
|
+
border: 0;
|
|
1248
|
+
white-space: nowrap;
|
|
1249
|
+
min-width: fit-content;
|
|
1250
|
+
|
|
1251
|
+
@media (max-width: $screen-xs-max) {
|
|
1252
|
+
display: block;
|
|
1253
|
+
padding: calc($size-base + 2px) $size-16;
|
|
1254
|
+
max-width: 100%;
|
|
1255
|
+
text-align: left;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
&:focus {
|
|
1259
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
1260
|
+
text-decoration: none;
|
|
1261
|
+
@include tab-focus.c8y-focus-inset();
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.c8y-icon,
|
|
1265
|
+
> [class^='dlt-c8y-icon-'],
|
|
1266
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1267
|
+
opacity: 0.9;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
&:hover,
|
|
1271
|
+
&:active {
|
|
1272
|
+
color: $link-color;
|
|
1273
|
+
text-decoration: none;
|
|
1274
|
+
|
|
1275
|
+
.c8y-icon,
|
|
1276
|
+
> [class^='dlt-c8y-icon-'],
|
|
1277
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1278
|
+
opacity: 1;
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
.table-data-grid-header-bulk-actions & {
|
|
1283
|
+
color: $component-background-active;
|
|
1284
|
+
border-radius: $btn-border-radius-base;
|
|
1285
|
+
|
|
1286
|
+
&:focus {
|
|
1287
|
+
@include tab-focus.c8y-focus-inset();
|
|
1288
|
+
outline-color: $component-background-active;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
&:hover,
|
|
1292
|
+
&:active {
|
|
1293
|
+
color: var(--c8y-brand-7);
|
|
1294
|
+
text-decoration: none;
|
|
1295
|
+
outline: 1px solid $component-background-active;
|
|
1296
|
+
.c8y-icon,
|
|
1297
|
+
> [class^='dlt-c8y-icon-'],
|
|
1298
|
+
[class*=' dlt-c8y-icon-'] {
|
|
1299
|
+
opacity: 1;
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.btn--caret {
|
|
1307
|
+
display: flex;
|
|
1308
|
+
align-items: center;
|
|
1309
|
+
> i {
|
|
1310
|
+
transform: translateX(-7px);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
@container (max-width: 310px) {
|
|
1315
|
+
.device-status-btn span {
|
|
1316
|
+
display: none;
|
|
1317
|
+
}
|
|
1318
|
+
}
|