@c8y/style 1023.17.20 → 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,162 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
@use "../mixins/forms";
|
|
3
|
+
@use "../mixins/image";
|
|
4
|
+
@use "../mixins/tab-focus";
|
|
5
|
+
@use "../mixins/vendor-prefixes";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Scaffolding - Base HTML element styles
|
|
9
|
+
*
|
|
10
|
+
* Note: All spacing values use proper design tokens.
|
|
11
|
+
*
|
|
12
|
+
* Intentionally hardcoded values:
|
|
13
|
+
* - font-size: 10px (root font size for rem calculations)
|
|
14
|
+
* - margin: -1px (accessibility trick for .sr-only)
|
|
15
|
+
* - width/height: 1px (accessibility trick for .sr-only)
|
|
16
|
+
* - border-radius: 50% (circle shape, semantically correct)
|
|
17
|
+
* - 1px borders: Standard border widths
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
// Reset the box-sizing
|
|
21
|
+
// Heads up! This reset may cause conflicts with some third-party widgets.
|
|
22
|
+
// For recommendations on resolving such conflicts, see
|
|
23
|
+
// http://getbootstrap.com/getting-started/#third-box-sizing
|
|
24
|
+
* {
|
|
25
|
+
@include forms.box-sizing(border-box);
|
|
26
|
+
outline-color: $component-color-focus;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
*:before,
|
|
30
|
+
*:after {
|
|
31
|
+
@include forms.box-sizing(border-box);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Body reset
|
|
35
|
+
html {
|
|
36
|
+
font-size: 10px;
|
|
37
|
+
|
|
38
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body {
|
|
42
|
+
overflow-x: hidden;
|
|
43
|
+
background-color: $body-background-color;
|
|
44
|
+
color: $text-color;
|
|
45
|
+
font-size: $font-size-base;
|
|
46
|
+
font-family: $font-family-base;
|
|
47
|
+
line-height: $line-height-base;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Reset fonts for relevant elements
|
|
51
|
+
input,
|
|
52
|
+
button,
|
|
53
|
+
select,
|
|
54
|
+
textarea {
|
|
55
|
+
font-size: inherit;
|
|
56
|
+
font-family: inherit;
|
|
57
|
+
line-height: inherit;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Links
|
|
61
|
+
a {
|
|
62
|
+
color: $link-color;
|
|
63
|
+
text-decoration: none;
|
|
64
|
+
|
|
65
|
+
&:hover,
|
|
66
|
+
&:focus {
|
|
67
|
+
color: $link-color-hover;
|
|
68
|
+
text-decoration: $link-hover-decoration;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:focus {
|
|
72
|
+
@include tab-focus.tab-focus();
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.no-decoration {
|
|
76
|
+
&:hover,
|
|
77
|
+
&:focus {
|
|
78
|
+
outline: none;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:focus {
|
|
83
|
+
@include tab-focus.c8y-focus();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.text-muted {
|
|
88
|
+
&:hover,
|
|
89
|
+
&:focus {
|
|
90
|
+
color: $link-color;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Figures
|
|
97
|
+
// We reset this here because previously Normalize had no `figure` margins. This ensures we don't break anyone's use of the element.
|
|
98
|
+
figure {
|
|
99
|
+
margin: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Images
|
|
103
|
+
img {
|
|
104
|
+
vertical-align: middle;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Responsive images (ensure images don't scale beyond their parents)
|
|
108
|
+
.img-responsive {
|
|
109
|
+
@include image.img-responsive();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.img-square {
|
|
113
|
+
width: 100%;
|
|
114
|
+
aspect-ratio: 1;
|
|
115
|
+
object-fit: scale-down;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Removed unused Bootstrap 3 image utility classes - verified 0 usages
|
|
119
|
+
// .img-rounded, .img-thumbnail, .img-circle
|
|
120
|
+
|
|
121
|
+
hr {
|
|
122
|
+
margin-top: $line-height-computed;
|
|
123
|
+
margin-bottom: $line-height-computed;
|
|
124
|
+
border: 0;
|
|
125
|
+
border-top: 1px solid $hr-border;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Only display content to screen readers
|
|
129
|
+
// See: http://a11yproject.com/posts/how-to-hide-content/
|
|
130
|
+
.sr-only,
|
|
131
|
+
.cdk-visually-hidden {
|
|
132
|
+
position: absolute !important;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
clip: rect(0, 0, 0, 0);
|
|
135
|
+
margin: -1px;
|
|
136
|
+
padding: 0;
|
|
137
|
+
width: 1px;
|
|
138
|
+
height: 1px;
|
|
139
|
+
border: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Use in conjunction with .sr-only to only display content when it's focused.
|
|
143
|
+
// Useful for "Skip to main content" links, see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
|
144
|
+
.sr-only-focusable {
|
|
145
|
+
&:active,
|
|
146
|
+
&:focus {
|
|
147
|
+
z-index: 10;
|
|
148
|
+
overflow: visible;
|
|
149
|
+
clip: auto;
|
|
150
|
+
margin: 0;
|
|
151
|
+
width: auto;
|
|
152
|
+
height: auto;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// iOS "clickable elements" fix for role="button"
|
|
157
|
+
// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
|
|
158
|
+
// for traditionally non-focusable elements with role="button"
|
|
159
|
+
// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
160
|
+
[role='button'] {
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
}
|
|
@@ -154,12 +154,12 @@ ol {
|
|
|
154
154
|
}
|
|
155
155
|
&.success {
|
|
156
156
|
> li:before {
|
|
157
|
-
color:
|
|
157
|
+
color: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
&.brand-primary {
|
|
161
161
|
> li:before {
|
|
162
|
-
color:
|
|
162
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
@use "../../variables/dlt-c8y-icons-vars";
|
|
3
|
+
@use "../mixins/text-overflow";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Typography Styles
|
|
7
|
+
*
|
|
8
|
+
* Note: Most spacing values use $size-* tokens from the 8px base unit system.
|
|
9
|
+
*
|
|
10
|
+
* Intentionally hardcoded values:
|
|
11
|
+
* - Percentages (65%, 75%, 80%, 90%, 120%, 0.2em): Proportional scaling
|
|
12
|
+
* - Border widths (1px, 4px, 5px): Border properties, not spacing
|
|
13
|
+
* - Unitless line-heights (1, 1.4): CSS best practice for line-height
|
|
14
|
+
* - Calc expressions with layout vars: Specific layout calculations
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
h1,
|
|
18
|
+
h2,
|
|
19
|
+
h3,
|
|
20
|
+
h4,
|
|
21
|
+
h5,
|
|
22
|
+
h6,
|
|
23
|
+
.h1,
|
|
24
|
+
.h2,
|
|
25
|
+
.h3,
|
|
26
|
+
.h4,
|
|
27
|
+
.h5,
|
|
28
|
+
.h6 {
|
|
29
|
+
font-weight: $headings-font-weight;
|
|
30
|
+
font-family: $headings-font-family;
|
|
31
|
+
line-height: $headings-line-height;
|
|
32
|
+
small,
|
|
33
|
+
.small {
|
|
34
|
+
color: $headings-small-color;
|
|
35
|
+
font-weight: normal;
|
|
36
|
+
line-height: 1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
h1,
|
|
41
|
+
h2,
|
|
42
|
+
h3,
|
|
43
|
+
h4,
|
|
44
|
+
h5,
|
|
45
|
+
h6{
|
|
46
|
+
color: $headings-color;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
h1,
|
|
50
|
+
.h1,
|
|
51
|
+
h2,
|
|
52
|
+
.h2,
|
|
53
|
+
h3,
|
|
54
|
+
.h3 {
|
|
55
|
+
// reset margins to 0;
|
|
56
|
+
// on bootstrap uses $line-height-computed on top and ($line-height-computed / 2) on bottom;
|
|
57
|
+
margin-top: 0;
|
|
58
|
+
margin-bottom: 0;
|
|
59
|
+
small,
|
|
60
|
+
.small {
|
|
61
|
+
font-size: 65%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
h4,
|
|
66
|
+
.h4,
|
|
67
|
+
h5,
|
|
68
|
+
.h5,
|
|
69
|
+
h6,
|
|
70
|
+
.h6 {
|
|
71
|
+
// reset margins to 0;
|
|
72
|
+
// on bootstrap uses ($line-height-computed / 2) for top and bottom;
|
|
73
|
+
margin-top: 0;
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
small,
|
|
76
|
+
.small {
|
|
77
|
+
font-size: 75%;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
h1,
|
|
82
|
+
.h1 {
|
|
83
|
+
font-size: $font-size-h1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
h2,
|
|
87
|
+
.h2 {
|
|
88
|
+
font-size: $font-size-h2;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
h3,
|
|
92
|
+
.h3 {
|
|
93
|
+
font-size: $font-size-h3;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h4,
|
|
97
|
+
.h4 {
|
|
98
|
+
font-size: $font-size-h4;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h5,
|
|
102
|
+
.h5 {
|
|
103
|
+
font-size: $font-size-h5;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
h6,
|
|
107
|
+
.h6 {
|
|
108
|
+
font-size: $font-size-h6;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Body text
|
|
112
|
+
p {
|
|
113
|
+
margin: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.lead {
|
|
117
|
+
margin-bottom: $size-16;
|
|
118
|
+
font-size: calc(($font-size-base * 1.142857143));
|
|
119
|
+
line-height: 1.4;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Emphasis & misc
|
|
123
|
+
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
|
124
|
+
small,
|
|
125
|
+
.small {
|
|
126
|
+
font-size: $font-size-small;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
mark,
|
|
130
|
+
.mark {
|
|
131
|
+
padding: 0.2em;
|
|
132
|
+
background-color: $state-warning-bg;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Lists
|
|
136
|
+
// Unordered and Ordered lists
|
|
137
|
+
ul,
|
|
138
|
+
ol {
|
|
139
|
+
margin-top: 0;
|
|
140
|
+
margin-bottom: calc($line-height-computed / 2);
|
|
141
|
+
ul,
|
|
142
|
+
ol {
|
|
143
|
+
margin-bottom: 0;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// List options
|
|
148
|
+
// checkmark bullets in lists
|
|
149
|
+
.check-bullets {
|
|
150
|
+
margin: 0 0 $size-10;
|
|
151
|
+
padding: 0;
|
|
152
|
+
list-style: none;
|
|
153
|
+
text-align: left;
|
|
154
|
+
> li {
|
|
155
|
+
margin-bottom: $size-5;
|
|
156
|
+
padding: 0 0 0 $size-20;
|
|
157
|
+
&:before {
|
|
158
|
+
display: inline-block;
|
|
159
|
+
margin-left: calc(-1 * $size-20);
|
|
160
|
+
width: $size-20;
|
|
161
|
+
content: dlt-c8y-icons-vars.$dlt-c8y-icon-check;
|
|
162
|
+
font: normal normal normal $font-size-base/1 $icon-font-family;
|
|
163
|
+
font-size: 120%;
|
|
164
|
+
|
|
165
|
+
text-rendering: auto;
|
|
166
|
+
-webkit-font-smoothing: antialiased;
|
|
167
|
+
-moz-osx-font-smoothing: grayscale;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
&.success {
|
|
171
|
+
> li:before {
|
|
172
|
+
color: var(--palette-status-success, var(--c8y-palette-status-success));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
&.brand-primary {
|
|
176
|
+
> li:before {
|
|
177
|
+
color: var(--brand-primary, var(--c8y-brand-primary));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
|
183
|
+
.list-unstyled {
|
|
184
|
+
padding-left: 0;
|
|
185
|
+
list-style: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Inline turns list items into inline-block
|
|
189
|
+
.list-inline {
|
|
190
|
+
margin-left: calc(-1 * $size-5);
|
|
191
|
+
|
|
192
|
+
@extend .list-unstyled;
|
|
193
|
+
> li {
|
|
194
|
+
display: inline-block;
|
|
195
|
+
padding-right: $size-5;
|
|
196
|
+
padding-left: $size-5;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Description Lists
|
|
201
|
+
dl {
|
|
202
|
+
margin-top: 0; // Remove browser default
|
|
203
|
+
margin-bottom: $line-height-computed;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
dt,
|
|
207
|
+
dd {
|
|
208
|
+
line-height: $line-height-base;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
dt {
|
|
212
|
+
font-weight: bold;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
dd {
|
|
216
|
+
margin-left: 0; // Undo browser default
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
dl.dl-inline {
|
|
220
|
+
margin-bottom: 0;
|
|
221
|
+
dt {
|
|
222
|
+
margin-right: $size-5;
|
|
223
|
+
}
|
|
224
|
+
dt,
|
|
225
|
+
dd {
|
|
226
|
+
display: inline-block;
|
|
227
|
+
vertical-align: top;
|
|
228
|
+
}
|
|
229
|
+
dd:after {
|
|
230
|
+
content: '\A';
|
|
231
|
+
white-space: pre;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// Horizontal description lists
|
|
236
|
+
// Defaults to being stacked without any of the below styles applied, until the grid breakpoint is reached (default of ~768px).
|
|
237
|
+
.dl-horizontal {
|
|
238
|
+
dd {
|
|
239
|
+
&::before,
|
|
240
|
+
&::after {
|
|
241
|
+
display: table;
|
|
242
|
+
content: " ";
|
|
243
|
+
}
|
|
244
|
+
&::after {
|
|
245
|
+
clear: both;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
249
|
+
dt {
|
|
250
|
+
float: left;
|
|
251
|
+
clear: left;
|
|
252
|
+
width: calc(($dl-horizontal-offset - 20) * 1px);
|
|
253
|
+
text-align: right;
|
|
254
|
+
|
|
255
|
+
@include text-overflow.text-overflow();
|
|
256
|
+
}
|
|
257
|
+
dd {
|
|
258
|
+
margin-bottom: $size-base;
|
|
259
|
+
margin-left: calc($dl-horizontal-offset * 1px);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Misc
|
|
265
|
+
abbr[title],
|
|
266
|
+
abbr[data-original-title] {
|
|
267
|
+
text-decoration-color: $abbr-border-color;
|
|
268
|
+
text-decoration-line:overline;
|
|
269
|
+
text-decoration-style: dotted;
|
|
270
|
+
border-bottom-color: $abbr-border-color;
|
|
271
|
+
cursor: help;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.initialism {
|
|
275
|
+
font-size: 90%;
|
|
276
|
+
text-transform: uppercase;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
blockquote {
|
|
280
|
+
margin: 0 0 $line-height-computed;
|
|
281
|
+
padding: calc($line-height-computed / 2) $line-height-computed;
|
|
282
|
+
border-left: 4px solid $blockquote-border-color;
|
|
283
|
+
font-size: $blockquote-font-size;
|
|
284
|
+
p,
|
|
285
|
+
ul,
|
|
286
|
+
ol {
|
|
287
|
+
&:last-child {
|
|
288
|
+
margin-bottom: 0;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
footer,
|
|
293
|
+
small,
|
|
294
|
+
.small {
|
|
295
|
+
display: block;
|
|
296
|
+
color: $blockquote-small-color;
|
|
297
|
+
font-size: 80%; // back to default font-size
|
|
298
|
+
line-height: $line-height-base;
|
|
299
|
+
&:before {
|
|
300
|
+
content: '\2014 \00A0'; // em dash, nbsp
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Opposite alignment of blockquote
|
|
306
|
+
// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
|
|
307
|
+
.blockquote-reverse,
|
|
308
|
+
blockquote.pull-right {
|
|
309
|
+
padding-right: $size-16;
|
|
310
|
+
padding-left: 0;
|
|
311
|
+
border-right: 5px solid $blockquote-border-color;
|
|
312
|
+
border-left: 0;
|
|
313
|
+
text-align: right; // Account for citation
|
|
314
|
+
footer,
|
|
315
|
+
small,
|
|
316
|
+
.small {
|
|
317
|
+
&:before {
|
|
318
|
+
content: '';
|
|
319
|
+
}
|
|
320
|
+
&:after {
|
|
321
|
+
content: '\00A0 \2014'; // nbsp, em dash
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
address {
|
|
327
|
+
margin-bottom: $line-height-computed;
|
|
328
|
+
font-style: normal;
|
|
329
|
+
line-height: $line-height-base;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* Languages
|
|
333
|
+
font-family set based on html lang attribute (https://www.w3schools.com/tags/ref_language_codes.asp) and on the keys from .pot files
|
|
334
|
+
*/
|
|
335
|
+
:lang(ja),
|
|
336
|
+
:lang(ja_jp),
|
|
337
|
+
:lang(ja-jp),
|
|
338
|
+
:lang(ja_JP),
|
|
339
|
+
:lang(ja-JP) {
|
|
340
|
+
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"MS Pゴシック",sans-serif;
|
|
341
|
+
--c8y-font-size-base: 13px;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:lang(zh-Hans),
|
|
345
|
+
:lang(zh-tw),
|
|
346
|
+
:lang(zh_CN),
|
|
347
|
+
:lang(zh-cn) {
|
|
348
|
+
font-family: 'Microsoft YaHei New', 'Microsoft Yahei', '微软雅黑', '宋体', SimSun, STXihei,
|
|
349
|
+
'华文细黑', sans-serif;
|
|
350
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@import "../../variables/index";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Markdown Content - Styling for markdown rendered content
|
|
5
|
+
*
|
|
6
|
+
* Note: Uses rem units for vertical spacing to maintain consistent rhythm based on root font size.
|
|
7
|
+
*
|
|
8
|
+
* Intentionally hardcoded values:
|
|
9
|
+
* - Component-specific dimensions (800px): Max content width for readability
|
|
10
|
+
* - Rem values (1rem, 2rem): Vertical rhythm using rem units (not px tokens)
|
|
11
|
+
* - Border widths (1px): Standard borders
|
|
12
|
+
* - Percentages (100%): Layout
|
|
13
|
+
* - Opacity values (0.65): Visual effects for dark theme
|
|
14
|
+
* - Font-weight values (500, 600): Typography weights
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
.markdown-content {
|
|
18
|
+
h1,
|
|
19
|
+
h2,
|
|
20
|
+
h3,
|
|
21
|
+
h4,
|
|
22
|
+
h5,
|
|
23
|
+
p,
|
|
24
|
+
ul,
|
|
25
|
+
ol {
|
|
26
|
+
margin-bottom: 1rem;
|
|
27
|
+
max-width: 800px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
h1,
|
|
31
|
+
h2,
|
|
32
|
+
h3,
|
|
33
|
+
h4,
|
|
34
|
+
h5 {
|
|
35
|
+
margin-bottom: 2rem;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h2 {
|
|
40
|
+
margin: 2rem 0;
|
|
41
|
+
padding: 2rem 0;
|
|
42
|
+
border-top: 1px solid @gray-50;
|
|
43
|
+
border-bottom: 1px dotted @gray-50;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--to-h3 {
|
|
47
|
+
h1,
|
|
48
|
+
h2 {
|
|
49
|
+
margin: 0 0 1rem;
|
|
50
|
+
padding: 2rem 0;
|
|
51
|
+
border-top: 1px dotted @gray-50;
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
font-size: var(--c8y-font-size-h3);
|
|
54
|
+
|
|
55
|
+
&:first-child {
|
|
56
|
+
border-top: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:not(:first-child) {
|
|
60
|
+
margin-top: 2rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
img {
|
|
66
|
+
max-width: 100%;
|
|
67
|
+
height: auto;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.c8y-dark-theme & {
|
|
71
|
+
img {
|
|
72
|
+
opacity: 0.65;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use "../../variables/index" as *;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Markdown Content - Styling for markdown rendered content
|
|
5
|
+
*
|
|
6
|
+
* Note: Uses rem units for vertical spacing to maintain consistent rhythm based on root font size.
|
|
7
|
+
*
|
|
8
|
+
* Intentionally hardcoded values:
|
|
9
|
+
* - Component-specific dimensions (800px): Max content width for readability
|
|
10
|
+
* - Rem values (1rem, 2rem): Vertical rhythm using rem units (not px tokens)
|
|
11
|
+
* - Border widths (1px): Standard borders
|
|
12
|
+
* - Percentages (100%): Layout
|
|
13
|
+
* - Opacity values (0.65): Visual effects for dark theme
|
|
14
|
+
* - Font-weight values (500, 600): Typography weights
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// Shared mixin for heading group selectors
|
|
18
|
+
@mixin heading-elements {
|
|
19
|
+
h1,
|
|
20
|
+
h2,
|
|
21
|
+
h3,
|
|
22
|
+
h4,
|
|
23
|
+
h5 {
|
|
24
|
+
@content;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.markdown-content {
|
|
29
|
+
h1,
|
|
30
|
+
h2,
|
|
31
|
+
h3,
|
|
32
|
+
h4,
|
|
33
|
+
h5,
|
|
34
|
+
p,
|
|
35
|
+
ul,
|
|
36
|
+
ol {
|
|
37
|
+
margin-bottom: 1rem;
|
|
38
|
+
max-width: 800px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@include heading-elements {
|
|
42
|
+
margin-bottom: 2rem;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h2 {
|
|
47
|
+
margin: 2rem 0;
|
|
48
|
+
padding: 2rem 0;
|
|
49
|
+
border-top: 1px solid $gray-50;
|
|
50
|
+
border-bottom: 1px dotted $gray-50;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--to-h3 {
|
|
54
|
+
h1,
|
|
55
|
+
h2 {
|
|
56
|
+
margin: 0 0 1rem;
|
|
57
|
+
padding: 2rem 0;
|
|
58
|
+
border-top: 1px dotted $gray-50;
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
font-size: var(--c8y-font-size-h3);
|
|
61
|
+
|
|
62
|
+
&:first-child {
|
|
63
|
+
border-top: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:not(:first-child) {
|
|
67
|
+
margin-top: 2rem;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
max-width: 100%;
|
|
74
|
+
height: auto;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.c8y-dark-theme & {
|
|
78
|
+
img {
|
|
79
|
+
opacity: 0.65;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|