kdutify 0.16.9-rc.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/LICENSE +21 -0
- package/README.md +70 -0
- package/dist/kdutify.css +12850 -0
- package/dist/kdutify.css.map +1 -0
- package/dist/kdutify.js +16285 -0
- package/dist/kdutify.js.map +1 -0
- package/dist/kdutify.min.css +7 -0
- package/dist/kdutify.min.css.map +1 -0
- package/dist/kdutify.min.js +6 -0
- package/es5/components/KAlert/KAlert.js +80 -0
- package/es5/components/KAlert/index.js +7 -0
- package/es5/components/KApp/KApp.js +67 -0
- package/es5/components/KApp/index.js +7 -0
- package/es5/components/KAvatar/KAvatar.js +31 -0
- package/es5/components/KAvatar/index.js +7 -0
- package/es5/components/KBadge/KBadge.js +59 -0
- package/es5/components/KBadge/index.js +7 -0
- package/es5/components/KBottomNav/KBottomNav.js +50 -0
- package/es5/components/KBottomNav/index.js +7 -0
- package/es5/components/KBottomSheet/KBottomSheet.js +36 -0
- package/es5/components/KBottomSheet/index.js +7 -0
- package/es5/components/KBreadcrumbs/KBreadcrumbs.js +36 -0
- package/es5/components/KBreadcrumbs/KBreadcrumbsItem.js +38 -0
- package/es5/components/KBreadcrumbs/index.js +11 -0
- package/es5/components/KBtn/KBtn.js +153 -0
- package/es5/components/KBtn/index.js +7 -0
- package/es5/components/KBtnToggle/KBtnToggle.js +92 -0
- package/es5/components/KBtnToggle/index.js +7 -0
- package/es5/components/KCard/KCard.js +63 -0
- package/es5/components/KCard/KCardMedia.js +41 -0
- package/es5/components/KCard/KCardTitle.js +21 -0
- package/es5/components/KCard/index.js +19 -0
- package/es5/components/KCarousel/KCarousel.js +178 -0
- package/es5/components/KCarousel/KCarouselItem.js +63 -0
- package/es5/components/KCarousel/index.js +11 -0
- package/es5/components/KCheckbox/KCheckbox.js +89 -0
- package/es5/components/KCheckbox/index.js +7 -0
- package/es5/components/KChip/KChip.js +81 -0
- package/es5/components/KChip/index.js +7 -0
- package/es5/components/KDataTable/KDataTable.js +347 -0
- package/es5/components/KDataTable/KEditDialog.js +108 -0
- package/es5/components/KDataTable/index.js +14 -0
- package/es5/components/KDataTable/mixins/body.js +103 -0
- package/es5/components/KDataTable/mixins/foot.js +118 -0
- package/es5/components/KDataTable/mixins/head.js +123 -0
- package/es5/components/KDataTable/mixins/progress.js +16 -0
- package/es5/components/KDatePicker/KDatePicker.js +416 -0
- package/es5/components/KDatePicker/index.js +7 -0
- package/es5/components/KDatePicker/mixins/date-header.js +68 -0
- package/es5/components/KDatePicker/mixins/date-table.js +101 -0
- package/es5/components/KDatePicker/mixins/date-title.js +64 -0
- package/es5/components/KDatePicker/mixins/date-years.js +53 -0
- package/es5/components/KDatePicker/mixins/month-table.js +91 -0
- package/es5/components/KDialog/KDialog.js +181 -0
- package/es5/components/KDialog/index.js +7 -0
- package/es5/components/KDivider/KDivider.js +29 -0
- package/es5/components/KDivider/index.js +7 -0
- package/es5/components/KExpansionPanel/KExpansionPanel.js +60 -0
- package/es5/components/KExpansionPanel/KExpansionPanelContent.js +114 -0
- package/es5/components/KExpansionPanel/index.js +9 -0
- package/es5/components/KFooter/KFooter.js +61 -0
- package/es5/components/KFooter/index.js +7 -0
- package/es5/components/KForm/KForm.js +203 -0
- package/es5/components/KForm/index.js +7 -0
- package/es5/components/KGrid/KContainer.js +5 -0
- package/es5/components/KGrid/KContent.js +33 -0
- package/es5/components/KGrid/KFlex.js +5 -0
- package/es5/components/KGrid/KLayout.js +5 -0
- package/es5/components/KGrid/grid.js +43 -0
- package/es5/components/KGrid/index.js +20 -0
- package/es5/components/KIcon/KIcon.js +93 -0
- package/es5/components/KIcon/index.js +7 -0
- package/es5/components/KList/KList.js +82 -0
- package/es5/components/KList/KListGroup.js +100 -0
- package/es5/components/KList/KListTile.js +65 -0
- package/es5/components/KList/KListTileAction.js +15 -0
- package/es5/components/KList/index.js +27 -0
- package/es5/components/KMenu/KMenu.js +178 -0
- package/es5/components/KMenu/index.js +7 -0
- package/es5/components/KMenu/mixins/menu-activator.js +59 -0
- package/es5/components/KMenu/mixins/menu-generators.js +88 -0
- package/es5/components/KMenu/mixins/menu-keyable.js +64 -0
- package/es5/components/KMenu/mixins/menu-position.js +64 -0
- package/es5/components/KNavigationDrawer/KNavigationDrawer.js +238 -0
- package/es5/components/KNavigationDrawer/index.js +7 -0
- package/es5/components/KPagination/KPagination.js +167 -0
- package/es5/components/KPagination/index.js +7 -0
- package/es5/components/KParallax/KParallax.js +98 -0
- package/es5/components/KParallax/index.js +7 -0
- package/es5/components/KProgressCircular/KProgressCircular.js +145 -0
- package/es5/components/KProgressCircular/index.js +7 -0
- package/es5/components/KProgressLinear/KProgressLinear.js +146 -0
- package/es5/components/KProgressLinear/index.js +7 -0
- package/es5/components/KRadioGroup/KRadio.js +148 -0
- package/es5/components/KRadioGroup/KRadioGroup.js +139 -0
- package/es5/components/KRadioGroup/index.js +11 -0
- package/es5/components/KSelect/KSelect.js +635 -0
- package/es5/components/KSelect/index.js +7 -0
- package/es5/components/KSelect/mixins/select-autocomplete.js +125 -0
- package/es5/components/KSelect/mixins/select-generators.js +298 -0
- package/es5/components/KSlider/KSlider.js +306 -0
- package/es5/components/KSlider/index.js +7 -0
- package/es5/components/KSnackbar/KSnackbar.js +106 -0
- package/es5/components/KSnackbar/index.js +7 -0
- package/es5/components/KSpeedDial/KSpeedDial.js +89 -0
- package/es5/components/KSpeedDial/index.js +7 -0
- package/es5/components/KStepper/KStepper.js +112 -0
- package/es5/components/KStepper/KStepperContent.js +134 -0
- package/es5/components/KStepper/KStepperStep.js +105 -0
- package/es5/components/KStepper/index.js +17 -0
- package/es5/components/KSubheader/KSubheader.js +29 -0
- package/es5/components/KSubheader/index.js +7 -0
- package/es5/components/KSwitch/KSwitch.js +55 -0
- package/es5/components/KSwitch/index.js +7 -0
- package/es5/components/KSystemBar/KSystemBar.js +54 -0
- package/es5/components/KSystemBar/index.js +7 -0
- package/es5/components/KTabs/KTabs.js +272 -0
- package/es5/components/KTabs/KTabsBar.js +205 -0
- package/es5/components/KTabs/KTabsContent.js +86 -0
- package/es5/components/KTabs/KTabsItem.js +103 -0
- package/es5/components/KTabs/KTabsItems.js +40 -0
- package/es5/components/KTabs/KTabsSlider.js +14 -0
- package/es5/components/KTabs/index.js +17 -0
- package/es5/components/KTextField/KTextField.js +275 -0
- package/es5/components/KTextField/index.js +7 -0
- package/es5/components/KTimePicker/KTimePicker.js +302 -0
- package/es5/components/KTimePicker/index.js +7 -0
- package/es5/components/KTimePicker/mixins/time-body.js +207 -0
- package/es5/components/KTimePicker/mixins/time-title.js +55 -0
- package/es5/components/KToolbar/KToolbar.js +193 -0
- package/es5/components/KToolbar/KToolbarSideIcon.js +29 -0
- package/es5/components/KToolbar/index.js +17 -0
- package/es5/components/KTooltip/KTooltip.js +156 -0
- package/es5/components/KTooltip/index.js +7 -0
- package/es5/components/Kdutify/index.js +50 -0
- package/es5/components/index.js +45 -0
- package/es5/components/transitions/expand-transition.js +36 -0
- package/es5/components/transitions/index.js +47 -0
- package/es5/components/transitions/row-expand-transition.js +38 -0
- package/es5/directives/click-outside.js +100 -0
- package/es5/directives/index.js +15 -0
- package/es5/directives/resize.js +30 -0
- package/es5/directives/ripple.js +144 -0
- package/es5/directives/scroll.js +32 -0
- package/es5/directives/touch.js +102 -0
- package/es5/index.js +30 -0
- package/es5/mixins/applicationable.js +9 -0
- package/es5/mixins/bootable.js +31 -0
- package/es5/mixins/button-group.js +82 -0
- package/es5/mixins/colorable.js +24 -0
- package/es5/mixins/contextualable.js +10 -0
- package/es5/mixins/delayable.js +57 -0
- package/es5/mixins/dependent.js +121 -0
- package/es5/mixins/detachable.js +41 -0
- package/es5/mixins/filterable.js +8 -0
- package/es5/mixins/input.js +219 -0
- package/es5/mixins/loadable.js +31 -0
- package/es5/mixins/maskable.js +181 -0
- package/es5/mixins/menuable.js +293 -0
- package/es5/mixins/overlayable.js +202 -0
- package/es5/mixins/picker.js +36 -0
- package/es5/mixins/positionable.js +10 -0
- package/es5/mixins/rippleable.js +21 -0
- package/es5/mixins/routable.js +66 -0
- package/es5/mixins/selectable.js +79 -0
- package/es5/mixins/stackable.js +70 -0
- package/es5/mixins/tab-focusable.js +7 -0
- package/es5/mixins/themeable.js +15 -0
- package/es5/mixins/toggleable.js +31 -0
- package/es5/mixins/transitionable.js +7 -0
- package/es5/mixins/translatable.js +62 -0
- package/es5/mixins/validatable.js +138 -0
- package/es5/util/breakpoint.js +128 -0
- package/es5/util/helpers.js +139 -0
- package/es5/util/load.js +15 -0
- package/es5/util/mask.js +159 -0
- package/es5/util/testing.js +160 -0
- package/es5/util/to-have-been-warned.js +117 -0
- package/es5/util/touchSupport.js +14 -0
- package/index.d.ts +8 -0
- package/package.json +134 -0
- package/src/components/KAlert/KAlert.js +77 -0
- package/src/components/KAlert/index.js +7 -0
- package/src/components/KApp/KApp.js +64 -0
- package/src/components/KApp/index.js +7 -0
- package/src/components/KAvatar/KAvatar.js +27 -0
- package/src/components/KAvatar/index.js +7 -0
- package/src/components/KBadge/KBadge.js +62 -0
- package/src/components/KBadge/index.js +7 -0
- package/src/components/KBottomNav/KBottomNav.js +50 -0
- package/src/components/KBottomNav/index.js +7 -0
- package/src/components/KBottomSheet/KBottomSheet.js +41 -0
- package/src/components/KBottomSheet/index.js +7 -0
- package/src/components/KBreadcrumbs/KBreadcrumbs.js +35 -0
- package/src/components/KBreadcrumbs/KBreadcrumbsItem.js +38 -0
- package/src/components/KBreadcrumbs/index.js +11 -0
- package/src/components/KBtn/KBtn.js +163 -0
- package/src/components/KBtn/index.js +7 -0
- package/src/components/KBtnToggle/KBtnToggle.js +92 -0
- package/src/components/KBtnToggle/index.js +7 -0
- package/src/components/KCard/KCard.js +61 -0
- package/src/components/KCard/KCardMedia.js +41 -0
- package/src/components/KCard/KCardTitle.js +17 -0
- package/src/components/KCard/index.js +19 -0
- package/src/components/KCarousel/KCarousel.js +174 -0
- package/src/components/KCarousel/KCarouselItem.js +65 -0
- package/src/components/KCarousel/index.js +11 -0
- package/src/components/KCheckbox/KCheckbox.js +92 -0
- package/src/components/KCheckbox/index.js +7 -0
- package/src/components/KChip/KChip.js +83 -0
- package/src/components/KChip/index.js +7 -0
- package/src/components/KDataTable/KDataTable.js +346 -0
- package/src/components/KDataTable/KEditDialog.js +110 -0
- package/src/components/KDataTable/index.js +16 -0
- package/src/components/KDataTable/mixins/body.js +98 -0
- package/src/components/KDataTable/mixins/foot.js +128 -0
- package/src/components/KDataTable/mixins/head.js +119 -0
- package/src/components/KDataTable/mixins/progress.js +16 -0
- package/src/components/KDatePicker/KDatePicker.js +382 -0
- package/src/components/KDatePicker/index.js +7 -0
- package/src/components/KDatePicker/mixins/date-header.js +74 -0
- package/src/components/KDatePicker/mixins/date-table.js +95 -0
- package/src/components/KDatePicker/mixins/date-title.js +76 -0
- package/src/components/KDatePicker/mixins/date-years.js +42 -0
- package/src/components/KDatePicker/mixins/month-table.js +82 -0
- package/src/components/KDialog/KDialog.js +184 -0
- package/src/components/KDialog/index.js +7 -0
- package/src/components/KDivider/KDivider.js +25 -0
- package/src/components/KDivider/index.js +7 -0
- package/src/components/KExpansionPanel/KExpansionPanel.js +55 -0
- package/src/components/KExpansionPanel/KExpansionPanelContent.js +112 -0
- package/src/components/KExpansionPanel/index.js +9 -0
- package/src/components/KFooter/KFooter.js +67 -0
- package/src/components/KFooter/index.js +7 -0
- package/src/components/KForm/KForm.js +117 -0
- package/src/components/KForm/index.js +7 -0
- package/src/components/KGrid/KContainer.js +5 -0
- package/src/components/KGrid/KContent.js +29 -0
- package/src/components/KGrid/KFlex.js +5 -0
- package/src/components/KGrid/KLayout.js +5 -0
- package/src/components/KGrid/grid.js +40 -0
- package/src/components/KGrid/index.js +27 -0
- package/src/components/KIcon/KIcon.js +87 -0
- package/src/components/KIcon/index.js +7 -0
- package/src/components/KList/KList.js +75 -0
- package/src/components/KList/KListGroup.js +95 -0
- package/src/components/KList/KListTile.js +62 -0
- package/src/components/KList/KListTileAction.js +12 -0
- package/src/components/KList/index.js +27 -0
- package/src/components/KMenu/KMenu.js +207 -0
- package/src/components/KMenu/index.js +7 -0
- package/src/components/KMenu/mixins/menu-activator.js +51 -0
- package/src/components/KMenu/mixins/menu-generators.js +84 -0
- package/src/components/KMenu/mixins/menu-keyable.js +68 -0
- package/src/components/KMenu/mixins/menu-position.js +72 -0
- package/src/components/KNavigationDrawer/KNavigationDrawer.js +267 -0
- package/src/components/KNavigationDrawer/index.js +7 -0
- package/src/components/KPagination/KPagination.js +168 -0
- package/src/components/KPagination/index.js +7 -0
- package/src/components/KParallax/KParallax.js +99 -0
- package/src/components/KParallax/index.js +7 -0
- package/src/components/KProgressCircular/KProgressCircular.js +160 -0
- package/src/components/KProgressCircular/index.js +7 -0
- package/src/components/KProgressLinear/KProgressLinear.js +157 -0
- package/src/components/KProgressLinear/index.js +7 -0
- package/src/components/KRadioGroup/KRadio.js +153 -0
- package/src/components/KRadioGroup/KRadioGroup.js +118 -0
- package/src/components/KRadioGroup/index.js +11 -0
- package/src/components/KSelect/KSelect.js +641 -0
- package/src/components/KSelect/index.js +7 -0
- package/src/components/KSelect/mixins/select-autocomplete.js +125 -0
- package/src/components/KSelect/mixins/select-generators.js +300 -0
- package/src/components/KSlider/KSlider.js +311 -0
- package/src/components/KSlider/index.js +7 -0
- package/src/components/KSnackbar/KSnackbar.js +97 -0
- package/src/components/KSnackbar/index.js +7 -0
- package/src/components/KSpeedDial/KSpeedDial.js +80 -0
- package/src/components/KSpeedDial/index.js +7 -0
- package/src/components/KStepper/KStepper.js +95 -0
- package/src/components/KStepper/KStepperContent.js +138 -0
- package/src/components/KStepper/KStepperStep.js +100 -0
- package/src/components/KStepper/index.js +17 -0
- package/src/components/KSubheader/KSubheader.js +25 -0
- package/src/components/KSubheader/index.js +7 -0
- package/src/components/KSwitch/KSwitch.js +58 -0
- package/src/components/KSwitch/index.js +7 -0
- package/src/components/KSystemBar/KSystemBar.js +54 -0
- package/src/components/KSystemBar/index.js +7 -0
- package/src/components/KTabs/KTabs.js +240 -0
- package/src/components/KTabs/KTabsBar.js +202 -0
- package/src/components/KTabs/KTabsContent.js +90 -0
- package/src/components/KTabs/KTabsItem.js +99 -0
- package/src/components/KTabs/KTabsItems.js +40 -0
- package/src/components/KTabs/KTabsSlider.js +14 -0
- package/src/components/KTabs/index.js +17 -0
- package/src/components/KTextField/KTextField.js +246 -0
- package/src/components/KTextField/index.js +7 -0
- package/src/components/KTimePicker/KTimePicker.js +282 -0
- package/src/components/KTimePicker/index.js +7 -0
- package/src/components/KTimePicker/mixins/time-body.js +208 -0
- package/src/components/KTimePicker/mixins/time-title.js +51 -0
- package/src/components/KToolbar/KToolbar.js +206 -0
- package/src/components/KToolbar/KToolbarSideIcon.js +26 -0
- package/src/components/KToolbar/index.js +19 -0
- package/src/components/KTooltip/KTooltip.js +161 -0
- package/src/components/KTooltip/index.js +7 -0
- package/src/components/Kdutify/index.js +48 -0
- package/src/components/index.js +45 -0
- package/src/components/transitions/expand-transition.js +34 -0
- package/src/components/transitions/index.js +50 -0
- package/src/components/transitions/row-expand-transition.js +38 -0
- package/src/directives/click-outside.js +72 -0
- package/src/directives/index.js +21 -0
- package/src/directives/resize.js +30 -0
- package/src/directives/ripple.js +120 -0
- package/src/directives/scroll.js +31 -0
- package/src/directives/touch.js +90 -0
- package/src/index.js +30 -0
- package/src/mixins/applicationable.js +9 -0
- package/src/mixins/bootable.js +31 -0
- package/src/mixins/button-group.js +77 -0
- package/src/mixins/colorable.js +20 -0
- package/src/mixins/contextualable.js +10 -0
- package/src/mixins/delayable.js +54 -0
- package/src/mixins/dependent.js +55 -0
- package/src/mixins/detachable.js +44 -0
- package/src/mixins/filterable.js +8 -0
- package/src/mixins/input.js +220 -0
- package/src/mixins/loadable.js +33 -0
- package/src/mixins/maskable.js +117 -0
- package/src/mixins/menuable.js +299 -0
- package/src/mixins/overlayable.js +180 -0
- package/src/mixins/picker.js +35 -0
- package/src/mixins/positionable.js +10 -0
- package/src/mixins/rippleable.js +21 -0
- package/src/mixins/routable.js +66 -0
- package/src/mixins/selectable.js +84 -0
- package/src/mixins/stackable.js +44 -0
- package/src/mixins/tab-focusable.js +7 -0
- package/src/mixins/themeable.js +15 -0
- package/src/mixins/toggleable.js +28 -0
- package/src/mixins/transitionable.js +7 -0
- package/src/mixins/translatable.js +67 -0
- package/src/mixins/validatable.js +124 -0
- package/src/stylus/app.styl +6 -0
- package/src/stylus/bootstrap.styl +1 -0
- package/src/stylus/components/_alerts.styl +44 -0
- package/src/stylus/components/_app.styl +21 -0
- package/src/stylus/components/_avatars.styl +22 -0
- package/src/stylus/components/_badges.styl +49 -0
- package/src/stylus/components/_bottom-navs.styl +86 -0
- package/src/stylus/components/_bottom-sheets.styl +18 -0
- package/src/stylus/components/_breadcrumbs.styl +46 -0
- package/src/stylus/components/_button-toggle.styl +55 -0
- package/src/stylus/components/_buttons.styl +339 -0
- package/src/stylus/components/_cards.styl +85 -0
- package/src/stylus/components/_carousel.styl +76 -0
- package/src/stylus/components/_chips.styl +102 -0
- package/src/stylus/components/_content.styl +6 -0
- package/src/stylus/components/_data-table.styl +113 -0
- package/src/stylus/components/_date-picker.styl +214 -0
- package/src/stylus/components/_dialogs.styl +63 -0
- package/src/stylus/components/_dividers.styl +19 -0
- package/src/stylus/components/_expansion-panel.styl +85 -0
- package/src/stylus/components/_footer.styl +40 -0
- package/src/stylus/components/_grid.styl +171 -0
- package/src/stylus/components/_icons.styl +32 -0
- package/src/stylus/components/_input-groups.styl +310 -0
- package/src/stylus/components/_lists.styl +263 -0
- package/src/stylus/components/_menus.styl +87 -0
- package/src/stylus/components/_navigation-drawer.styl +150 -0
- package/src/stylus/components/_overlay.styl +42 -0
- package/src/stylus/components/_pagination.styl +95 -0
- package/src/stylus/components/_parallax.styl +35 -0
- package/src/stylus/components/_pickers.styl +66 -0
- package/src/stylus/components/_progress-circular.styl +58 -0
- package/src/stylus/components/_progress-linear.styl +104 -0
- package/src/stylus/components/_radio-group.styl +23 -0
- package/src/stylus/components/_ripples.styl +31 -0
- package/src/stylus/components/_select.styl +153 -0
- package/src/stylus/components/_selection-controls.styl +122 -0
- package/src/stylus/components/_sliders.styl +234 -0
- package/src/stylus/components/_small-dialog.styl +37 -0
- package/src/stylus/components/_snackbars.styl +110 -0
- package/src/stylus/components/_speed-dial.styl +78 -0
- package/src/stylus/components/_steppers.styl +216 -0
- package/src/stylus/components/_subheaders.styl +18 -0
- package/src/stylus/components/_switch.styl +89 -0
- package/src/stylus/components/_system-bars.styl +49 -0
- package/src/stylus/components/_tables.styl +103 -0
- package/src/stylus/components/_tabs.styl +159 -0
- package/src/stylus/components/_text-fields.styl +243 -0
- package/src/stylus/components/_time-picker.styl +199 -0
- package/src/stylus/components/_toolbar.styl +148 -0
- package/src/stylus/components/_tooltips.styl +25 -0
- package/src/stylus/elements/_blockquote.styl +5 -0
- package/src/stylus/elements/_code.styl +20 -0
- package/src/stylus/elements/_global.styl +31 -0
- package/src/stylus/elements/_headings.styl +17 -0
- package/src/stylus/elements/_lists.styl +2 -0
- package/src/stylus/elements/_typography.styl +54 -0
- package/src/stylus/generic/_bootstrap.styl +49 -0
- package/src/stylus/generic/_reset.styl +332 -0
- package/src/stylus/generic/_transitions.styl +116 -0
- package/src/stylus/main.styl +2 -0
- package/src/stylus/settings/_colors.styl +339 -0
- package/src/stylus/settings/_elevations.styl +111 -0
- package/src/stylus/settings/_theme.styl +201 -0
- package/src/stylus/settings/_variables.styl +396 -0
- package/src/stylus/theme.styl +24 -0
- package/src/stylus/tools/_animations.styl +9 -0
- package/src/stylus/tools/_colors.styl +17 -0
- package/src/stylus/tools/_elevations.styl +7 -0
- package/src/stylus/trumps/_display.styl +14 -0
- package/src/stylus/trumps/_helpers.styl +5 -0
- package/src/stylus/trumps/_spacing.styl +37 -0
- package/src/stylus/trumps/_text.styl +13 -0
- package/src/util/breakpoint.js +134 -0
- package/src/util/helpers.d.ts +21 -0
- package/src/util/helpers.js +125 -0
- package/src/util/load.js +13 -0
- package/src/util/mask.js +138 -0
- package/src/util/testing.js +154 -0
- package/src/util/to-have-been-warned.js +68 -0
- package/src/util/touchSupport.js +12 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
|
|
3
|
+
.alert
|
|
4
|
+
border-radius: $alert-border-radius
|
|
5
|
+
border-width: $alert-border-width
|
|
6
|
+
border-style: solid
|
|
7
|
+
border-color: $material-light.dividers !important
|
|
8
|
+
color: #fff
|
|
9
|
+
display: flex
|
|
10
|
+
font-size: $alert-font-size
|
|
11
|
+
margin: $alert-margin
|
|
12
|
+
padding: $alert-padding
|
|
13
|
+
position: relative
|
|
14
|
+
transition: $primary-transition
|
|
15
|
+
|
|
16
|
+
.alert__icon.icon,
|
|
17
|
+
&__dismissible .icon
|
|
18
|
+
align-self: center
|
|
19
|
+
color: $alert-icon-color
|
|
20
|
+
font-size: $alert-icon-font-size
|
|
21
|
+
|
|
22
|
+
&__icon
|
|
23
|
+
margin-right: $alert-padding
|
|
24
|
+
|
|
25
|
+
&__dismissible
|
|
26
|
+
align-self: flex-start
|
|
27
|
+
margin-left: $alert-padding
|
|
28
|
+
margin-right: 0
|
|
29
|
+
text-decoration: none
|
|
30
|
+
transition: $primary-transition
|
|
31
|
+
|
|
32
|
+
&:hover
|
|
33
|
+
color: lighten($alert-icon-color, 10%)
|
|
34
|
+
|
|
35
|
+
&--no-icon
|
|
36
|
+
.alert__icon
|
|
37
|
+
display: none
|
|
38
|
+
|
|
39
|
+
> div
|
|
40
|
+
flex: 1
|
|
41
|
+
|
|
42
|
+
@media screen and (max-width: $grid-breakpoints.sm)
|
|
43
|
+
&__icon
|
|
44
|
+
display: none
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
@import '../theme'
|
|
3
|
+
|
|
4
|
+
.application
|
|
5
|
+
-webkit-backface-visibility: hidden
|
|
6
|
+
display: flex
|
|
7
|
+
min-height: 100vh
|
|
8
|
+
flex-direction: column
|
|
9
|
+
|
|
10
|
+
> main
|
|
11
|
+
display: flex
|
|
12
|
+
flex: 1 0 auto
|
|
13
|
+
|
|
14
|
+
application($material)
|
|
15
|
+
background: $material.background
|
|
16
|
+
color: $material.text.primary
|
|
17
|
+
|
|
18
|
+
a
|
|
19
|
+
color: $material.text.link
|
|
20
|
+
|
|
21
|
+
app(application)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
|
|
3
|
+
.avatar
|
|
4
|
+
align-items: center
|
|
5
|
+
border-radius: 50%
|
|
6
|
+
display: inline-flex
|
|
7
|
+
justify-content: center
|
|
8
|
+
text-align: center
|
|
9
|
+
vertical-align: middle
|
|
10
|
+
|
|
11
|
+
img,
|
|
12
|
+
.icon
|
|
13
|
+
border-radius: 50%
|
|
14
|
+
height: inherit
|
|
15
|
+
width: inherit
|
|
16
|
+
|
|
17
|
+
&--tile
|
|
18
|
+
border-radius: 0
|
|
19
|
+
|
|
20
|
+
img,
|
|
21
|
+
.icon
|
|
22
|
+
border-radius: 0
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
|
|
3
|
+
.badge
|
|
4
|
+
display: inline-block
|
|
5
|
+
position: relative
|
|
6
|
+
|
|
7
|
+
&__badge
|
|
8
|
+
color: $badge-color
|
|
9
|
+
display: flex
|
|
10
|
+
position: absolute
|
|
11
|
+
font-size: $badge-font-size
|
|
12
|
+
top: -($badge-height / 2)
|
|
13
|
+
right: -($badge-width)
|
|
14
|
+
border-radius: $badge-border-radius
|
|
15
|
+
height: $badge-height
|
|
16
|
+
line-height: $badge-height
|
|
17
|
+
width: $badge-width
|
|
18
|
+
justify-content: center
|
|
19
|
+
align-items: center
|
|
20
|
+
flex-direction: row
|
|
21
|
+
flex-wrap: wrap
|
|
22
|
+
transition: $primary-transition
|
|
23
|
+
|
|
24
|
+
.icon
|
|
25
|
+
font-size: $badge-font-size
|
|
26
|
+
|
|
27
|
+
&--overlap
|
|
28
|
+
.badge__badge
|
|
29
|
+
top: -8px
|
|
30
|
+
right: -8px
|
|
31
|
+
|
|
32
|
+
&.badge--left
|
|
33
|
+
.badge__badge
|
|
34
|
+
left: -8px
|
|
35
|
+
right: initial
|
|
36
|
+
|
|
37
|
+
&.badge--bottom
|
|
38
|
+
.badge__badge
|
|
39
|
+
bottom: -8px
|
|
40
|
+
top: initial
|
|
41
|
+
|
|
42
|
+
&--left
|
|
43
|
+
.badge__badge
|
|
44
|
+
left: -($badge-width)
|
|
45
|
+
|
|
46
|
+
&--bottom
|
|
47
|
+
.badge__badge
|
|
48
|
+
bottom: -($badge-height / 2)
|
|
49
|
+
top: initial;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
|
|
3
|
+
.bottom-nav
|
|
4
|
+
background: $theme.primary
|
|
5
|
+
bottom: 0
|
|
6
|
+
box-shadow: 0 3px 14px 2px rgba(#000, .12)
|
|
7
|
+
display: flex
|
|
8
|
+
height: 56px
|
|
9
|
+
justify-content: center
|
|
10
|
+
position: fixed
|
|
11
|
+
transform: translate3d(0, 60px, 0)
|
|
12
|
+
transition: all .4s $transition.swing
|
|
13
|
+
width: 100%
|
|
14
|
+
z-index: 4
|
|
15
|
+
|
|
16
|
+
&--absolute
|
|
17
|
+
position: absolute
|
|
18
|
+
|
|
19
|
+
&--active
|
|
20
|
+
transform: translate3d(0, 0, 0)
|
|
21
|
+
|
|
22
|
+
.btn
|
|
23
|
+
background: transparent !important
|
|
24
|
+
border-radius: 0
|
|
25
|
+
box-shadow: none !important
|
|
26
|
+
font-weight: 400
|
|
27
|
+
height: 100%
|
|
28
|
+
margin: 0
|
|
29
|
+
max-width: 168px
|
|
30
|
+
min-width: 80px
|
|
31
|
+
padding: 0px
|
|
32
|
+
text-transform: none
|
|
33
|
+
opacity: .5
|
|
34
|
+
width: 100%
|
|
35
|
+
|
|
36
|
+
.btn__content
|
|
37
|
+
height: 100%
|
|
38
|
+
flex-direction: column-reverse
|
|
39
|
+
height: 56px
|
|
40
|
+
font-size: 12px
|
|
41
|
+
transform: scale3d(1, 1, 1) translate3d(0, 0, 0)
|
|
42
|
+
white-space: nowrap
|
|
43
|
+
will-change: font-size
|
|
44
|
+
|
|
45
|
+
i.icon
|
|
46
|
+
color: inherit
|
|
47
|
+
transition: all .4s cubic-bezier(.25, .8, .50, 1)
|
|
48
|
+
|
|
49
|
+
&--active
|
|
50
|
+
opacity: 1
|
|
51
|
+
|
|
52
|
+
.btn__content
|
|
53
|
+
font-size: 14px
|
|
54
|
+
|
|
55
|
+
&:before
|
|
56
|
+
opacity: 0
|
|
57
|
+
|
|
58
|
+
.icon
|
|
59
|
+
transform: none
|
|
60
|
+
|
|
61
|
+
&:not(.btn--active)
|
|
62
|
+
filter: grayscale(100%)
|
|
63
|
+
|
|
64
|
+
&--shift
|
|
65
|
+
.btn__content
|
|
66
|
+
font-size: 14px
|
|
67
|
+
|
|
68
|
+
span
|
|
69
|
+
height: 21px
|
|
70
|
+
|
|
71
|
+
.btn
|
|
72
|
+
transition: all .3s
|
|
73
|
+
min-width: 56px
|
|
74
|
+
max-width: 96px
|
|
75
|
+
|
|
76
|
+
&--active
|
|
77
|
+
min-width: 96px
|
|
78
|
+
max-width: 168px
|
|
79
|
+
|
|
80
|
+
.bottom-nav--shift
|
|
81
|
+
.btn:not(.btn--active) .btn__content
|
|
82
|
+
.icon
|
|
83
|
+
transform: scale3d(1, 1, 1) translate3d(0, 10px, 0)
|
|
84
|
+
|
|
85
|
+
span
|
|
86
|
+
color: transparent
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
@import '../theme'
|
|
3
|
+
|
|
4
|
+
.bottom-sheet.dialog
|
|
5
|
+
align-self: flex-end
|
|
6
|
+
border-radius: 0
|
|
7
|
+
flex: 1 0 100%
|
|
8
|
+
margin: 0
|
|
9
|
+
min-width: 100%
|
|
10
|
+
overflow: visible
|
|
11
|
+
transition: .4s $transition.swing
|
|
12
|
+
|
|
13
|
+
&.bottom-sheet--inset
|
|
14
|
+
max-width: 70%
|
|
15
|
+
min-width: 0
|
|
16
|
+
|
|
17
|
+
@media $display-breakpoints.xs-only
|
|
18
|
+
max-width: none
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
@import '../theme'
|
|
3
|
+
|
|
4
|
+
breadcrumbs($material)
|
|
5
|
+
li:not(:last-child):after,
|
|
6
|
+
li:last-child .breadcrumbs__item,
|
|
7
|
+
li .breadcrumbs__item--disabled
|
|
8
|
+
color: $material.text.disabled
|
|
9
|
+
|
|
10
|
+
theme(breadcrumbs, "breadcrumbs")
|
|
11
|
+
|
|
12
|
+
.breadcrumbs
|
|
13
|
+
display: flex
|
|
14
|
+
justify-content: center
|
|
15
|
+
flex-wrap: wrap
|
|
16
|
+
flex: $breadcrumbs-flex
|
|
17
|
+
margin: $breadcrumbs-margin
|
|
18
|
+
list-style-type: none
|
|
19
|
+
|
|
20
|
+
li
|
|
21
|
+
&:not(:last-child):after
|
|
22
|
+
content: attr(data-divider)
|
|
23
|
+
vertical-align: middle
|
|
24
|
+
|
|
25
|
+
&:last-child a
|
|
26
|
+
pointer-events: none
|
|
27
|
+
cursor: default
|
|
28
|
+
|
|
29
|
+
&--with-icons
|
|
30
|
+
li
|
|
31
|
+
&:not(:last-child):after
|
|
32
|
+
font-family: 'Material Icons'
|
|
33
|
+
font-feature-settings: 'liga'
|
|
34
|
+
|
|
35
|
+
&__item
|
|
36
|
+
align-items: center
|
|
37
|
+
display: inline-flex
|
|
38
|
+
font-size: $breadcrumbs-item-font-size
|
|
39
|
+
padding: $breadcrumbs-padding
|
|
40
|
+
height: $breadcrumbs-height
|
|
41
|
+
text-decoration: none
|
|
42
|
+
line-height: $breadcrumbs-height
|
|
43
|
+
transition: $primary-transition
|
|
44
|
+
|
|
45
|
+
&--disabled
|
|
46
|
+
pointer-events: none
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
@import '../theme'
|
|
3
|
+
|
|
4
|
+
/** Themes */
|
|
5
|
+
|
|
6
|
+
btn-toggle($material)
|
|
7
|
+
background: $material.cards
|
|
8
|
+
|
|
9
|
+
.btn
|
|
10
|
+
color: $material.text.primary
|
|
11
|
+
|
|
12
|
+
&[data-selected]:not(:last-child):not([data-only-child])
|
|
13
|
+
border-right-color: $material.buttons.disabled
|
|
14
|
+
|
|
15
|
+
theme(btn-toggle, "btn-toggle")
|
|
16
|
+
|
|
17
|
+
.btn-toggle
|
|
18
|
+
display: inline-flex
|
|
19
|
+
border-radius: 2px
|
|
20
|
+
transition: $primary-transition
|
|
21
|
+
will-change: background, box-shadow
|
|
22
|
+
|
|
23
|
+
.btn
|
|
24
|
+
justify-content: center
|
|
25
|
+
min-width: auto
|
|
26
|
+
width: auto
|
|
27
|
+
padding: 0 8px
|
|
28
|
+
margin: 0
|
|
29
|
+
opacity: .4
|
|
30
|
+
border-radius: 0
|
|
31
|
+
|
|
32
|
+
&:not(:last-child)
|
|
33
|
+
border-right: 1px solid transparent
|
|
34
|
+
|
|
35
|
+
&:after
|
|
36
|
+
display: none
|
|
37
|
+
|
|
38
|
+
&[data-selected]
|
|
39
|
+
opacity: 1
|
|
40
|
+
|
|
41
|
+
&__content
|
|
42
|
+
padding: 0
|
|
43
|
+
|
|
44
|
+
span + .icon
|
|
45
|
+
font-size: initial
|
|
46
|
+
margin-left: 10px
|
|
47
|
+
|
|
48
|
+
&:first-child
|
|
49
|
+
border-radius: 2px 0 0 2px
|
|
50
|
+
|
|
51
|
+
&:last-child
|
|
52
|
+
border-radius: 0 2px 2px 0
|
|
53
|
+
|
|
54
|
+
&--selected
|
|
55
|
+
elevation(2)
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
@import '../bootstrap'
|
|
2
|
+
@import '../components/_ripples'
|
|
3
|
+
@import '../theme'
|
|
4
|
+
|
|
5
|
+
button($material)
|
|
6
|
+
color: $material.text.primary
|
|
7
|
+
|
|
8
|
+
&.btn--disabled
|
|
9
|
+
color: $material.buttons.disabled !important
|
|
10
|
+
|
|
11
|
+
.icon
|
|
12
|
+
color: $material.buttons.disabled !important
|
|
13
|
+
|
|
14
|
+
&:not(.btn--icon):not(.btn--flat)
|
|
15
|
+
background-color: $material.buttons.focused !important
|
|
16
|
+
|
|
17
|
+
&:not(.btn--icon):not(.btn--flat)
|
|
18
|
+
background-color: $material.app-bar
|
|
19
|
+
|
|
20
|
+
// Specific styles for styling on date-picker
|
|
21
|
+
&:not(.btn--disabled):not(.btn--date-picker)
|
|
22
|
+
&.btn--icon,
|
|
23
|
+
&.btn--floating
|
|
24
|
+
color: $material.icons.active
|
|
25
|
+
|
|
26
|
+
theme(button, "btn")
|
|
27
|
+
|
|
28
|
+
/** Base Spec */
|
|
29
|
+
.btn
|
|
30
|
+
align-items: center
|
|
31
|
+
border-radius: $button-border-radius
|
|
32
|
+
display: inline-flex
|
|
33
|
+
height: $button-height
|
|
34
|
+
flex: 0 1 auto
|
|
35
|
+
font-size: $button-font-size
|
|
36
|
+
font-weight: $button-font-weight
|
|
37
|
+
justify-content: center
|
|
38
|
+
margin: $button-margin
|
|
39
|
+
min-width: $button-min-width
|
|
40
|
+
outline: 0
|
|
41
|
+
text-transform: $button-text-transform
|
|
42
|
+
text-decoration: none
|
|
43
|
+
transition: .3s $transition.swing, color 1ms
|
|
44
|
+
position: relative
|
|
45
|
+
vertical-align: middle
|
|
46
|
+
user-select: none
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/** Psuedo */
|
|
50
|
+
.btn
|
|
51
|
+
&__content:before
|
|
52
|
+
border-radius: inherit
|
|
53
|
+
color: inherit
|
|
54
|
+
content: ''
|
|
55
|
+
position: absolute
|
|
56
|
+
left: 0
|
|
57
|
+
top: 0
|
|
58
|
+
height: 100%
|
|
59
|
+
opacity: .12
|
|
60
|
+
transition: $primary-transition
|
|
61
|
+
width: 100%
|
|
62
|
+
|
|
63
|
+
/** Content */
|
|
64
|
+
.btn
|
|
65
|
+
&--active,
|
|
66
|
+
&:hover,
|
|
67
|
+
&:focus
|
|
68
|
+
.btn__content:before
|
|
69
|
+
background-color: currentColor
|
|
70
|
+
|
|
71
|
+
&__content
|
|
72
|
+
align-items: center
|
|
73
|
+
border-radius: inherit
|
|
74
|
+
color: inherit
|
|
75
|
+
display: flex
|
|
76
|
+
height: 100%
|
|
77
|
+
flex: 1 0 auto
|
|
78
|
+
justify-content: center
|
|
79
|
+
margin: 0 auto
|
|
80
|
+
padding: $button-padding
|
|
81
|
+
transition: $primary-transition
|
|
82
|
+
white-space: nowrap
|
|
83
|
+
|
|
84
|
+
/** Icons */
|
|
85
|
+
.btn .btn__content .icon
|
|
86
|
+
color: inherit
|
|
87
|
+
|
|
88
|
+
/** Types */
|
|
89
|
+
.btn
|
|
90
|
+
&--flat
|
|
91
|
+
background-color: transparent !important
|
|
92
|
+
box-shadow: none !important
|
|
93
|
+
|
|
94
|
+
&--raised
|
|
95
|
+
will-change: box-shadow
|
|
96
|
+
elevation(2)
|
|
97
|
+
|
|
98
|
+
&:active
|
|
99
|
+
elevation(8)
|
|
100
|
+
|
|
101
|
+
&--icon
|
|
102
|
+
background: transparent
|
|
103
|
+
box-shadow: none !important
|
|
104
|
+
border-radius: 50%
|
|
105
|
+
justify-content: center
|
|
106
|
+
height: $button-height
|
|
107
|
+
width: $button-height
|
|
108
|
+
min-width: 0
|
|
109
|
+
|
|
110
|
+
.btn__content
|
|
111
|
+
padding: 0
|
|
112
|
+
|
|
113
|
+
&:before
|
|
114
|
+
border-radius: 50%
|
|
115
|
+
|
|
116
|
+
&.btn--small
|
|
117
|
+
width: $button-small-height
|
|
118
|
+
|
|
119
|
+
.btn__content
|
|
120
|
+
height: $button-small-height
|
|
121
|
+
|
|
122
|
+
&.btn--large
|
|
123
|
+
width: $button-large-height
|
|
124
|
+
|
|
125
|
+
.btn__content
|
|
126
|
+
height: $button-large-height
|
|
127
|
+
|
|
128
|
+
&--floating
|
|
129
|
+
border-radius: 50%
|
|
130
|
+
min-width: 0
|
|
131
|
+
height: $button-floating-width
|
|
132
|
+
width: $button-floating-width
|
|
133
|
+
padding: 0
|
|
134
|
+
z-index: 4
|
|
135
|
+
elevation(6)
|
|
136
|
+
|
|
137
|
+
&:active
|
|
138
|
+
elevation(12)
|
|
139
|
+
|
|
140
|
+
.btn__content
|
|
141
|
+
flex: 1 1 auto
|
|
142
|
+
margin: 0
|
|
143
|
+
padding: 0
|
|
144
|
+
|
|
145
|
+
&:after
|
|
146
|
+
border-radius: 50%
|
|
147
|
+
|
|
148
|
+
.icon
|
|
149
|
+
&:not(:only-of-type):last-of-type
|
|
150
|
+
opacity: 0
|
|
151
|
+
position: absolute
|
|
152
|
+
transform: rotate(-45deg)
|
|
153
|
+
left: calc(50% - 12px)
|
|
154
|
+
top: calc(50% - 12px)
|
|
155
|
+
|
|
156
|
+
&.btn--active
|
|
157
|
+
.icon
|
|
158
|
+
&:not(:only-of-type)
|
|
159
|
+
&:first-of-type
|
|
160
|
+
opacity: 0
|
|
161
|
+
transform: rotate(45deg)
|
|
162
|
+
left: 'calc(50% - %s)' % (24 / 2)
|
|
163
|
+
top: 'calc(50% - %s)' % (24 / 2)
|
|
164
|
+
|
|
165
|
+
&:last-of-type
|
|
166
|
+
opacity: 1
|
|
167
|
+
transform: none
|
|
168
|
+
|
|
169
|
+
.icon
|
|
170
|
+
height: $button-floating-icon-width
|
|
171
|
+
width: $button-floating-icon-width
|
|
172
|
+
|
|
173
|
+
&.btn--small
|
|
174
|
+
height: $button-floating-small-width
|
|
175
|
+
width: $button-floating-small-width
|
|
176
|
+
|
|
177
|
+
.icon
|
|
178
|
+
font-size: $button-floating-small-icon-width
|
|
179
|
+
height: $button-floating-small-icon-width
|
|
180
|
+
width: $button-floating-small-icon-width
|
|
181
|
+
|
|
182
|
+
&.btn--floating .icon
|
|
183
|
+
left: 'calc(50% - %s)' % ($button-floating-small-icon-width / 2)
|
|
184
|
+
top: 'calc(50% - %s)' % ($button-floating-small-icon-width / 2)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
&.btn--large
|
|
188
|
+
height: $button-floating-large-width
|
|
189
|
+
width: $button-floating-large-width
|
|
190
|
+
|
|
191
|
+
.icon
|
|
192
|
+
font-size: $button-floating-large-icon-width
|
|
193
|
+
height: $button-floating-large-icon-width
|
|
194
|
+
width: $button-floating-large-icon-width
|
|
195
|
+
|
|
196
|
+
&.btn--floating .icon
|
|
197
|
+
left: 'calc(50% - %s)' % ($button-floating-large-icon-width / 2)
|
|
198
|
+
top: 'calc(50% - %s)' % ($button-floating-large-icon-width / 2)
|
|
199
|
+
|
|
200
|
+
&--reverse
|
|
201
|
+
.btn__content
|
|
202
|
+
flex-direction: row-reverse
|
|
203
|
+
|
|
204
|
+
&.btn--column
|
|
205
|
+
.btn__content
|
|
206
|
+
flex-direction: column-reverse
|
|
207
|
+
|
|
208
|
+
&--fixed, &--absolute
|
|
209
|
+
margin: 0
|
|
210
|
+
|
|
211
|
+
// Position must have prepended .btn
|
|
212
|
+
// to account for tooltip
|
|
213
|
+
// TODO: Remove this once tooltips are
|
|
214
|
+
// converted to elements
|
|
215
|
+
&.btn--absolute
|
|
216
|
+
position: absolute
|
|
217
|
+
|
|
218
|
+
&.btn--fixed
|
|
219
|
+
position: fixed
|
|
220
|
+
|
|
221
|
+
&--top
|
|
222
|
+
&:not(.btn--absolute)
|
|
223
|
+
top: $grid-gutters.lg
|
|
224
|
+
|
|
225
|
+
&.btn--absolute
|
|
226
|
+
top: -($button-floating-width / 2)
|
|
227
|
+
|
|
228
|
+
&.btn--small
|
|
229
|
+
top: -($button-floating-small-width / 2)
|
|
230
|
+
|
|
231
|
+
&.btn--large
|
|
232
|
+
top: -($button-floating-large-width / 2)
|
|
233
|
+
|
|
234
|
+
&--bottom
|
|
235
|
+
&:not(.btn--absolute)
|
|
236
|
+
bottom: $grid-gutters.lg
|
|
237
|
+
|
|
238
|
+
&.btn--absolute
|
|
239
|
+
bottom: -($button-floating-width / 2)
|
|
240
|
+
|
|
241
|
+
&.btn--small
|
|
242
|
+
bottom: -($button-floating-small-width / 2)
|
|
243
|
+
|
|
244
|
+
&.btn--large
|
|
245
|
+
bottom: -($button-floating-large-width / 2)
|
|
246
|
+
|
|
247
|
+
&--left
|
|
248
|
+
left: $grid-gutters.lg
|
|
249
|
+
|
|
250
|
+
&--right
|
|
251
|
+
right: $grid-gutters.lg
|
|
252
|
+
|
|
253
|
+
/** Disabled */
|
|
254
|
+
.btn
|
|
255
|
+
&.btn--disabled
|
|
256
|
+
box-shadow: none !important
|
|
257
|
+
pointer-events: none
|
|
258
|
+
|
|
259
|
+
/** Sizes */
|
|
260
|
+
.btn
|
|
261
|
+
&--small
|
|
262
|
+
font-size: $button-small-font-size
|
|
263
|
+
height: $button-small-height
|
|
264
|
+
|
|
265
|
+
&--large
|
|
266
|
+
font-size: $button-large-font-size
|
|
267
|
+
height: $button-large-height
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
/** Loader */
|
|
271
|
+
.btn
|
|
272
|
+
&--loader
|
|
273
|
+
pointer-events: none
|
|
274
|
+
|
|
275
|
+
.btn__content
|
|
276
|
+
opacity: 0
|
|
277
|
+
|
|
278
|
+
&__loading
|
|
279
|
+
align-items: center
|
|
280
|
+
display: flex
|
|
281
|
+
height: 100%
|
|
282
|
+
justify-content: center
|
|
283
|
+
left: 0
|
|
284
|
+
position: absolute
|
|
285
|
+
top: 0
|
|
286
|
+
width: 100%
|
|
287
|
+
|
|
288
|
+
.icon
|
|
289
|
+
&--left
|
|
290
|
+
margin-right: 1rem
|
|
291
|
+
line-height: inherit
|
|
292
|
+
|
|
293
|
+
&--right
|
|
294
|
+
margin-left: 1rem
|
|
295
|
+
line-height: inherit
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
/** Custom Buttons */
|
|
299
|
+
.btn
|
|
300
|
+
&--outline
|
|
301
|
+
border: 1px solid currentColor
|
|
302
|
+
background: transparent !important
|
|
303
|
+
box-shadow: none
|
|
304
|
+
|
|
305
|
+
&:hover
|
|
306
|
+
box-shadow: none
|
|
307
|
+
|
|
308
|
+
&--block
|
|
309
|
+
display: flex
|
|
310
|
+
flex: 1
|
|
311
|
+
margin: $button-margin-y 0
|
|
312
|
+
width: 100%
|
|
313
|
+
|
|
314
|
+
&--round
|
|
315
|
+
border-radius: 28px
|
|
316
|
+
|
|
317
|
+
&:after
|
|
318
|
+
border-radius: 28px
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
/** Button w/ directional Icon */
|
|
322
|
+
.btn
|
|
323
|
+
.icon
|
|
324
|
+
&--right
|
|
325
|
+
margin-left: 16px
|
|
326
|
+
|
|
327
|
+
&--left
|
|
328
|
+
margin-right: 16px
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
/** Themes */
|
|
332
|
+
.btn
|
|
333
|
+
&.primary,
|
|
334
|
+
&.secondary,
|
|
335
|
+
&.success,
|
|
336
|
+
&.error,
|
|
337
|
+
&.warning,
|
|
338
|
+
&.info
|
|
339
|
+
color: $material-dark.text.primary
|