@coderevivehq/selectize 0.15.3
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 +203 -0
- package/README.md +146 -0
- package/dist/css/selectize.bootstrap2.css +20 -0
- package/dist/css/selectize.bootstrap3.css +20 -0
- package/dist/css/selectize.bootstrap4.css +20 -0
- package/dist/css/selectize.bootstrap5.css +20 -0
- package/dist/css/selectize.css +20 -0
- package/dist/css/selectize.default.css +20 -0
- package/dist/js/selectize.js +3497 -0
- package/dist/js/selectize.min.js +32 -0
- package/dist/less/plugins/auto_position.less +15 -0
- package/dist/less/plugins/clear_button.less +29 -0
- package/dist/less/plugins/drag_drop.less +16 -0
- package/dist/less/plugins/dropdown_header.less +21 -0
- package/dist/less/plugins/optgroup_columns.less +17 -0
- package/dist/less/plugins/remove_button.less +43 -0
- package/dist/less/selectize.bootstrap2.less +147 -0
- package/dist/less/selectize.bootstrap3.less +134 -0
- package/dist/less/selectize.default.less +68 -0
- package/dist/less/selectize.less +301 -0
- package/dist/lib/bootstrap-sass/_alerts.scss +73 -0
- package/dist/lib/bootstrap-sass/_badges.scss +68 -0
- package/dist/lib/bootstrap-sass/_breadcrumbs.scss +28 -0
- package/dist/lib/bootstrap-sass/_button-groups.scss +244 -0
- package/dist/lib/bootstrap-sass/_buttons.scss +168 -0
- package/dist/lib/bootstrap-sass/_carousel.scss +272 -0
- package/dist/lib/bootstrap-sass/_close.scss +37 -0
- package/dist/lib/bootstrap-sass/_code.scss +70 -0
- package/dist/lib/bootstrap-sass/_component-animations.scss +38 -0
- package/dist/lib/bootstrap-sass/_dropdowns.scss +213 -0
- package/dist/lib/bootstrap-sass/_forms.scss +608 -0
- package/dist/lib/bootstrap-sass/_glyphicons.scss +307 -0
- package/dist/lib/bootstrap-sass/_grid.scss +94 -0
- package/dist/lib/bootstrap-sass/_input-groups.scss +171 -0
- package/dist/lib/bootstrap-sass/_jumbotron.scss +55 -0
- package/dist/lib/bootstrap-sass/_labels.scss +66 -0
- package/dist/lib/bootstrap-sass/_list-group.scss +128 -0
- package/dist/lib/bootstrap-sass/_media.scss +66 -0
- package/dist/lib/bootstrap-sass/_mixins.scss +40 -0
- package/dist/lib/bootstrap-sass/_modals.scss +150 -0
- package/dist/lib/bootstrap-sass/_navbar.scss +657 -0
- package/dist/lib/bootstrap-sass/_navs.scss +242 -0
- package/dist/lib/bootstrap-sass/_normalize.scss +427 -0
- package/dist/lib/bootstrap-sass/_pager.scss +54 -0
- package/dist/lib/bootstrap-sass/_pagination.scss +86 -0
- package/dist/lib/bootstrap-sass/_panels.scss +271 -0
- package/dist/lib/bootstrap-sass/_popovers.scss +126 -0
- package/dist/lib/bootstrap-sass/_print.scss +99 -0
- package/dist/lib/bootstrap-sass/_progress-bars.scss +87 -0
- package/dist/lib/bootstrap-sass/_responsive-embed.scss +35 -0
- package/dist/lib/bootstrap-sass/_responsive-utilities.scss +179 -0
- package/dist/lib/bootstrap-sass/_scaffolding.scss +161 -0
- package/dist/lib/bootstrap-sass/_tables.scss +234 -0
- package/dist/lib/bootstrap-sass/_theme.scss +295 -0
- package/dist/lib/bootstrap-sass/_thumbnails.scss +38 -0
- package/dist/lib/bootstrap-sass/_tooltip.scss +112 -0
- package/dist/lib/bootstrap-sass/_type.scss +299 -0
- package/dist/lib/bootstrap-sass/_utilities.scss +55 -0
- package/dist/lib/bootstrap-sass/_variables.scss +875 -0
- package/dist/lib/bootstrap-sass/_wells.scss +29 -0
- package/dist/lib/bootstrap-sass/mixins/_alerts.scss +15 -0
- package/dist/lib/bootstrap-sass/mixins/_background-variant.scss +12 -0
- package/dist/lib/bootstrap-sass/mixins/_border-radius.scss +18 -0
- package/dist/lib/bootstrap-sass/mixins/_buttons.scss +61 -0
- package/dist/lib/bootstrap-sass/mixins/_center-block.scss +7 -0
- package/dist/lib/bootstrap-sass/mixins/_clearfix.scss +22 -0
- package/dist/lib/bootstrap-sass/mixins/_forms.scss +88 -0
- package/dist/lib/bootstrap-sass/mixins/_gradients.scss +56 -0
- package/dist/lib/bootstrap-sass/mixins/_grid-framework.scss +82 -0
- package/dist/lib/bootstrap-sass/mixins/_grid.scss +123 -0
- package/dist/lib/bootstrap-sass/mixins/_hide-text.scss +21 -0
- package/dist/lib/bootstrap-sass/mixins/_image.scss +28 -0
- package/dist/lib/bootstrap-sass/mixins/_labels.scss +12 -0
- package/dist/lib/bootstrap-sass/mixins/_list-group.scss +32 -0
- package/dist/lib/bootstrap-sass/mixins/_nav-divider.scss +11 -0
- package/dist/lib/bootstrap-sass/mixins/_nav-vertical-align.scss +10 -0
- package/dist/lib/bootstrap-sass/mixins/_opacity.scss +7 -0
- package/dist/lib/bootstrap-sass/mixins/_pagination.scss +24 -0
- package/dist/lib/bootstrap-sass/mixins/_panels.scss +24 -0
- package/dist/lib/bootstrap-sass/mixins/_progress-bar.scss +10 -0
- package/dist/lib/bootstrap-sass/mixins/_reset-filter.scss +8 -0
- package/dist/lib/bootstrap-sass/mixins/_reset-text.scss +18 -0
- package/dist/lib/bootstrap-sass/mixins/_resize.scss +6 -0
- package/dist/lib/bootstrap-sass/mixins/_responsive-visibility.scss +17 -0
- package/dist/lib/bootstrap-sass/mixins/_size.scss +10 -0
- package/dist/lib/bootstrap-sass/mixins/_tab-focus.scss +9 -0
- package/dist/lib/bootstrap-sass/mixins/_table-row.scss +28 -0
- package/dist/lib/bootstrap-sass/mixins/_text-emphasis.scss +12 -0
- package/dist/lib/bootstrap-sass/mixins/_text-overflow.scss +8 -0
- package/dist/lib/bootstrap-sass/mixins/_vendor-prefixes.scss +222 -0
- package/dist/lib/bootstrap2/accordion.less +34 -0
- package/dist/lib/bootstrap2/alerts.less +79 -0
- package/dist/lib/bootstrap2/bootstrap.less +63 -0
- package/dist/lib/bootstrap2/breadcrumbs.less +24 -0
- package/dist/lib/bootstrap2/button-groups.less +229 -0
- package/dist/lib/bootstrap2/buttons.less +228 -0
- package/dist/lib/bootstrap2/carousel.less +158 -0
- package/dist/lib/bootstrap2/close.less +32 -0
- package/dist/lib/bootstrap2/code.less +61 -0
- package/dist/lib/bootstrap2/component-animations.less +22 -0
- package/dist/lib/bootstrap2/dropdowns.less +248 -0
- package/dist/lib/bootstrap2/forms.less +690 -0
- package/dist/lib/bootstrap2/grid.less +21 -0
- package/dist/lib/bootstrap2/hero-unit.less +25 -0
- package/dist/lib/bootstrap2/labels-badges.less +84 -0
- package/dist/lib/bootstrap2/layouts.less +16 -0
- package/dist/lib/bootstrap2/media.less +55 -0
- package/dist/lib/bootstrap2/mixins.less +702 -0
- package/dist/lib/bootstrap2/modals.less +95 -0
- package/dist/lib/bootstrap2/navbar.less +497 -0
- package/dist/lib/bootstrap2/navs.less +409 -0
- package/dist/lib/bootstrap2/pager.less +43 -0
- package/dist/lib/bootstrap2/pagination.less +123 -0
- package/dist/lib/bootstrap2/popovers.less +133 -0
- package/dist/lib/bootstrap2/progress-bars.less +122 -0
- package/dist/lib/bootstrap2/reset.less +216 -0
- package/dist/lib/bootstrap2/responsive-1200px-min.less +28 -0
- package/dist/lib/bootstrap2/responsive-767px-max.less +193 -0
- package/dist/lib/bootstrap2/responsive-768px-979px.less +19 -0
- package/dist/lib/bootstrap2/responsive-navbar.less +189 -0
- package/dist/lib/bootstrap2/responsive-utilities.less +59 -0
- package/dist/lib/bootstrap2/responsive.less +48 -0
- package/dist/lib/bootstrap2/scaffolding.less +53 -0
- package/dist/lib/bootstrap2/sprites.less +197 -0
- package/dist/lib/bootstrap2/tables.less +244 -0
- package/dist/lib/bootstrap2/tests/buttons.html +139 -0
- package/dist/lib/bootstrap2/tests/css-tests.css +150 -0
- package/dist/lib/bootstrap2/tests/css-tests.html +1399 -0
- package/dist/lib/bootstrap2/tests/forms-responsive.html +71 -0
- package/dist/lib/bootstrap2/tests/forms.html +179 -0
- package/dist/lib/bootstrap2/tests/navbar-fixed-top.html +104 -0
- package/dist/lib/bootstrap2/tests/navbar-static-top.html +107 -0
- package/dist/lib/bootstrap2/tests/navbar.html +107 -0
- package/dist/lib/bootstrap2/thumbnails.less +53 -0
- package/dist/lib/bootstrap2/tooltip.less +70 -0
- package/dist/lib/bootstrap2/type.less +247 -0
- package/dist/lib/bootstrap2/utilities.less +30 -0
- package/dist/lib/bootstrap2/variables.less +301 -0
- package/dist/lib/bootstrap2/wells.less +29 -0
- package/dist/lib/bootstrap3/alerts.less +73 -0
- package/dist/lib/bootstrap3/badges.less +66 -0
- package/dist/lib/bootstrap3/bootstrap.less +56 -0
- package/dist/lib/bootstrap3/breadcrumbs.less +26 -0
- package/dist/lib/bootstrap3/button-groups.less +246 -0
- package/dist/lib/bootstrap3/buttons.less +168 -0
- package/dist/lib/bootstrap3/carousel.less +273 -0
- package/dist/lib/bootstrap3/close.less +37 -0
- package/dist/lib/bootstrap3/code.less +69 -0
- package/dist/lib/bootstrap3/component-animations.less +36 -0
- package/dist/lib/bootstrap3/dropdowns.less +213 -0
- package/dist/lib/bootstrap3/forms.less +605 -0
- package/dist/lib/bootstrap3/glyphicons.less +307 -0
- package/dist/lib/bootstrap3/grid.less +94 -0
- package/dist/lib/bootstrap3/input-groups.less +173 -0
- package/dist/lib/bootstrap3/jumbotron.less +54 -0
- package/dist/lib/bootstrap3/labels.less +64 -0
- package/dist/lib/bootstrap3/list-group.less +130 -0
- package/dist/lib/bootstrap3/media.less +66 -0
- package/dist/lib/bootstrap3/mixins/alerts.less +15 -0
- package/dist/lib/bootstrap3/mixins/background-variant.less +9 -0
- package/dist/lib/bootstrap3/mixins/border-radius.less +18 -0
- package/dist/lib/bootstrap3/mixins/buttons.less +61 -0
- package/dist/lib/bootstrap3/mixins/center-block.less +7 -0
- package/dist/lib/bootstrap3/mixins/clearfix.less +22 -0
- package/dist/lib/bootstrap3/mixins/forms.less +85 -0
- package/dist/lib/bootstrap3/mixins/gradients.less +59 -0
- package/dist/lib/bootstrap3/mixins/grid-framework.less +91 -0
- package/dist/lib/bootstrap3/mixins/grid.less +122 -0
- package/dist/lib/bootstrap3/mixins/hide-text.less +23 -0
- package/dist/lib/bootstrap3/mixins/image.less +30 -0
- package/dist/lib/bootstrap3/mixins/labels.less +12 -0
- package/dist/lib/bootstrap3/mixins/list-group.less +30 -0
- package/dist/lib/bootstrap3/mixins/nav-divider.less +10 -0
- package/dist/lib/bootstrap3/mixins/nav-vertical-align.less +9 -0
- package/dist/lib/bootstrap3/mixins/opacity.less +7 -0
- package/dist/lib/bootstrap3/mixins/pagination.less +24 -0
- package/dist/lib/bootstrap3/mixins/panels.less +24 -0
- package/dist/lib/bootstrap3/mixins/progress-bar.less +10 -0
- package/dist/lib/bootstrap3/mixins/reset-filter.less +8 -0
- package/dist/lib/bootstrap3/mixins/reset-text.less +18 -0
- package/dist/lib/bootstrap3/mixins/resize.less +6 -0
- package/dist/lib/bootstrap3/mixins/responsive-visibility.less +13 -0
- package/dist/lib/bootstrap3/mixins/size.less +10 -0
- package/dist/lib/bootstrap3/mixins/tab-focus.less +9 -0
- package/dist/lib/bootstrap3/mixins/table-row.less +28 -0
- package/dist/lib/bootstrap3/mixins/text-emphasis.less +9 -0
- package/dist/lib/bootstrap3/mixins/text-overflow.less +8 -0
- package/dist/lib/bootstrap3/mixins/vendor-prefixes.less +229 -0
- package/dist/lib/bootstrap3/mixins.less +40 -0
- package/dist/lib/bootstrap3/modals.less +150 -0
- package/dist/lib/bootstrap3/navbar.less +656 -0
- package/dist/lib/bootstrap3/navs.less +244 -0
- package/dist/lib/bootstrap3/normalize.less +429 -0
- package/dist/lib/bootstrap3/pager.less +54 -0
- package/dist/lib/bootstrap3/pagination.less +86 -0
- package/dist/lib/bootstrap3/panels.less +273 -0
- package/dist/lib/bootstrap3/popovers.less +126 -0
- package/dist/lib/bootstrap3/print.less +101 -0
- package/dist/lib/bootstrap3/progress-bars.less +89 -0
- package/dist/lib/bootstrap3/responsive-embed.less +35 -0
- package/dist/lib/bootstrap3/responsive-utilities.less +196 -0
- package/dist/lib/bootstrap3/scaffolding.less +161 -0
- package/dist/lib/bootstrap3/tables.less +236 -0
- package/dist/lib/bootstrap3/theme.less +297 -0
- package/dist/lib/bootstrap3/thumbnails.less +38 -0
- package/dist/lib/bootstrap3/tooltip.less +112 -0
- package/dist/lib/bootstrap3/type.less +304 -0
- package/dist/lib/bootstrap3/utilities.less +57 -0
- package/dist/lib/bootstrap3/variables.less +871 -0
- package/dist/lib/bootstrap3/wells.less +29 -0
- package/dist/lib/bootstrap4/_alert.scss +52 -0
- package/dist/lib/bootstrap4/_badge.scss +54 -0
- package/dist/lib/bootstrap4/_breadcrumb.scss +42 -0
- package/dist/lib/bootstrap4/_button-group.scss +163 -0
- package/dist/lib/bootstrap4/_buttons.scss +142 -0
- package/dist/lib/bootstrap4/_card.scss +286 -0
- package/dist/lib/bootstrap4/_carousel.scss +197 -0
- package/dist/lib/bootstrap4/_close.scss +40 -0
- package/dist/lib/bootstrap4/_code.scss +48 -0
- package/dist/lib/bootstrap4/_custom-forms.scss +526 -0
- package/dist/lib/bootstrap4/_dropdown.scss +192 -0
- package/dist/lib/bootstrap4/_forms.scss +347 -0
- package/dist/lib/bootstrap4/_functions.scss +144 -0
- package/dist/lib/bootstrap4/_grid.scss +73 -0
- package/dist/lib/bootstrap4/_images.scss +42 -0
- package/dist/lib/bootstrap4/_input-group.scss +208 -0
- package/dist/lib/bootstrap4/_jumbotron.scss +17 -0
- package/dist/lib/bootstrap4/_list-group.scss +154 -0
- package/dist/lib/bootstrap4/_media.scss +8 -0
- package/dist/lib/bootstrap4/_mixins.scss +47 -0
- package/dist/lib/bootstrap4/_modal.scss +240 -0
- package/dist/lib/bootstrap4/_nav.scss +120 -0
- package/dist/lib/bootstrap4/_navbar.scss +332 -0
- package/dist/lib/bootstrap4/_pagination.scss +74 -0
- package/dist/lib/bootstrap4/_popover.scss +170 -0
- package/dist/lib/bootstrap4/_print.scss +141 -0
- package/dist/lib/bootstrap4/_progress.scss +47 -0
- package/dist/lib/bootstrap4/_reboot.scss +484 -0
- package/dist/lib/bootstrap4/_root.scss +19 -0
- package/dist/lib/bootstrap4/_spinners.scss +65 -0
- package/dist/lib/bootstrap4/_tables.scss +185 -0
- package/dist/lib/bootstrap4/_toasts.scss +46 -0
- package/dist/lib/bootstrap4/_tooltip.scss +115 -0
- package/dist/lib/bootstrap4/_transitions.scss +20 -0
- package/dist/lib/bootstrap4/_type.scss +125 -0
- package/dist/lib/bootstrap4/_utilities.scss +18 -0
- package/dist/lib/bootstrap4/_variables.scss +1146 -0
- package/dist/lib/bootstrap4/bootstrap-grid.scss +30 -0
- package/dist/lib/bootstrap4/bootstrap-reboot.scss +12 -0
- package/dist/lib/bootstrap4/bootstrap.scss +44 -0
- package/dist/lib/bootstrap4/mixins/_alert.scss +13 -0
- package/dist/lib/bootstrap4/mixins/_background-variant.scss +23 -0
- package/dist/lib/bootstrap4/mixins/_badge.scss +17 -0
- package/dist/lib/bootstrap4/mixins/_border-radius.scss +76 -0
- package/dist/lib/bootstrap4/mixins/_box-shadow.scss +20 -0
- package/dist/lib/bootstrap4/mixins/_breakpoints.scss +123 -0
- package/dist/lib/bootstrap4/mixins/_buttons.scss +110 -0
- package/dist/lib/bootstrap4/mixins/_caret.scss +62 -0
- package/dist/lib/bootstrap4/mixins/_clearfix.scss +7 -0
- package/dist/lib/bootstrap4/mixins/_deprecate.scss +10 -0
- package/dist/lib/bootstrap4/mixins/_float.scss +14 -0
- package/dist/lib/bootstrap4/mixins/_forms.scss +185 -0
- package/dist/lib/bootstrap4/mixins/_gradients.scss +45 -0
- package/dist/lib/bootstrap4/mixins/_grid-framework.scss +80 -0
- package/dist/lib/bootstrap4/mixins/_grid.scss +69 -0
- package/dist/lib/bootstrap4/mixins/_hover.scss +37 -0
- package/dist/lib/bootstrap4/mixins/_image.scss +36 -0
- package/dist/lib/bootstrap4/mixins/_list-group.scss +21 -0
- package/dist/lib/bootstrap4/mixins/_lists.scss +7 -0
- package/dist/lib/bootstrap4/mixins/_nav-divider.scss +11 -0
- package/dist/lib/bootstrap4/mixins/_pagination.scss +22 -0
- package/dist/lib/bootstrap4/mixins/_reset-text.scss +17 -0
- package/dist/lib/bootstrap4/mixins/_resize.scss +6 -0
- package/dist/lib/bootstrap4/mixins/_screen-reader.scss +34 -0
- package/dist/lib/bootstrap4/mixins/_size.scss +7 -0
- package/dist/lib/bootstrap4/mixins/_table-row.scss +39 -0
- package/dist/lib/bootstrap4/mixins/_text-emphasis.scss +17 -0
- package/dist/lib/bootstrap4/mixins/_text-hide.scss +11 -0
- package/dist/lib/bootstrap4/mixins/_text-truncate.scss +8 -0
- package/dist/lib/bootstrap4/mixins/_transition.scss +26 -0
- package/dist/lib/bootstrap4/mixins/_visibility.scss +8 -0
- package/dist/lib/bootstrap4/utilities/_align.scss +8 -0
- package/dist/lib/bootstrap4/utilities/_background.scss +19 -0
- package/dist/lib/bootstrap4/utilities/_borders.scss +75 -0
- package/dist/lib/bootstrap4/utilities/_clearfix.scss +3 -0
- package/dist/lib/bootstrap4/utilities/_display.scss +26 -0
- package/dist/lib/bootstrap4/utilities/_embed.scss +39 -0
- package/dist/lib/bootstrap4/utilities/_flex.scss +51 -0
- package/dist/lib/bootstrap4/utilities/_float.scss +11 -0
- package/dist/lib/bootstrap4/utilities/_interactions.scss +5 -0
- package/dist/lib/bootstrap4/utilities/_overflow.scss +5 -0
- package/dist/lib/bootstrap4/utilities/_position.scss +32 -0
- package/dist/lib/bootstrap4/utilities/_screenreaders.scss +11 -0
- package/dist/lib/bootstrap4/utilities/_shadows.scss +6 -0
- package/dist/lib/bootstrap4/utilities/_sizing.scss +20 -0
- package/dist/lib/bootstrap4/utilities/_spacing.scss +73 -0
- package/dist/lib/bootstrap4/utilities/_stretched-link.scss +19 -0
- package/dist/lib/bootstrap4/utilities/_text.scss +72 -0
- package/dist/lib/bootstrap4/utilities/_visibility.scss +13 -0
- package/dist/lib/bootstrap4/vendor/_rfs.scss +204 -0
- package/dist/lib/bootstrap5/_accordion.scss +149 -0
- package/dist/lib/bootstrap5/_alert.scss +71 -0
- package/dist/lib/bootstrap5/_badge.scss +38 -0
- package/dist/lib/bootstrap5/_breadcrumb.scss +40 -0
- package/dist/lib/bootstrap5/_button-group.scss +142 -0
- package/dist/lib/bootstrap5/_buttons.scss +207 -0
- package/dist/lib/bootstrap5/_card.scss +234 -0
- package/dist/lib/bootstrap5/_carousel.scss +226 -0
- package/dist/lib/bootstrap5/_close.scss +40 -0
- package/dist/lib/bootstrap5/_containers.scss +41 -0
- package/dist/lib/bootstrap5/_dropdown.scss +249 -0
- package/dist/lib/bootstrap5/_forms.scss +9 -0
- package/dist/lib/bootstrap5/_functions.scss +302 -0
- package/dist/lib/bootstrap5/_grid.scss +33 -0
- package/dist/lib/bootstrap5/_helpers.scss +10 -0
- package/dist/lib/bootstrap5/_images.scss +42 -0
- package/dist/lib/bootstrap5/_list-group.scss +192 -0
- package/dist/lib/bootstrap5/_maps.scss +54 -0
- package/dist/lib/bootstrap5/_mixins.scss +43 -0
- package/dist/lib/bootstrap5/_modal.scss +237 -0
- package/dist/lib/bootstrap5/_nav.scss +172 -0
- package/dist/lib/bootstrap5/_navbar.scss +278 -0
- package/dist/lib/bootstrap5/_offcanvas.scss +144 -0
- package/dist/lib/bootstrap5/_pagination.scss +109 -0
- package/dist/lib/bootstrap5/_placeholders.scss +51 -0
- package/dist/lib/bootstrap5/_popover.scss +196 -0
- package/dist/lib/bootstrap5/_progress.scss +59 -0
- package/dist/lib/bootstrap5/_reboot.scss +610 -0
- package/dist/lib/bootstrap5/_root.scss +73 -0
- package/dist/lib/bootstrap5/_spinners.scss +85 -0
- package/dist/lib/bootstrap5/_tables.scss +164 -0
- package/dist/lib/bootstrap5/_toasts.scss +73 -0
- package/dist/lib/bootstrap5/_tooltip.scss +120 -0
- package/dist/lib/bootstrap5/_transitions.scss +27 -0
- package/dist/lib/bootstrap5/_type.scss +106 -0
- package/dist/lib/bootstrap5/_utilities.scss +647 -0
- package/dist/lib/bootstrap5/_variables.scss +1634 -0
- package/dist/lib/bootstrap5/bootstrap-grid.scss +64 -0
- package/dist/lib/bootstrap5/bootstrap-reboot.scss +9 -0
- package/dist/lib/bootstrap5/bootstrap-utilities.scss +18 -0
- package/dist/lib/bootstrap5/bootstrap.scss +51 -0
- package/dist/lib/bootstrap5/forms/_floating-labels.scss +75 -0
- package/dist/lib/bootstrap5/forms/_form-check.scss +175 -0
- package/dist/lib/bootstrap5/forms/_form-control.scss +194 -0
- package/dist/lib/bootstrap5/forms/_form-range.scss +91 -0
- package/dist/lib/bootstrap5/forms/_form-select.scss +71 -0
- package/dist/lib/bootstrap5/forms/_form-text.scss +11 -0
- package/dist/lib/bootstrap5/forms/_input-group.scss +132 -0
- package/dist/lib/bootstrap5/forms/_labels.scss +36 -0
- package/dist/lib/bootstrap5/forms/_validation.scss +12 -0
- package/dist/lib/bootstrap5/helpers/_clearfix.scss +3 -0
- package/dist/lib/bootstrap5/helpers/_color-bg.scss +10 -0
- package/dist/lib/bootstrap5/helpers/_colored-links.scss +12 -0
- package/dist/lib/bootstrap5/helpers/_position.scss +36 -0
- package/dist/lib/bootstrap5/helpers/_ratio.scss +26 -0
- package/dist/lib/bootstrap5/helpers/_stacks.scss +15 -0
- package/dist/lib/bootstrap5/helpers/_stretched-link.scss +15 -0
- package/dist/lib/bootstrap5/helpers/_text-truncation.scss +7 -0
- package/dist/lib/bootstrap5/helpers/_visually-hidden.scss +8 -0
- package/dist/lib/bootstrap5/helpers/_vr.scss +8 -0
- package/dist/lib/bootstrap5/mixins/_alert.scss +15 -0
- package/dist/lib/bootstrap5/mixins/_backdrop.scss +14 -0
- package/dist/lib/bootstrap5/mixins/_banner.scss +9 -0
- package/dist/lib/bootstrap5/mixins/_border-radius.scss +78 -0
- package/dist/lib/bootstrap5/mixins/_box-shadow.scss +18 -0
- package/dist/lib/bootstrap5/mixins/_breakpoints.scss +127 -0
- package/dist/lib/bootstrap5/mixins/_buttons.scss +70 -0
- package/dist/lib/bootstrap5/mixins/_caret.scss +64 -0
- package/dist/lib/bootstrap5/mixins/_clearfix.scss +9 -0
- package/dist/lib/bootstrap5/mixins/_color-scheme.scss +7 -0
- package/dist/lib/bootstrap5/mixins/_container.scss +11 -0
- package/dist/lib/bootstrap5/mixins/_deprecate.scss +10 -0
- package/dist/lib/bootstrap5/mixins/_forms.scss +152 -0
- package/dist/lib/bootstrap5/mixins/_gradients.scss +47 -0
- package/dist/lib/bootstrap5/mixins/_grid.scss +151 -0
- package/dist/lib/bootstrap5/mixins/_image.scss +16 -0
- package/dist/lib/bootstrap5/mixins/_list-group.scss +24 -0
- package/dist/lib/bootstrap5/mixins/_lists.scss +7 -0
- package/dist/lib/bootstrap5/mixins/_pagination.scss +10 -0
- package/dist/lib/bootstrap5/mixins/_reset-text.scss +17 -0
- package/dist/lib/bootstrap5/mixins/_resize.scss +6 -0
- package/dist/lib/bootstrap5/mixins/_table-variants.scss +24 -0
- package/dist/lib/bootstrap5/mixins/_text-truncate.scss +8 -0
- package/dist/lib/bootstrap5/mixins/_transition.scss +26 -0
- package/dist/lib/bootstrap5/mixins/_utilities.scss +97 -0
- package/dist/lib/bootstrap5/mixins/_visually-hidden.scss +29 -0
- package/dist/lib/bootstrap5/utilities/_api.scss +47 -0
- package/dist/lib/bootstrap5/vendor/_rfs.scss +354 -0
- package/dist/scss/plugins/auto_position.scss +16 -0
- package/dist/scss/plugins/clear_button.scss +29 -0
- package/dist/scss/plugins/drag_drop.scss +19 -0
- package/dist/scss/plugins/dropdown_header.scss +24 -0
- package/dist/scss/plugins/optgroup_columns.scss +22 -0
- package/dist/scss/plugins/remove_button.scss +38 -0
- package/dist/scss/selectize.bootstrap3.scss +138 -0
- package/dist/scss/selectize.bootstrap4.scss +199 -0
- package/dist/scss/selectize.bootstrap5.scss +206 -0
- package/dist/scss/selectize.default.scss +71 -0
- package/dist/scss/selectize.scss +377 -0
- package/package.json +100 -0
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
// Embedded icons from Open Iconic.
|
|
2
|
+
// Released under MIT and copyright 2014 Waybury.
|
|
3
|
+
// https://useiconic.com/open
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// Checkboxes and radios
|
|
7
|
+
//
|
|
8
|
+
// Base class takes care of all the key behavioral aspects.
|
|
9
|
+
|
|
10
|
+
.custom-control {
|
|
11
|
+
position: relative;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
display: block;
|
|
14
|
+
min-height: $font-size-base * $line-height-base;
|
|
15
|
+
padding-left: $custom-control-gutter + $custom-control-indicator-size;
|
|
16
|
+
color-adjust: exact; // Keep themed appearance for print
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.custom-control-inline {
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
margin-right: $custom-control-spacer-x;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.custom-control-input {
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
27
|
+
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
|
28
|
+
width: $custom-control-indicator-size;
|
|
29
|
+
height: ($font-size-base * $line-height-base + $custom-control-indicator-size) / 2;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
|
|
32
|
+
&:checked ~ .custom-control-label::before {
|
|
33
|
+
color: $custom-control-indicator-checked-color;
|
|
34
|
+
border-color: $custom-control-indicator-checked-border-color;
|
|
35
|
+
@include gradient-bg($custom-control-indicator-checked-bg);
|
|
36
|
+
@include box-shadow($custom-control-indicator-checked-box-shadow);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:focus ~ .custom-control-label::before {
|
|
40
|
+
// the mixin is not used here to make sure there is feedback
|
|
41
|
+
@if $enable-shadows {
|
|
42
|
+
box-shadow: $input-box-shadow, $custom-control-indicator-focus-box-shadow;
|
|
43
|
+
} @else {
|
|
44
|
+
box-shadow: $custom-control-indicator-focus-box-shadow;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:focus:not(:checked) ~ .custom-control-label::before {
|
|
49
|
+
border-color: $custom-control-indicator-focus-border-color;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:not(:disabled):active ~ .custom-control-label::before {
|
|
53
|
+
color: $custom-control-indicator-active-color;
|
|
54
|
+
background-color: $custom-control-indicator-active-bg;
|
|
55
|
+
border-color: $custom-control-indicator-active-border-color;
|
|
56
|
+
@include box-shadow($custom-control-indicator-active-box-shadow);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Use [disabled] and :disabled to work around https://github.com/twbs/bootstrap/issues/28247
|
|
60
|
+
&[disabled],
|
|
61
|
+
&:disabled {
|
|
62
|
+
~ .custom-control-label {
|
|
63
|
+
color: $custom-control-label-disabled-color;
|
|
64
|
+
|
|
65
|
+
&::before {
|
|
66
|
+
background-color: $custom-control-indicator-disabled-bg;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Custom control indicators
|
|
73
|
+
//
|
|
74
|
+
// Build the custom controls out of pseudo-elements.
|
|
75
|
+
|
|
76
|
+
.custom-control-label {
|
|
77
|
+
position: relative;
|
|
78
|
+
margin-bottom: 0;
|
|
79
|
+
color: $custom-control-label-color;
|
|
80
|
+
vertical-align: top;
|
|
81
|
+
cursor: $custom-control-cursor;
|
|
82
|
+
|
|
83
|
+
// Background-color and (when enabled) gradient
|
|
84
|
+
&::before {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: ($font-size-base * $line-height-base - $custom-control-indicator-size) / 2;
|
|
87
|
+
left: -($custom-control-gutter + $custom-control-indicator-size);
|
|
88
|
+
display: block;
|
|
89
|
+
width: $custom-control-indicator-size;
|
|
90
|
+
height: $custom-control-indicator-size;
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
content: "";
|
|
93
|
+
background-color: $custom-control-indicator-bg;
|
|
94
|
+
border: $custom-control-indicator-border-color solid $custom-control-indicator-border-width;
|
|
95
|
+
@include box-shadow($custom-control-indicator-box-shadow);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Foreground (icon)
|
|
99
|
+
&::after {
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: ($font-size-base * $line-height-base - $custom-control-indicator-size) / 2;
|
|
102
|
+
left: -($custom-control-gutter + $custom-control-indicator-size);
|
|
103
|
+
display: block;
|
|
104
|
+
width: $custom-control-indicator-size;
|
|
105
|
+
height: $custom-control-indicator-size;
|
|
106
|
+
content: "";
|
|
107
|
+
background: 50% / #{$custom-control-indicator-bg-size} no-repeat;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
// Checkboxes
|
|
113
|
+
//
|
|
114
|
+
// Tweak just a few things for checkboxes.
|
|
115
|
+
|
|
116
|
+
.custom-checkbox {
|
|
117
|
+
.custom-control-label::before {
|
|
118
|
+
@include border-radius($custom-checkbox-indicator-border-radius);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.custom-control-input:checked ~ .custom-control-label {
|
|
122
|
+
&::after {
|
|
123
|
+
background-image: escape-svg($custom-checkbox-indicator-icon-checked);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.custom-control-input:indeterminate ~ .custom-control-label {
|
|
128
|
+
&::before {
|
|
129
|
+
border-color: $custom-checkbox-indicator-indeterminate-border-color;
|
|
130
|
+
@include gradient-bg($custom-checkbox-indicator-indeterminate-bg);
|
|
131
|
+
@include box-shadow($custom-checkbox-indicator-indeterminate-box-shadow);
|
|
132
|
+
}
|
|
133
|
+
&::after {
|
|
134
|
+
background-image: escape-svg($custom-checkbox-indicator-icon-indeterminate);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.custom-control-input:disabled {
|
|
139
|
+
&:checked ~ .custom-control-label::before {
|
|
140
|
+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
|
141
|
+
}
|
|
142
|
+
&:indeterminate ~ .custom-control-label::before {
|
|
143
|
+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Radios
|
|
149
|
+
//
|
|
150
|
+
// Tweak just a few things for radios.
|
|
151
|
+
|
|
152
|
+
.custom-radio {
|
|
153
|
+
.custom-control-label::before {
|
|
154
|
+
// stylelint-disable-next-line property-disallowed-list
|
|
155
|
+
border-radius: $custom-radio-indicator-border-radius;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.custom-control-input:checked ~ .custom-control-label {
|
|
159
|
+
&::after {
|
|
160
|
+
background-image: escape-svg($custom-radio-indicator-icon-checked);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.custom-control-input:disabled {
|
|
165
|
+
&:checked ~ .custom-control-label::before {
|
|
166
|
+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
// switches
|
|
173
|
+
//
|
|
174
|
+
// Tweak a few things for switches
|
|
175
|
+
|
|
176
|
+
.custom-switch {
|
|
177
|
+
padding-left: $custom-switch-width + $custom-control-gutter;
|
|
178
|
+
|
|
179
|
+
.custom-control-label {
|
|
180
|
+
&::before {
|
|
181
|
+
left: -($custom-switch-width + $custom-control-gutter);
|
|
182
|
+
width: $custom-switch-width;
|
|
183
|
+
pointer-events: all;
|
|
184
|
+
// stylelint-disable-next-line property-disallowed-list
|
|
185
|
+
border-radius: $custom-switch-indicator-border-radius;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&::after {
|
|
189
|
+
top: add(($font-size-base * $line-height-base - $custom-control-indicator-size) / 2, $custom-control-indicator-border-width * 2);
|
|
190
|
+
left: add(-($custom-switch-width + $custom-control-gutter), $custom-control-indicator-border-width * 2);
|
|
191
|
+
width: $custom-switch-indicator-size;
|
|
192
|
+
height: $custom-switch-indicator-size;
|
|
193
|
+
background-color: $custom-control-indicator-border-color;
|
|
194
|
+
// stylelint-disable-next-line property-disallowed-list
|
|
195
|
+
border-radius: $custom-switch-indicator-border-radius;
|
|
196
|
+
@include transition(transform .15s ease-in-out, $custom-forms-transition);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.custom-control-input:checked ~ .custom-control-label {
|
|
201
|
+
&::after {
|
|
202
|
+
background-color: $custom-control-indicator-bg;
|
|
203
|
+
transform: translateX($custom-switch-width - $custom-control-indicator-size);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.custom-control-input:disabled {
|
|
208
|
+
&:checked ~ .custom-control-label::before {
|
|
209
|
+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
// Select
|
|
216
|
+
//
|
|
217
|
+
// Replaces the browser default select with a custom one, mostly pulled from
|
|
218
|
+
// https://primer.github.io/.
|
|
219
|
+
//
|
|
220
|
+
|
|
221
|
+
.custom-select {
|
|
222
|
+
display: inline-block;
|
|
223
|
+
width: 100%;
|
|
224
|
+
height: $custom-select-height;
|
|
225
|
+
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
|
|
226
|
+
font-family: $custom-select-font-family;
|
|
227
|
+
@include font-size($custom-select-font-size);
|
|
228
|
+
font-weight: $custom-select-font-weight;
|
|
229
|
+
line-height: $custom-select-line-height;
|
|
230
|
+
color: $custom-select-color;
|
|
231
|
+
vertical-align: middle;
|
|
232
|
+
background: $custom-select-bg $custom-select-background;
|
|
233
|
+
border: $custom-select-border-width solid $custom-select-border-color;
|
|
234
|
+
@include border-radius($custom-select-border-radius, 0);
|
|
235
|
+
@include box-shadow($custom-select-box-shadow);
|
|
236
|
+
appearance: none;
|
|
237
|
+
|
|
238
|
+
&:focus {
|
|
239
|
+
border-color: $custom-select-focus-border-color;
|
|
240
|
+
outline: 0;
|
|
241
|
+
@if $enable-shadows {
|
|
242
|
+
@include box-shadow($custom-select-box-shadow, $custom-select-focus-box-shadow);
|
|
243
|
+
} @else {
|
|
244
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
245
|
+
box-shadow: $custom-select-focus-box-shadow;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&::-ms-value {
|
|
249
|
+
// For visual consistency with other platforms/browsers,
|
|
250
|
+
// suppress the default white text on blue background highlight given to
|
|
251
|
+
// the selected option text when the (still closed) <select> receives focus
|
|
252
|
+
// in IE and (under certain conditions) Edge.
|
|
253
|
+
// See https://github.com/twbs/bootstrap/issues/19398.
|
|
254
|
+
color: $input-color;
|
|
255
|
+
background-color: $input-bg;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&[multiple],
|
|
260
|
+
&[size]:not([size="1"]) {
|
|
261
|
+
height: auto;
|
|
262
|
+
padding-right: $custom-select-padding-x;
|
|
263
|
+
background-image: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&:disabled {
|
|
267
|
+
color: $custom-select-disabled-color;
|
|
268
|
+
background-color: $custom-select-disabled-bg;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// Hides the default caret in IE11
|
|
272
|
+
&::-ms-expand {
|
|
273
|
+
display: none;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// Remove outline from select box in FF
|
|
277
|
+
&:-moz-focusring {
|
|
278
|
+
color: transparent;
|
|
279
|
+
text-shadow: 0 0 0 $custom-select-color;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.custom-select-sm {
|
|
284
|
+
height: $custom-select-height-sm;
|
|
285
|
+
padding-top: $custom-select-padding-y-sm;
|
|
286
|
+
padding-bottom: $custom-select-padding-y-sm;
|
|
287
|
+
padding-left: $custom-select-padding-x-sm;
|
|
288
|
+
@include font-size($custom-select-font-size-sm);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.custom-select-lg {
|
|
292
|
+
height: $custom-select-height-lg;
|
|
293
|
+
padding-top: $custom-select-padding-y-lg;
|
|
294
|
+
padding-bottom: $custom-select-padding-y-lg;
|
|
295
|
+
padding-left: $custom-select-padding-x-lg;
|
|
296
|
+
@include font-size($custom-select-font-size-lg);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
// File
|
|
301
|
+
//
|
|
302
|
+
// Custom file input.
|
|
303
|
+
|
|
304
|
+
.custom-file {
|
|
305
|
+
position: relative;
|
|
306
|
+
display: inline-block;
|
|
307
|
+
width: 100%;
|
|
308
|
+
height: $custom-file-height;
|
|
309
|
+
margin-bottom: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.custom-file-input {
|
|
313
|
+
position: relative;
|
|
314
|
+
z-index: 2;
|
|
315
|
+
width: 100%;
|
|
316
|
+
height: $custom-file-height;
|
|
317
|
+
margin: 0;
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
opacity: 0;
|
|
320
|
+
|
|
321
|
+
&:focus ~ .custom-file-label {
|
|
322
|
+
border-color: $custom-file-focus-border-color;
|
|
323
|
+
box-shadow: $custom-file-focus-box-shadow;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// Use [disabled] and :disabled to work around https://github.com/twbs/bootstrap/issues/28247
|
|
327
|
+
&[disabled] ~ .custom-file-label,
|
|
328
|
+
&:disabled ~ .custom-file-label {
|
|
329
|
+
background-color: $custom-file-disabled-bg;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@each $lang, $value in $custom-file-text {
|
|
333
|
+
&:lang(#{$lang}) ~ .custom-file-label::after {
|
|
334
|
+
content: $value;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
~ .custom-file-label[data-browse]::after {
|
|
339
|
+
content: attr(data-browse);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.custom-file-label {
|
|
344
|
+
position: absolute;
|
|
345
|
+
top: 0;
|
|
346
|
+
right: 0;
|
|
347
|
+
left: 0;
|
|
348
|
+
z-index: 1;
|
|
349
|
+
height: $custom-file-height;
|
|
350
|
+
padding: $custom-file-padding-y $custom-file-padding-x;
|
|
351
|
+
overflow: hidden;
|
|
352
|
+
font-family: $custom-file-font-family;
|
|
353
|
+
font-weight: $custom-file-font-weight;
|
|
354
|
+
line-height: $custom-file-line-height;
|
|
355
|
+
color: $custom-file-color;
|
|
356
|
+
background-color: $custom-file-bg;
|
|
357
|
+
border: $custom-file-border-width solid $custom-file-border-color;
|
|
358
|
+
@include border-radius($custom-file-border-radius);
|
|
359
|
+
@include box-shadow($custom-file-box-shadow);
|
|
360
|
+
|
|
361
|
+
&::after {
|
|
362
|
+
position: absolute;
|
|
363
|
+
top: 0;
|
|
364
|
+
right: 0;
|
|
365
|
+
bottom: 0;
|
|
366
|
+
z-index: 3;
|
|
367
|
+
display: block;
|
|
368
|
+
height: $custom-file-height-inner;
|
|
369
|
+
padding: $custom-file-padding-y $custom-file-padding-x;
|
|
370
|
+
line-height: $custom-file-line-height;
|
|
371
|
+
color: $custom-file-button-color;
|
|
372
|
+
content: "Browse";
|
|
373
|
+
@include gradient-bg($custom-file-button-bg);
|
|
374
|
+
border-left: inherit;
|
|
375
|
+
@include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// Range
|
|
380
|
+
//
|
|
381
|
+
// Style range inputs the same across browsers. Vendor-specific rules for pseudo
|
|
382
|
+
// elements cannot be mixed. As such, there are no shared styles for focus or
|
|
383
|
+
// active states on prefixed selectors.
|
|
384
|
+
|
|
385
|
+
.custom-range {
|
|
386
|
+
width: 100%;
|
|
387
|
+
height: add($custom-range-thumb-height, $custom-range-thumb-focus-box-shadow-width * 2);
|
|
388
|
+
padding: 0; // Need to reset padding
|
|
389
|
+
background-color: transparent;
|
|
390
|
+
appearance: none;
|
|
391
|
+
|
|
392
|
+
&:focus {
|
|
393
|
+
outline: 0;
|
|
394
|
+
|
|
395
|
+
// Pseudo-elements must be split across multiple rulesets to have an effect.
|
|
396
|
+
// No box-shadow() mixin for focus accessibility.
|
|
397
|
+
&::-webkit-slider-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
|
398
|
+
&::-moz-range-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
|
399
|
+
&::-ms-thumb { box-shadow: $custom-range-thumb-focus-box-shadow; }
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&::-moz-focus-outer {
|
|
403
|
+
border: 0;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
&::-webkit-slider-thumb {
|
|
407
|
+
width: $custom-range-thumb-width;
|
|
408
|
+
height: $custom-range-thumb-height;
|
|
409
|
+
margin-top: ($custom-range-track-height - $custom-range-thumb-height) / 2; // Webkit specific
|
|
410
|
+
@include gradient-bg($custom-range-thumb-bg);
|
|
411
|
+
border: $custom-range-thumb-border;
|
|
412
|
+
@include border-radius($custom-range-thumb-border-radius);
|
|
413
|
+
@include box-shadow($custom-range-thumb-box-shadow);
|
|
414
|
+
@include transition($custom-forms-transition);
|
|
415
|
+
appearance: none;
|
|
416
|
+
|
|
417
|
+
&:active {
|
|
418
|
+
@include gradient-bg($custom-range-thumb-active-bg);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
&::-webkit-slider-runnable-track {
|
|
423
|
+
width: $custom-range-track-width;
|
|
424
|
+
height: $custom-range-track-height;
|
|
425
|
+
color: transparent; // Why?
|
|
426
|
+
cursor: $custom-range-track-cursor;
|
|
427
|
+
background-color: $custom-range-track-bg;
|
|
428
|
+
border-color: transparent;
|
|
429
|
+
@include border-radius($custom-range-track-border-radius);
|
|
430
|
+
@include box-shadow($custom-range-track-box-shadow);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
&::-moz-range-thumb {
|
|
434
|
+
width: $custom-range-thumb-width;
|
|
435
|
+
height: $custom-range-thumb-height;
|
|
436
|
+
@include gradient-bg($custom-range-thumb-bg);
|
|
437
|
+
border: $custom-range-thumb-border;
|
|
438
|
+
@include border-radius($custom-range-thumb-border-radius);
|
|
439
|
+
@include box-shadow($custom-range-thumb-box-shadow);
|
|
440
|
+
@include transition($custom-forms-transition);
|
|
441
|
+
appearance: none;
|
|
442
|
+
|
|
443
|
+
&:active {
|
|
444
|
+
@include gradient-bg($custom-range-thumb-active-bg);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&::-moz-range-track {
|
|
449
|
+
width: $custom-range-track-width;
|
|
450
|
+
height: $custom-range-track-height;
|
|
451
|
+
color: transparent;
|
|
452
|
+
cursor: $custom-range-track-cursor;
|
|
453
|
+
background-color: $custom-range-track-bg;
|
|
454
|
+
border-color: transparent; // Firefox specific?
|
|
455
|
+
@include border-radius($custom-range-track-border-radius);
|
|
456
|
+
@include box-shadow($custom-range-track-box-shadow);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&::-ms-thumb {
|
|
460
|
+
width: $custom-range-thumb-width;
|
|
461
|
+
height: $custom-range-thumb-height;
|
|
462
|
+
margin-top: 0; // Edge specific
|
|
463
|
+
margin-right: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
|
|
464
|
+
margin-left: $custom-range-thumb-focus-box-shadow-width; // Workaround that overflowed box-shadow is hidden.
|
|
465
|
+
@include gradient-bg($custom-range-thumb-bg);
|
|
466
|
+
border: $custom-range-thumb-border;
|
|
467
|
+
@include border-radius($custom-range-thumb-border-radius);
|
|
468
|
+
@include box-shadow($custom-range-thumb-box-shadow);
|
|
469
|
+
@include transition($custom-forms-transition);
|
|
470
|
+
appearance: none;
|
|
471
|
+
|
|
472
|
+
&:active {
|
|
473
|
+
@include gradient-bg($custom-range-thumb-active-bg);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
&::-ms-track {
|
|
478
|
+
width: $custom-range-track-width;
|
|
479
|
+
height: $custom-range-track-height;
|
|
480
|
+
color: transparent;
|
|
481
|
+
cursor: $custom-range-track-cursor;
|
|
482
|
+
background-color: transparent;
|
|
483
|
+
border-color: transparent;
|
|
484
|
+
border-width: $custom-range-thumb-height / 2;
|
|
485
|
+
@include box-shadow($custom-range-track-box-shadow);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
&::-ms-fill-lower {
|
|
489
|
+
background-color: $custom-range-track-bg;
|
|
490
|
+
@include border-radius($custom-range-track-border-radius);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
&::-ms-fill-upper {
|
|
494
|
+
margin-right: 15px; // arbitrary?
|
|
495
|
+
background-color: $custom-range-track-bg;
|
|
496
|
+
@include border-radius($custom-range-track-border-radius);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&:disabled {
|
|
500
|
+
&::-webkit-slider-thumb {
|
|
501
|
+
background-color: $custom-range-thumb-disabled-bg;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
&::-webkit-slider-runnable-track {
|
|
505
|
+
cursor: default;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
&::-moz-range-thumb {
|
|
509
|
+
background-color: $custom-range-thumb-disabled-bg;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
&::-moz-range-track {
|
|
513
|
+
cursor: default;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&::-ms-thumb {
|
|
517
|
+
background-color: $custom-range-thumb-disabled-bg;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.custom-control-label::before,
|
|
523
|
+
.custom-file-label,
|
|
524
|
+
.custom-select {
|
|
525
|
+
@include transition($custom-forms-transition);
|
|
526
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// The dropdown wrapper (`<div>`)
|
|
2
|
+
.dropup,
|
|
3
|
+
.dropright,
|
|
4
|
+
.dropdown,
|
|
5
|
+
.dropleft {
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.dropdown-toggle {
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
|
|
12
|
+
// Generate the caret automatically
|
|
13
|
+
@include caret();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// The dropdown menu
|
|
17
|
+
.dropdown-menu {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 100%;
|
|
20
|
+
left: 0;
|
|
21
|
+
z-index: $zindex-dropdown;
|
|
22
|
+
display: none; // none by default, but block on "open" of the menu
|
|
23
|
+
float: left;
|
|
24
|
+
min-width: $dropdown-min-width;
|
|
25
|
+
padding: $dropdown-padding-y $dropdown-padding-x;
|
|
26
|
+
margin: $dropdown-spacer 0 0; // override default ul
|
|
27
|
+
@include font-size($dropdown-font-size);
|
|
28
|
+
color: $dropdown-color;
|
|
29
|
+
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
|
30
|
+
list-style: none;
|
|
31
|
+
background-color: $dropdown-bg;
|
|
32
|
+
background-clip: padding-box;
|
|
33
|
+
border: $dropdown-border-width solid $dropdown-border-color;
|
|
34
|
+
@include border-radius($dropdown-border-radius);
|
|
35
|
+
@include box-shadow($dropdown-box-shadow);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
39
|
+
@include media-breakpoint-up($breakpoint) {
|
|
40
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
41
|
+
|
|
42
|
+
.dropdown-menu#{$infix}-left {
|
|
43
|
+
right: auto;
|
|
44
|
+
left: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dropdown-menu#{$infix}-right {
|
|
48
|
+
right: 0;
|
|
49
|
+
left: auto;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
|
55
|
+
// Just add .dropup after the standard .dropdown class and you're set.
|
|
56
|
+
.dropup {
|
|
57
|
+
.dropdown-menu {
|
|
58
|
+
top: auto;
|
|
59
|
+
bottom: 100%;
|
|
60
|
+
margin-top: 0;
|
|
61
|
+
margin-bottom: $dropdown-spacer;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dropdown-toggle {
|
|
65
|
+
@include caret(up);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.dropright {
|
|
70
|
+
.dropdown-menu {
|
|
71
|
+
top: 0;
|
|
72
|
+
right: auto;
|
|
73
|
+
left: 100%;
|
|
74
|
+
margin-top: 0;
|
|
75
|
+
margin-left: $dropdown-spacer;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.dropdown-toggle {
|
|
79
|
+
@include caret(right);
|
|
80
|
+
&::after {
|
|
81
|
+
vertical-align: 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.dropleft {
|
|
87
|
+
.dropdown-menu {
|
|
88
|
+
top: 0;
|
|
89
|
+
right: 100%;
|
|
90
|
+
left: auto;
|
|
91
|
+
margin-top: 0;
|
|
92
|
+
margin-right: $dropdown-spacer;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.dropdown-toggle {
|
|
96
|
+
@include caret(left);
|
|
97
|
+
&::before {
|
|
98
|
+
vertical-align: 0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// When Popper is enabled, reset the basic dropdown position
|
|
104
|
+
// stylelint-disable-next-line no-duplicate-selectors
|
|
105
|
+
.dropdown-menu {
|
|
106
|
+
&[x-placement^="top"],
|
|
107
|
+
&[x-placement^="right"],
|
|
108
|
+
&[x-placement^="bottom"],
|
|
109
|
+
&[x-placement^="left"] {
|
|
110
|
+
right: auto;
|
|
111
|
+
bottom: auto;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Dividers (basically an `<hr>`) within the dropdown
|
|
116
|
+
.dropdown-divider {
|
|
117
|
+
@include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y, true);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Links, buttons, and more within the dropdown menu
|
|
121
|
+
//
|
|
122
|
+
// `<button>`-specific styles are denoted with `// For <button>s`
|
|
123
|
+
.dropdown-item {
|
|
124
|
+
display: block;
|
|
125
|
+
width: 100%; // For `<button>`s
|
|
126
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
127
|
+
clear: both;
|
|
128
|
+
font-weight: $font-weight-normal;
|
|
129
|
+
color: $dropdown-link-color;
|
|
130
|
+
text-align: inherit; // For `<button>`s
|
|
131
|
+
text-decoration: if($link-decoration == none, null, none);
|
|
132
|
+
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
|
133
|
+
background-color: transparent; // For `<button>`s
|
|
134
|
+
border: 0; // For `<button>`s
|
|
135
|
+
|
|
136
|
+
// Prevent dropdown overflow if there's no padding
|
|
137
|
+
// See https://github.com/twbs/bootstrap/pull/27703
|
|
138
|
+
@if $dropdown-padding-y == 0 {
|
|
139
|
+
&:first-child {
|
|
140
|
+
@include border-top-radius($dropdown-inner-border-radius);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:last-child {
|
|
144
|
+
@include border-bottom-radius($dropdown-inner-border-radius);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@include hover-focus() {
|
|
149
|
+
color: $dropdown-link-hover-color;
|
|
150
|
+
text-decoration: none;
|
|
151
|
+
@include gradient-bg($dropdown-link-hover-bg);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&.active,
|
|
155
|
+
&:active {
|
|
156
|
+
color: $dropdown-link-active-color;
|
|
157
|
+
text-decoration: none;
|
|
158
|
+
@include gradient-bg($dropdown-link-active-bg);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.disabled,
|
|
162
|
+
&:disabled {
|
|
163
|
+
color: $dropdown-link-disabled-color;
|
|
164
|
+
pointer-events: none;
|
|
165
|
+
background-color: transparent;
|
|
166
|
+
// Remove CSS gradients if they're enabled
|
|
167
|
+
@if $enable-gradients {
|
|
168
|
+
background-image: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.dropdown-menu.show {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Dropdown section headers
|
|
178
|
+
.dropdown-header {
|
|
179
|
+
display: block;
|
|
180
|
+
padding: $dropdown-header-padding;
|
|
181
|
+
margin-bottom: 0; // for use with heading elements
|
|
182
|
+
@include font-size($font-size-sm);
|
|
183
|
+
color: $dropdown-header-color;
|
|
184
|
+
white-space: nowrap; // as with > li > a
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Dropdown text
|
|
188
|
+
.dropdown-item-text {
|
|
189
|
+
display: block;
|
|
190
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
191
|
+
color: $dropdown-link-color;
|
|
192
|
+
}
|