@ptsecurity/mosaic 14.7.2 → 15.0.0
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/_index.scss +3 -0
- package/_theming.scss +1559 -1685
- package/_visual.scss +84 -64
- package/autocomplete/_autocomplete-theme.scss +21 -0
- package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
- package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.scss +63 -0
- package/button/_button-base.scss +63 -0
- package/button/_button-theme.scss +154 -0
- package/button/button.component.d.ts +2 -2
- package/button/button.scss +45 -0
- package/button-toggle/button-toggle.component.d.ts +2 -2
- package/button-toggle/button-toggle.scss +135 -0
- package/card/_card-theme.scss +61 -0
- package/card/card.component.d.ts +1 -1
- package/card/card.component.scss +40 -0
- package/checkbox/_checkbox-theme.scss +103 -0
- package/checkbox/checkbox-required-validator.d.ts +1 -1
- package/checkbox/checkbox.d.ts +1 -1
- package/checkbox/checkbox.scss +144 -0
- package/code-block/_code-block-theme.scss +329 -0
- package/code-block/actionbar.component.d.ts +1 -1
- package/code-block/actionbar.component.scss +27 -0
- package/code-block/code-block.component.d.ts +1 -1
- package/code-block/code-block.scss +128 -0
- package/core/_index.scss +1 -0
- package/core/common-behaviors/color.d.ts +2 -2
- package/core/datetime/date-adapter.d.ts +12 -0
- package/core/datetime/date-formats.d.ts +4 -0
- package/core/datetime/index.d.ts +2 -0
- package/core/formatters/date/formatter.d.ts +4 -265
- package/core/formatters/date/formatter.pipe.d.ts +3 -2
- package/core/forms/_forms-theme.scss +32 -0
- package/core/forms/_forms.scss +109 -0
- package/core/forms/forms.directive.d.ts +2 -2
- package/core/highlight/_highlight-theme.scss +10 -0
- package/core/line/line.d.ts +1 -1
- package/core/option/_optgroup-theme.scss +26 -0
- package/core/option/_option-action-theme.scss +41 -0
- package/core/option/_option-theme.scss +46 -0
- package/core/option/action.d.ts +1 -1
- package/core/option/action.scss +28 -0
- package/core/option/optgroup.d.ts +1 -1
- package/core/option/optgroup.scss +16 -0
- package/core/option/option.d.ts +1 -1
- package/core/option/option.scss +62 -0
- package/core/pop-up/_pop-up.scss +129 -0
- package/core/pop-up/pop-up-trigger.d.ts +1 -1
- package/core/pop-up/pop-up.d.ts +1 -1
- package/core/public-api.d.ts +11 -10
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +48 -0
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +57 -0
- package/core/styles/_core.scss +11 -0
- package/core/styles/_mosaic-theme.scss +147 -0
- package/core/styles/_tokens.scss +6 -0
- package/core/styles/_variables.scss +9 -0
- package/core/styles/common/_animation.scss +35 -0
- package/core/styles/common/_button.scss +10 -0
- package/core/styles/common/_clearfix.scss +13 -0
- package/core/styles/common/_groups.scss +116 -0
- package/core/styles/common/_index.scss +13 -0
- package/core/styles/common/_input.scss +28 -0
- package/core/styles/common/_layout.scss +8 -0
- package/core/styles/common/_list.scss +46 -0
- package/core/styles/common/_overlay.scss +173 -0
- package/core/styles/common/_popup.scss +11 -0
- package/core/styles/common/_rtl.scss +33 -0
- package/core/styles/common/_size.scss +8 -0
- package/core/styles/common/_vendor-prefixes.scss +24 -0
- package/core/styles/common/_visually-hidden.scss +36 -0
- package/core/styles/functions/_index.scss +3 -0
- package/core/styles/functions/_number.scss +65 -0
- package/core/styles/functions/_string.scss +19 -0
- package/core/styles/functions/_timing.scss +30 -0
- package/core/styles/theming/_alerts.scss +166 -0
- package/core/styles/theming/_badges.scss +142 -0
- package/core/styles/theming/_components-theming.scss +721 -0
- package/core/styles/theming/_index.scss +2 -0
- package/core/styles/theming/_scrollbars.scss +133 -0
- package/core/styles/theming/_theming.scss +155 -0
- package/core/styles/typography/_index.scss +2 -0
- package/core/styles/typography/_typography-utils.scss +78 -0
- package/core/styles/typography/_typography.scss +180 -0
- package/core/styles/visual/_body.scss +35 -0
- package/core/styles/visual/_index.scss +3 -0
- package/core/styles/visual/_layout-media.scss +7 -0
- package/core/styles/visual/_layout.scss +527 -0
- package/datepicker/_datepicker-theme.scss +103 -0
- package/datepicker/calendar-body.component.d.ts +1 -1
- package/datepicker/calendar-body.scss +61 -0
- package/datepicker/calendar-header.component.d.ts +2 -2
- package/datepicker/calendar-header.scss +69 -0
- package/datepicker/calendar.component.d.ts +2 -2
- package/datepicker/calendar.scss +68 -0
- package/datepicker/datepicker-content.scss +32 -0
- package/datepicker/datepicker-input.directive.d.ts +2 -2
- package/datepicker/datepicker-input.scss +15 -0
- package/datepicker/datepicker-toggle.component.d.ts +2 -2
- package/datepicker/datepicker-toggle.scss +41 -0
- package/datepicker/datepicker.component.d.ts +3 -3
- package/datepicker/month-view.component.d.ts +2 -2
- package/divider/_divider-theme.scss +13 -0
- package/divider/divider.component.d.ts +1 -1
- package/divider/divider.scss +47 -0
- package/dl/_dl-theme.scss +44 -0
- package/dl/dl.component.d.ts +3 -3
- package/dl/dl.scss +66 -0
- package/dropdown/_dropdown-theme.scss +87 -0
- package/dropdown/dropdown-content.directive.d.ts +1 -1
- package/dropdown/dropdown-item.component.d.ts +1 -1
- package/dropdown/dropdown-item.scss +82 -0
- package/dropdown/dropdown-trigger.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dropdown/dropdown.scss +79 -0
- package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
- package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +4 -4
- package/esm2020/autocomplete/autocomplete.component.mjs +6 -6
- package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +8 -8
- package/esm2020/button/button.module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
- package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
- package/esm2020/card/card.component.mjs +5 -5
- package/esm2020/card/card.module.mjs +5 -5
- package/esm2020/checkbox/checkbox-module.mjs +5 -5
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +5 -5
- package/esm2020/code-block/actionbar.component.mjs +4 -4
- package/esm2020/code-block/code-block.component.mjs +5 -5
- package/esm2020/code-block/code-block.module.mjs +5 -5
- package/esm2020/core/common-behaviors/color.mjs +3 -3
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/datetime/date-adapter.mjs +15 -0
- package/esm2020/core/datetime/date-formats.mjs +3 -0
- package/esm2020/core/datetime/index.mjs +3 -0
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/formatters/date/formatter.mjs +10 -434
- package/esm2020/core/formatters/date/formatter.pipe.mjs +42 -42
- package/esm2020/core/formatters/index.mjs +5 -5
- package/esm2020/core/formatters/number/formatter.mjs +5 -5
- package/esm2020/core/forms/forms-module.mjs +5 -5
- package/esm2020/core/forms/forms.directive.mjs +7 -7
- package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
- package/esm2020/core/highlight/index.mjs +5 -5
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/action.mjs +6 -6
- package/esm2020/core/option/optgroup.mjs +5 -5
- package/esm2020/core/option/option-module.mjs +5 -5
- package/esm2020/core/option/option.mjs +5 -5
- package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -4
- package/esm2020/core/pop-up/pop-up.mjs +4 -4
- package/esm2020/core/public-api.mjs +12 -11
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
- package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/datepicker/calendar-body.component.mjs +5 -5
- package/esm2020/datepicker/calendar-header.component.mjs +8 -9
- package/esm2020/datepicker/calendar.component.mjs +7 -7
- package/esm2020/datepicker/datepicker-input.directive.mjs +6 -7
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.component.mjs +8 -8
- package/esm2020/datepicker/datepicker.component.mjs +10 -10
- package/esm2020/datepicker/month-view.component.mjs +6 -6
- package/esm2020/divider/divider.component.mjs +5 -5
- package/esm2020/divider/divider.module.mjs +5 -5
- package/esm2020/dl/dl.component.mjs +11 -11
- package/esm2020/dl/dl.module.mjs +5 -5
- package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
- package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
- package/esm2020/dropdown/dropdown.component.mjs +6 -6
- package/esm2020/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/form-field/cleaner.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +11 -11
- package/esm2020/form-field/form-field.module.mjs +5 -5
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/password-hint.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/stepper.mjs +8 -8
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/form-field/validate.directive.mjs +4 -4
- package/esm2020/icon/icon.component.mjs +7 -7
- package/esm2020/icon/icon.module.mjs +5 -5
- package/esm2020/input/input-number-validators.mjs +7 -7
- package/esm2020/input/input-number.mjs +4 -4
- package/esm2020/input/input-password.mjs +7 -7
- package/esm2020/input/input.mjs +7 -7
- package/esm2020/input/input.module.mjs +5 -5
- package/esm2020/link/link.component.mjs +4 -4
- package/esm2020/link/link.module.mjs +5 -5
- package/esm2020/list/list-selection.component.mjs +9 -9
- package/esm2020/list/list.component.mjs +8 -8
- package/esm2020/list/list.module.mjs +5 -5
- package/esm2020/loader-overlay/loader-overlay.component.mjs +14 -14
- package/esm2020/loader-overlay/loader-overlay.module.mjs +5 -5
- package/esm2020/markdown/markdown.component.mjs +6 -6
- package/esm2020/markdown/markdown.module.mjs +5 -5
- package/esm2020/markdown/markdown.service.mjs +4 -4
- package/esm2020/modal/css-unit.pipe.mjs +4 -4
- package/esm2020/modal/modal-control.service.mjs +4 -4
- package/esm2020/modal/modal.component.mjs +5 -5
- package/esm2020/modal/modal.directive.mjs +13 -13
- package/esm2020/modal/modal.module.mjs +5 -5
- package/esm2020/modal/modal.service.mjs +4 -4
- package/esm2020/navbar/navbar-item.component.mjs +31 -31
- package/esm2020/navbar/navbar.component.mjs +11 -11
- package/esm2020/navbar/navbar.module.mjs +5 -5
- package/esm2020/navbar/vertical-navbar.animation.mjs +2 -2
- package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
- package/esm2020/popover/popover-confirm.component.mjs +8 -8
- package/esm2020/popover/popover.component.mjs +8 -8
- package/esm2020/popover/popover.module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.component.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.component.mjs +6 -6
- package/esm2020/progress-spinner/progress-spinner.module.mjs +5 -5
- package/esm2020/radio/radio.component.mjs +8 -8
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/select/select-option.directive.mjs +4 -4
- package/esm2020/select/select.component.mjs +18 -18
- package/esm2020/select/select.module.mjs +5 -5
- package/esm2020/sidebar/sidebar.component.mjs +10 -10
- package/esm2020/sidebar/sidebar.module.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
- package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
- package/esm2020/sidepanel/sidepanel.module.mjs +5 -5
- package/esm2020/sidepanel/sidepanel.service.mjs +4 -4
- package/esm2020/splitter/splitter.component.mjs +13 -13
- package/esm2020/splitter/splitter.module.mjs +5 -5
- package/esm2020/table/table.component.mjs +5 -5
- package/esm2020/table/table.module.mjs +5 -5
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/tab-body.component.mjs +7 -7
- package/esm2020/tabs/tab-content.directive.mjs +4 -4
- package/esm2020/tabs/tab-group.component.mjs +20 -20
- package/esm2020/tabs/tab-header.component.mjs +5 -5
- package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
- package/esm2020/tabs/tab-label.directive.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
- package/esm2020/tabs/tab.component.mjs +4 -4
- package/esm2020/tabs/tabs.module.mjs +5 -5
- package/esm2020/tags/tag-input.mjs +4 -4
- package/esm2020/tags/tag-list.component.mjs +5 -5
- package/esm2020/tags/tag.component.mjs +14 -14
- package/esm2020/tags/tag.module.mjs +5 -5
- package/esm2020/textarea/textarea.component.mjs +4 -4
- package/esm2020/textarea/textarea.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.directive.mjs +6 -7
- package/esm2020/timepicker/timepicker.module.mjs +5 -5
- package/esm2020/timezone/cities-by-filter.pipe.mjs +4 -4
- package/esm2020/timezone/timezone-option.component.mjs +6 -6
- package/esm2020/timezone/timezone-option.directive.mjs +4 -4
- package/esm2020/timezone/timezone-select.component.mjs +9 -9
- package/esm2020/timezone/timezone.module.mjs +5 -5
- package/esm2020/timezone/utc-offset.pipe.mjs +4 -4
- package/esm2020/toast/toast-container.component.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +5 -5
- package/esm2020/toast/toast.module.mjs +5 -5
- package/esm2020/toast/toast.service.mjs +4 -4
- package/esm2020/toggle/toggle.component.mjs +6 -6
- package/esm2020/toggle/toggle.module.mjs +5 -5
- package/esm2020/tooltip/tooltip.component.mjs +14 -14
- package/esm2020/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/tree/node.mjs +4 -4
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.directive.mjs +5 -5
- package/esm2020/tree/toggle.mjs +11 -11
- package/esm2020/tree/tree-base.mjs +7 -7
- package/esm2020/tree/tree-option.component.mjs +6 -6
- package/esm2020/tree/tree-selection.component.mjs +4 -4
- package/esm2020/tree/tree.mjs +4 -4
- package/esm2020/tree/tree.module.mjs +5 -5
- package/esm2020/tree-select/tree-select.component.mjs +12 -12
- package/esm2020/tree-select/tree-select.module.mjs +5 -5
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-button.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-code-block.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-core.mjs +789 -1877
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs +42 -44
- package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dl.mjs +14 -14
- package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-form-field.mjs +40 -40
- package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +17 -17
- package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-navbar.mjs +50 -50
- package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-radio.mjs +11 -11
- package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-select.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +28 -28
- package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-table.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tabs.mjs +55 -55
- package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tags.mjs +24 -24
- package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs +8 -8
- package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-timezone.mjs +26 -26
- package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toast.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -17
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree.mjs +41 -41
- package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-button.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-code-block.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +785 -1900
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs +42 -44
- package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dl.mjs +14 -14
- package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-form-field.mjs +40 -40
- package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
- package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-input.mjs +25 -25
- package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-list.mjs +19 -19
- package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +17 -17
- package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-markdown.mjs +12 -12
- package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
- package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-navbar.mjs +50 -50
- package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
- package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-radio.mjs +11 -11
- package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-select.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
- package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +28 -28
- package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
- package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-table.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tabs.mjs +55 -55
- package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tags.mjs +24 -24
- package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
- package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs +8 -8
- package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-timezone.mjs +26 -26
- package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toast.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
- package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -17
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +15 -15
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree.mjs +41 -41
- package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +133 -0
- package/form-field/cleaner.d.ts +1 -1
- package/form-field/form-field.d.ts +3 -3
- package/form-field/form-field.scss +163 -0
- package/form-field/hint.d.ts +1 -1
- package/form-field/password-hint.d.ts +1 -1
- package/form-field/prefix.d.ts +1 -1
- package/form-field/stepper.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/validate.directive.d.ts +1 -1
- package/icon/_icon-theme.scss +152 -0
- package/icon/icon.component.d.ts +2 -2
- package/icon/icon.scss +30 -0
- package/input/_input-base.scss +21 -0
- package/input/_input-theme.scss +58 -0
- package/input/input-number-validators.d.ts +2 -2
- package/input/input-number.d.ts +1 -1
- package/input/input-password.d.ts +2 -2
- package/input/input.d.ts +2 -2
- package/input/input.scss +62 -0
- package/link/_link-theme.scss +172 -0
- package/link/link.component.d.ts +1 -1
- package/list/_list-base.scss +50 -0
- package/list/_list-theme.scss +49 -0
- package/list/list-selection.component.d.ts +2 -2
- package/list/list.component.d.ts +2 -2
- package/list/list.scss +52 -0
- package/loader-overlay/_loader-overlay-theme.scss +36 -0
- package/loader-overlay/loader-overlay.component.d.ts +4 -4
- package/loader-overlay/loader-overlay.scss +64 -0
- package/markdown/_markdown-theme.scss +142 -0
- package/markdown/markdown.component.d.ts +1 -1
- package/markdown/markdown.scss +240 -0
- package/modal/_modal-animation.scss +114 -0
- package/modal/_modal-confirm.scss +53 -0
- package/modal/_modal-theme.scss +90 -0
- package/modal/modal.component.d.ts +1 -1
- package/modal/modal.directive.d.ts +4 -4
- package/modal/modal.scss +143 -0
- package/navbar/_navbar-theme.scss +125 -0
- package/navbar/navbar-brand.scss +70 -0
- package/navbar/navbar-divider.scss +18 -0
- package/navbar/navbar-item.component.d.ts +10 -10
- package/navbar/navbar-item.scss +159 -0
- package/navbar/navbar.component.d.ts +3 -3
- package/navbar/navbar.scss +20 -0
- package/navbar/vertical-navbar.component.d.ts +1 -1
- package/navbar/vertical-navbar.scss +46 -0
- package/package.json +28 -27
- package/popover/_popover-theme.scss +113 -0
- package/popover/popover-confirm.component.d.ts +2 -2
- package/popover/popover.component.d.ts +2 -2
- package/popover/popover.scss +114 -0
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/prebuilt-visual/default-visual.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +28 -0
- package/progress-bar/progress-bar.component.d.ts +1 -1
- package/progress-bar/progress-bar.scss +42 -0
- package/progress-spinner/_progress-spinner-theme.scss +24 -0
- package/progress-spinner/progress-spinner.component.d.ts +1 -1
- package/progress-spinner/progress-spinner.scss +70 -0
- package/radio/_radio-theme.scss +99 -0
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.scss +110 -0
- package/select/_select-theme.scss +57 -0
- package/select/select-option.directive.d.ts +1 -1
- package/select/select.component.d.ts +5 -5
- package/select/select.scss +197 -0
- package/sidebar/sidebar.component.d.ts +3 -3
- package/sidebar/sidebar.scss +12 -0
- package/sidepanel/_sidepanel-theme.scss +69 -0
- package/sidepanel/sidepanel-container.component.d.ts +1 -1
- package/sidepanel/sidepanel-directives.d.ts +5 -5
- package/sidepanel/sidepanel.scss +190 -0
- package/splitter/_splitter-theme.scss +31 -0
- package/splitter/splitter.component.d.ts +4 -4
- package/splitter/splitter.scss +48 -0
- package/table/_table-theme.scss +67 -0
- package/table/table.component.d.ts +1 -1
- package/table/table.scss +76 -0
- package/tabs/_tabs-common.scss +197 -0
- package/tabs/_tabs-theme.scss +241 -0
- package/tabs/paginated-tab-header.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +2 -2
- package/tabs/tab-body.scss +8 -0
- package/tabs/tab-content.directive.d.ts +1 -1
- package/tabs/tab-group.component.d.ts +6 -6
- package/tabs/tab-group.scss +63 -0
- package/tabs/tab-header.component.d.ts +1 -1
- package/tabs/tab-header.scss +106 -0
- package/tabs/tab-label-wrapper.directive.d.ts +1 -1
- package/tabs/tab-label.directive.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
- package/tabs/tab-nav-bar/tab-nav-bar.scss +54 -0
- package/tabs/tab.component.d.ts +1 -1
- package/tags/_tag-theme.scss +122 -0
- package/tags/tag-input.d.ts +1 -1
- package/tags/tag-list.component.d.ts +1 -1
- package/tags/tag-list.scss +52 -0
- package/tags/tag.component.d.ts +4 -4
- package/tags/tag.scss +115 -0
- package/textarea/_textarea-base.scss +22 -0
- package/textarea/_textarea-theme.scss +40 -0
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea/textarea.scss +32 -0
- package/timepicker/timepicker.directive.d.ts +2 -2
- package/timepicker/timepicker.scss +18 -0
- package/timezone/_timezone-option-theme.scss +36 -0
- package/timezone/timezone-option.component.d.ts +1 -1
- package/timezone/timezone-option.component.scss +35 -0
- package/timezone/timezone-option.directive.d.ts +1 -1
- package/timezone/timezone-select.component.d.ts +2 -2
- package/toast/_toast-theme.scss +64 -0
- package/toast/toast-container.component.d.ts +1 -1
- package/toast/toast-container.component.scss +23 -0
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.component.scss +76 -0
- package/toggle/_toggle-theme.scss +82 -0
- package/toggle/toggle.component.d.ts +1 -1
- package/toggle/toggle.scss +124 -0
- package/tooltip/_tooltip-theme.scss +104 -0
- package/tooltip/tooltip.component.d.ts +4 -4
- package/tooltip/tooltip.scss +75 -0
- package/tree/_tree-theme.scss +70 -0
- package/tree/node.d.ts +1 -1
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.directive.d.ts +1 -1
- package/tree/toggle.d.ts +3 -3
- package/tree/toggle.scss +35 -0
- package/tree/tree-base.d.ts +2 -2
- package/tree/tree-option.component.d.ts +1 -1
- package/tree/tree-option.scss +67 -0
- package/tree/tree-selection.component.d.ts +1 -1
- package/tree/tree-selection.scss +3 -0
- package/tree/tree.d.ts +1 -1
- package/tree/tree.scss +3 -0
- package/tree-select/_tree-select-theme.scss +44 -0
- package/tree-select/tree-select.component.d.ts +3 -3
- package/tree-select/tree-select.scss +212 -0
- package/core/formatters/date/templates/en-US.d.ts +0 -2
- package/core/formatters/date/templates/ru-RU.d.ts +0 -2
- package/design-tokens/index.d.ts +0 -1
- package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -174
- package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -11
- package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -142
- package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
- package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -106
- package/design-tokens/legacy-2017/tokens/components/code-block.json5 +0 -704
- package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -73
- package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -14
- package/design-tokens/legacy-2017/tokens/components/dl.json5 +0 -38
- package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -48
- package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -92
- package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -48
- package/design-tokens/legacy-2017/tokens/components/icon.json5 +0 -104
- package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -50
- package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/loader-overlay.json5 +0 -23
- package/design-tokens/legacy-2017/tokens/components/markdown.json5 +0 -294
- package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -81
- package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -70
- package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -69
- package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -16
- package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -16
- package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -47
- package/design-tokens/legacy-2017/tokens/components/scrollbars.json5 +0 -52
- package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -24
- package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -44
- package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -101
- package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -134
- package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/legacy-2017/tokens/components/timezone.json5 +0 -23
- package/design-tokens/legacy-2017/tokens/components/toast.json5 +0 -54
- package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
- package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -15
- package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -119
- package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
- package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -49
- package/design-tokens/legacy-2017/tokens/properties/md-typography.json5 +0 -103
- package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
- package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
- package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -184
- package/design-tokens/legacy-2017/tokens.d.ts +0 -8520
- package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
- package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -174
- package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -11
- package/design-tokens/pt-2022/tokens/components/button.json5 +0 -142
- package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
- package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -106
- package/design-tokens/pt-2022/tokens/components/code-block.json5 +0 -697
- package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -73
- package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -14
- package/design-tokens/pt-2022/tokens/components/dl.json5 +0 -38
- package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -92
- package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/icon.json5 +0 -104
- package/design-tokens/pt-2022/tokens/components/input.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/link.json5 +0 -50
- package/design-tokens/pt-2022/tokens/components/list.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/loader-overlay.json5 +0 -23
- package/design-tokens/pt-2022/tokens/components/markdown.json5 +0 -294
- package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -81
- package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -70
- package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
- package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -69
- package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -16
- package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
- package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -16
- package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -48
- package/design-tokens/pt-2022/tokens/components/scrollbars.json5 +0 -52
- package/design-tokens/pt-2022/tokens/components/select.json5 +0 -24
- package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -43
- package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
- package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -101
- package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -137
- package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
- package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
- package/design-tokens/pt-2022/tokens/components/timezone.json5 +0 -23
- package/design-tokens/pt-2022/tokens/components/toast.json5 +0 -54
- package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
- package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
- package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -15
- package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -122
- package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
- package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -49
- package/design-tokens/pt-2022/tokens/properties/md-typography.json5 +0 -103
- package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
- package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -233
- package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -184
- package/design-tokens/pt-2022/tokens.d.ts +0 -9851
- package/design-tokens/public-api.d.ts +0 -3
- package/design-tokens/style-dictionary/build.js +0 -65
- package/design-tokens/style-dictionary/configs/css.js +0 -13
- package/design-tokens/style-dictionary/configs/index.js +0 -44
- package/design-tokens/style-dictionary/configs/js.js +0 -9
- package/design-tokens/style-dictionary/configs/scss.js +0 -29
- package/design-tokens/style-dictionary/filters/color.js +0 -9
- package/design-tokens/style-dictionary/filters/md-typography.js +0 -7
- package/design-tokens/style-dictionary/filters/palette.js +0 -7
- package/design-tokens/style-dictionary/filters/size.js +0 -7
- package/design-tokens/style-dictionary/filters/typography.js +0 -7
- package/design-tokens/style-dictionary/formats/palette.js +0 -25
- package/design-tokens/style-dictionary/formats/typography.js +0 -52
- package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
- package/design-tokens/style-dictionary/transformGroups/scss.js +0 -13
- package/design-tokens/style-dictionary/transformGroups/ts.js +0 -11
- package/design-tokens/style-dictionary/transforms/attribute/md-typography.js +0 -9
- package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
- package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
- package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
- package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
- package/esm2020/core/formatters/date/templates/en-US.mjs +0 -336
- package/esm2020/core/formatters/date/templates/ru-RU.mjs +0 -372
- package/esm2020/design-tokens/index.mjs +0 -2
- package/esm2020/design-tokens/legacy-2017/tokens.mjs +0 -1814
- package/esm2020/design-tokens/pt-2022/tokens.mjs +0 -1883
- package/esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs +0 -5
- package/esm2020/design-tokens/public-api.mjs +0 -4
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +0 -5517
- package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +0 -5517
- package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
- package/schematics/README.md +0 -35
package/_theming.scss
CHANGED
@@ -1,261 +1,46 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
// very high z-index for the overlay container, which is where we create the new
|
4
|
-
// stacking context for all overlays.
|
5
|
-
$overlay-container-z-index: 1000 !default;
|
6
|
-
$overlay-z-index: 1000 !default;
|
7
|
-
$overlay-backdrop-z-index: 1000 !default;
|
8
|
-
|
9
|
-
// Background color for all of the backdrops
|
10
|
-
$overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
|
11
|
-
|
12
|
-
// Default backdrop animation is based on the Material Design swift-ease-out.
|
13
|
-
$backdrop-animation-duration: 400ms !default;
|
14
|
-
$backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
15
|
-
|
16
|
-
/// Emits structural styles required for cdk/overlay to function.
|
17
|
-
@mixin overlay() {
|
18
|
-
.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
19
|
-
// Disable events from being captured on the overlay container.
|
20
|
-
pointer-events: none;
|
21
|
-
|
22
|
-
// The container should be the size of the viewport.
|
23
|
-
top: 0;
|
24
|
-
left: 0;
|
25
|
-
height: 100%;
|
26
|
-
width: 100%;
|
27
|
-
}
|
28
|
-
|
29
|
-
// The overlay-container is an invisible element which contains all individual overlays.
|
30
|
-
.cdk-overlay-container {
|
31
|
-
position: fixed;
|
32
|
-
z-index: $overlay-container-z-index;
|
33
|
-
|
34
|
-
&:empty {
|
35
|
-
// Hide the element when it doesn't have any child nodes. This doesn't
|
36
|
-
// include overlays that have been detached, rather than disposed.
|
37
|
-
display: none;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
// We use an extra wrapper element in order to use make the overlay itself a flex item.
|
42
|
-
// This makes centering the overlay easy without running into the subpixel rendering
|
43
|
-
// problems tied to using `transform` and without interfering with the other position
|
44
|
-
// strategies.
|
45
|
-
.cdk-global-overlay-wrapper {
|
46
|
-
display: flex;
|
47
|
-
position: absolute;
|
48
|
-
z-index: $overlay-z-index;
|
49
|
-
}
|
50
|
-
|
51
|
-
// A single overlay pane.
|
52
|
-
.cdk-overlay-pane {
|
53
|
-
// Note: it's important for this one to start off `absolute`,
|
54
|
-
// in order for us to be able to measure it correctly.
|
55
|
-
position: absolute;
|
56
|
-
pointer-events: auto;
|
57
|
-
box-sizing: border-box;
|
58
|
-
z-index: $overlay-z-index;
|
59
|
-
|
60
|
-
// For connected-position overlays, we set `display: flex` in
|
61
|
-
// order to force `max-width` and `max-height` to take effect.
|
62
|
-
display: flex;
|
63
|
-
max-width: 100%;
|
64
|
-
max-height: 100%;
|
65
|
-
}
|
1
|
+
// @deprecated Use `...`.
|
2
|
+
// Will be deleted in 16.0.x.
|
66
3
|
|
67
|
-
|
68
|
-
// TODO(jelbourn): reuse sidenav fullscreen mixin.
|
69
|
-
position: absolute;
|
70
|
-
top: 0;
|
71
|
-
bottom: 0;
|
72
|
-
left: 0;
|
73
|
-
right: 0;
|
74
|
-
|
75
|
-
z-index: $overlay-backdrop-z-index;
|
76
|
-
pointer-events: auto;
|
77
|
-
-webkit-tap-highlight-color: transparent;
|
78
|
-
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
79
|
-
opacity: 0;
|
80
|
-
|
81
|
-
&.cdk-overlay-backdrop-showing {
|
82
|
-
opacity: 1;
|
83
|
-
|
84
|
-
// Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
|
85
|
-
// this file will be copied to the top-level `cdk` package when putting together the files
|
86
|
-
// for npm. Any relative import paths we use here will become invalid once the file is copied.
|
87
|
-
.cdk-high-contrast-active & {
|
88
|
-
// In high contrast mode the rgba background will become solid
|
89
|
-
// so we need to fall back to making it opaque using `opacity`.
|
90
|
-
opacity: 0.6;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
.cdk-overlay-dark-backdrop {
|
96
|
-
background: $overlay-backdrop-color;
|
97
|
-
}
|
98
|
-
|
99
|
-
.cdk-overlay-transparent-backdrop {
|
100
|
-
// Define a transition on the visibility so that the `transitionend` event can fire immediately.
|
101
|
-
transition: visibility 1ms linear, opacity 1ms linear;
|
102
|
-
visibility: hidden;
|
103
|
-
opacity: 1;
|
104
|
-
|
105
|
-
// Note: as of Firefox 57, having the backdrop be `background: none` will prevent it from
|
106
|
-
// capturing the user's mouse scroll events. Since we also can't use something like
|
107
|
-
// `rgba(0, 0, 0, 0)`, we work around the inconsistency by not setting the background at
|
108
|
-
// all and using `opacity` to make the element transparent.
|
109
|
-
&.cdk-overlay-backdrop-showing {
|
110
|
-
opacity: 0;
|
111
|
-
visibility: visible;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.cdk-overlay-backdrop-noop-animation {
|
116
|
-
transition: none;
|
117
|
-
}
|
118
|
-
|
119
|
-
// Overlay parent element used with the connected position strategy. Used to constrain the
|
120
|
-
// overlay element's size to fit within the viewport.
|
121
|
-
.cdk-overlay-connected-position-bounding-box {
|
122
|
-
position: absolute;
|
123
|
-
z-index: $overlay-z-index;
|
124
|
-
|
125
|
-
// We use `display: flex` on this element exclusively for centering connected overlays.
|
126
|
-
// When *not* centering, a top/left/bottom/right will be set which overrides the normal
|
127
|
-
// flex layout.
|
128
|
-
display: flex;
|
129
|
-
|
130
|
-
// We use the `column` direction here to avoid some flexbox issues in Edge
|
131
|
-
// when using the "grow after open" options.
|
132
|
-
flex-direction: column;
|
133
|
-
|
134
|
-
// Add some dimensions so the element has an `innerText` which some people depend on in tests.
|
135
|
-
min-width: 1px;
|
136
|
-
min-height: 1px;
|
137
|
-
}
|
4
|
+
// This file is needed to create a bundle in a package
|
138
5
|
|
139
|
-
// Used when disabling global scrolling.
|
140
|
-
.cdk-global-scrollblock {
|
141
|
-
position: fixed;
|
142
|
-
|
143
|
-
// Necessary for the content not to lose its width. Note that we're using 100%, instead of
|
144
|
-
// 100vw, because 100vw includes the width plus the scrollbar, whereas 100% is the width
|
145
|
-
// that the element had before we made it `fixed`.
|
146
|
-
width: 100%;
|
147
|
-
|
148
|
-
// Note: this will always add a scrollbar to whatever element it is on, which can
|
149
|
-
// potentially result in double scrollbars. It shouldn't be an issue, because we won't
|
150
|
-
// block scrolling on a page that doesn't have a scrollbar in the first place.
|
151
|
-
overflow-y: scroll;
|
152
|
-
}
|
153
|
-
}
|
154
6
|
|
155
7
|
/// Emits a CSS class, `.cdk-visually-hidden`. This class can be applied to an element
|
156
8
|
/// to make that element visually hidden while remaining available to assistive technology.
|
157
9
|
@mixin a11y-visually-hidden() {
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
// This works around a Chrome bug that can cause the tab to crash when large amounts of
|
169
|
-
// non-English text get wrapped: https://bugs.chromium.org/p/chromium/issues/detail?id=1201444
|
170
|
-
white-space: nowrap;
|
171
|
-
|
172
|
-
// Avoid browsers rendering the focus ring in some cases.
|
173
|
-
outline: 0;
|
174
|
-
|
175
|
-
// Avoid some cases where the browser will still render the native controls (see #9049).
|
176
|
-
-webkit-appearance: none;
|
177
|
-
-moz-appearance: none;
|
178
|
-
|
179
|
-
// We need at least one of top/bottom/left/right in order to prevent cases where the
|
180
|
-
// absolute-positioned element is pushed down and can affect scrolling (see #24597).
|
181
|
-
// `left` was chosen here, because it's the least likely to break overrides where the
|
182
|
-
// element might have been positioned (e.g. `mat-checkbox`).
|
183
|
-
left: 0;
|
184
|
-
|
185
|
-
[dir='rtl'] & {
|
186
|
-
left: auto;
|
187
|
-
right: 0;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
/// @deprecated Use `a11y-visually-hidden`.
|
193
|
-
@mixin a11y() {
|
194
|
-
@include a11y-visually-hidden;
|
195
|
-
}
|
196
|
-
|
197
|
-
/// Emits the mixin's content nested under `$selector-context` if `$selector-context`
|
198
|
-
/// is non-empty.
|
199
|
-
/// @param {String} selector-context The selector under which to nest the mixin's content.
|
200
|
-
@mixin _optionally-nest-content($selector-context) {
|
201
|
-
@if ($selector-context == '') {
|
202
|
-
@content;
|
203
|
-
}
|
204
|
-
@else {
|
205
|
-
#{$selector-context} {
|
206
|
-
@content;
|
207
|
-
}
|
208
|
-
}
|
209
|
-
}
|
10
|
+
.cdk-visually-hidden {
|
11
|
+
border: 0;
|
12
|
+
clip: rect(0 0 0 0);
|
13
|
+
height: 1px;
|
14
|
+
margin: -1px;
|
15
|
+
overflow: hidden;
|
16
|
+
padding: 0;
|
17
|
+
position: absolute;
|
18
|
+
width: 1px;
|
210
19
|
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
///
|
215
|
-
/// @param {String} target Type of high contrast setting to target. Defaults to `active`, can be
|
216
|
-
/// `white-on-black` or `black-on-white`.
|
217
|
-
/// @param {String} encapsulation Whether to emit styles for view encapsulation. Values are:
|
218
|
-
/// * `on` - works for `Emulated`, `Native`, and `ShadowDom`
|
219
|
-
/// * `off` - works for `None`
|
220
|
-
/// * `any` - works for all encapsulation modes by emitting the CSS twice (default).
|
221
|
-
@mixin high-contrast($target: active, $encapsulation: 'any') {
|
222
|
-
@if ($target != 'active' and $target != 'black-on-white' and $target != 'white-on-black') {
|
223
|
-
@error 'Unknown cdk-high-contrast value "#{$target}" provided. ' +
|
224
|
-
'Allowed values are "active", "black-on-white", and "white-on-black"';
|
225
|
-
}
|
20
|
+
// This works around a Chrome bug that can cause the tab to crash when large amounts of
|
21
|
+
// non-English text get wrapped: https://bugs.chromium.org/p/chromium/issues/detail?id=1201444
|
22
|
+
white-space: nowrap;
|
226
23
|
|
227
|
-
|
228
|
-
|
229
|
-
'Allowed values are "on", "off", and "any"';
|
230
|
-
}
|
24
|
+
// Avoid browsers rendering the focus ring in some cases.
|
25
|
+
outline: 0;
|
231
26
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
@at-root {
|
236
|
-
$selector-context: #{&};
|
27
|
+
// Avoid some cases where the browser will still render the native controls (see #9049).
|
28
|
+
-webkit-appearance: none;
|
29
|
+
-moz-appearance: none;
|
237
30
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
@content;
|
244
|
-
}
|
245
|
-
}
|
246
|
-
}
|
31
|
+
// We need at least one of top/bottom/left/right in order to prevent cases where the
|
32
|
+
// absolute-positioned element is pushed down and can affect scrolling (see #24597).
|
33
|
+
// `left` was chosen here, because it's the least likely to break overrides where the
|
34
|
+
// element might have been positioned (e.g. `mat-checkbox`).
|
35
|
+
left: 0;
|
247
36
|
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
@content;
|
37
|
+
[dir='rtl'] & {
|
38
|
+
left: auto;
|
39
|
+
right: 0;
|
252
40
|
}
|
253
|
-
}
|
254
41
|
}
|
255
|
-
}
|
256
42
|
}
|
257
43
|
|
258
|
-
|
259
44
|
@keyframes mc-progress {
|
260
45
|
from {
|
261
46
|
background-position: 0 0;
|
@@ -345,7 +130,7 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
345
130
|
// Do not edit directly
|
346
131
|
|
347
132
|
$light-color-scheme-primary-default: #0374eb;
|
348
|
-
$light-color-scheme-
|
133
|
+
$light-color-scheme-secondary-default: #6d7a86;
|
349
134
|
$light-color-scheme-error-default: #db3c55;
|
350
135
|
$light-color-scheme-info-default: #0374eb;
|
351
136
|
$light-color-scheme-success-default: #028b49;
|
@@ -371,7 +156,7 @@ $light-color-scheme-states-selected-color: #e7f1ff;
|
|
371
156
|
$light-color-scheme-states-pressed-shadow: inset 0 1px 2px 0 rgba(black, 0.2);
|
372
157
|
$light-color-scheme-states-disabled-opacity: 0.3;
|
373
158
|
$dark-color-scheme-primary-default: #0059b8;
|
374
|
-
$dark-color-scheme-
|
159
|
+
$dark-color-scheme-secondary-default: #515e69;
|
375
160
|
$dark-color-scheme-error-default: #b9023a;
|
376
161
|
$dark-color-scheme-info-default: #0c6579;
|
377
162
|
$dark-color-scheme-success-default: #016b37;
|
@@ -683,9 +468,9 @@ $badge-light-color-scheme-solid-transparent-color: #19252f;
|
|
683
468
|
$badge-light-color-scheme-solid-light-background: #d7dee4;
|
684
469
|
$badge-light-color-scheme-solid-light-border: #d7dee4;
|
685
470
|
$badge-light-color-scheme-solid-light-color: #19252f;
|
686
|
-
$badge-light-color-scheme-solid-
|
687
|
-
$badge-light-color-scheme-solid-
|
688
|
-
$badge-light-color-scheme-solid-
|
471
|
+
$badge-light-color-scheme-solid-secondary-background: #7f8c98;
|
472
|
+
$badge-light-color-scheme-solid-secondary-border: #7f8c98;
|
473
|
+
$badge-light-color-scheme-solid-secondary-color: white;
|
689
474
|
$badge-light-color-scheme-pastel-primary-background: #eff6ff;
|
690
475
|
$badge-light-color-scheme-pastel-primary-border: #a2c7fe;
|
691
476
|
$badge-light-color-scheme-pastel-primary-color: #4187ff;
|
@@ -737,9 +522,9 @@ $badge-dark-color-scheme-solid-transparent-color: white;
|
|
737
522
|
$badge-dark-color-scheme-solid-light-background: #7f8c98;
|
738
523
|
$badge-dark-color-scheme-solid-light-border: #7f8c98;
|
739
524
|
$badge-dark-color-scheme-solid-light-color: white;
|
740
|
-
$badge-dark-color-scheme-solid-
|
741
|
-
$badge-dark-color-scheme-solid-
|
742
|
-
$badge-dark-color-scheme-solid-
|
525
|
+
$badge-dark-color-scheme-solid-secondary-background: #515e69;
|
526
|
+
$badge-dark-color-scheme-solid-secondary-border: #515e69;
|
527
|
+
$badge-dark-color-scheme-solid-secondary-color: white;
|
743
528
|
$badge-size-default-height: 24px;
|
744
529
|
$badge-size-default-min-width: 10px;
|
745
530
|
$badge-size-default-padding: 0 8px;
|
@@ -772,12 +557,12 @@ $button-light-color-scheme-primary-transparent-states-hover-color: #0059b8;
|
|
772
557
|
$button-light-color-scheme-primary-transparent-states-hover-icon: #0374eb;
|
773
558
|
$button-light-color-scheme-primary-transparent-states-active-color: #014b9d;
|
774
559
|
$button-light-color-scheme-primary-transparent-states-active-icon: #014b9d;
|
775
|
-
$button-light-color-scheme-
|
776
|
-
$button-light-color-scheme-
|
777
|
-
$button-light-color-scheme-
|
778
|
-
$button-light-color-scheme-
|
779
|
-
$button-light-color-scheme-
|
780
|
-
$button-light-color-scheme-
|
560
|
+
$button-light-color-scheme-secondary-border: #d7dee4;
|
561
|
+
$button-light-color-scheme-secondary-background: #d7dee4;
|
562
|
+
$button-light-color-scheme-secondary-color: #19252f;
|
563
|
+
$button-light-color-scheme-secondary-icon: #8c99a5;
|
564
|
+
$button-light-color-scheme-secondary-states-active-border: #bdc7d1;
|
565
|
+
$button-light-color-scheme-secondary-states-active-background: #bdc7d1;
|
781
566
|
$button-light-color-scheme-error-border: #d7dee4;
|
782
567
|
$button-light-color-scheme-error-background: #d7dee4;
|
783
568
|
$button-light-color-scheme-error-color: #ea5868;
|
@@ -797,12 +582,12 @@ $button-dark-color-scheme-primary-transparent-states-hover-color: #014b9d;
|
|
797
582
|
$button-dark-color-scheme-primary-transparent-states-hover-icon: #0374eb;
|
798
583
|
$button-dark-color-scheme-primary-transparent-states-active-color: #023c7f;
|
799
584
|
$button-dark-color-scheme-primary-transparent-states-active-icon: #a2c7fe;
|
800
|
-
$button-dark-color-scheme-
|
801
|
-
$button-dark-color-scheme-
|
802
|
-
$button-dark-color-scheme-
|
803
|
-
$button-dark-color-scheme-
|
804
|
-
$button-dark-color-scheme-
|
805
|
-
$button-dark-color-scheme-
|
585
|
+
$button-dark-color-scheme-secondary-border: #515e69;
|
586
|
+
$button-dark-color-scheme-secondary-background: #515e69;
|
587
|
+
$button-dark-color-scheme-secondary-color: #f2f5f9;
|
588
|
+
$button-dark-color-scheme-secondary-icon: #8c99a5;
|
589
|
+
$button-dark-color-scheme-secondary-states-active-border: #333f4a;
|
590
|
+
$button-dark-color-scheme-secondary-states-active-background: #333f4a;
|
806
591
|
$button-dark-color-scheme-error-border: #515e69;
|
807
592
|
$button-dark-color-scheme-error-background: #515e69;
|
808
593
|
$button-dark-color-scheme-error-color: #ea5868;
|
@@ -1801,15 +1586,15 @@ $tags-light-color-scheme-primary-states-focused: #0374eb;
|
|
1801
1586
|
$tags-light-color-scheme-primary-states-disabled-text: mix(#0374eb, transparent, 50%);
|
1802
1587
|
$tags-light-color-scheme-primary-states-disabled-background: mix(#0374eb, transparent, 10%);
|
1803
1588
|
$tags-light-color-scheme-primary-states-disabled-border: transparent;
|
1804
|
-
$tags-light-color-scheme-
|
1805
|
-
$tags-light-color-scheme-
|
1806
|
-
$tags-light-color-scheme-
|
1807
|
-
$tags-light-color-scheme-
|
1808
|
-
$tags-light-color-scheme-
|
1809
|
-
$tags-light-color-scheme-
|
1810
|
-
$tags-light-color-scheme-
|
1811
|
-
$tags-light-color-scheme-
|
1812
|
-
$tags-light-color-scheme-
|
1589
|
+
$tags-light-color-scheme-secondary-background: #d7dee4;
|
1590
|
+
$tags-light-color-scheme-secondary-border: transparent;
|
1591
|
+
$tags-light-color-scheme-secondary-text: #19252f;
|
1592
|
+
$tags-light-color-scheme-secondary-icon: #8c99a5;
|
1593
|
+
$tags-light-color-scheme-secondary-states-hover-icon: #6d7a86;
|
1594
|
+
$tags-light-color-scheme-secondary-states-focused: #0374eb;
|
1595
|
+
$tags-light-color-scheme-secondary-states-disabled-text: mix(#8c99a5, transparent, 50%);
|
1596
|
+
$tags-light-color-scheme-secondary-states-disabled-background: mix(#8c99a5, transparent, 10%);
|
1597
|
+
$tags-light-color-scheme-secondary-states-disabled-border: transparent;
|
1813
1598
|
$tags-light-color-scheme-error-background: #ffeaea;
|
1814
1599
|
$tags-light-color-scheme-error-border: transparent;
|
1815
1600
|
$tags-light-color-scheme-error-text: #db3c55;
|
@@ -1828,15 +1613,15 @@ $tags-dark-color-scheme-primary-states-focused: #4187ff;
|
|
1828
1613
|
$tags-dark-color-scheme-primary-states-disabled-text: mix(#5697ff, transparent, 50%);
|
1829
1614
|
$tags-dark-color-scheme-primary-states-disabled-background: mix(#5697ff, transparent, 10%);
|
1830
1615
|
$tags-dark-color-scheme-primary-states-disabled-border: transparent;
|
1831
|
-
$tags-dark-color-scheme-
|
1832
|
-
$tags-dark-color-scheme-
|
1833
|
-
$tags-dark-color-scheme-
|
1834
|
-
$tags-dark-color-scheme-
|
1835
|
-
$tags-dark-color-scheme-
|
1836
|
-
$tags-dark-color-scheme-
|
1837
|
-
$tags-dark-color-scheme-
|
1838
|
-
$tags-dark-color-scheme-
|
1839
|
-
$tags-dark-color-scheme-
|
1616
|
+
$tags-dark-color-scheme-secondary-background: #333f4a;
|
1617
|
+
$tags-dark-color-scheme-secondary-border: transparent;
|
1618
|
+
$tags-dark-color-scheme-secondary-text: #bdc7d1;
|
1619
|
+
$tags-dark-color-scheme-secondary-icon: #8c99a5;
|
1620
|
+
$tags-dark-color-scheme-secondary-states-hover-icon: #6d7a86;
|
1621
|
+
$tags-dark-color-scheme-secondary-states-focused: #4187ff;
|
1622
|
+
$tags-dark-color-scheme-secondary-states-disabled-text: mix(#7f8c98, transparent, 50%);
|
1623
|
+
$tags-dark-color-scheme-secondary-states-disabled-background: mix(#7f8c98, transparent, 10%);
|
1624
|
+
$tags-dark-color-scheme-secondary-states-disabled-border: transparent;
|
1840
1625
|
$tags-dark-color-scheme-error-background: #800025;
|
1841
1626
|
$tags-dark-color-scheme-error-border: transparent;
|
1842
1627
|
$tags-dark-color-scheme-error-text: #fcb2b4;
|
@@ -2021,7 +1806,7 @@ A200: white,
|
|
2021
1806
|
)
|
2022
1807
|
);
|
2023
1808
|
|
2024
|
-
$light-color-scheme-
|
1809
|
+
$light-color-scheme-secondary-palette: (
|
2025
1810
|
40: #f2f5f9,
|
2026
1811
|
60: #ebeef2,
|
2027
1812
|
100: #d7dee4,
|
@@ -2219,7 +2004,7 @@ A200: white,
|
|
2219
2004
|
)
|
2220
2005
|
);
|
2221
2006
|
|
2222
|
-
$dark-color-scheme-
|
2007
|
+
$dark-color-scheme-secondary-palette: (
|
2223
2008
|
40: #f2f5f9,
|
2224
2009
|
60: #ebeef2,
|
2225
2010
|
100: #d7dee4,
|
@@ -2690,6 +2475,13 @@ $typography-body-mono-font-weight: normal;
|
|
2690
2475
|
$typography-body-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
|
2691
2476
|
$typography-body-mono-text-transform: null;
|
2692
2477
|
$typography-body-mono-font-feature-settings: initial;
|
2478
|
+
$typography-body-mono-strong-font-size: 15px;
|
2479
|
+
$typography-body-mono-strong-line-height: 20px;
|
2480
|
+
$typography-body-mono-strong-letter-spacing: normal;
|
2481
|
+
$typography-body-mono-strong-font-weight: 500;
|
2482
|
+
$typography-body-mono-strong-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
|
2483
|
+
$typography-body-mono-strong-text-transform: null;
|
2484
|
+
$typography-body-mono-strong-font-feature-settings: initial;
|
2693
2485
|
$typography-caption-font-size: 13px;
|
2694
2486
|
$typography-caption-line-height: 16px;
|
2695
2487
|
$typography-caption-letter-spacing: -0.0025em;
|
@@ -2725,6 +2517,13 @@ $typography-caption-mono-font-weight: normal;
|
|
2725
2517
|
$typography-caption-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
|
2726
2518
|
$typography-caption-mono-text-transform: null;
|
2727
2519
|
$typography-caption-mono-font-feature-settings: initial;
|
2520
|
+
$typography-caption-mono-strong-font-size: 13px;
|
2521
|
+
$typography-caption-mono-strong-line-height: 16px;
|
2522
|
+
$typography-caption-mono-strong-letter-spacing: normal;
|
2523
|
+
$typography-caption-mono-strong-font-weight: 500;
|
2524
|
+
$typography-caption-mono-strong-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
|
2525
|
+
$typography-caption-mono-strong-text-transform: null;
|
2526
|
+
$typography-caption-mono-strong-font-feature-settings: initial;
|
2728
2527
|
$typography-small-text-font-size: 13px;
|
2729
2528
|
$typography-small-text-line-height: 16px;
|
2730
2529
|
$typography-small-text-letter-spacing: -0.0025em;
|
@@ -2855,6 +2654,15 @@ $mosaic: (
|
|
2855
2654
|
'text-transform': $typography-body-mono-text-transform,
|
2856
2655
|
'font-feature-settings': $typography-body-mono-font-feature-settings
|
2857
2656
|
),
|
2657
|
+
'body-mono-strong': (
|
2658
|
+
'font-size': $typography-body-mono-strong-font-size,
|
2659
|
+
'line-height': $typography-body-mono-strong-line-height,
|
2660
|
+
'letter-spacing': $typography-body-mono-strong-letter-spacing,
|
2661
|
+
'font-weight': $typography-body-mono-strong-font-weight,
|
2662
|
+
'font-family': $typography-body-mono-strong-font-family,
|
2663
|
+
'text-transform': $typography-body-mono-strong-text-transform,
|
2664
|
+
'font-feature-settings': $typography-body-mono-strong-font-feature-settings
|
2665
|
+
),
|
2858
2666
|
'caption': (
|
2859
2667
|
'font-size': $typography-caption-font-size,
|
2860
2668
|
'line-height': $typography-caption-line-height,
|
@@ -2900,6 +2708,15 @@ $mosaic: (
|
|
2900
2708
|
'text-transform': $typography-caption-mono-text-transform,
|
2901
2709
|
'font-feature-settings': $typography-caption-mono-font-feature-settings
|
2902
2710
|
),
|
2711
|
+
'caption-mono-strong': (
|
2712
|
+
'font-size': $typography-caption-mono-strong-font-size,
|
2713
|
+
'line-height': $typography-caption-mono-strong-line-height,
|
2714
|
+
'letter-spacing': $typography-caption-mono-strong-letter-spacing,
|
2715
|
+
'font-weight': $typography-caption-mono-strong-font-weight,
|
2716
|
+
'font-family': $typography-caption-mono-strong-font-family,
|
2717
|
+
'text-transform': $typography-caption-mono-strong-text-transform,
|
2718
|
+
'font-feature-settings': $typography-caption-mono-strong-font-feature-settings
|
2719
|
+
),
|
2903
2720
|
'small-text': (
|
2904
2721
|
'font-size': $typography-small-text-font-size,
|
2905
2722
|
'line-height': $typography-small-text-line-height,
|
@@ -3318,58 +3135,180 @@ $md-typography: (
|
|
3318
3135
|
@include mc-no-select;
|
3319
3136
|
}
|
3320
3137
|
|
3321
|
-
|
3322
|
-
|
3323
|
-
|
3324
|
-
|
3325
|
-
|
3326
|
-
|
3327
|
-
position: fixed;
|
3328
|
-
z-index: 1000;
|
3329
|
-
box-sizing: border-box;
|
3330
|
-
margin: 0;
|
3331
|
-
padding: 0;
|
3332
|
-
}
|
3138
|
+
// We want overlays to always appear over user content, so set a baseline
|
3139
|
+
// very high z-index for the overlay container, which is where we create the new
|
3140
|
+
// stacking context for all overlays.
|
3141
|
+
$overlay-container-z-index: 1000 !default;
|
3142
|
+
$overlay-z-index: 1000 !default;
|
3143
|
+
$overlay-backdrop-z-index: 1000 !default;
|
3333
3144
|
|
3334
|
-
|
3335
|
-
|
3336
|
-
bottom: 0;
|
3337
|
-
left: 0;
|
3338
|
-
right: 0;
|
3339
|
-
-webkit-tap-highlight-color: transparent;
|
3340
|
-
transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
3341
|
-
opacity: 0;
|
3342
|
-
position: absolute;
|
3343
|
-
pointer-events: auto;
|
3344
|
-
z-index: 1000;
|
3345
|
-
box-sizing: border-box;
|
3346
|
-
margin: 0;
|
3347
|
-
padding: 0;
|
3348
|
-
}
|
3145
|
+
// Background color for all of the backdrops
|
3146
|
+
$overlay-backdrop-color: rgba(0, 0, 0, 0.32) !default;
|
3349
3147
|
|
3350
|
-
|
3351
|
-
|
3352
|
-
|
3353
|
-
pointer-events: auto;
|
3354
|
-
margin: 0;
|
3355
|
-
padding: 0;
|
3356
|
-
z-index: 1000;
|
3357
|
-
max-width: 100%;
|
3358
|
-
max-height: 100%;
|
3359
|
-
}
|
3148
|
+
// Default backdrop animation is based on the Material Design swift-ease-out.
|
3149
|
+
$backdrop-animation-duration: 400ms !default;
|
3150
|
+
$backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
3360
3151
|
|
3361
|
-
|
3362
|
-
|
3363
|
-
|
3364
|
-
|
3365
|
-
|
3366
|
-
|
3367
|
-
|
3368
|
-
|
3369
|
-
|
3370
|
-
|
3152
|
+
/// Emits structural styles required for cdk/overlay to function.
|
3153
|
+
@mixin overlay() {
|
3154
|
+
.cdk-overlay-container,
|
3155
|
+
.cdk-global-overlay-wrapper {
|
3156
|
+
// Disable events from being captured on the overlay container.
|
3157
|
+
pointer-events: none;
|
3158
|
+
|
3159
|
+
// The container should be the size of the viewport.
|
3160
|
+
top: 0;
|
3161
|
+
left: 0;
|
3162
|
+
height: 100%;
|
3163
|
+
width: 100%;
|
3164
|
+
}
|
3165
|
+
|
3166
|
+
// The overlay-container is an invisible element which contains all individual overlays.
|
3167
|
+
.cdk-overlay-container {
|
3168
|
+
position: fixed;
|
3169
|
+
z-index: $overlay-container-z-index;
|
3170
|
+
|
3171
|
+
// todo перепроверить
|
3172
|
+
box-sizing: border-box;
|
3173
|
+
margin: 0;
|
3174
|
+
padding: 0;
|
3175
|
+
|
3176
|
+
&:empty {
|
3177
|
+
// Hide the element when it doesn't have any child nodes. This doesn't
|
3178
|
+
// include overlays that have been detached, rather than disposed.
|
3179
|
+
display: none;
|
3180
|
+
}
|
3181
|
+
}
|
3182
|
+
|
3183
|
+
// We use an extra wrapper element in order to use make the overlay itself a flex item.
|
3184
|
+
// This makes centering the overlay easy without running into the subpixel rendering
|
3185
|
+
// problems tied to using `transform` and without interfering with the other position
|
3186
|
+
// strategies.
|
3187
|
+
.cdk-global-overlay-wrapper {
|
3188
|
+
display: flex;
|
3189
|
+
position: absolute;
|
3190
|
+
z-index: $overlay-z-index;
|
3191
|
+
}
|
3192
|
+
|
3193
|
+
// A single overlay pane.
|
3194
|
+
.cdk-overlay-pane {
|
3195
|
+
// Note: it's important for this one to start off `absolute`,
|
3196
|
+
// in order for us to be able to measure it correctly.
|
3197
|
+
position: absolute;
|
3198
|
+
pointer-events: auto;
|
3199
|
+
box-sizing: border-box;
|
3200
|
+
z-index: $overlay-z-index;
|
3201
|
+
|
3202
|
+
// For connected-position overlays, we set `display: flex` in
|
3203
|
+
// order to force `max-width` and `max-height` to take effect.
|
3204
|
+
display: flex;
|
3205
|
+
max-width: 100%;
|
3206
|
+
max-height: 100%;
|
3207
|
+
|
3208
|
+
// todo перепроверить
|
3209
|
+
margin: 0;
|
3210
|
+
padding: 0;
|
3211
|
+
}
|
3212
|
+
|
3213
|
+
.cdk-overlay-backdrop {
|
3214
|
+
// TODO(jelbourn): reuse sidenav fullscreen mixin.
|
3215
|
+
position: absolute;
|
3216
|
+
top: 0;
|
3217
|
+
bottom: 0;
|
3218
|
+
left: 0;
|
3219
|
+
right: 0;
|
3220
|
+
|
3221
|
+
z-index: $overlay-backdrop-z-index;
|
3222
|
+
pointer-events: auto;
|
3223
|
+
-webkit-tap-highlight-color: transparent;
|
3224
|
+
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
3225
|
+
opacity: 0;
|
3226
|
+
|
3227
|
+
// todo перепроверить
|
3228
|
+
box-sizing: border-box;
|
3229
|
+
margin: 0;
|
3230
|
+
padding: 0;
|
3231
|
+
|
3232
|
+
&.cdk-overlay-backdrop-showing {
|
3233
|
+
opacity: 1;
|
3234
|
+
|
3235
|
+
// Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
|
3236
|
+
// this file will be copied to the top-level `cdk` package when putting together the files
|
3237
|
+
// for npm. Any relative import paths we use here will become invalid once the file is copied.
|
3238
|
+
.cdk-high-contrast-active & {
|
3239
|
+
// In high contrast mode the rgba background will become solid
|
3240
|
+
// so we need to fall back to making it opaque using `opacity`.
|
3241
|
+
opacity: 0.6;
|
3242
|
+
}
|
3243
|
+
}
|
3244
|
+
}
|
3245
|
+
|
3246
|
+
.cdk-overlay-dark-backdrop {
|
3247
|
+
background: $overlay-backdrop-color;
|
3248
|
+
}
|
3249
|
+
|
3250
|
+
.cdk-overlay-transparent-backdrop {
|
3251
|
+
// Define a transition on the visibility so that the `transitionend` event can fire immediately.
|
3252
|
+
transition: visibility 1ms linear, opacity 1ms linear;
|
3253
|
+
visibility: hidden;
|
3254
|
+
opacity: 1;
|
3255
|
+
|
3256
|
+
// Note: as of Firefox 57, having the backdrop be `background: none` will prevent it from
|
3257
|
+
// capturing the user's mouse scroll events. Since we also can't use something like
|
3258
|
+
// `rgba(0, 0, 0, 0)`, we work around the inconsistency by not setting the background at
|
3259
|
+
// all and using `opacity` to make the element transparent.
|
3260
|
+
&.cdk-overlay-backdrop-showing {
|
3261
|
+
opacity: 0;
|
3262
|
+
visibility: visible;
|
3263
|
+
}
|
3264
|
+
}
|
3265
|
+
|
3266
|
+
.cdk-overlay-backdrop-noop-animation {
|
3267
|
+
transition: none;
|
3268
|
+
}
|
3269
|
+
|
3270
|
+
// Overlay parent element used with the connected position strategy. Used to constrain the
|
3271
|
+
// overlay element's size to fit within the viewport.
|
3272
|
+
.cdk-overlay-connected-position-bounding-box {
|
3273
|
+
position: absolute;
|
3274
|
+
z-index: $overlay-z-index;
|
3275
|
+
|
3276
|
+
// We use `display: flex` on this element exclusively for centering connected overlays.
|
3277
|
+
// When *not* centering, a top/left/bottom/right will be set which overrides the normal
|
3278
|
+
// flex layout.
|
3279
|
+
display: flex;
|
3280
|
+
|
3281
|
+
// We use the `column` direction here to avoid some flexbox issues in Edge
|
3282
|
+
// when using the "grow after open" options.
|
3283
|
+
flex-direction: column;
|
3284
|
+
|
3285
|
+
// Add some dimensions so the element has an `innerText` which some people depend on in tests.
|
3286
|
+
min-width: 1px;
|
3287
|
+
min-height: 1px;
|
3288
|
+
|
3289
|
+
// todo перепроверить
|
3290
|
+
box-sizing: border-box;
|
3291
|
+
margin: 0;
|
3292
|
+
padding: 0;
|
3293
|
+
}
|
3294
|
+
|
3295
|
+
// Used when disabling global scrolling.
|
3296
|
+
.cdk-global-scrollblock {
|
3297
|
+
position: fixed;
|
3298
|
+
|
3299
|
+
// Necessary for the content not to lose its width. Note that we're using 100%, instead of
|
3300
|
+
// 100vw, because 100vw includes the width plus the scrollbar, whereas 100% is the width
|
3301
|
+
// that the element had before we made it `fixed`.
|
3302
|
+
width: 100%;
|
3303
|
+
|
3304
|
+
// Note: this will always add a scrollbar to whatever element it is on, which can
|
3305
|
+
// potentially result in double scrollbars. It shouldn't be an issue, because we won't
|
3306
|
+
// block scrolling on a page that doesn't have a scrollbar in the first place.
|
3307
|
+
overflow-y: scroll;
|
3308
|
+
}
|
3371
3309
|
}
|
3372
3310
|
|
3311
|
+
|
3373
3312
|
@mixin popup-params($theme) {
|
3374
3313
|
$popup: map-get(map-get($theme, components), popup);
|
3375
3314
|
|
@@ -3433,10 +3372,6 @@ $md-typography: (
|
|
3433
3372
|
|
3434
3373
|
|
3435
3374
|
|
3436
|
-
|
3437
|
-
|
3438
|
-
|
3439
|
-
|
3440
3375
|
@function mc-light-theme-components($theme) {
|
3441
3376
|
$alert: (
|
3442
3377
|
error: (
|
@@ -3481,9 +3416,9 @@ $md-typography: (
|
|
3481
3416
|
border: $badge-light-color-scheme-solid-primary-border
|
3482
3417
|
),
|
3483
3418
|
second_solid: (
|
3484
|
-
color: $badge-light-color-scheme-solid-
|
3485
|
-
background: $badge-light-color-scheme-solid-
|
3486
|
-
border: $badge-light-color-scheme-solid-
|
3419
|
+
color: $badge-light-color-scheme-solid-secondary-color,
|
3420
|
+
background: $badge-light-color-scheme-solid-secondary-background,
|
3421
|
+
border: $badge-light-color-scheme-solid-secondary-border
|
3487
3422
|
),
|
3488
3423
|
light_solid: (
|
3489
3424
|
color: $badge-light-color-scheme-solid-light-color,
|
@@ -3566,14 +3501,14 @@ $md-typography: (
|
|
3566
3501
|
active_icon: $button-light-color-scheme-primary-transparent-states-active-icon
|
3567
3502
|
),
|
3568
3503
|
|
3569
|
-
|
3570
|
-
color: $button-light-color-scheme-
|
3571
|
-
border: $button-light-color-scheme-
|
3572
|
-
background: $button-light-color-scheme-
|
3573
|
-
icon: $button-light-color-scheme-
|
3504
|
+
secondary: (
|
3505
|
+
color: $button-light-color-scheme-secondary-color,
|
3506
|
+
border: $button-light-color-scheme-secondary-border,
|
3507
|
+
background: $button-light-color-scheme-secondary-background,
|
3508
|
+
icon: $button-light-color-scheme-secondary-icon,
|
3574
3509
|
|
3575
|
-
active_border: $button-light-color-scheme-
|
3576
|
-
active_background: $button-light-color-scheme-
|
3510
|
+
active_border: $button-light-color-scheme-secondary-states-active-border,
|
3511
|
+
active_background: $button-light-color-scheme-secondary-states-active-background
|
3577
3512
|
),
|
3578
3513
|
|
3579
3514
|
error: (
|
@@ -4017,16 +3952,16 @@ $md-typography: (
|
|
4017
3952
|
focused: $tags-light-color-scheme-primary-states-focused,
|
4018
3953
|
disabled: $tags-light-color-scheme-primary-states-disabled-text
|
4019
3954
|
),
|
4020
|
-
|
4021
|
-
border: $tags-light-color-scheme-
|
4022
|
-
text: $tags-light-color-scheme-
|
4023
|
-
background: $tags-light-color-scheme-
|
4024
|
-
background_disabled: $tags-light-color-scheme-
|
4025
|
-
border_disabled: $tags-light-color-scheme-
|
4026
|
-
icon: $tags-light-color-scheme-
|
4027
|
-
icon_hovered: $tags-light-color-scheme-
|
4028
|
-
focused: $tags-light-color-scheme-
|
4029
|
-
disabled: $tags-light-color-scheme-
|
3955
|
+
secondary: (
|
3956
|
+
border: $tags-light-color-scheme-secondary-border,
|
3957
|
+
text: $tags-light-color-scheme-secondary-text,
|
3958
|
+
background: $tags-light-color-scheme-secondary-background,
|
3959
|
+
background_disabled: $tags-light-color-scheme-secondary-states-disabled-background,
|
3960
|
+
border_disabled: $tags-light-color-scheme-secondary-states-disabled-border,
|
3961
|
+
icon: $tags-light-color-scheme-secondary-icon,
|
3962
|
+
icon_hovered: $tags-light-color-scheme-secondary-states-hover-icon,
|
3963
|
+
focused: $tags-light-color-scheme-secondary-states-focused,
|
3964
|
+
disabled: $tags-light-color-scheme-secondary-states-disabled-text
|
4030
3965
|
),
|
4031
3966
|
error: (
|
4032
3967
|
border: $tags-light-color-scheme-error-border,
|
@@ -4196,9 +4131,9 @@ $md-typography: (
|
|
4196
4131
|
border: $badge-dark-color-scheme-solid-primary-border
|
4197
4132
|
),
|
4198
4133
|
second_solid: (
|
4199
|
-
color: $badge-dark-color-scheme-solid-
|
4200
|
-
background: $badge-dark-color-scheme-solid-
|
4201
|
-
border: $badge-dark-color-scheme-solid-
|
4134
|
+
color: $badge-dark-color-scheme-solid-secondary-color,
|
4135
|
+
background: $badge-dark-color-scheme-solid-secondary-background,
|
4136
|
+
border: $badge-dark-color-scheme-solid-secondary-border
|
4202
4137
|
),
|
4203
4138
|
light_solid: (
|
4204
4139
|
color: $badge-dark-color-scheme-solid-light-color,
|
@@ -4281,14 +4216,14 @@ $md-typography: (
|
|
4281
4216
|
active_icon: $button-dark-color-scheme-primary-transparent-states-active-icon
|
4282
4217
|
),
|
4283
4218
|
|
4284
|
-
|
4285
|
-
color: $button-dark-color-scheme-
|
4286
|
-
border: $button-dark-color-scheme-
|
4287
|
-
background: $button-dark-color-scheme-
|
4288
|
-
icon: $button-dark-color-scheme-
|
4219
|
+
secondary: (
|
4220
|
+
color: $button-dark-color-scheme-secondary-color,
|
4221
|
+
border: $button-dark-color-scheme-secondary-border,
|
4222
|
+
background: $button-dark-color-scheme-secondary-background,
|
4223
|
+
icon: $button-dark-color-scheme-secondary-icon,
|
4289
4224
|
|
4290
|
-
active_border: $button-dark-color-scheme-
|
4291
|
-
active_background: $button-dark-color-scheme-
|
4225
|
+
active_border: $button-dark-color-scheme-secondary-states-active-border,
|
4226
|
+
active_background: $button-dark-color-scheme-secondary-states-active-background
|
4292
4227
|
),
|
4293
4228
|
|
4294
4229
|
error: (
|
@@ -4730,16 +4665,16 @@ $md-typography: (
|
|
4730
4665
|
focused: $tags-dark-color-scheme-primary-states-focused,
|
4731
4666
|
disabled: $tags-dark-color-scheme-primary-states-disabled-text
|
4732
4667
|
),
|
4733
|
-
|
4734
|
-
border: $tags-dark-color-scheme-
|
4735
|
-
text: $tags-dark-color-scheme-
|
4736
|
-
background: $tags-dark-color-scheme-
|
4737
|
-
background_disabled: $tags-dark-color-scheme-
|
4738
|
-
border_disabled: $tags-dark-color-scheme-
|
4739
|
-
icon: $tags-dark-color-scheme-
|
4740
|
-
icon_hovered: $tags-dark-color-scheme-
|
4741
|
-
focused: $tags-dark-color-scheme-
|
4742
|
-
disabled: $tags-dark-color-scheme-
|
4668
|
+
secondary: (
|
4669
|
+
border: $tags-dark-color-scheme-secondary-border,
|
4670
|
+
text: $tags-dark-color-scheme-secondary-text,
|
4671
|
+
background: $tags-dark-color-scheme-secondary-background,
|
4672
|
+
background_disabled: $tags-dark-color-scheme-secondary-states-disabled-background,
|
4673
|
+
border_disabled: $tags-dark-color-scheme-secondary-states-disabled-border,
|
4674
|
+
icon: $tags-dark-color-scheme-secondary-icon,
|
4675
|
+
icon_hovered: $tags-dark-color-scheme-secondary-states-hover-icon,
|
4676
|
+
focused: $tags-dark-color-scheme-secondary-states-focused,
|
4677
|
+
disabled: $tags-dark-color-scheme-secondary-states-disabled-text
|
4743
4678
|
),
|
4744
4679
|
error: (
|
4745
4680
|
border: $tags-dark-color-scheme-error-border,
|
@@ -4909,9 +4844,9 @@ $md-typography: (
|
|
4909
4844
|
border: map-get($tokens, 'badge-#{$scheme}-solid-primary-border')
|
4910
4845
|
),
|
4911
4846
|
second_solid: (
|
4912
|
-
color: map-get($tokens, 'badge-#{$scheme}-solid-
|
4913
|
-
background: map-get($tokens, 'badge-#{$scheme}-solid-
|
4914
|
-
border: map-get($tokens, 'badge-#{$scheme}-solid-
|
4847
|
+
color: map-get($tokens, 'badge-#{$scheme}-solid-secondary-color'),
|
4848
|
+
background: map-get($tokens, 'badge-#{$scheme}-solid-secondary-background'),
|
4849
|
+
border: map-get($tokens, 'badge-#{$scheme}-solid-secondary-border')
|
4915
4850
|
),
|
4916
4851
|
light_solid: (
|
4917
4852
|
color: map-get($tokens, 'badge-#{$scheme}-solid-light-color'),
|
@@ -4994,14 +4929,14 @@ $md-typography: (
|
|
4994
4929
|
active_icon: map-get($tokens, 'button-#{$scheme}-primary-transparent-states-active-icon')
|
4995
4930
|
),
|
4996
4931
|
|
4997
|
-
|
4998
|
-
color: map-get($tokens, 'button-#{$scheme}-
|
4999
|
-
border: map-get($tokens, 'button-#{$scheme}-
|
5000
|
-
background: map-get($tokens, 'button-#{$scheme}-
|
5001
|
-
icon: map-get($tokens, 'button-#{$scheme}-
|
4932
|
+
secondary: (
|
4933
|
+
color: map-get($tokens, 'button-#{$scheme}-secondary-color'),
|
4934
|
+
border: map-get($tokens, 'button-#{$scheme}-secondary-border'),
|
4935
|
+
background: map-get($tokens, 'button-#{$scheme}-secondary-background'),
|
4936
|
+
icon: map-get($tokens, 'button-#{$scheme}-secondary-icon'),
|
5002
4937
|
|
5003
|
-
active_border: map-get($tokens, 'button-#{$scheme}-
|
5004
|
-
active_background: map-get($tokens, 'button-#{$scheme}-
|
4938
|
+
active_border: map-get($tokens, 'button-#{$scheme}-secondary-states-active-border'),
|
4939
|
+
active_background: map-get($tokens, 'button-#{$scheme}-secondary-states-active-background')
|
5005
4940
|
),
|
5006
4941
|
|
5007
4942
|
error: (
|
@@ -5452,16 +5387,16 @@ $md-typography: (
|
|
5452
5387
|
focused: map-get($tokens, 'tags-#{$scheme}-primary-states-focused'),
|
5453
5388
|
disabled: map-get($tokens, 'tags-#{$scheme}-primary-states-disabled-text')
|
5454
5389
|
),
|
5455
|
-
|
5456
|
-
border: map-get($tokens, 'tags-#{$scheme}-
|
5457
|
-
text: map-get($tokens, 'tags-#{$scheme}-
|
5458
|
-
background: map-get($tokens, 'tags-#{$scheme}-
|
5459
|
-
background_disabled: map-get($tokens, 'tags-#{$scheme}-
|
5460
|
-
border_disabled: map-get($tokens, 'tags-#{$scheme}-
|
5461
|
-
icon: map-get($tokens, 'tags-#{$scheme}-
|
5462
|
-
icon_hovered: map-get($tokens, 'tags-#{$scheme}-
|
5463
|
-
focused: map-get($tokens, 'tags-#{$scheme}-
|
5464
|
-
disabled: map-get($tokens, 'tags-#{$scheme}-
|
5390
|
+
secondary: (
|
5391
|
+
border: map-get($tokens, 'tags-#{$scheme}-secondary-border'),
|
5392
|
+
text: map-get($tokens, 'tags-#{$scheme}-secondary-text'),
|
5393
|
+
background: map-get($tokens, 'tags-#{$scheme}-secondary-background'),
|
5394
|
+
background_disabled: map-get($tokens, 'tags-#{$scheme}-secondary-states-disabled-background'),
|
5395
|
+
border_disabled: map-get($tokens, 'tags-#{$scheme}-secondary-states-disabled-border'),
|
5396
|
+
icon: map-get($tokens, 'tags-#{$scheme}-secondary-icon'),
|
5397
|
+
icon_hovered: map-get($tokens, 'tags-#{$scheme}-secondary-states-hover-icon'),
|
5398
|
+
focused: map-get($tokens, 'tags-#{$scheme}-secondary-states-focused'),
|
5399
|
+
disabled: map-get($tokens, 'tags-#{$scheme}-secondary-states-disabled-text')
|
5465
5400
|
),
|
5466
5401
|
error: (
|
5467
5402
|
border: map-get($tokens, 'tags-#{$scheme}-error-border'),
|
@@ -5654,7 +5589,7 @@ $md-typography: (
|
|
5654
5589
|
|
5655
5590
|
|
5656
5591
|
$light-primary: mc-palette($light-color-scheme-primary-palette, $light-color-scheme-primary-default);
|
5657
|
-
$light-
|
5592
|
+
$light-secondary: mc-palette($light-color-scheme-secondary-palette, $light-color-scheme-secondary-default);
|
5658
5593
|
$light-error: mc-palette($light-color-scheme-error-palette, $light-color-scheme-error-default);
|
5659
5594
|
|
5660
5595
|
$light-info: mc-palette($light-color-scheme-info-palette, $light-color-scheme-info-default);
|
@@ -5663,7 +5598,7 @@ $light-warning: mc-palette($light-color-scheme-warning-palette, $light-color-sch
|
|
5663
5598
|
|
5664
5599
|
@function mc-light-theme_import(
|
5665
5600
|
$primary: $light-primary,
|
5666
|
-
$
|
5601
|
+
$secondary: $light-secondary,
|
5667
5602
|
$error: $light-error,
|
5668
5603
|
$info: $light-info,
|
5669
5604
|
$success: $light-success,
|
@@ -5703,7 +5638,7 @@ $light-warning: mc-palette($light-color-scheme-warning-palette, $light-color-sch
|
|
5703
5638
|
is-dark: false,
|
5704
5639
|
|
5705
5640
|
primary: $primary,
|
5706
|
-
|
5641
|
+
secondary: $secondary,
|
5707
5642
|
error: $error,
|
5708
5643
|
|
5709
5644
|
foreground: $foreground,
|
@@ -5720,7 +5655,7 @@ $light-warning: mc-palette($light-color-scheme-warning-palette, $light-color-sch
|
|
5720
5655
|
}
|
5721
5656
|
|
5722
5657
|
$dark-primary: mc-palette($dark-color-scheme-primary-palette, $dark-color-scheme-primary-default);
|
5723
|
-
$dark-
|
5658
|
+
$dark-secondary: mc-palette($dark-color-scheme-secondary-palette, $dark-color-scheme-secondary-default);
|
5724
5659
|
$dark-error: mc-palette($dark-color-scheme-error-palette, $dark-color-scheme-error-default);
|
5725
5660
|
|
5726
5661
|
$dark-info: mc-palette($dark-color-scheme-info-palette, $dark-color-scheme-info-default);
|
@@ -5729,7 +5664,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5729
5664
|
|
5730
5665
|
@function mc-dark-theme_import(
|
5731
5666
|
$primary: $dark-primary,
|
5732
|
-
$
|
5667
|
+
$secondary: $dark-secondary,
|
5733
5668
|
$error: $dark-error,
|
5734
5669
|
$info: $dark-info,
|
5735
5670
|
$success: $dark-success,
|
@@ -5769,7 +5704,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5769
5704
|
is-dark: true,
|
5770
5705
|
|
5771
5706
|
primary: $primary,
|
5772
|
-
|
5707
|
+
secondary: $secondary,
|
5773
5708
|
error: $error,
|
5774
5709
|
|
5775
5710
|
foreground: $foreground,
|
@@ -5838,7 +5773,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5838
5773
|
foreground: _theme_foreground($tokens, $scheme),
|
5839
5774
|
|
5840
5775
|
primary: _theme_palette($tokens, $scheme, primary),
|
5841
|
-
|
5776
|
+
secondary: _theme_palette($tokens, $scheme, secondary),
|
5842
5777
|
error: _theme_palette($tokens, $scheme, error),
|
5843
5778
|
|
5844
5779
|
warning: _theme_palette($tokens, $scheme, warning),
|
@@ -5861,7 +5796,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5861
5796
|
foreground: _theme_foreground($tokens, $scheme),
|
5862
5797
|
|
5863
5798
|
primary: _theme_palette($tokens, $scheme, primary),
|
5864
|
-
|
5799
|
+
secondary: _theme_palette($tokens, $scheme, secondary),
|
5865
5800
|
error: _theme_palette($tokens, $scheme, error),
|
5866
5801
|
|
5867
5802
|
warning: _theme_palette($tokens, $scheme, warning),
|
@@ -5875,6 +5810,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5875
5810
|
}
|
5876
5811
|
|
5877
5812
|
|
5813
|
+
|
5878
5814
|
@function mc-typography-level(
|
5879
5815
|
$font-size,
|
5880
5816
|
$line-height: $font-size,
|
@@ -5993,6 +5929,36 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
5993
5929
|
@return map-merge($config, (font-family: $font-family));
|
5994
5930
|
}
|
5995
5931
|
|
5932
|
+
@function mc-markdown-typography-config() {
|
5933
|
+
$font-family: $font-family-base;
|
5934
|
+
$md-typography: map-get($md-typography, md-typography);
|
5935
|
+
|
5936
|
+
$config: (
|
5937
|
+
md-h1: map-get($md-typography, md-h1),
|
5938
|
+
md-h2: map-get($md-typography, md-h2),
|
5939
|
+
md-h3: map-get($md-typography, md-h3),
|
5940
|
+
md-h4: map-get($md-typography, md-h4),
|
5941
|
+
md-h5: map-get($md-typography, md-h5),
|
5942
|
+
md-h6: map-get($md-typography, md-h6),
|
5943
|
+
|
5944
|
+
md-body: map-get($md-typography, md-body),
|
5945
|
+
md-body-mono: map-get($md-typography, md-body-mono),
|
5946
|
+
md-caption: map-get($md-typography, md-caption),
|
5947
|
+
md-table-cell: map-get($md-typography, md-table-cell),
|
5948
|
+
md-table-header: map-get($md-typography, md-table-header),
|
5949
|
+
);
|
5950
|
+
|
5951
|
+
@each $key, $level in $config {
|
5952
|
+
@if map-get($level, font-family) == null {
|
5953
|
+
$new-level: map-merge($level, (font-family: $font-family));
|
5954
|
+
$config: map-merge($config, ($key: $new-level));
|
5955
|
+
}
|
5956
|
+
}
|
5957
|
+
|
5958
|
+
// Add the base font family to the config.
|
5959
|
+
@return map-merge($config, (font-family: $font-family));
|
5960
|
+
}
|
5961
|
+
|
5996
5962
|
|
5997
5963
|
@mixin mc-base-typography($config) {
|
5998
5964
|
.mc-display-1 {
|
@@ -6068,168 +6034,36 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
6068
6034
|
}
|
6069
6035
|
}
|
6070
6036
|
|
6037
|
+
@mixin mc-markdown-base-typography($config) {
|
6038
|
+
// h1, h2, h3, h4, h5, h6
|
6039
|
+
@for $i from 1 through 6 {
|
6040
|
+
.md-h#{$i} {
|
6041
|
+
@include mc-typography-level-to-styles($config, md-h#{$i});
|
6042
|
+
}
|
6043
|
+
}
|
6071
6044
|
|
6045
|
+
.md-body {
|
6046
|
+
@include mc-typography-level-to-styles($config, md-body);
|
6047
|
+
}
|
6072
6048
|
|
6049
|
+
.md-body-mono {
|
6050
|
+
@include mc-typography-level-to-styles($config, md-body-mono);
|
6051
|
+
}
|
6073
6052
|
|
6053
|
+
.md-caption{
|
6054
|
+
@include mc-typography-level-to-styles($config, md-caption);
|
6055
|
+
}
|
6074
6056
|
|
6057
|
+
.md-table-cell{
|
6058
|
+
@include mc-typography-level-to-styles($config, md-table-cell);
|
6059
|
+
}
|
6075
6060
|
|
6076
|
-
.
|
6077
|
-
|
6078
|
-
|
6061
|
+
.md-table-header{
|
6062
|
+
@include mc-typography-level-to-styles($config, md-table-header);
|
6063
|
+
}
|
6064
|
+
}
|
6079
6065
|
|
6080
|
-
vertical-align: top;
|
6081
|
-
text-align: left;
|
6082
6066
|
|
6083
|
-
border: var(--mc-alert-size-border-width, $alert-size-border-width) solid transparent;
|
6084
|
-
border-radius: var(--mc-alert-size-border-radius, $alert-size-border-radius);
|
6085
|
-
|
6086
|
-
.mc-link {
|
6087
|
-
padding-left: 0;
|
6088
|
-
}
|
6089
|
-
|
6090
|
-
.mc-alert__icon {
|
6091
|
-
margin-right: var(--mc-alert-size-icon-margin, $alert-size-icon-margin);
|
6092
|
-
}
|
6093
|
-
|
6094
|
-
padding: {
|
6095
|
-
right: calc(
|
6096
|
-
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding}) -
|
6097
|
-
var(--mc-alert-size-border-width, #{$alert-size-border-width})
|
6098
|
-
);
|
6099
|
-
left: calc(
|
6100
|
-
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding}) -
|
6101
|
-
var(--mc-alert-size-border-width, #{$alert-size-border-width})
|
6102
|
-
);
|
6103
|
-
};
|
6104
|
-
|
6105
|
-
&:not(.mc-alert_small) {
|
6106
|
-
padding: {
|
6107
|
-
top: var(--mc-alert-size-vertical-padding, $alert-size-vertical-padding);
|
6108
|
-
bottom: var(--mc-alert-size-vertical-padding, $alert-size-vertical-padding);
|
6109
|
-
};
|
6110
|
-
}
|
6111
|
-
|
6112
|
-
&.mc-alert_small {
|
6113
|
-
padding: {
|
6114
|
-
top: var(--mc-alert-size-small-vertical-padding, $alert-size-small-vertical-padding);
|
6115
|
-
bottom: var(--mc-alert-size-small-vertical-padding, $alert-size-small-vertical-padding);
|
6116
|
-
};
|
6117
|
-
}
|
6118
|
-
|
6119
|
-
&.mc-alert_dismissible {
|
6120
|
-
padding-right: calc(
|
6121
|
-
var(--mc-alert-size-right-padding-dismissible, #{$alert-size-close-button-width}) +
|
6122
|
-
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding})
|
6123
|
-
);
|
6124
|
-
}
|
6125
|
-
}
|
6126
|
-
|
6127
|
-
.mc-alert_dismissible {
|
6128
|
-
position: relative;
|
6129
|
-
|
6130
|
-
.mc-alert__close {
|
6131
|
-
position: absolute;
|
6132
|
-
|
6133
|
-
z-index: 10;
|
6134
|
-
right: 15px;
|
6135
|
-
|
6136
|
-
border: 1px solid transparent;
|
6137
|
-
outline: 0;
|
6138
|
-
|
6139
|
-
background: transparent;
|
6140
|
-
|
6141
|
-
padding: 0;
|
6142
|
-
|
6143
|
-
cursor: pointer;
|
6144
|
-
text-align: center;
|
6145
|
-
|
6146
|
-
height: auto;
|
6147
|
-
min-height: auto;
|
6148
|
-
}
|
6149
|
-
|
6150
|
-
&.mc-alert_small {
|
6151
|
-
.mc-alert__close {
|
6152
|
-
top: 10px;
|
6153
|
-
}
|
6154
|
-
}
|
6155
|
-
|
6156
|
-
&:not(.mc-alert_small) {
|
6157
|
-
.mc-alert__close {
|
6158
|
-
top: 14px;
|
6159
|
-
}
|
6160
|
-
}
|
6161
|
-
}
|
6162
|
-
|
6163
|
-
@mixin alert-theme($alert) {
|
6164
|
-
background-color: map-get($alert, background);
|
6165
|
-
border-color: map-get($alert, border);
|
6166
|
-
|
6167
|
-
.mc-icon.mc-alert__icon {
|
6168
|
-
color: map-get($alert, icon);
|
6169
|
-
}
|
6170
|
-
}
|
6171
|
-
|
6172
|
-
@mixin mc-alert-theme($theme) {
|
6173
|
-
$foreground: map-get($theme, foreground);
|
6174
|
-
|
6175
|
-
$alert: map-get(map-get($theme, components), alert);
|
6176
|
-
|
6177
|
-
$is-dark: map-get($theme, is-dark);
|
6178
|
-
|
6179
|
-
.mc-alert__close:focus {
|
6180
|
-
outline: none;
|
6181
|
-
}
|
6182
|
-
|
6183
|
-
.mc-alert {
|
6184
|
-
color: map-get($foreground, text);
|
6185
|
-
}
|
6186
|
-
|
6187
|
-
.mc-alert_error {
|
6188
|
-
@include alert-theme(map-get($alert, error));
|
6189
|
-
}
|
6190
|
-
|
6191
|
-
.mc-alert_warning {
|
6192
|
-
@include alert-theme(map-get($alert, warning));
|
6193
|
-
}
|
6194
|
-
|
6195
|
-
.mc-alert_success {
|
6196
|
-
@include alert-theme(map-get($alert, success));
|
6197
|
-
}
|
6198
|
-
|
6199
|
-
.mc-alert_info {
|
6200
|
-
@include alert-theme(map-get($alert, info));
|
6201
|
-
}
|
6202
|
-
|
6203
|
-
.mc-alert:not(.mc-alert_error):not(.mc-alert_warning):not(.mc-alert_success):not(.mc-alert_info) {
|
6204
|
-
@include alert-theme(map-get($alert, default));
|
6205
|
-
}
|
6206
|
-
}
|
6207
|
-
|
6208
|
-
@mixin mc-alert-typography($config) {
|
6209
|
-
.mc-alert:not(.mc-alert_small) {
|
6210
|
-
@include mc-typography-level-to-styles($config, $alert-font-default-body);
|
6211
|
-
|
6212
|
-
header {
|
6213
|
-
@include mc-typography-level-to-styles($config, $alert-font-default-header);
|
6214
|
-
}
|
6215
|
-
}
|
6216
|
-
|
6217
|
-
.mc-alert.mc-alert_small {
|
6218
|
-
@include mc-typography-level-to-styles($config, $alert-font-small-body);
|
6219
|
-
|
6220
|
-
header {
|
6221
|
-
@include mc-typography-level-to-styles($config, $alert-font-small-header);
|
6222
|
-
}
|
6223
|
-
|
6224
|
-
.mc-link__text {
|
6225
|
-
@include mc-typography-level-to-styles($config, $alert-font-small-body);
|
6226
|
-
}
|
6227
|
-
}
|
6228
|
-
|
6229
|
-
.mc-icon {
|
6230
|
-
letter-spacing: unset;
|
6231
|
-
}
|
6232
|
-
}
|
6233
6067
|
|
6234
6068
|
|
6235
6069
|
|
@@ -6373,90 +6207,348 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
6373
6207
|
|
6374
6208
|
|
6375
6209
|
|
6376
|
-
|
6377
|
-
|
6210
|
+
.mc-alert {
|
6211
|
+
display: flex;
|
6212
|
+
align-items: baseline;
|
6378
6213
|
|
6379
|
-
|
6214
|
+
vertical-align: top;
|
6215
|
+
text-align: left;
|
6380
6216
|
|
6381
|
-
|
6382
|
-
|
6217
|
+
border: var(--mc-alert-size-border-width, $alert-size-border-width) solid transparent;
|
6218
|
+
border-radius: var(--mc-alert-size-border-radius, $alert-size-border-radius);
|
6219
|
+
|
6220
|
+
.mc-link {
|
6221
|
+
padding-left: 0;
|
6383
6222
|
}
|
6384
6223
|
|
6385
|
-
.mc-
|
6386
|
-
|
6224
|
+
.mc-alert__icon {
|
6225
|
+
margin-right: var(--mc-alert-size-icon-margin, $alert-size-icon-margin);
|
6387
6226
|
}
|
6388
|
-
}
|
6389
6227
|
|
6390
|
-
|
6391
|
-
|
6392
|
-
|
6228
|
+
padding: {
|
6229
|
+
right: calc(
|
6230
|
+
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding}) -
|
6231
|
+
var(--mc-alert-size-border-width, #{$alert-size-border-width})
|
6232
|
+
);
|
6233
|
+
left: calc(
|
6234
|
+
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding}) -
|
6235
|
+
var(--mc-alert-size-border-width, #{$alert-size-border-width})
|
6236
|
+
);
|
6237
|
+
};
|
6238
|
+
|
6239
|
+
&:not(.mc-alert_small) {
|
6240
|
+
padding: {
|
6241
|
+
top: var(--mc-alert-size-vertical-padding, $alert-size-vertical-padding);
|
6242
|
+
bottom: var(--mc-alert-size-vertical-padding, $alert-size-vertical-padding);
|
6243
|
+
};
|
6393
6244
|
}
|
6394
6245
|
|
6395
|
-
|
6396
|
-
|
6246
|
+
&.mc-alert_small {
|
6247
|
+
padding: {
|
6248
|
+
top: var(--mc-alert-size-small-vertical-padding, $alert-size-small-vertical-padding);
|
6249
|
+
bottom: var(--mc-alert-size-small-vertical-padding, $alert-size-small-vertical-padding);
|
6250
|
+
};
|
6397
6251
|
}
|
6398
|
-
}
|
6399
6252
|
|
6253
|
+
&.mc-alert_dismissible {
|
6254
|
+
padding-right: calc(
|
6255
|
+
var(--mc-alert-size-right-padding-dismissible, #{$alert-size-close-button-width}) +
|
6256
|
+
var(--mc-alert-size-horizontal-padding, #{$alert-size-horizontal-padding})
|
6257
|
+
);
|
6258
|
+
}
|
6259
|
+
}
|
6400
6260
|
|
6261
|
+
.mc-alert_dismissible {
|
6262
|
+
position: relative;
|
6401
6263
|
|
6264
|
+
.mc-alert__close {
|
6265
|
+
position: absolute;
|
6402
6266
|
|
6267
|
+
z-index: 10;
|
6268
|
+
right: 15px;
|
6403
6269
|
|
6404
|
-
|
6405
|
-
|
6406
|
-
$background: map-get($theme, background);
|
6270
|
+
border: 1px solid transparent;
|
6271
|
+
outline: 0;
|
6407
6272
|
|
6408
|
-
|
6273
|
+
background: transparent;
|
6409
6274
|
|
6410
|
-
|
6411
|
-
color: map-get($foreground, text);
|
6275
|
+
padding: 0;
|
6412
6276
|
|
6413
|
-
|
6414
|
-
|
6415
|
-
background: map-get($background, overlay-hover);
|
6416
|
-
}
|
6417
|
-
}
|
6277
|
+
cursor: pointer;
|
6278
|
+
text-align: center;
|
6418
6279
|
|
6419
|
-
|
6420
|
-
|
6421
|
-
|
6280
|
+
height: auto;
|
6281
|
+
min-height: auto;
|
6282
|
+
}
|
6422
6283
|
|
6423
|
-
|
6424
|
-
|
6284
|
+
&.mc-alert_small {
|
6285
|
+
.mc-alert__close {
|
6286
|
+
top: 10px;
|
6425
6287
|
}
|
6288
|
+
}
|
6426
6289
|
|
6427
|
-
|
6428
|
-
|
6429
|
-
|
6430
|
-
color: map-get($foreground, text-disabled);
|
6290
|
+
&:not(.mc-alert_small) {
|
6291
|
+
.mc-alert__close {
|
6292
|
+
top: 14px;
|
6431
6293
|
}
|
6432
6294
|
}
|
6433
6295
|
}
|
6434
6296
|
|
6435
|
-
@mixin
|
6436
|
-
|
6437
|
-
|
6297
|
+
@mixin alert-theme($alert) {
|
6298
|
+
background-color: map-get($alert, background);
|
6299
|
+
border-color: map-get($alert, border);
|
6300
|
+
|
6301
|
+
.mc-icon.mc-alert__icon {
|
6302
|
+
color: map-get($alert, icon);
|
6438
6303
|
}
|
6439
6304
|
}
|
6440
6305
|
|
6306
|
+
@mixin mc-alert-theme($theme) {
|
6307
|
+
$foreground: map-get($theme, foreground);
|
6441
6308
|
|
6309
|
+
$alert: map-get(map-get($theme, components), alert);
|
6442
6310
|
|
6311
|
+
$is-dark: map-get($theme, is-dark);
|
6443
6312
|
|
6313
|
+
.mc-alert__close:focus {
|
6314
|
+
outline: none;
|
6315
|
+
}
|
6444
6316
|
|
6445
|
-
|
6446
|
-
$foreground: map-get($theme, foreground);
|
6447
|
-
|
6448
|
-
.mc-optgroup-label {
|
6317
|
+
.mc-alert {
|
6449
6318
|
color: map-get($foreground, text);
|
6450
6319
|
}
|
6451
6320
|
|
6452
|
-
.mc-
|
6453
|
-
|
6454
|
-
}
|
6321
|
+
.mc-alert_error {
|
6322
|
+
@include alert-theme(map-get($alert, error));
|
6323
|
+
}
|
6324
|
+
|
6325
|
+
.mc-alert_warning {
|
6326
|
+
@include alert-theme(map-get($alert, warning));
|
6327
|
+
}
|
6328
|
+
|
6329
|
+
.mc-alert_success {
|
6330
|
+
@include alert-theme(map-get($alert, success));
|
6331
|
+
}
|
6332
|
+
|
6333
|
+
.mc-alert_info {
|
6334
|
+
@include alert-theme(map-get($alert, info));
|
6335
|
+
}
|
6336
|
+
|
6337
|
+
.mc-alert:not(.mc-alert_error):not(.mc-alert_warning):not(.mc-alert_success):not(.mc-alert_info) {
|
6338
|
+
@include alert-theme(map-get($alert, default));
|
6339
|
+
}
|
6455
6340
|
}
|
6456
6341
|
|
6457
|
-
@mixin mc-
|
6458
|
-
.mc-
|
6459
|
-
@include mc-typography-level-to-styles($config, $
|
6342
|
+
@mixin mc-alert-typography($config) {
|
6343
|
+
.mc-alert:not(.mc-alert_small) {
|
6344
|
+
@include mc-typography-level-to-styles($config, $alert-font-default-body);
|
6345
|
+
|
6346
|
+
header {
|
6347
|
+
@include mc-typography-level-to-styles($config, $alert-font-default-header);
|
6348
|
+
}
|
6349
|
+
}
|
6350
|
+
|
6351
|
+
.mc-alert.mc-alert_small {
|
6352
|
+
@include mc-typography-level-to-styles($config, $alert-font-small-body);
|
6353
|
+
|
6354
|
+
header {
|
6355
|
+
@include mc-typography-level-to-styles($config, $alert-font-small-header);
|
6356
|
+
}
|
6357
|
+
|
6358
|
+
.mc-link__text {
|
6359
|
+
@include mc-typography-level-to-styles($config, $alert-font-small-body);
|
6360
|
+
}
|
6361
|
+
}
|
6362
|
+
|
6363
|
+
.mc-icon {
|
6364
|
+
letter-spacing: unset;
|
6365
|
+
}
|
6366
|
+
}
|
6367
|
+
|
6368
|
+
|
6369
|
+
|
6370
|
+
/// Replace `$search` with `$replace` in `$string`
|
6371
|
+
/// @author Kitty Giraudel
|
6372
|
+
/// @param {String} $string - Initial string
|
6373
|
+
/// @param {String} $search - Substring to replace
|
6374
|
+
/// @param {String} $replace ('') - New value
|
6375
|
+
/// @return {String} - Updated string
|
6376
|
+
@function str-replace($string, $search, $replace: '') {
|
6377
|
+
$index: str-index($string, $search);
|
6378
|
+
|
6379
|
+
@if $index {
|
6380
|
+
@return str-slice($string, 1, $index - 1) + $replace +
|
6381
|
+
str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
6382
|
+
}
|
6383
|
+
|
6384
|
+
@return $string;
|
6385
|
+
}
|
6386
|
+
|
6387
|
+
|
6388
|
+
.mc-scrollbar {
|
6389
|
+
//firefox
|
6390
|
+
scrollbar-width: auto;
|
6391
|
+
|
6392
|
+
// webkit
|
6393
|
+
&::-webkit-scrollbar,
|
6394
|
+
::-webkit-scrollbar {
|
6395
|
+
width: var(--mc-scrollbar-size-track-width, $scrollbar-size-track-width);
|
6396
|
+
}
|
6397
|
+
|
6398
|
+
&::-webkit-scrollbar-thumb,
|
6399
|
+
::-webkit-scrollbar-thumb {
|
6400
|
+
width: var(--mc-scrollbar-size-thumb-width, $scrollbar-size-thumb-width);
|
6401
|
+
border-width: var(--mc-scrollbar-size-thumb-inset-border-width, $scrollbar-size-thumb-border-width);
|
6402
|
+
border-radius: var(--mc-scrollbar-size-thumb-inset-border-radius, $scrollbar-size-thumb-border-radius);
|
6403
|
+
}
|
6404
|
+
|
6405
|
+
&::-webkit-scrollbar-button,
|
6406
|
+
::-webkit-scrollbar-button {
|
6407
|
+
display: none;
|
6408
|
+
|
6409
|
+
height: var(--mc-scrollbar-size-arrow-icon-height, $scrollbar-size-arrow-icon-height);
|
6410
|
+
width: var(--mc-scrollbar-size-arrow-icon-width, $scrollbar-size-arrow-icon-width);
|
6411
|
+
}
|
6412
|
+
}
|
6413
|
+
|
6414
|
+
@mixin mc-scrollbar-theme($theme) {
|
6415
|
+
$scrollbar: map-get(map-get($theme, components), scrollbar);
|
6416
|
+
$thumb: map-get($scrollbar, thumb);
|
6417
|
+
$arrow: map-get($scrollbar, arrow);
|
6418
|
+
|
6419
|
+
.mc-scrollbar {
|
6420
|
+
|
6421
|
+
// firefox
|
6422
|
+
scrollbar-color: map-get($thumb, normal) map-get($scrollbar, track);
|
6423
|
+
|
6424
|
+
// webkit
|
6425
|
+
&::-webkit-scrollbar,
|
6426
|
+
::-webkit-scrollbar {
|
6427
|
+
background-color: map-get($scrollbar, track);
|
6428
|
+
}
|
6429
|
+
|
6430
|
+
&::-webkit-scrollbar-corner,
|
6431
|
+
::-webkit-scrollbar-corner {
|
6432
|
+
background-color: map-get($scrollbar, corner-background);
|
6433
|
+
}
|
6434
|
+
|
6435
|
+
|
6436
|
+
&::-webkit-scrollbar-thumb,
|
6437
|
+
::-webkit-scrollbar-thumb {
|
6438
|
+
background-color: map-get($thumb, normal);
|
6439
|
+
|
6440
|
+
border-color: map-get($scrollbar, track);
|
6441
|
+
border-style: solid;
|
6442
|
+
|
6443
|
+
&:hover {
|
6444
|
+
background-color: map-get($thumb, hover);
|
6445
|
+
}
|
6446
|
+
|
6447
|
+
&:disabled {
|
6448
|
+
background-color: map-get($thumb, disabled);
|
6449
|
+
}
|
6450
|
+
|
6451
|
+
&:active {
|
6452
|
+
background-color: map-get($thumb, active);
|
6453
|
+
}
|
6454
|
+
}
|
6455
|
+
|
6456
|
+
/* stylelint-disable */
|
6457
|
+
&::-webkit-scrollbar-button,
|
6458
|
+
::-webkit-scrollbar-button {
|
6459
|
+
background-color: map-get($arrow, background);
|
6460
|
+
background-size: 10px 10px;
|
6461
|
+
background-repeat: no-repeat;
|
6462
|
+
background-position: center center;
|
6463
|
+
|
6464
|
+
&:single-button {
|
6465
|
+
&:horizontal:decrement {
|
6466
|
+
@include arrow-image(right, map-get($arrow, normal));
|
6467
|
+
}
|
6468
|
+
|
6469
|
+
&:horizontal:increment {
|
6470
|
+
@include arrow-image(left, map-get($arrow, normal));
|
6471
|
+
}
|
6472
|
+
|
6473
|
+
&:vertical:decrement {
|
6474
|
+
@include arrow-image(up, map-get($arrow, normal));
|
6475
|
+
}
|
6476
|
+
|
6477
|
+
&:vertical:increment {
|
6478
|
+
@include arrow-image(down, map-get($arrow, normal));
|
6479
|
+
}
|
6480
|
+
}
|
6481
|
+
|
6482
|
+
// disable double-button
|
6483
|
+
&:vertical:start:increment,
|
6484
|
+
&:vertical:end:decrement,
|
6485
|
+
&:horizontal:end:increment,
|
6486
|
+
&:horizontal:end:decrement {
|
6487
|
+
display: none;
|
6488
|
+
}
|
6489
|
+
}
|
6490
|
+
/* stylelint-enable */
|
6491
|
+
}
|
6492
|
+
}
|
6493
|
+
|
6494
|
+
@mixin arrow-image($direction, $color) {
|
6495
|
+
$color: str-replace('#{$color}', '#', '%23');
|
6496
|
+
|
6497
|
+
@if $direction == up {
|
6498
|
+
background-image: url('data:image/svg+xml;utf8,<svg width="8" height="4" viewBox="0 0 8 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 4L4 0L8 4H0Z" fill="#{$color}"/></svg>');
|
6499
|
+
} @else if $direction == left {
|
6500
|
+
background-image: url('data:image/svg+xml;utf8,<svg width="4" height="8" viewBox="0 0 4 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.354973 0.111252L3.64503 3.40028C3.84808 3.60327 3.84107 3.91407 3.64503 4.11011L0.354973 7.40017C0.15192 7.60322 0 7.53112 0 7.25478V0.256747C0 -0.0128497 0.158927 -0.0847332 0.354973 0.111252Z" fill="#{$color}"/></svg>');
|
6501
|
+
} @else if $direction == down {
|
6502
|
+
background-image: url('data:image/svg+xml;utf8,<svg width="8" height="4" viewBox="0 0 8 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L4 4L8 0H0Z" fill="#{$color}"/></svg>');
|
6503
|
+
} @else if $direction == right {
|
6504
|
+
background-image: url('data:image/svg+xml;utf8,<svg width="5" height="8" viewBox="0 0 5 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.64975 0.111682C3.8458 -0.0845414 4.00472 -0.0128511 4.00472 0.256746V7.25478C4.00472 7.53112 3.8528 7.6034 3.64975 7.4006L0.359696 4.11454C0.163649 3.91873 0.156643 3.60794 0.359696 3.40471L3.64975 0.111682Z" fill="#{$color}"/></svg>');
|
6505
|
+
}
|
6506
|
+
}
|
6507
|
+
|
6508
|
+
|
6509
|
+
@mixin mc-pseudo-checkbox-color($states) {
|
6510
|
+
border-color: map-get($states, border);
|
6511
|
+
|
6512
|
+
& .mc-checkbox-checkmark,
|
6513
|
+
& .mc-checkbox-mixedmark {
|
6514
|
+
color: map-get($states, color);
|
6515
|
+
}
|
6516
|
+
|
6517
|
+
&.mc-checked,
|
6518
|
+
&.mc-indeterminate {
|
6519
|
+
border-color: map-get($states, checked, border);
|
6520
|
+
|
6521
|
+
background: map-get($states, checked, background);
|
6522
|
+
}
|
6523
|
+
}
|
6524
|
+
|
6525
|
+
@mixin mc-pseudo-checkbox-theme($theme) {
|
6526
|
+
$foreground: map-get($theme, foreground);
|
6527
|
+
$background: map-get($theme, background);
|
6528
|
+
|
6529
|
+
$checkbox: map-get(map-get($theme, components), checkbox);
|
6530
|
+
|
6531
|
+
.mc-pseudo-checkbox {
|
6532
|
+
&.mc-primary {
|
6533
|
+
@include mc-pseudo-checkbox-color(map-get($checkbox, default));
|
6534
|
+
}
|
6535
|
+
|
6536
|
+
&.mc-error {
|
6537
|
+
@include mc-pseudo-checkbox-color(map-get($checkbox, error));
|
6538
|
+
}
|
6539
|
+
|
6540
|
+
&.mc-disabled,
|
6541
|
+
&.mc-primary.mc-disabled,
|
6542
|
+
&.mc-error.mc-disabled {
|
6543
|
+
border-color: map-get($foreground, border);
|
6544
|
+
|
6545
|
+
background-color: map-get($background, background-disabled);
|
6546
|
+
|
6547
|
+
& .mc-checkbox-checkmark,
|
6548
|
+
& .mc-checkbox-mixedmark {
|
6549
|
+
color: map-get($foreground, text-disabled);
|
6550
|
+
}
|
6551
|
+
}
|
6460
6552
|
}
|
6461
6553
|
}
|
6462
6554
|
|
@@ -6563,8 +6655,8 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
6563
6655
|
}
|
6564
6656
|
}
|
6565
6657
|
|
6566
|
-
&.mc-
|
6567
|
-
@include mc-button-color(map-get($button,
|
6658
|
+
&.mc-secondary {
|
6659
|
+
@include mc-button-color(map-get($button, secondary));
|
6568
6660
|
|
6569
6661
|
&.mc-button_transparent {
|
6570
6662
|
@include mc-button_transparent($theme);
|
@@ -6591,7 +6683,7 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
6591
6683
|
}
|
6592
6684
|
|
6593
6685
|
&.mc-primary,
|
6594
|
-
&.mc-
|
6686
|
+
&.mc-secondary,
|
6595
6687
|
&.mc-error {
|
6596
6688
|
&.cdk-keyboard-focused {
|
6597
6689
|
border-color: map-get(map-get($theme, states), focused-color);
|
@@ -6630,22 +6722,81 @@ $dark-warning: mc-palette($dark-color-scheme-warning-palette, $dark-color-scheme
|
|
6630
6722
|
}
|
6631
6723
|
|
6632
6724
|
|
6725
|
+
@mixin card-type($card) {
|
6726
|
+
box-shadow:
|
6727
|
+
inset -1px 0 0 0 map-get($card, shadow),
|
6728
|
+
inset 0 1px 0 0 map-get($card, shadow),
|
6729
|
+
inset 0 -1px 0 0 map-get($card, shadow);
|
6633
6730
|
|
6731
|
+
background-color: map-get($card, background);
|
6634
6732
|
|
6733
|
+
border-left-color: map-get($card, vertical-line);
|
6734
|
+
}
|
6635
6735
|
|
6736
|
+
@mixin mc-card-theme($theme) {
|
6737
|
+
$foreground: map-get($theme, foreground);
|
6738
|
+
$background: map-get($theme, background);
|
6636
6739
|
|
6637
|
-
|
6638
|
-
|
6639
|
-
& .mc-checkbox-frame {
|
6640
|
-
background-color: map-get($states, background);
|
6740
|
+
$card: map-get(map-get($theme, components), card);
|
6741
|
+
$popup: map-get(map-get($theme, components), popup);
|
6641
6742
|
|
6642
|
-
|
6743
|
+
$is-dark: map-get($theme, is-dark);
|
6643
6744
|
|
6644
|
-
|
6645
|
-
|
6646
|
-
|
6647
|
-
|
6648
|
-
|
6745
|
+
.mc-card {
|
6746
|
+
color: map-get($foreground, text);
|
6747
|
+
|
6748
|
+
&.mc-card_error {
|
6749
|
+
@include card-type(map-get($card, error));
|
6750
|
+
}
|
6751
|
+
|
6752
|
+
&.mc-card_warning {
|
6753
|
+
@include card-type(map-get($card, warning));
|
6754
|
+
}
|
6755
|
+
|
6756
|
+
&.mc-card_success {
|
6757
|
+
@include card-type(map-get($card, success));
|
6758
|
+
}
|
6759
|
+
|
6760
|
+
&.mc-card_info {
|
6761
|
+
@include card-type(map-get($card, info));
|
6762
|
+
}
|
6763
|
+
|
6764
|
+
&.mc-card_white {
|
6765
|
+
background-color: map-get($popup, background);
|
6766
|
+
}
|
6767
|
+
|
6768
|
+
&.mc-selected {
|
6769
|
+
background-color: map-get(map-get($theme, states), selected-color);
|
6770
|
+
}
|
6771
|
+
|
6772
|
+
&:not(.mc-card_readonly):hover {
|
6773
|
+
.mc-card__overlay {
|
6774
|
+
background: map-get($background, overlay-hover);
|
6775
|
+
}
|
6776
|
+
}
|
6777
|
+
|
6778
|
+
&.cdk-keyboard-focused {
|
6779
|
+
box-shadow: 0 0 0 2px map-get(map-get($theme, states), focused-color);
|
6780
|
+
}
|
6781
|
+
}
|
6782
|
+
}
|
6783
|
+
|
6784
|
+
|
6785
|
+
|
6786
|
+
|
6787
|
+
|
6788
|
+
/* stylelint-disable no-descending-specificity */
|
6789
|
+
@mixin mc-checkbox-color($states) {
|
6790
|
+
& .mc-checkbox-frame {
|
6791
|
+
background-color: map-get($states, background);
|
6792
|
+
|
6793
|
+
border-color: map-get($states, border);
|
6794
|
+
|
6795
|
+
& .mc-checkbox-checkmark,
|
6796
|
+
& .mc-checkbox-mixedmark {
|
6797
|
+
color: map-get($states, color);
|
6798
|
+
}
|
6799
|
+
}
|
6649
6800
|
|
6650
6801
|
&.mc-checked,
|
6651
6802
|
&.mc-indeterminate {
|
@@ -7072,12 +7223,12 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7072
7223
|
$background: map-get($theme, background);
|
7073
7224
|
|
7074
7225
|
$primary: map-get($theme, primary);
|
7075
|
-
$
|
7226
|
+
$secondary: map-get($theme, secondary);
|
7076
7227
|
|
7077
7228
|
$datepicker: map-get(map-get($theme, components), datepicker);
|
7078
7229
|
|
7079
7230
|
.mc-calendar__table-header {
|
7080
|
-
color: mc-color($
|
7231
|
+
color: mc-color($secondary, 400);
|
7081
7232
|
}
|
7082
7233
|
|
7083
7234
|
.mc-datepicker-toggle__button.mc-icon-button {
|
@@ -7114,7 +7265,7 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7114
7265
|
|
7115
7266
|
.mc-calendar__body-cell:not(.mc-calendar__body_disabled):hover {
|
7116
7267
|
& > .mc-calendar__body-cell-content:not(.mc-selected) {
|
7117
|
-
background-color: mc-color($
|
7268
|
+
background-color: mc-color($secondary, A60);
|
7118
7269
|
}
|
7119
7270
|
}
|
7120
7271
|
|
@@ -7157,41 +7308,15 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7157
7308
|
}
|
7158
7309
|
}
|
7159
7310
|
|
7311
|
+
@mixin mc-divider-theme($theme) {
|
7312
|
+
$divider: map-get(map-get($theme, components), divider);
|
7160
7313
|
|
7161
|
-
|
7162
|
-
|
7163
|
-
|
7164
|
-
@mixin mc-dl-theme($theme) {
|
7165
|
-
$dl: map-get(map-get($theme, components), dl);
|
7166
|
-
|
7167
|
-
.mc-dt {
|
7168
|
-
color: map-get($dl, dt);
|
7169
|
-
}
|
7170
|
-
|
7171
|
-
.mc-dd {
|
7172
|
-
color: map-get($dl, dd);
|
7173
|
-
}
|
7174
|
-
}
|
7175
|
-
|
7176
|
-
@mixin mc-dl-typography($config) {
|
7177
|
-
.mc-dl {
|
7178
|
-
& .mc-dt {
|
7179
|
-
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dt);
|
7180
|
-
}
|
7181
|
-
|
7182
|
-
& .mc-dd {
|
7183
|
-
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dd);
|
7184
|
-
}
|
7314
|
+
.mc-divider_horizontal {
|
7315
|
+
border-top-color: map-get($divider, color);
|
7185
7316
|
}
|
7186
7317
|
|
7187
|
-
.mc-
|
7188
|
-
|
7189
|
-
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dt);
|
7190
|
-
}
|
7191
|
-
|
7192
|
-
& .mc-dd {
|
7193
|
-
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dd);
|
7194
|
-
}
|
7318
|
+
.mc-divider_vertical {
|
7319
|
+
border-right-color: map-get($divider, color);
|
7195
7320
|
}
|
7196
7321
|
}
|
7197
7322
|
|
@@ -7202,11 +7327,10 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7202
7327
|
|
7203
7328
|
|
7204
7329
|
|
7205
|
-
|
7206
7330
|
@mixin mc-dropdown-theme($theme) {
|
7207
7331
|
$foreground: map-get($theme, foreground);
|
7208
7332
|
$background: map-get($theme, background);
|
7209
|
-
$
|
7333
|
+
$secondary: map-get($theme, secondary);
|
7210
7334
|
|
7211
7335
|
.mc-dropdown__panel {
|
7212
7336
|
@include popup-params($theme);
|
@@ -7255,7 +7379,7 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7255
7379
|
|
7256
7380
|
.mc-dropdown-trigger.mc-pressed {
|
7257
7381
|
& .mc-button-overlay {
|
7258
|
-
background: mc-color($
|
7382
|
+
background: mc-color($secondary, A100);
|
7259
7383
|
}
|
7260
7384
|
}
|
7261
7385
|
}
|
@@ -7290,7 +7414,7 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7290
7414
|
$background: map-get($theme, background);
|
7291
7415
|
|
7292
7416
|
$primary: map-get($theme, primary);
|
7293
|
-
$
|
7417
|
+
$secondary: map-get($theme, secondary);
|
7294
7418
|
$error: map-get($theme, error);
|
7295
7419
|
|
7296
7420
|
$form-field: map-get(map-get($theme, components), form-field);
|
@@ -7358,8 +7482,8 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7358
7482
|
color: mc-color($primary);
|
7359
7483
|
}
|
7360
7484
|
|
7361
|
-
&.mc-
|
7362
|
-
color: mc-color($
|
7485
|
+
&.mc-secondary {
|
7486
|
+
color: mc-color($secondary);
|
7363
7487
|
}
|
7364
7488
|
|
7365
7489
|
&.mc-error {
|
@@ -7411,6 +7535,157 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7411
7535
|
|
7412
7536
|
|
7413
7537
|
|
7538
|
+
@mixin mc-icon-theme($theme) {
|
7539
|
+
$foreground: map-get($theme, foreground);
|
7540
|
+
|
7541
|
+
$icon: map-get(map-get($theme, components), icon);
|
7542
|
+
|
7543
|
+
$primary: map-get($icon, primary);
|
7544
|
+
$secondary: map-get($icon, secondary);
|
7545
|
+
$error: map-get($icon, error);
|
7546
|
+
$success: map-get($icon, success);
|
7547
|
+
$warning: map-get($icon, warning);
|
7548
|
+
$info: map-get($icon, info);
|
7549
|
+
|
7550
|
+
// Дефолтные серые иконки default-icon: лупа в поле, иконки дропдаунов v, все иконки вне полей.
|
7551
|
+
.mc-icon {
|
7552
|
+
color: mc-color($foreground, icon);
|
7553
|
+
|
7554
|
+
&.mc-primary {
|
7555
|
+
color: map-get($primary, default);
|
7556
|
+
}
|
7557
|
+
|
7558
|
+
&.mc-secondary {
|
7559
|
+
color: map-get($secondary, default);
|
7560
|
+
}
|
7561
|
+
|
7562
|
+
&.mc-error {
|
7563
|
+
color: map-get($error, default);
|
7564
|
+
}
|
7565
|
+
|
7566
|
+
|
7567
|
+
&.mc-info {
|
7568
|
+
color: map-get($info, default);
|
7569
|
+
}
|
7570
|
+
|
7571
|
+
&.mc-warning {
|
7572
|
+
color: map-get($warning, default);
|
7573
|
+
}
|
7574
|
+
|
7575
|
+
&.mc-success {
|
7576
|
+
color: map-get($success, default);
|
7577
|
+
}
|
7578
|
+
|
7579
|
+
&[disabled],
|
7580
|
+
&.mc-disabled {
|
7581
|
+
cursor: default;
|
7582
|
+
}
|
7583
|
+
}
|
7584
|
+
|
7585
|
+
// Облегченные серые иконки less-contrast-icon нужны тогда, когда действие, которое они делают не дефолтное и
|
7586
|
+
// не самое важное. Не используются вне инпутов или селектов.
|
7587
|
+
.mc-icon.mc-icon_light {
|
7588
|
+
&.mc-primary {
|
7589
|
+
&:active,
|
7590
|
+
&.mc-active {
|
7591
|
+
color: map-get($primary, state-active);
|
7592
|
+
}
|
7593
|
+
|
7594
|
+
&:not([disabled], .mc-disabled):hover {
|
7595
|
+
color: map-get($primary, state-hover);
|
7596
|
+
}
|
7597
|
+
|
7598
|
+
&[disabled],
|
7599
|
+
&.mc-disabled {
|
7600
|
+
color: map-get($primary, state-disabled);
|
7601
|
+
}
|
7602
|
+
}
|
7603
|
+
|
7604
|
+
&.mc-secondary {
|
7605
|
+
&:active,
|
7606
|
+
&.mc-active {
|
7607
|
+
color: map-get($secondary, state-active);
|
7608
|
+
}
|
7609
|
+
|
7610
|
+
&:not([disabled], .mc-disabled):hover {
|
7611
|
+
color: map-get($secondary, state-hover);
|
7612
|
+
}
|
7613
|
+
|
7614
|
+
&[disabled],
|
7615
|
+
&.mc-disabled {
|
7616
|
+
color: map-get($secondary, state-disabled);
|
7617
|
+
}
|
7618
|
+
}
|
7619
|
+
|
7620
|
+
&.mc-error {
|
7621
|
+
&:active,
|
7622
|
+
&.mc-active {
|
7623
|
+
color: map-get($error, state-active);
|
7624
|
+
}
|
7625
|
+
|
7626
|
+
&:not([disabled], .mc-disabled):hover {
|
7627
|
+
color: map-get($error, state-hover);
|
7628
|
+
}
|
7629
|
+
|
7630
|
+
&[disabled],
|
7631
|
+
&.mc-disabled {
|
7632
|
+
color: map-get($error, state-disabled);
|
7633
|
+
}
|
7634
|
+
}
|
7635
|
+
|
7636
|
+
&.mc-info {
|
7637
|
+
&:active,
|
7638
|
+
&.mc-active {
|
7639
|
+
color: map-get($info, state-active);
|
7640
|
+
}
|
7641
|
+
|
7642
|
+
&:not([disabled], .mc-disabled):hover {
|
7643
|
+
color: map-get($info, state-hover);
|
7644
|
+
}
|
7645
|
+
|
7646
|
+
&[disabled],
|
7647
|
+
&.mc-disabled {
|
7648
|
+
color: map-get($info, state-disabled);
|
7649
|
+
}
|
7650
|
+
}
|
7651
|
+
|
7652
|
+
&.mc-warning {
|
7653
|
+
&:active,
|
7654
|
+
&.mc-active {
|
7655
|
+
color: map-get($warning, state-active);
|
7656
|
+
}
|
7657
|
+
|
7658
|
+
&:not([disabled], .mc-disabled):hover {
|
7659
|
+
color: map-get($warning, state-hover);
|
7660
|
+
}
|
7661
|
+
|
7662
|
+
&[disabled],
|
7663
|
+
&.mc-disabled {
|
7664
|
+
color: map-get($warning, state-disabled);
|
7665
|
+
}
|
7666
|
+
}
|
7667
|
+
|
7668
|
+
&.mc-success {
|
7669
|
+
&:active,
|
7670
|
+
&.mc-active {
|
7671
|
+
color: map-get($success, state-active);
|
7672
|
+
}
|
7673
|
+
|
7674
|
+
&:not([disabled], .mc-disabled):hover {
|
7675
|
+
color: map-get($success, state-hover);
|
7676
|
+
}
|
7677
|
+
|
7678
|
+
&[disabled],
|
7679
|
+
&.mc-disabled {
|
7680
|
+
color: map-get($success, state-disabled);
|
7681
|
+
}
|
7682
|
+
}
|
7683
|
+
}
|
7684
|
+
}
|
7685
|
+
|
7686
|
+
|
7687
|
+
|
7688
|
+
|
7414
7689
|
|
7415
7690
|
@mixin mc-input-theme($theme) {
|
7416
7691
|
$foreground: map-get($theme, foreground);
|
@@ -7707,134 +7982,9 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7707
7982
|
|
7708
7983
|
|
7709
7984
|
|
7710
|
-
@
|
7711
|
-
$
|
7712
|
-
$
|
7713
|
-
|
7714
|
-
$config: (
|
7715
|
-
md-h1: map-get($md-typography, md-h1),
|
7716
|
-
md-h2: map-get($md-typography, md-h2),
|
7717
|
-
md-h3: map-get($md-typography, md-h3),
|
7718
|
-
md-h4: map-get($md-typography, md-h4),
|
7719
|
-
md-h5: map-get($md-typography, md-h5),
|
7720
|
-
md-h6: map-get($md-typography, md-h6),
|
7721
|
-
|
7722
|
-
md-body: map-get($md-typography, md-body),
|
7723
|
-
md-body-mono: map-get($md-typography, md-body-mono),
|
7724
|
-
md-caption: map-get($md-typography, md-caption),
|
7725
|
-
md-table-cell: map-get($md-typography, md-table-cell),
|
7726
|
-
md-table-header: map-get($md-typography, md-table-header),
|
7727
|
-
);
|
7728
|
-
|
7729
|
-
@each $key, $level in $config {
|
7730
|
-
@if map-get($level, font-family) == null {
|
7731
|
-
$new-level: map-merge($level, (font-family: $font-family));
|
7732
|
-
$config: map-merge($config, ($key: $new-level));
|
7733
|
-
}
|
7734
|
-
}
|
7735
|
-
|
7736
|
-
// Add the base font family to the config.
|
7737
|
-
@return map-merge($config, (font-family: $font-family));
|
7738
|
-
}
|
7739
|
-
|
7740
|
-
@mixin mc-markdown-typography($config) {
|
7741
|
-
.mc-markdown {
|
7742
|
-
.mc-markdown__h1 {
|
7743
|
-
@include mc-typography-level-to-styles($config, $markdown-h1-font-default);
|
7744
|
-
}
|
7745
|
-
|
7746
|
-
.mc-markdown__h2 {
|
7747
|
-
@include mc-typography-level-to-styles($config, $markdown-h2-font-default);
|
7748
|
-
}
|
7749
|
-
|
7750
|
-
.mc-markdown__h3 {
|
7751
|
-
@include mc-typography-level-to-styles($config, $markdown-h3-font-default);
|
7752
|
-
}
|
7753
|
-
|
7754
|
-
.mc-markdown__h4 {
|
7755
|
-
@include mc-typography-level-to-styles($config, $markdown-h4-font-default);
|
7756
|
-
}
|
7757
|
-
|
7758
|
-
.mc-markdown__h5 {
|
7759
|
-
@include mc-typography-level-to-styles($config, $markdown-h5-font-default);
|
7760
|
-
}
|
7761
|
-
|
7762
|
-
.mc-markdown__h6 {
|
7763
|
-
@include mc-typography-level-to-styles($config, $markdown-h6-font-default);
|
7764
|
-
}
|
7765
|
-
|
7766
|
-
.mc-markdown__p {
|
7767
|
-
@include mc-typography-level-to-styles($config, $markdown-p-font-default);
|
7768
|
-
}
|
7769
|
-
|
7770
|
-
.mc-markdown__ul,
|
7771
|
-
.mc-markdown__ol {
|
7772
|
-
@include mc-typography-level-to-styles($config, $markdown-list-font-default);
|
7773
|
-
}
|
7774
|
-
|
7775
|
-
.mc-markdown__blockquote > .mc-markdown__p {
|
7776
|
-
@include mc-typography-level-to-styles($config, $markdown-blockquote-font-default);
|
7777
|
-
}
|
7778
|
-
|
7779
|
-
.mc-markdown__code {
|
7780
|
-
@include mc-typography-level-to-styles($config, $markdown-code-font-default);
|
7781
|
-
}
|
7782
|
-
|
7783
|
-
.mc-markdown__a {
|
7784
|
-
@include mc-typography-level-to-styles($config, $markdown-link-font-default);
|
7785
|
-
}
|
7786
|
-
|
7787
|
-
.mc-markdown__img + em {
|
7788
|
-
@include mc-typography-level-to-styles($config, $markdown-image-font-caption);
|
7789
|
-
}
|
7790
|
-
|
7791
|
-
.mc-markdown__table > .mc-markdown__thead {
|
7792
|
-
@include mc-typography-level-to-styles($config, $markdown-table-font-header);
|
7793
|
-
}
|
7794
|
-
|
7795
|
-
.mc-markdown__table > .mc-markdown__tbody {
|
7796
|
-
@include mc-typography-level-to-styles($config, $markdown-table-font-body);
|
7797
|
-
}
|
7798
|
-
}
|
7799
|
-
}
|
7800
|
-
|
7801
|
-
@mixin mc-markdown-base-typography($config) {
|
7802
|
-
|
7803
|
-
// h1,h2,h3,h4,h5,h6
|
7804
|
-
@for $i from 1 through 6 {
|
7805
|
-
.md-h#{$i} {
|
7806
|
-
@include mc-typography-level-to-styles($config, md-h#{$i});
|
7807
|
-
}
|
7808
|
-
}
|
7809
|
-
|
7810
|
-
.md-body {
|
7811
|
-
@include mc-typography-level-to-styles($config, md-body);
|
7812
|
-
}
|
7813
|
-
|
7814
|
-
.md-body-mono {
|
7815
|
-
@include mc-typography-level-to-styles($config, md-body-mono);
|
7816
|
-
}
|
7817
|
-
|
7818
|
-
.md-caption{
|
7819
|
-
@include mc-typography-level-to-styles($config, md-caption);
|
7820
|
-
}
|
7821
|
-
|
7822
|
-
.md-table-cell{
|
7823
|
-
@include mc-typography-level-to-styles($config, md-table-cell);
|
7824
|
-
}
|
7825
|
-
|
7826
|
-
.md-table-header{
|
7827
|
-
@include mc-typography-level-to-styles($config, md-table-header);
|
7828
|
-
}
|
7829
|
-
}
|
7830
|
-
|
7831
|
-
|
7832
|
-
|
7833
|
-
|
7834
|
-
|
7835
|
-
@mixin mc-modal-theme($theme) {
|
7836
|
-
$foreground: map-get($theme, foreground);
|
7837
|
-
$background: map-get($theme, background);
|
7985
|
+
@mixin mc-modal-theme($theme) {
|
7986
|
+
$foreground: map-get($theme, foreground);
|
7987
|
+
$background: map-get($theme, background);
|
7838
7988
|
|
7839
7989
|
$modal: map-get(map-get($theme, components), modal);
|
7840
7990
|
$popup: map-get(map-get($theme, components), popup);
|
@@ -7917,108 +8067,263 @@ $mc-datepicker-today-fade-amount: 0.2;
|
|
7917
8067
|
|
7918
8068
|
|
7919
8069
|
|
7920
|
-
@mixin mc-navbar-theme($theme) {
|
7921
|
-
$background: map-get($theme, background);
|
7922
|
-
$primary: map-get($theme, primary);
|
7923
8070
|
|
7924
|
-
$navbar: map-get(map-get($theme, components), navbar);
|
7925
|
-
$navbar-item: map-get(map-get($theme, components), navbar-item);
|
7926
8071
|
|
7927
|
-
|
7928
|
-
|
7929
|
-
|
7930
|
-
}
|
8072
|
+
@mixin mc-markdown-theme($theme) {
|
8073
|
+
$foreground: map-get($theme, foreground);
|
8074
|
+
$background: map-get($theme, background);
|
7931
8075
|
|
7932
|
-
|
7933
|
-
background-color: map-get($navbar-item, state-hover);
|
7934
|
-
}
|
8076
|
+
$markdown: map-get(map-get($theme, components), markdown);
|
7935
8077
|
|
7936
|
-
.mc-
|
7937
|
-
|
7938
|
-
|
7939
|
-
}
|
7940
|
-
}
|
8078
|
+
.mc-markdown {
|
8079
|
+
color: map-get($foreground, text);
|
8080
|
+
background: map-get($background, background);;
|
7941
8081
|
|
7942
|
-
|
7943
|
-
|
7944
|
-
|
8082
|
+
// h1, h2, h3, h4, h5, h6
|
8083
|
+
@for $i from 1 through 6 {
|
8084
|
+
.mc-markdown__h#{$i} {
|
8085
|
+
color: map-get($markdown, h#{$i}-color);
|
8086
|
+
}
|
8087
|
+
}
|
7945
8088
|
|
7946
|
-
|
7947
|
-
|
7948
|
-
|
7949
|
-
color: map-get($navbar-item, color);
|
8089
|
+
.mc-markdown__p {
|
8090
|
+
color: map-get($markdown, p-color);
|
8091
|
+
}
|
7950
8092
|
|
7951
|
-
|
7952
|
-
|
8093
|
+
.mc-markdown__ul,
|
8094
|
+
.mc-markdown__ol {
|
8095
|
+
color: map-get($markdown, list-color);
|
7953
8096
|
}
|
7954
8097
|
|
7955
|
-
|
7956
|
-
color: map-get($
|
8098
|
+
.mc-markdown__blockquote {
|
8099
|
+
color: map-get($markdown, blockquote-text);
|
8100
|
+
background: map-get($markdown, blockquote-background);
|
8101
|
+
border-color: map-get($markdown, blockquote-border);
|
8102
|
+
border-left-color: map-get($markdown, blockquote-line);
|
7957
8103
|
}
|
7958
8104
|
|
7959
|
-
|
7960
|
-
|
8105
|
+
.mc-markdown__pre,
|
8106
|
+
.mc-markdown__p > .mc-markdown__code {
|
8107
|
+
color: map-get($markdown, code-text);
|
8108
|
+
background-color: map-get($markdown, code-background);
|
8109
|
+
border-color: map-get($markdown, code-border);
|
7961
8110
|
}
|
7962
8111
|
|
7963
|
-
|
7964
|
-
|
8112
|
+
.mc-markdown__a {
|
8113
|
+
color: map-get($markdown, link-text);
|
8114
|
+
border-bottom-color: map-get($markdown, link-border-bottom);
|
7965
8115
|
|
7966
|
-
|
7967
|
-
|
8116
|
+
&:visited {
|
8117
|
+
color: map-get($markdown, link-state-visited-text);
|
8118
|
+
border-bottom-color: map-get($markdown, link-state-visited-border-bottom);
|
7968
8119
|
}
|
7969
|
-
}
|
7970
8120
|
|
7971
|
-
|
7972
|
-
|
7973
|
-
|
8121
|
+
&:hover {
|
8122
|
+
color: map-get($markdown, link-state-hover-text);
|
8123
|
+
transition: color 0ms;
|
8124
|
+
border-bottom-color: map-get($markdown, link-state-hover-border-bottom);
|
7974
8125
|
}
|
7975
|
-
}
|
7976
8126
|
|
7977
|
-
|
7978
|
-
|
7979
|
-
|
8127
|
+
&:active {
|
8128
|
+
color: map-get($markdown, link-state-active-text);
|
8129
|
+
}
|
7980
8130
|
|
7981
|
-
|
7982
|
-
|
7983
|
-
|
8131
|
+
&:focus {
|
8132
|
+
outline:
|
8133
|
+
map-get($markdown, link-state-focused-outline)
|
8134
|
+
solid
|
8135
|
+
$markdown-link-size-state-focused-outline-width;
|
8136
|
+
|
8137
|
+
outline-offset: $markdown-link-size-state-focused-outline-offset;
|
7984
8138
|
}
|
7985
8139
|
}
|
7986
|
-
}
|
7987
8140
|
|
7988
|
-
|
7989
|
-
|
8141
|
+
.mc-markdown__img + em {
|
8142
|
+
color: map-get($markdown, image-caption-text);
|
8143
|
+
}
|
7990
8144
|
|
7991
|
-
|
7992
|
-
|
7993
|
-
box-shadow:
|
7994
|
-
inset 0 0 0 2px map-get(map-get($theme, states), focused-color),
|
7995
|
-
inset 0 0 0 3px map-get($background, background);
|
8145
|
+
.mc-markdown__hr {
|
8146
|
+
border-bottom-color: map-get($markdown, hr-color);
|
7996
8147
|
}
|
7997
|
-
/* stylelint-enable no-descending-specificity */
|
7998
|
-
}
|
7999
8148
|
|
8000
|
-
|
8001
|
-
|
8002
|
-
|
8003
|
-
}
|
8149
|
+
.mc-markdown__table > .mc-markdown__thead {
|
8150
|
+
color: map-get($markdown, table-header);
|
8151
|
+
border-bottom-color: map-get($markdown, table-border);
|
8152
|
+
}
|
8004
8153
|
|
8005
|
-
|
8006
|
-
|
8007
|
-
|
8008
|
-
&.mc-navbar-toggle {
|
8009
|
-
background: transparent;
|
8010
|
-
border: none;
|
8154
|
+
.mc-markdown__table > .mc-markdown__tbody {
|
8155
|
+
color: map-get($markdown, table-body);
|
8156
|
+
}
|
8011
8157
|
}
|
8012
8158
|
}
|
8013
8159
|
|
8014
|
-
@mixin mc-
|
8015
|
-
.mc-
|
8016
|
-
|
8017
|
-
|
8018
|
-
|
8019
|
-
|
8020
|
-
|
8021
|
-
|
8160
|
+
@mixin mc-markdown-typography($config) {
|
8161
|
+
.mc-markdown {
|
8162
|
+
.mc-markdown__h1 {
|
8163
|
+
@include mc-typography-level-to-styles($config, $markdown-h1-font-default);
|
8164
|
+
}
|
8165
|
+
|
8166
|
+
.mc-markdown__h2 {
|
8167
|
+
@include mc-typography-level-to-styles($config, $markdown-h2-font-default);
|
8168
|
+
}
|
8169
|
+
|
8170
|
+
.mc-markdown__h3 {
|
8171
|
+
@include mc-typography-level-to-styles($config, $markdown-h3-font-default);
|
8172
|
+
}
|
8173
|
+
|
8174
|
+
.mc-markdown__h4 {
|
8175
|
+
@include mc-typography-level-to-styles($config, $markdown-h4-font-default);
|
8176
|
+
}
|
8177
|
+
|
8178
|
+
.mc-markdown__h5 {
|
8179
|
+
@include mc-typography-level-to-styles($config, $markdown-h5-font-default);
|
8180
|
+
}
|
8181
|
+
|
8182
|
+
.mc-markdown__h6 {
|
8183
|
+
@include mc-typography-level-to-styles($config, $markdown-h6-font-default);
|
8184
|
+
}
|
8185
|
+
|
8186
|
+
.mc-markdown__p {
|
8187
|
+
@include mc-typography-level-to-styles($config, $markdown-p-font-default);
|
8188
|
+
}
|
8189
|
+
|
8190
|
+
.mc-markdown__ul,
|
8191
|
+
.mc-markdown__ol {
|
8192
|
+
@include mc-typography-level-to-styles($config, $markdown-list-font-default);
|
8193
|
+
}
|
8194
|
+
|
8195
|
+
.mc-markdown__blockquote > .mc-markdown__p {
|
8196
|
+
@include mc-typography-level-to-styles($config, $markdown-blockquote-font-default);
|
8197
|
+
}
|
8198
|
+
|
8199
|
+
.mc-markdown__code {
|
8200
|
+
@include mc-typography-level-to-styles($config, $markdown-code-font-default);
|
8201
|
+
}
|
8202
|
+
|
8203
|
+
.mc-markdown__a {
|
8204
|
+
@include mc-typography-level-to-styles($config, $markdown-link-font-default);
|
8205
|
+
}
|
8206
|
+
|
8207
|
+
.mc-markdown__img + em {
|
8208
|
+
@include mc-typography-level-to-styles($config, $markdown-image-font-caption);
|
8209
|
+
}
|
8210
|
+
|
8211
|
+
.mc-markdown__table > .mc-markdown__thead {
|
8212
|
+
@include mc-typography-level-to-styles($config, $markdown-table-font-header);
|
8213
|
+
}
|
8214
|
+
|
8215
|
+
.mc-markdown__table > .mc-markdown__tbody {
|
8216
|
+
@include mc-typography-level-to-styles($config, $markdown-table-font-body);
|
8217
|
+
}
|
8218
|
+
}
|
8219
|
+
}
|
8220
|
+
|
8221
|
+
|
8222
|
+
|
8223
|
+
|
8224
|
+
|
8225
|
+
@mixin mc-navbar-theme($theme) {
|
8226
|
+
$background: map-get($theme, background);
|
8227
|
+
$primary: map-get($theme, primary);
|
8228
|
+
|
8229
|
+
$navbar: map-get(map-get($theme, components), navbar);
|
8230
|
+
$navbar-item: map-get(map-get($theme, components), navbar-item);
|
8231
|
+
|
8232
|
+
.mc-navbar,
|
8233
|
+
.mc-vertical-navbar .mc-vertical-navbar__container {
|
8234
|
+
background-color: map-get($navbar, background);
|
8235
|
+
}
|
8236
|
+
|
8237
|
+
.mc-navbar-brand.mc-hovered:not(.mc-collapsed) {
|
8238
|
+
background-color: map-get($navbar-item, state-hover);
|
8239
|
+
}
|
8240
|
+
|
8241
|
+
.mc-navbar-brand.mc-vertical.mc-collapsed {
|
8242
|
+
& .mc-navbar-logo:hover {
|
8243
|
+
background-color: map-get($navbar-item, state-hover);
|
8244
|
+
}
|
8245
|
+
}
|
8246
|
+
|
8247
|
+
.mc-navbar-title {
|
8248
|
+
color: map-get($navbar-item, color);
|
8249
|
+
}
|
8250
|
+
|
8251
|
+
.mc-navbar-item,
|
8252
|
+
.mc-navbar-brand,
|
8253
|
+
.mc-navbar-toggle {
|
8254
|
+
color: map-get($navbar-item, color);
|
8255
|
+
|
8256
|
+
& > .mc-icon {
|
8257
|
+
color: map-get($navbar-item, icon-color);
|
8258
|
+
}
|
8259
|
+
|
8260
|
+
& .mc-navbar-item__arrow-icon {
|
8261
|
+
color: map-get($navbar-item, color);
|
8262
|
+
}
|
8263
|
+
|
8264
|
+
&.mc-active {
|
8265
|
+
background: map-get($navbar-item, state-selected);
|
8266
|
+
}
|
8267
|
+
|
8268
|
+
&:hover:not(.mc-navbar-item_button) {
|
8269
|
+
cursor: pointer;
|
8270
|
+
|
8271
|
+
& .mc-navbar-item__overlay {
|
8272
|
+
background-color: map-get($navbar-item, state-hover);
|
8273
|
+
}
|
8274
|
+
}
|
8275
|
+
|
8276
|
+
&:active:not(.mc-navbar-item_button) {
|
8277
|
+
& .mc-navbar-item__overlay {
|
8278
|
+
background: map-get($navbar-item, state-active);
|
8279
|
+
}
|
8280
|
+
}
|
8281
|
+
|
8282
|
+
&[disabled] {
|
8283
|
+
pointer-events: none;
|
8284
|
+
cursor: default;
|
8285
|
+
|
8286
|
+
.mc-navbar-item__title,
|
8287
|
+
.mc-icon {
|
8288
|
+
opacity: map-get($navbar-item, state-disabled-opacity);
|
8289
|
+
}
|
8290
|
+
}
|
8291
|
+
}
|
8292
|
+
|
8293
|
+
.mc-navbar-focusable-item {
|
8294
|
+
outline: none;
|
8295
|
+
|
8296
|
+
/* stylelint-disable no-descending-specificity */
|
8297
|
+
&.cdk-keyboard-focused .mc-navbar-item__overlay {
|
8298
|
+
box-shadow:
|
8299
|
+
inset 0 0 0 2px map-get(map-get($theme, states), focused-color),
|
8300
|
+
inset 0 0 0 3px map-get($background, background);
|
8301
|
+
}
|
8302
|
+
/* stylelint-enable no-descending-specificity */
|
8303
|
+
}
|
8304
|
+
|
8305
|
+
.mc-navbar-divider {
|
8306
|
+
background-color: map-get($navbar, divider-background);
|
8307
|
+
}
|
8308
|
+
}
|
8309
|
+
|
8310
|
+
button {
|
8311
|
+
&.mc-navbar-item,
|
8312
|
+
&.mc-navbar-brand,
|
8313
|
+
&.mc-navbar-toggle {
|
8314
|
+
background: transparent;
|
8315
|
+
border: none;
|
8316
|
+
}
|
8317
|
+
}
|
8318
|
+
|
8319
|
+
@mixin mc-navbar-typography($config) {
|
8320
|
+
.mc-navbar-title {
|
8321
|
+
@include mc-typography-level-to-styles($config, $navbar-font-title);
|
8322
|
+
}
|
8323
|
+
|
8324
|
+
.mc-navbar-subtitle {
|
8325
|
+
@include mc-typography-level-to-styles($config, extra-small-text);
|
8326
|
+
}
|
8022
8327
|
|
8023
8328
|
.mc-navbar-brand {
|
8024
8329
|
.mc-navbar-title {
|
@@ -8144,6 +8449,56 @@ button {
|
|
8144
8449
|
|
8145
8450
|
|
8146
8451
|
|
8452
|
+
@mixin mc-progress-bar-theme($theme) {
|
8453
|
+
$primary: map-get($theme, primary);
|
8454
|
+
$secondary: map-get($theme, secondary);
|
8455
|
+
$error: map-get($theme, error);
|
8456
|
+
|
8457
|
+
$progress-bar: map-get(map-get($theme, components), progress-bar);
|
8458
|
+
|
8459
|
+
.mc-progress-bar {
|
8460
|
+
background-color: map-get($progress-bar, background);
|
8461
|
+
|
8462
|
+
&.mc-primary .mc-progress-bar__line {
|
8463
|
+
background-color: mc-color($primary);
|
8464
|
+
}
|
8465
|
+
|
8466
|
+
&.mc-secondary .mc-progress-bar__line {
|
8467
|
+
background-color: mc-color($secondary);
|
8468
|
+
}
|
8469
|
+
|
8470
|
+
&.mc-error .mc-progress-bar__line {
|
8471
|
+
background-color: mc-color($error);
|
8472
|
+
}
|
8473
|
+
}
|
8474
|
+
}
|
8475
|
+
|
8476
|
+
|
8477
|
+
|
8478
|
+
|
8479
|
+
@mixin mc-progress-spinner-theme($theme) {
|
8480
|
+
$primary: map-get($theme, primary);
|
8481
|
+
$secondary: map-get($theme, secondary);
|
8482
|
+
$error: map-get($theme, error);
|
8483
|
+
|
8484
|
+
.mc-progress-spinner {
|
8485
|
+
&.mc-primary .mc-progress-spinner__circle {
|
8486
|
+
stroke: mc-color($primary);
|
8487
|
+
}
|
8488
|
+
|
8489
|
+
&.mc-secondary .mc-progress-spinner__circle {
|
8490
|
+
stroke: mc-color($secondary);
|
8491
|
+
}
|
8492
|
+
|
8493
|
+
&.mc-error .mc-progress-spinner__circle {
|
8494
|
+
stroke: mc-color($error);
|
8495
|
+
}
|
8496
|
+
}
|
8497
|
+
}
|
8498
|
+
|
8499
|
+
|
8500
|
+
|
8501
|
+
|
8147
8502
|
|
8148
8503
|
@mixin mc-radio-theme($theme) {
|
8149
8504
|
$foreground: map-get($theme, foreground);
|
@@ -8352,6 +8707,33 @@ button {
|
|
8352
8707
|
}
|
8353
8708
|
}
|
8354
8709
|
|
8710
|
+
@mixin mc-splitter-theme($theme) {
|
8711
|
+
$background: map-get($theme, background);
|
8712
|
+
|
8713
|
+
.mc-gutter {
|
8714
|
+
cursor: col-resize;
|
8715
|
+
|
8716
|
+
&:hover,
|
8717
|
+
&.mc-gutter_dragged {
|
8718
|
+
background-color: map-get($background, background-disabled);
|
8719
|
+
}
|
8720
|
+
|
8721
|
+
&.mc-gutter_vertical {
|
8722
|
+
cursor: row-resize;
|
8723
|
+
}
|
8724
|
+
|
8725
|
+
&[disabled] {
|
8726
|
+
background-color: mc-color($background, overlay-disabled);
|
8727
|
+
|
8728
|
+
cursor: default;
|
8729
|
+
}
|
8730
|
+
}
|
8731
|
+
|
8732
|
+
.mc-gutter-ghost {
|
8733
|
+
background: mc-color($background, overlay-disabled);
|
8734
|
+
}
|
8735
|
+
}
|
8736
|
+
|
8355
8737
|
|
8356
8738
|
|
8357
8739
|
|
@@ -8592,109 +8974,20 @@ button {
|
|
8592
8974
|
|
8593
8975
|
|
8594
8976
|
|
8595
|
-
@mixin mc-timezone-option-theme($theme) {
|
8596
|
-
$timezone: map-get(map-get($theme, components), timezone);
|
8597
8977
|
|
8598
|
-
.mc-timezone-option__offset,
|
8599
|
-
.mc-timezone-option__city {
|
8600
|
-
color: map-get($timezone, text);
|
8601
|
-
}
|
8602
8978
|
|
8603
|
-
|
8604
|
-
|
8979
|
+
@mixin mc-tag-color($params) {
|
8980
|
+
background: map-get($params, background);
|
8981
|
+
border-color: map-get($params, border);
|
8982
|
+
|
8983
|
+
& .mc-tag__text {
|
8984
|
+
color: map-get($params, text);
|
8605
8985
|
}
|
8606
|
-
}
|
8607
8986
|
|
8608
|
-
|
8609
|
-
|
8610
|
-
|
8611
|
-
|
8612
|
-
|
8613
|
-
.mc-timezone-option__city {
|
8614
|
-
@include mc-typography-level-to-styles($config, $timezone-option-font-text);
|
8615
|
-
}
|
8616
|
-
|
8617
|
-
.mc-timezone-option__cities {
|
8618
|
-
@include mc-typography-level-to-styles($config, $timezone-option-font-caption);
|
8619
|
-
}
|
8620
|
-
}
|
8621
|
-
|
8622
|
-
|
8623
|
-
|
8624
|
-
|
8625
|
-
|
8626
|
-
@mixin mc-toast-theme($theme) {
|
8627
|
-
$foreground: map-get($theme, foreground);
|
8628
|
-
|
8629
|
-
$toast: map-get(map-get($theme, components), toast);
|
8630
|
-
|
8631
|
-
.mc-toast {
|
8632
|
-
&.mc-toast_info .mc-toast__icon {
|
8633
|
-
color: map-get($toast, icon_info);
|
8634
|
-
}
|
8635
|
-
|
8636
|
-
&.mc-toast_success .mc-toast__icon {
|
8637
|
-
color: map-get($toast, icon_success);
|
8638
|
-
}
|
8639
|
-
|
8640
|
-
&.mc-toast_warning .mc-toast__icon {
|
8641
|
-
color: map-get($toast, icon_warning);
|
8642
|
-
}
|
8643
|
-
|
8644
|
-
&.mc-toast_error .mc-toast__icon {
|
8645
|
-
color: map-get($toast, icon_error);
|
8646
|
-
}
|
8647
|
-
}
|
8648
|
-
|
8649
|
-
.mc-toast__wrapper {
|
8650
|
-
border-color: map-get($toast, border);
|
8651
|
-
|
8652
|
-
background: map-get($toast, background);
|
8653
|
-
|
8654
|
-
box-shadow: map-get($toast, shadow);
|
8655
|
-
}
|
8656
|
-
|
8657
|
-
.mc-toast__title {
|
8658
|
-
color: map-get($toast, text);
|
8659
|
-
}
|
8660
|
-
|
8661
|
-
.mc-toast__caption {
|
8662
|
-
color: map-get($toast, text-caption);
|
8663
|
-
}
|
8664
|
-
}
|
8665
|
-
|
8666
|
-
@mixin mc-toast-typography($config) {
|
8667
|
-
.mc-toast {
|
8668
|
-
@include mc-typography-level-to-styles($config, body);
|
8669
|
-
}
|
8670
|
-
|
8671
|
-
.mc-toast__title {
|
8672
|
-
@include mc-typography-level-to-styles($config, $toast-font-title);
|
8673
|
-
}
|
8674
|
-
|
8675
|
-
.mc-toast__caption {
|
8676
|
-
@include mc-typography-level-to-styles($config, $toast-font-caption);
|
8677
|
-
}
|
8678
|
-
}
|
8679
|
-
|
8680
|
-
|
8681
|
-
|
8682
|
-
|
8683
|
-
|
8684
|
-
|
8685
|
-
|
8686
|
-
@mixin mc-tag-color($params) {
|
8687
|
-
background: map-get($params, background);
|
8688
|
-
border-color: map-get($params, border);
|
8689
|
-
|
8690
|
-
& .mc-tag__text {
|
8691
|
-
color: map-get($params, text);
|
8692
|
-
}
|
8693
|
-
|
8694
|
-
&.mc-active,
|
8695
|
-
&.mc-focused {
|
8696
|
-
border-color: map-get($params, focused);
|
8697
|
-
box-shadow: 0 0 0 1px map-get($params, focused);
|
8987
|
+
&.mc-active,
|
8988
|
+
&.mc-focused {
|
8989
|
+
border-color: map-get($params, focused);
|
8990
|
+
box-shadow: 0 0 0 1px map-get($params, focused);
|
8698
8991
|
}
|
8699
8992
|
|
8700
8993
|
&:not(.mc-disabled) .mc-icon {
|
@@ -8724,10 +9017,6 @@ button {
|
|
8724
9017
|
$foreground: map-get($theme, foreground);
|
8725
9018
|
$background: map-get($theme, background);
|
8726
9019
|
|
8727
|
-
$primary: map-get($theme, primary);
|
8728
|
-
$second: map-get($theme, second);
|
8729
|
-
$error: map-get($theme, error);
|
8730
|
-
|
8731
9020
|
$tags: map-get(map-get($theme, components), tags);
|
8732
9021
|
|
8733
9022
|
.mc-tag {
|
@@ -8735,8 +9024,8 @@ button {
|
|
8735
9024
|
@include mc-tag-color(map-get($tags, primary));
|
8736
9025
|
}
|
8737
9026
|
|
8738
|
-
&.mc-
|
8739
|
-
@include mc-tag-color(map-get($tags,
|
9027
|
+
&.mc-secondary {
|
9028
|
+
@include mc-tag-color(map-get($tags, secondary));
|
8740
9029
|
}
|
8741
9030
|
|
8742
9031
|
&.mc-error {
|
@@ -8839,6 +9128,95 @@ button {
|
|
8839
9128
|
|
8840
9129
|
|
8841
9130
|
|
9131
|
+
@mixin mc-timezone-option-theme($theme) {
|
9132
|
+
$timezone: map-get(map-get($theme, components), timezone);
|
9133
|
+
|
9134
|
+
.mc-timezone-option__offset,
|
9135
|
+
.mc-timezone-option__city {
|
9136
|
+
color: map-get($timezone, text);
|
9137
|
+
}
|
9138
|
+
|
9139
|
+
.mc-timezone-option__cities {
|
9140
|
+
color: map-get($timezone, caption);
|
9141
|
+
}
|
9142
|
+
}
|
9143
|
+
|
9144
|
+
@mixin mc-timezone-option-typography($config) {
|
9145
|
+
.mc-timezone-option__offset {
|
9146
|
+
@include mc-typography-level-to-styles($config, $timezone-option-font-offset-text);
|
9147
|
+
}
|
9148
|
+
|
9149
|
+
.mc-timezone-option__city {
|
9150
|
+
@include mc-typography-level-to-styles($config, $timezone-option-font-text);
|
9151
|
+
}
|
9152
|
+
|
9153
|
+
.mc-timezone-option__cities {
|
9154
|
+
@include mc-typography-level-to-styles($config, $timezone-option-font-caption);
|
9155
|
+
}
|
9156
|
+
}
|
9157
|
+
|
9158
|
+
|
9159
|
+
|
9160
|
+
|
9161
|
+
|
9162
|
+
@mixin mc-toast-theme($theme) {
|
9163
|
+
$foreground: map-get($theme, foreground);
|
9164
|
+
|
9165
|
+
$toast: map-get(map-get($theme, components), toast);
|
9166
|
+
|
9167
|
+
.mc-toast {
|
9168
|
+
&.mc-toast_info .mc-toast__icon {
|
9169
|
+
color: map-get($toast, icon_info);
|
9170
|
+
}
|
9171
|
+
|
9172
|
+
&.mc-toast_success .mc-toast__icon {
|
9173
|
+
color: map-get($toast, icon_success);
|
9174
|
+
}
|
9175
|
+
|
9176
|
+
&.mc-toast_warning .mc-toast__icon {
|
9177
|
+
color: map-get($toast, icon_warning);
|
9178
|
+
}
|
9179
|
+
|
9180
|
+
&.mc-toast_error .mc-toast__icon {
|
9181
|
+
color: map-get($toast, icon_error);
|
9182
|
+
}
|
9183
|
+
}
|
9184
|
+
|
9185
|
+
.mc-toast__wrapper {
|
9186
|
+
border-color: map-get($toast, border);
|
9187
|
+
|
9188
|
+
background: map-get($toast, background);
|
9189
|
+
|
9190
|
+
box-shadow: map-get($toast, shadow);
|
9191
|
+
}
|
9192
|
+
|
9193
|
+
.mc-toast__title {
|
9194
|
+
color: map-get($toast, text);
|
9195
|
+
}
|
9196
|
+
|
9197
|
+
.mc-toast__caption {
|
9198
|
+
color: map-get($toast, text-caption);
|
9199
|
+
}
|
9200
|
+
}
|
9201
|
+
|
9202
|
+
@mixin mc-toast-typography($config) {
|
9203
|
+
.mc-toast {
|
9204
|
+
@include mc-typography-level-to-styles($config, body);
|
9205
|
+
}
|
9206
|
+
|
9207
|
+
.mc-toast__title {
|
9208
|
+
@include mc-typography-level-to-styles($config, $toast-font-title);
|
9209
|
+
}
|
9210
|
+
|
9211
|
+
.mc-toast__caption {
|
9212
|
+
@include mc-typography-level-to-styles($config, $toast-font-caption);
|
9213
|
+
}
|
9214
|
+
}
|
9215
|
+
|
9216
|
+
|
9217
|
+
|
9218
|
+
|
9219
|
+
|
8842
9220
|
|
8843
9221
|
|
8844
9222
|
@mixin mc-toggle-theme($theme) {
|
@@ -9190,7 +9568,7 @@ button {
|
|
9190
9568
|
$foreground: map-get($theme, foreground);
|
9191
9569
|
$background: map-get($theme, background);
|
9192
9570
|
|
9193
|
-
$
|
9571
|
+
$secondary: map-get($theme, secondary);
|
9194
9572
|
|
9195
9573
|
$is-dark: map-get($theme, is-dark);
|
9196
9574
|
|
@@ -9202,707 +9580,108 @@ button {
|
|
9202
9580
|
color: map-get($foreground, text);
|
9203
9581
|
|
9204
9582
|
&:hover {
|
9205
|
-
background-color: map-get($background, overlay-hover);
|
9206
|
-
}
|
9207
|
-
|
9208
|
-
&.mc-focused {
|
9209
|
-
border-color: map-get(map-get($theme, states), focused-color);
|
9210
|
-
|
9211
|
-
& .mc-tree-node-toggle:not([disabled]) .mc-icon {
|
9212
|
-
color: mc-color($second, if($is-dark, 300, 700));
|
9213
|
-
}
|
9214
|
-
}
|
9215
|
-
|
9216
|
-
&.mc-selected {
|
9217
|
-
background: map-get(map-get($theme, states), selected-color);
|
9218
|
-
}
|
9219
|
-
|
9220
|
-
&[disabled] {
|
9221
|
-
background-color: transparent;
|
9222
|
-
|
9223
|
-
color: map-get($foreground, text-disabled);
|
9224
|
-
}
|
9225
|
-
}
|
9226
|
-
|
9227
|
-
/* stylelint-disable no-descending-specificity */
|
9228
|
-
.mc-tree-node-toggle {
|
9229
|
-
& .mc-icon {
|
9230
|
-
color: mc-color($second, 400);
|
9231
|
-
}
|
9232
|
-
|
9233
|
-
&:hover .mc-icon {
|
9234
|
-
color: mc-color($second, if($is-dark, 300, 700));
|
9235
|
-
}
|
9236
|
-
|
9237
|
-
&[disabled] .mc-icon {
|
9238
|
-
color: mc-color($second, if($is-dark, 700, 300));
|
9239
|
-
}
|
9240
|
-
}
|
9241
|
-
/* stylelint-enable no-descending-specificity */
|
9242
|
-
}
|
9243
|
-
|
9244
|
-
@mixin mc-tree-typography($config) {
|
9245
|
-
.mc-tree-option {
|
9246
|
-
@include mc-typography-level-to-styles($config, $tree-font-node);
|
9247
|
-
}
|
9248
|
-
}
|
9249
|
-
|
9250
|
-
|
9251
|
-
|
9252
|
-
|
9253
|
-
|
9254
|
-
@mixin mc-table-theme($theme) {
|
9255
|
-
$foreground: map-get($theme, foreground);
|
9256
|
-
$background: map-get($theme, background);
|
9257
|
-
|
9258
|
-
.mc-table {
|
9259
|
-
& > thead {
|
9260
|
-
color: map-get($foreground, text-less-contrast);
|
9261
|
-
|
9262
|
-
& > tr > th {
|
9263
|
-
border-color: map-get($foreground, divider);
|
9264
|
-
}
|
9265
|
-
}
|
9266
|
-
|
9267
|
-
& > tbody {
|
9268
|
-
& > tr {
|
9269
|
-
&:hover {
|
9270
|
-
background-color: map-get($background, overlay-hover);
|
9271
|
-
}
|
9272
|
-
|
9273
|
-
& > th,
|
9274
|
-
& > td {
|
9275
|
-
color: map-get($foreground, text);
|
9276
|
-
}
|
9277
|
-
}
|
9278
|
-
}
|
9279
|
-
|
9280
|
-
&.mc-table_bordered {
|
9281
|
-
& > tbody > tr {
|
9282
|
-
& th,
|
9283
|
-
& td {
|
9284
|
-
border-color: map-get($foreground, divider);
|
9285
|
-
}
|
9286
|
-
}
|
9287
|
-
}
|
9288
|
-
}
|
9289
|
-
}
|
9290
|
-
|
9291
|
-
@mixin mc-table-typography($config) {
|
9292
|
-
.mc-table {
|
9293
|
-
& > thead {
|
9294
|
-
& > tr > th {
|
9295
|
-
font-weight: normal;
|
9296
|
-
}
|
9297
|
-
|
9298
|
-
@include mc-typography-level-to-styles($config, $table-font-header);
|
9299
|
-
}
|
9300
|
-
|
9301
|
-
& > tbody {
|
9302
|
-
& > tr > th {
|
9303
|
-
font-weight: normal;
|
9304
|
-
}
|
9305
|
-
|
9306
|
-
@include mc-typography-level-to-styles($config, $table-font-body);
|
9307
|
-
}
|
9308
|
-
}
|
9309
|
-
}
|
9310
|
-
|
9311
|
-
|
9312
|
-
|
9313
|
-
|
9314
|
-
|
9315
|
-
|
9316
|
-
@mixin mosaic-typography($config: null) {
|
9317
|
-
@if $config == null {
|
9318
|
-
$config: mc-typography-config();
|
9319
|
-
}
|
9320
|
-
|
9321
|
-
@include mc-base-typography($config);
|
9322
|
-
|
9323
|
-
@include mc-alert-typography($config);
|
9324
|
-
@include mc-badge-typography($config);
|
9325
|
-
@include mc-button-typography($config);
|
9326
|
-
@include mc-checkbox-typography($config);
|
9327
|
-
@include mc-code-block-typography($config);
|
9328
|
-
@include mc-datepicker-typography($config);
|
9329
|
-
@include mc-dropdown-typography($config);
|
9330
|
-
@include mc-dl-typography($config);
|
9331
|
-
@include mc-form-field-typography($config);
|
9332
|
-
@include mc-forms-typography($config);
|
9333
|
-
@include mc-input-typography($config);
|
9334
|
-
@include mc-link-typography($config);
|
9335
|
-
@include mc-list-typography($config);
|
9336
|
-
@include mc-loader-overlay-typography($config);
|
9337
|
-
@include mc-modal-typography($config);
|
9338
|
-
@include mc-navbar-typography($config);
|
9339
|
-
@include mc-option-typography($config);
|
9340
|
-
@include mc-optgroup-typography($config);
|
9341
|
-
@include mc-popover-typography($config);
|
9342
|
-
@include mc-radio-typography($config);
|
9343
|
-
@include mc-select-typography($config);
|
9344
|
-
@include mc-sidepanel-typography($config);
|
9345
|
-
@include mc-tabs-typography($config);
|
9346
|
-
@include mc-tag-typography($config);
|
9347
|
-
@include mc-textarea-typography($config);
|
9348
|
-
@include mc-timezone-option-typography($config);
|
9349
|
-
@include mc-toast-typography($config);
|
9350
|
-
@include mc-toggle-typography($config);
|
9351
|
-
@include mc-tooltip-typography($config);
|
9352
|
-
@include mc-tree-select-typography($config);
|
9353
|
-
@include mc-tree-typography($config);
|
9354
|
-
@include mc-table-typography($config);
|
9355
|
-
|
9356
|
-
$md-config: mc-markdown-typography-config();
|
9357
|
-
@include mc-markdown-base-typography($md-config);
|
9358
|
-
@include mc-markdown-typography($md-config);
|
9359
|
-
}
|
9360
|
-
|
9361
|
-
|
9362
|
-
|
9363
|
-
|
9364
|
-
|
9365
|
-
|
9366
|
-
/// Replace `$search` with `$replace` in `$string`
|
9367
|
-
/// @author Kitty Giraudel
|
9368
|
-
/// @param {String} $string - Initial string
|
9369
|
-
/// @param {String} $search - Substring to replace
|
9370
|
-
/// @param {String} $replace ('') - New value
|
9371
|
-
/// @return {String} - Updated string
|
9372
|
-
@function str-replace($string, $search, $replace: '') {
|
9373
|
-
$index: str-index($string, $search);
|
9374
|
-
|
9375
|
-
@if $index {
|
9376
|
-
@return str-slice($string, 1, $index - 1) + $replace +
|
9377
|
-
str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
9378
|
-
}
|
9379
|
-
|
9380
|
-
@return $string;
|
9381
|
-
}
|
9382
|
-
|
9383
|
-
|
9384
|
-
.mc-scrollbar {
|
9385
|
-
//firefox
|
9386
|
-
scrollbar-width: auto;
|
9387
|
-
|
9388
|
-
// webkit
|
9389
|
-
&::-webkit-scrollbar,
|
9390
|
-
::-webkit-scrollbar {
|
9391
|
-
width: var(--mc-scrollbar-size-track-width, $scrollbar-size-track-width);
|
9392
|
-
}
|
9393
|
-
|
9394
|
-
&::-webkit-scrollbar-thumb,
|
9395
|
-
::-webkit-scrollbar-thumb {
|
9396
|
-
width: var(--mc-scrollbar-size-thumb-width, $scrollbar-size-thumb-width);
|
9397
|
-
border-width: var(--mc-scrollbar-size-thumb-inset-border-width, $scrollbar-size-thumb-border-width);
|
9398
|
-
border-radius: var(--mc-scrollbar-size-thumb-inset-border-radius, $scrollbar-size-thumb-border-radius);
|
9399
|
-
}
|
9400
|
-
|
9401
|
-
&::-webkit-scrollbar-button,
|
9402
|
-
::-webkit-scrollbar-button {
|
9403
|
-
display: none;
|
9404
|
-
|
9405
|
-
height: var(--mc-scrollbar-size-arrow-icon-height, $scrollbar-size-arrow-icon-height);
|
9406
|
-
width: var(--mc-scrollbar-size-arrow-icon-width, $scrollbar-size-arrow-icon-width);
|
9407
|
-
}
|
9408
|
-
}
|
9409
|
-
|
9410
|
-
@mixin mc-scrollbar-theme($theme) {
|
9411
|
-
$scrollbar: map-get(map-get($theme, components), scrollbar);
|
9412
|
-
$thumb: map-get($scrollbar, thumb);
|
9413
|
-
$arrow: map-get($scrollbar, arrow);
|
9414
|
-
|
9415
|
-
.mc-scrollbar {
|
9416
|
-
|
9417
|
-
// firefox
|
9418
|
-
scrollbar-color: map-get($thumb, normal) map-get($scrollbar, track);
|
9419
|
-
|
9420
|
-
// webkit
|
9421
|
-
&::-webkit-scrollbar,
|
9422
|
-
::-webkit-scrollbar {
|
9423
|
-
background-color: map-get($scrollbar, track);
|
9424
|
-
}
|
9425
|
-
|
9426
|
-
&::-webkit-scrollbar-corner,
|
9427
|
-
::-webkit-scrollbar-corner {
|
9428
|
-
background-color: map-get($scrollbar, corner-background);
|
9429
|
-
}
|
9430
|
-
|
9431
|
-
|
9432
|
-
&::-webkit-scrollbar-thumb,
|
9433
|
-
::-webkit-scrollbar-thumb {
|
9434
|
-
background-color: map-get($thumb, normal);
|
9435
|
-
|
9436
|
-
border-color: map-get($scrollbar, track);
|
9437
|
-
border-style: solid;
|
9438
|
-
|
9439
|
-
&:hover {
|
9440
|
-
background-color: map-get($thumb, hover);
|
9441
|
-
}
|
9442
|
-
|
9443
|
-
&:disabled {
|
9444
|
-
background-color: map-get($thumb, disabled);
|
9445
|
-
}
|
9446
|
-
|
9447
|
-
&:active {
|
9448
|
-
background-color: map-get($thumb, active);
|
9449
|
-
}
|
9450
|
-
}
|
9451
|
-
|
9452
|
-
/* stylelint-disable */
|
9453
|
-
&::-webkit-scrollbar-button,
|
9454
|
-
::-webkit-scrollbar-button {
|
9455
|
-
background-color: map-get($arrow, background);
|
9456
|
-
background-size: 10px 10px;
|
9457
|
-
background-repeat: no-repeat;
|
9458
|
-
background-position: center center;
|
9459
|
-
|
9460
|
-
&:single-button {
|
9461
|
-
&:horizontal:decrement {
|
9462
|
-
@include arrow-image(right, map-get($arrow, normal));
|
9463
|
-
}
|
9464
|
-
|
9465
|
-
&:horizontal:increment {
|
9466
|
-
@include arrow-image(left, map-get($arrow, normal));
|
9467
|
-
}
|
9468
|
-
|
9469
|
-
&:vertical:decrement {
|
9470
|
-
@include arrow-image(up, map-get($arrow, normal));
|
9471
|
-
}
|
9472
|
-
|
9473
|
-
&:vertical:increment {
|
9474
|
-
@include arrow-image(down, map-get($arrow, normal));
|
9475
|
-
}
|
9476
|
-
}
|
9477
|
-
|
9478
|
-
// disable double-button
|
9479
|
-
&:vertical:start:increment,
|
9480
|
-
&:vertical:end:decrement,
|
9481
|
-
&:horizontal:end:increment,
|
9482
|
-
&:horizontal:end:decrement {
|
9483
|
-
display: none;
|
9484
|
-
}
|
9485
|
-
}
|
9486
|
-
/* stylelint-enable */
|
9487
|
-
}
|
9488
|
-
}
|
9489
|
-
|
9490
|
-
@mixin arrow-image($direction, $color) {
|
9491
|
-
$color: str-replace('#{$color}', '#', '%23');
|
9492
|
-
|
9493
|
-
@if $direction == up {
|
9494
|
-
background-image: url('data:image/svg+xml;utf8,<svg width="8" height="4" viewBox="0 0 8 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 4L4 0L8 4H0Z" fill="#{$color}"/></svg>');
|
9495
|
-
} @else if $direction == left {
|
9496
|
-
background-image: url('data:image/svg+xml;utf8,<svg width="4" height="8" viewBox="0 0 4 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.354973 0.111252L3.64503 3.40028C3.84808 3.60327 3.84107 3.91407 3.64503 4.11011L0.354973 7.40017C0.15192 7.60322 0 7.53112 0 7.25478V0.256747C0 -0.0128497 0.158927 -0.0847332 0.354973 0.111252Z" fill="#{$color}"/></svg>');
|
9497
|
-
} @else if $direction == down {
|
9498
|
-
background-image: url('data:image/svg+xml;utf8,<svg width="8" height="4" viewBox="0 0 8 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L4 4L8 0H0Z" fill="#{$color}"/></svg>');
|
9499
|
-
} @else if $direction == right {
|
9500
|
-
background-image: url('data:image/svg+xml;utf8,<svg width="5" height="8" viewBox="0 0 5 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.64975 0.111682C3.8458 -0.0845414 4.00472 -0.0128511 4.00472 0.256746V7.25478C4.00472 7.53112 3.8528 7.6034 3.64975 7.4006L0.359696 4.11454C0.163649 3.91873 0.156643 3.60794 0.359696 3.40471L3.64975 0.111682Z" fill="#{$color}"/></svg>');
|
9501
|
-
}
|
9502
|
-
}
|
9503
|
-
|
9504
|
-
|
9505
|
-
@mixin mc-pseudo-checkbox-color($states) {
|
9506
|
-
border-color: map-get($states, border);
|
9507
|
-
|
9508
|
-
& .mc-checkbox-checkmark,
|
9509
|
-
& .mc-checkbox-mixedmark {
|
9510
|
-
color: map-get($states, color);
|
9511
|
-
}
|
9512
|
-
|
9513
|
-
&.mc-checked,
|
9514
|
-
&.mc-indeterminate {
|
9515
|
-
border-color: map-get($states, checked, border);
|
9516
|
-
|
9517
|
-
background: map-get($states, checked, background);
|
9518
|
-
}
|
9519
|
-
}
|
9520
|
-
|
9521
|
-
@mixin mc-pseudo-checkbox-theme($theme) {
|
9522
|
-
$foreground: map-get($theme, foreground);
|
9523
|
-
$background: map-get($theme, background);
|
9524
|
-
|
9525
|
-
$checkbox: map-get(map-get($theme, components), checkbox);
|
9526
|
-
|
9527
|
-
.mc-pseudo-checkbox {
|
9528
|
-
&.mc-primary {
|
9529
|
-
@include mc-pseudo-checkbox-color(map-get($checkbox, default));
|
9530
|
-
}
|
9531
|
-
|
9532
|
-
&.mc-error {
|
9533
|
-
@include mc-pseudo-checkbox-color(map-get($checkbox, error));
|
9534
|
-
}
|
9535
|
-
|
9536
|
-
&.mc-disabled,
|
9537
|
-
&.mc-primary.mc-disabled,
|
9538
|
-
&.mc-error.mc-disabled {
|
9539
|
-
border-color: map-get($foreground, border);
|
9540
|
-
|
9541
|
-
background-color: map-get($background, background-disabled);
|
9542
|
-
|
9543
|
-
& .mc-checkbox-checkmark,
|
9544
|
-
& .mc-checkbox-mixedmark {
|
9545
|
-
color: map-get($foreground, text-disabled);
|
9546
|
-
}
|
9547
|
-
}
|
9548
|
-
}
|
9549
|
-
}
|
9550
|
-
|
9551
|
-
|
9552
|
-
|
9553
|
-
@mixin card-type($card) {
|
9554
|
-
box-shadow:
|
9555
|
-
inset -1px 0 0 0 map-get($card, shadow),
|
9556
|
-
inset 0 1px 0 0 map-get($card, shadow),
|
9557
|
-
inset 0 -1px 0 0 map-get($card, shadow);
|
9558
|
-
|
9559
|
-
background-color: map-get($card, background);
|
9560
|
-
|
9561
|
-
border-left-color: map-get($card, vertical-line);
|
9562
|
-
}
|
9563
|
-
|
9564
|
-
@mixin mc-card-theme($theme) {
|
9565
|
-
$foreground: map-get($theme, foreground);
|
9566
|
-
$background: map-get($theme, background);
|
9567
|
-
|
9568
|
-
$card: map-get(map-get($theme, components), card);
|
9569
|
-
$popup: map-get(map-get($theme, components), popup);
|
9570
|
-
|
9571
|
-
$is-dark: map-get($theme, is-dark);
|
9572
|
-
|
9573
|
-
.mc-card {
|
9574
|
-
color: map-get($foreground, text);
|
9575
|
-
|
9576
|
-
&.mc-card_error {
|
9577
|
-
@include card-type(map-get($card, error));
|
9578
|
-
}
|
9579
|
-
|
9580
|
-
&.mc-card_warning {
|
9581
|
-
@include card-type(map-get($card, warning));
|
9582
|
-
}
|
9583
|
-
|
9584
|
-
&.mc-card_success {
|
9585
|
-
@include card-type(map-get($card, success));
|
9586
|
-
}
|
9587
|
-
|
9588
|
-
&.mc-card_info {
|
9589
|
-
@include card-type(map-get($card, info));
|
9590
|
-
}
|
9591
|
-
|
9592
|
-
&.mc-card_white {
|
9593
|
-
background-color: map-get($popup, background);
|
9594
|
-
}
|
9595
|
-
|
9596
|
-
&.mc-selected {
|
9597
|
-
background-color: map-get(map-get($theme, states), selected-color);
|
9598
|
-
}
|
9599
|
-
|
9600
|
-
&:not(.mc-card_readonly):hover {
|
9601
|
-
.mc-card__overlay {
|
9602
|
-
background: map-get($background, overlay-hover);
|
9603
|
-
}
|
9604
|
-
}
|
9605
|
-
|
9606
|
-
&.cdk-keyboard-focused {
|
9607
|
-
box-shadow: 0 0 0 2px map-get(map-get($theme, states), focused-color);
|
9608
|
-
}
|
9609
|
-
}
|
9610
|
-
}
|
9611
|
-
|
9612
|
-
|
9613
|
-
|
9614
|
-
|
9615
|
-
@mixin mc-divider-theme($theme) {
|
9616
|
-
$divider: map-get(map-get($theme, components), divider);
|
9617
|
-
|
9618
|
-
.mc-divider_horizontal {
|
9619
|
-
border-top-color: map-get($divider, color);
|
9620
|
-
}
|
9621
|
-
|
9622
|
-
.mc-divider_vertical {
|
9623
|
-
border-right-color: map-get($divider, color);
|
9624
|
-
}
|
9625
|
-
}
|
9626
|
-
|
9627
|
-
|
9628
|
-
|
9629
|
-
|
9630
|
-
|
9631
|
-
|
9632
|
-
@mixin mc-icon-theme($theme) {
|
9633
|
-
$foreground: map-get($theme, foreground);
|
9634
|
-
$second: map-get($theme, second);
|
9635
|
-
|
9636
|
-
$icon: map-get(map-get($theme, components), icon);
|
9637
|
-
|
9638
|
-
$primary: map-get($icon, primary);
|
9639
|
-
$secondary: map-get($icon, secondary);
|
9640
|
-
$error: map-get($icon, error);
|
9641
|
-
$success: map-get($icon, success);
|
9642
|
-
$warning: map-get($icon, warning);
|
9643
|
-
$info: map-get($icon, info);
|
9644
|
-
|
9645
|
-
// Дефолтные серые иконки default-icon: лупа в поле, иконки дропдаунов v, все иконки вне полей.
|
9646
|
-
.mc-icon {
|
9647
|
-
color: mc-color($foreground, icon);
|
9648
|
-
|
9649
|
-
&.mc-primary {
|
9650
|
-
color: map-get($primary, default);
|
9651
|
-
}
|
9652
|
-
|
9653
|
-
&.mc-second {
|
9654
|
-
color: map-get($secondary, default);
|
9655
|
-
}
|
9656
|
-
|
9657
|
-
&.mc-error {
|
9658
|
-
color: map-get($error, default);
|
9659
|
-
}
|
9660
|
-
|
9661
|
-
|
9662
|
-
&.mc-info {
|
9663
|
-
color: map-get($info, default);
|
9664
|
-
}
|
9665
|
-
|
9666
|
-
&.mc-warning {
|
9667
|
-
color: map-get($warning, default);
|
9668
|
-
}
|
9669
|
-
|
9670
|
-
&.mc-success {
|
9671
|
-
color: map-get($success, default);
|
9672
|
-
}
|
9673
|
-
|
9674
|
-
&[disabled],
|
9675
|
-
&.mc-disabled {
|
9676
|
-
cursor: default;
|
9677
|
-
}
|
9678
|
-
}
|
9679
|
-
|
9680
|
-
// Облегченные серые иконки less-contrast-icon нужны тогда, когда действие, которое они делают не дефолтное и
|
9681
|
-
// не самое важное. Не используются вне инпутов или селектов.
|
9682
|
-
.mc-icon.mc-icon_light {
|
9683
|
-
&.mc-primary {
|
9684
|
-
&:active,
|
9685
|
-
&.mc-active {
|
9686
|
-
color: map-get($primary, state-active);
|
9687
|
-
}
|
9688
|
-
|
9689
|
-
&:not([disabled], .mc-disabled):hover {
|
9690
|
-
color: map-get($primary, state-hover);
|
9691
|
-
}
|
9692
|
-
|
9693
|
-
&[disabled],
|
9694
|
-
&.mc-disabled {
|
9695
|
-
color: map-get($primary, state-disabled);
|
9696
|
-
}
|
9697
|
-
}
|
9698
|
-
|
9699
|
-
&.mc-second {
|
9700
|
-
&:active,
|
9701
|
-
&.mc-active {
|
9702
|
-
color: map-get($secondary, state-active);
|
9703
|
-
}
|
9704
|
-
|
9705
|
-
&:not([disabled], .mc-disabled):hover {
|
9706
|
-
color: map-get($secondary, state-hover);
|
9707
|
-
}
|
9708
|
-
|
9709
|
-
&[disabled],
|
9710
|
-
&.mc-disabled {
|
9711
|
-
color: map-get($secondary, state-disabled);
|
9712
|
-
}
|
9713
|
-
}
|
9714
|
-
|
9715
|
-
&.mc-error {
|
9716
|
-
&:active,
|
9717
|
-
&.mc-active {
|
9718
|
-
color: map-get($error, state-active);
|
9719
|
-
}
|
9720
|
-
|
9721
|
-
&:not([disabled], .mc-disabled):hover {
|
9722
|
-
color: map-get($error, state-hover);
|
9723
|
-
}
|
9724
|
-
|
9725
|
-
&[disabled],
|
9726
|
-
&.mc-disabled {
|
9727
|
-
color: map-get($error, state-disabled);
|
9728
|
-
}
|
9729
|
-
}
|
9730
|
-
|
9731
|
-
&.mc-info {
|
9732
|
-
&:active,
|
9733
|
-
&.mc-active {
|
9734
|
-
color: map-get($info, state-active);
|
9735
|
-
}
|
9736
|
-
|
9737
|
-
&:not([disabled], .mc-disabled):hover {
|
9738
|
-
color: map-get($info, state-hover);
|
9739
|
-
}
|
9740
|
-
|
9741
|
-
&[disabled],
|
9742
|
-
&.mc-disabled {
|
9743
|
-
color: map-get($info, state-disabled);
|
9744
|
-
}
|
9745
|
-
}
|
9746
|
-
|
9747
|
-
&.mc-warning {
|
9748
|
-
&:active,
|
9749
|
-
&.mc-active {
|
9750
|
-
color: map-get($warning, state-active);
|
9751
|
-
}
|
9752
|
-
|
9753
|
-
&:not([disabled], .mc-disabled):hover {
|
9754
|
-
color: map-get($warning, state-hover);
|
9755
|
-
}
|
9756
|
-
|
9757
|
-
&[disabled],
|
9758
|
-
&.mc-disabled {
|
9759
|
-
color: map-get($warning, state-disabled);
|
9760
|
-
}
|
9761
|
-
}
|
9762
|
-
|
9763
|
-
&.mc-success {
|
9764
|
-
&:active,
|
9765
|
-
&.mc-active {
|
9766
|
-
color: map-get($success, state-active);
|
9767
|
-
}
|
9768
|
-
|
9769
|
-
&:not([disabled], .mc-disabled):hover {
|
9770
|
-
color: map-get($success, state-hover);
|
9771
|
-
}
|
9772
|
-
|
9773
|
-
&[disabled],
|
9774
|
-
&.mc-disabled {
|
9775
|
-
color: map-get($success, state-disabled);
|
9776
|
-
}
|
9777
|
-
}
|
9778
|
-
}
|
9779
|
-
}
|
9780
|
-
|
9781
|
-
|
9782
|
-
|
9783
|
-
|
9784
|
-
|
9785
|
-
|
9786
|
-
|
9787
|
-
|
9788
|
-
|
9789
|
-
|
9790
|
-
|
9791
|
-
|
9792
|
-
|
9793
|
-
@mixin mc-markdown-theme($theme) {
|
9794
|
-
$foreground: map-get($theme, foreground);
|
9795
|
-
$background: map-get($theme, background);
|
9796
|
-
|
9797
|
-
$markdown: map-get(map-get($theme, components), markdown);
|
9798
|
-
|
9799
|
-
.mc-markdown {
|
9800
|
-
color: map-get($foreground, text);
|
9801
|
-
background: map-get($background, background);;
|
9802
|
-
|
9803
|
-
// h1, h2, h3, h4, h5, h6
|
9804
|
-
@for $i from 1 through 6 {
|
9805
|
-
.mc-markdown__h#{$i} {
|
9806
|
-
color: map-get($markdown, h#{$i}-color);
|
9807
|
-
}
|
9808
|
-
}
|
9809
|
-
|
9810
|
-
.mc-markdown__p {
|
9811
|
-
color: map-get($markdown, p-color);
|
9812
|
-
}
|
9813
|
-
|
9814
|
-
.mc-markdown__ul,
|
9815
|
-
.mc-markdown__ol {
|
9816
|
-
color: map-get($markdown, list-color);
|
9817
|
-
}
|
9818
|
-
|
9819
|
-
.mc-markdown__blockquote {
|
9820
|
-
color: map-get($markdown, blockquote-text);
|
9821
|
-
background: map-get($markdown, blockquote-background);
|
9822
|
-
border-color: map-get($markdown, blockquote-border);
|
9823
|
-
border-left-color: map-get($markdown, blockquote-line);
|
9824
|
-
}
|
9825
|
-
|
9826
|
-
.mc-markdown__pre,
|
9827
|
-
.mc-markdown__p > .mc-markdown__code {
|
9828
|
-
color: map-get($markdown, code-text);
|
9829
|
-
background-color: map-get($markdown, code-background);
|
9830
|
-
border-color: map-get($markdown, code-border);
|
9831
|
-
}
|
9832
|
-
|
9833
|
-
.mc-markdown__a {
|
9834
|
-
color: map-get($markdown, link-text);
|
9835
|
-
border-bottom-color: map-get($markdown, link-border-bottom);
|
9836
|
-
|
9837
|
-
&:visited {
|
9838
|
-
color: map-get($markdown, link-state-visited-text);
|
9839
|
-
border-bottom-color: map-get($markdown, link-state-visited-border-bottom);
|
9840
|
-
}
|
9841
|
-
|
9842
|
-
&:hover {
|
9843
|
-
color: map-get($markdown, link-state-hover-text);
|
9844
|
-
transition: color 0ms;
|
9845
|
-
border-bottom-color: map-get($markdown, link-state-hover-border-bottom);
|
9846
|
-
}
|
9847
|
-
|
9848
|
-
&:active {
|
9849
|
-
color: map-get($markdown, link-state-active-text);
|
9850
|
-
}
|
9851
|
-
|
9852
|
-
&:focus {
|
9853
|
-
outline:
|
9854
|
-
map-get($markdown, link-state-focused-outline)
|
9855
|
-
solid
|
9856
|
-
$markdown-link-size-state-focused-outline-width;
|
9583
|
+
background-color: map-get($background, overlay-hover);
|
9584
|
+
}
|
9857
9585
|
|
9858
|
-
|
9586
|
+
&.mc-focused {
|
9587
|
+
border-color: map-get(map-get($theme, states), focused-color);
|
9588
|
+
|
9589
|
+
& .mc-tree-node-toggle:not([disabled]) .mc-icon {
|
9590
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
9859
9591
|
}
|
9860
9592
|
}
|
9861
9593
|
|
9862
|
-
|
9863
|
-
|
9594
|
+
&.mc-selected {
|
9595
|
+
background: map-get(map-get($theme, states), selected-color);
|
9864
9596
|
}
|
9865
9597
|
|
9866
|
-
|
9867
|
-
|
9598
|
+
&[disabled] {
|
9599
|
+
background-color: transparent;
|
9600
|
+
|
9601
|
+
color: map-get($foreground, text-disabled);
|
9868
9602
|
}
|
9603
|
+
}
|
9869
9604
|
|
9870
|
-
|
9871
|
-
|
9872
|
-
|
9605
|
+
/* stylelint-disable no-descending-specificity */
|
9606
|
+
.mc-tree-node-toggle {
|
9607
|
+
& .mc-icon {
|
9608
|
+
color: mc-color($secondary, 400);
|
9873
9609
|
}
|
9874
9610
|
|
9875
|
-
|
9876
|
-
color:
|
9611
|
+
&:hover .mc-icon {
|
9612
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
9613
|
+
}
|
9614
|
+
|
9615
|
+
&[disabled] .mc-icon {
|
9616
|
+
color: mc-color($secondary, if($is-dark, 700, 300));
|
9877
9617
|
}
|
9878
9618
|
}
|
9619
|
+
/* stylelint-enable no-descending-specificity */
|
9620
|
+
}
|
9621
|
+
|
9622
|
+
@mixin mc-tree-typography($config) {
|
9623
|
+
.mc-tree-option {
|
9624
|
+
@include mc-typography-level-to-styles($config, $tree-font-node);
|
9625
|
+
}
|
9879
9626
|
}
|
9880
9627
|
|
9881
9628
|
|
9882
9629
|
|
9883
9630
|
|
9884
9631
|
|
9632
|
+
@mixin mc-table-theme($theme) {
|
9633
|
+
$foreground: map-get($theme, foreground);
|
9634
|
+
$background: map-get($theme, background);
|
9885
9635
|
|
9886
|
-
|
9887
|
-
|
9888
|
-
|
9889
|
-
$error: map-get($theme, error);
|
9636
|
+
.mc-table {
|
9637
|
+
& > thead {
|
9638
|
+
color: map-get($foreground, text-less-contrast);
|
9890
9639
|
|
9891
|
-
|
9640
|
+
& > tr > th {
|
9641
|
+
border-color: map-get($foreground, divider);
|
9642
|
+
}
|
9643
|
+
}
|
9892
9644
|
|
9893
|
-
|
9894
|
-
|
9645
|
+
& > tbody {
|
9646
|
+
& > tr {
|
9647
|
+
&:hover {
|
9648
|
+
background-color: map-get($background, overlay-hover);
|
9649
|
+
}
|
9895
9650
|
|
9896
|
-
|
9897
|
-
|
9651
|
+
& > th,
|
9652
|
+
& > td {
|
9653
|
+
color: map-get($foreground, text);
|
9654
|
+
}
|
9655
|
+
}
|
9898
9656
|
}
|
9899
9657
|
|
9900
|
-
&.mc-
|
9901
|
-
|
9658
|
+
&.mc-table_bordered {
|
9659
|
+
& > tbody > tr {
|
9660
|
+
& th,
|
9661
|
+
& td {
|
9662
|
+
border-color: map-get($foreground, divider);
|
9663
|
+
}
|
9664
|
+
}
|
9902
9665
|
}
|
9666
|
+
}
|
9667
|
+
}
|
9903
9668
|
|
9904
|
-
|
9905
|
-
|
9669
|
+
@mixin mc-table-typography($config) {
|
9670
|
+
.mc-table {
|
9671
|
+
& > thead {
|
9672
|
+
& > tr > th {
|
9673
|
+
font-weight: normal;
|
9674
|
+
}
|
9675
|
+
|
9676
|
+
@include mc-typography-level-to-styles($config, $table-font-header);
|
9677
|
+
}
|
9678
|
+
|
9679
|
+
& > tbody {
|
9680
|
+
& > tr > th {
|
9681
|
+
font-weight: normal;
|
9682
|
+
}
|
9683
|
+
|
9684
|
+
@include mc-typography-level-to-styles($config, $table-font-body);
|
9906
9685
|
}
|
9907
9686
|
}
|
9908
9687
|
}
|
@@ -9910,53 +9689,70 @@ button {
|
|
9910
9689
|
|
9911
9690
|
|
9912
9691
|
|
9913
|
-
@mixin mc-progress-spinner-theme($theme) {
|
9914
|
-
$primary: map-get($theme, primary);
|
9915
|
-
$second: map-get($theme, second);
|
9916
|
-
$error: map-get($theme, error);
|
9917
9692
|
|
9918
|
-
.mc-progress-spinner {
|
9919
|
-
&.mc-primary .mc-progress-spinner__circle {
|
9920
|
-
stroke: mc-color($primary);
|
9921
|
-
}
|
9922
9693
|
|
9923
|
-
|
9924
|
-
|
9925
|
-
}
|
9694
|
+
@mixin mc-forms-theme($theme) {
|
9695
|
+
$foreground: map-get($theme, foreground);
|
9926
9696
|
|
9927
|
-
|
9928
|
-
|
9929
|
-
|
9697
|
+
$forms: map-get(map-get($theme, components), forms);
|
9698
|
+
|
9699
|
+
.mc-form__label {
|
9700
|
+
color: map-get($forms, label);
|
9701
|
+
}
|
9702
|
+
|
9703
|
+
.mc-form__legend {
|
9704
|
+
color: map-get($forms, legend);
|
9705
|
+
}
|
9706
|
+
}
|
9707
|
+
|
9708
|
+
@mixin mc-forms-typography($config) {
|
9709
|
+
.mc-form__label {
|
9710
|
+
@include mc-typography-level-to-styles($config, $forms-font-default-label);
|
9711
|
+
}
|
9712
|
+
|
9713
|
+
.mc-form__legend {
|
9714
|
+
@include mc-typography-level-to-styles($config, $forms-font-default-legend);
|
9930
9715
|
}
|
9931
9716
|
}
|
9932
9717
|
|
9933
9718
|
|
9934
9719
|
|
9935
9720
|
|
9936
|
-
|
9721
|
+
|
9722
|
+
@mixin mc-option-theme($theme) {
|
9723
|
+
$foreground: map-get($theme, foreground);
|
9937
9724
|
$background: map-get($theme, background);
|
9938
9725
|
|
9939
|
-
|
9940
|
-
cursor: col-resize;
|
9726
|
+
$primary: map-get($theme, primary);
|
9941
9727
|
|
9942
|
-
|
9943
|
-
|
9944
|
-
|
9728
|
+
.mc-option {
|
9729
|
+
color: map-get($foreground, text);
|
9730
|
+
|
9731
|
+
&:hover:not(.mc-disabled) {
|
9732
|
+
.mc-option-overlay {
|
9733
|
+
background: map-get($background, overlay-hover);
|
9734
|
+
}
|
9945
9735
|
}
|
9946
9736
|
|
9947
|
-
&.mc-
|
9948
|
-
|
9737
|
+
&.mc-active {
|
9738
|
+
border-color: map-get(map-get($theme, states), focused-color);
|
9949
9739
|
}
|
9950
9740
|
|
9951
|
-
|
9952
|
-
background
|
9741
|
+
&.mc-selected {
|
9742
|
+
background: map-get(map-get($theme, states), selected-color);
|
9743
|
+
}
|
9953
9744
|
|
9954
|
-
|
9745
|
+
&.mc-disabled {
|
9746
|
+
background: transparent;
|
9747
|
+
|
9748
|
+
color: map-get($foreground, text-disabled);
|
9955
9749
|
}
|
9956
9750
|
}
|
9751
|
+
}
|
9957
9752
|
|
9958
|
-
|
9959
|
-
|
9753
|
+
@mixin mc-option-typography($config) {
|
9754
|
+
.mc-option {
|
9755
|
+
@include mc-typography-level-to-styles($config, $option-font-default);
|
9960
9756
|
}
|
9961
9757
|
}
|
9962
9758
|
|
@@ -9964,14 +9760,23 @@ button {
|
|
9964
9760
|
|
9965
9761
|
|
9966
9762
|
|
9763
|
+
@mixin mc-optgroup-theme($theme) {
|
9764
|
+
$foreground: map-get($theme, foreground);
|
9967
9765
|
|
9766
|
+
.mc-optgroup-label {
|
9767
|
+
color: map-get($foreground, text);
|
9768
|
+
}
|
9968
9769
|
|
9770
|
+
.mc-disabled .mc-optgroup-label {
|
9771
|
+
color: map-get($foreground, text-disabled);
|
9772
|
+
}
|
9773
|
+
}
|
9969
9774
|
|
9970
|
-
|
9971
|
-
|
9972
|
-
|
9973
|
-
|
9974
|
-
|
9775
|
+
@mixin mc-optgroup-typography($config) {
|
9776
|
+
.mc-optgroup-label {
|
9777
|
+
@include mc-typography-level-to-styles($config, $optgroup-font-default);
|
9778
|
+
}
|
9779
|
+
}
|
9975
9780
|
|
9976
9781
|
|
9977
9782
|
|
@@ -9981,7 +9786,7 @@ button {
|
|
9981
9786
|
$foreground: map-get($theme, foreground);
|
9982
9787
|
$background: map-get($theme, background);
|
9983
9788
|
|
9984
|
-
$
|
9789
|
+
$secondary: map-get($theme, secondary);
|
9985
9790
|
|
9986
9791
|
$is-dark: map-get($theme, is-dark);
|
9987
9792
|
|
@@ -9993,19 +9798,19 @@ button {
|
|
9993
9798
|
&:active,
|
9994
9799
|
&.mc-pressed {
|
9995
9800
|
& .mc-icon {
|
9996
|
-
color: mc-color($
|
9801
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
9997
9802
|
}
|
9998
9803
|
|
9999
|
-
background-color: mc-color($
|
9804
|
+
background-color: mc-color($secondary, A100);
|
10000
9805
|
}
|
10001
9806
|
|
10002
9807
|
&:hover .mc-icon {
|
10003
|
-
color: mc-color($
|
9808
|
+
color: mc-color($secondary, if($is-dark, 300, 700));
|
10004
9809
|
}
|
10005
9810
|
|
10006
9811
|
&[disabled] {
|
10007
9812
|
& .mc-icon {
|
10008
|
-
color: mc-color($
|
9813
|
+
color: mc-color($secondary, if($is-dark, 700, 300));
|
10009
9814
|
}
|
10010
9815
|
|
10011
9816
|
background-color: transparent;
|
@@ -10027,16 +9832,38 @@ button {
|
|
10027
9832
|
|
10028
9833
|
|
10029
9834
|
|
10030
|
-
@mixin mc-panel-theme($theme) {
|
10031
|
-
$background: map-get($theme, background);
|
10032
9835
|
|
10033
|
-
|
9836
|
+
@mixin mc-dl-theme($theme) {
|
9837
|
+
$dl: map-get(map-get($theme, components), dl);
|
10034
9838
|
|
10035
|
-
|
9839
|
+
.mc-dt {
|
9840
|
+
color: map-get($dl, dt);
|
9841
|
+
}
|
10036
9842
|
|
10037
|
-
.mc-
|
10038
|
-
|
10039
|
-
|
9843
|
+
.mc-dd {
|
9844
|
+
color: map-get($dl, dd);
|
9845
|
+
}
|
9846
|
+
}
|
9847
|
+
|
9848
|
+
@mixin mc-dl-typography($config) {
|
9849
|
+
.mc-dl {
|
9850
|
+
& .mc-dt {
|
9851
|
+
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dt);
|
9852
|
+
}
|
9853
|
+
|
9854
|
+
& .mc-dd {
|
9855
|
+
@include mc-typography-level-to-styles($config, $description-list-font-horizontal-dd);
|
9856
|
+
}
|
9857
|
+
}
|
9858
|
+
|
9859
|
+
.mc-dl.mc-dl_vertical {
|
9860
|
+
& .mc-dt {
|
9861
|
+
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dt);
|
9862
|
+
}
|
9863
|
+
|
9864
|
+
& .mc-dd {
|
9865
|
+
@include mc-typography-level-to-styles($config, $description-list-font-vertical-dd);
|
9866
|
+
}
|
10040
9867
|
}
|
10041
9868
|
}
|
10042
9869
|
|
@@ -10071,7 +9898,6 @@ button {
|
|
10071
9898
|
@include mc-option-theme($theme);
|
10072
9899
|
@include mc-optgroup-theme($theme);
|
10073
9900
|
@include mc-option-action-theme($theme);
|
10074
|
-
@include mc-panel-theme($theme);
|
10075
9901
|
@include mc-popover-theme($theme);
|
10076
9902
|
@include mc-progress-bar-theme($theme);
|
10077
9903
|
@include mc-progress-spinner-theme($theme);
|
@@ -10091,5 +9917,53 @@ button {
|
|
10091
9917
|
@include mc-tree-select-theme($theme);
|
10092
9918
|
@include mc-tree-theme($theme);
|
10093
9919
|
@include mc-table-theme($theme);
|
9920
|
+
}
|
9921
|
+
|
9922
|
+
@mixin mosaic-typography($config: null, $md-config: null) {
|
9923
|
+
@if $config == null {
|
9924
|
+
$config: mc-typography-config();
|
9925
|
+
}
|
9926
|
+
|
9927
|
+
@if $md-config == null {
|
9928
|
+
$md-config: mc-markdown-typography-config();
|
9929
|
+
}
|
9930
|
+
|
9931
|
+
@include mc-base-typography($config);
|
9932
|
+
@include mc-markdown-base-typography($md-config);
|
9933
|
+
|
9934
|
+
@include mc-alert-typography($config);
|
9935
|
+
@include mc-badge-typography($config);
|
9936
|
+
@include mc-button-typography($config);
|
9937
|
+
@include mc-checkbox-typography($config);
|
9938
|
+
@include mc-code-block-typography($config);
|
9939
|
+
@include mc-datepicker-typography($config);
|
9940
|
+
@include mc-dropdown-typography($config);
|
9941
|
+
@include mc-dl-typography($config);
|
9942
|
+
@include mc-form-field-typography($config);
|
9943
|
+
@include mc-forms-typography($config);
|
9944
|
+
@include mc-input-typography($config);
|
9945
|
+
@include mc-link-typography($config);
|
9946
|
+
@include mc-list-typography($config);
|
9947
|
+
@include mc-loader-overlay-typography($config);
|
9948
|
+
@include mc-modal-typography($config);
|
9949
|
+
@include mc-navbar-typography($config);
|
9950
|
+
@include mc-option-typography($config);
|
9951
|
+
@include mc-optgroup-typography($config);
|
9952
|
+
@include mc-popover-typography($config);
|
9953
|
+
@include mc-radio-typography($config);
|
9954
|
+
@include mc-select-typography($config);
|
9955
|
+
@include mc-sidepanel-typography($config);
|
9956
|
+
@include mc-tabs-typography($config);
|
9957
|
+
@include mc-tag-typography($config);
|
9958
|
+
@include mc-textarea-typography($config);
|
9959
|
+
@include mc-timezone-option-typography($config);
|
9960
|
+
@include mc-toast-typography($config);
|
9961
|
+
@include mc-toggle-typography($config);
|
9962
|
+
@include mc-tooltip-typography($config);
|
9963
|
+
@include mc-tree-select-typography($config);
|
9964
|
+
@include mc-tree-typography($config);
|
9965
|
+
@include mc-table-typography($config);
|
10094
9966
|
|
9967
|
+
@include mc-markdown-typography($md-config);
|
10095
9968
|
}
|
9969
|
+
|