patternfly-sass 0.0.0.pre.semantically.pre.released
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +4 -0
- data/LICENSE.txt +205 -0
- data/OPEN_SOURCE_LICENCES.txt +1366 -0
- data/QUICKSTART.md +210 -0
- data/README.md +438 -0
- data/dist/fonts/FontAwesome.otf +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.svg +19028 -0
- data/dist/fonts/OpenSans-Bold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Bold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.svg +19036 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.svg +19030 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg +19036 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.svg +19043 -0
- data/dist/fonts/OpenSans-Italic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Italic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Light-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Light-webfont.svg +19026 -0
- data/dist/fonts/OpenSans-Light-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Light-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Light-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.svg +19039 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.svg +19030 -0
- data/dist/fonts/OpenSans-Regular-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Regular-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.eot +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.svg +19030 -0
- data/dist/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.woff +0 -0
- data/dist/fonts/OpenSans-Semibold-webfont.woff2 +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.svg +19043 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.eot +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.svg +140 -0
- data/dist/fonts/PatternFlyIcons-webfont.ttf +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.eot +0 -0
- data/dist/fonts/fontawesome-webfont.svg +2671 -0
- data/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/dist/fonts/fontawesome-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/dist/fonts/glyphicons-halflings-regular.svg +288 -0
- data/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/dist/img/Logo_Horizontal_Reversed.svg +49 -0
- data/dist/img/OpenShift-Logo-NoText.svg +51 -0
- data/dist/img/OpenShift-Logo-Text.svg +95 -0
- data/dist/img/OpenShift-logo.svg +69 -0
- data/dist/img/RH_Atomic-Logo-NoText.svg +53 -0
- data/dist/img/RH_Atomic-Logo-Text.svg +91 -0
- data/dist/img/RH_atomic.svg +88 -0
- data/dist/img/apple-touch-icon-precomposed-114.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-144.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-152.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-180.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-57.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-72.png +0 -0
- data/dist/img/apple-touch-icon-precomposed-76.png +0 -0
- data/dist/img/bg-login-2.png +0 -0
- data/dist/img/bg-login.jpg +0 -0
- data/dist/img/bg-login.png +0 -0
- data/dist/img/bg-modal-about-pf.png +0 -0
- data/dist/img/bg-navbar-pf-alt.svg +9 -0
- data/dist/img/brand-alt.svg +88 -0
- data/dist/img/brand.svg +87 -0
- data/dist/img/dropbox-logo.svg +15 -0
- data/dist/img/facebook-logo.svg +12 -0
- data/dist/img/favicon.ico +0 -0
- data/dist/img/fedora-logo.png +0 -0
- data/dist/img/git-logo.svg +21 -0
- data/dist/img/github-logo.svg +17 -0
- data/dist/img/gmail.svg +23 -0
- data/dist/img/google-calendar.svg +26 -0
- data/dist/img/google-drive.svg +17 -0
- data/dist/img/google-logo.svg +19 -0
- data/dist/img/instagram-logo.png +0 -0
- data/dist/img/kubernetes-Logo.svg +60 -0
- data/dist/img/kubernetes.svg +8 -0
- data/dist/img/linkedin-logo.svg +13 -0
- data/dist/img/logo-alt.svg +18 -0
- data/dist/img/logo.svg +22 -0
- data/dist/img/open-id-logo.svg +19 -0
- data/dist/img/rcue-full.svg +221 -0
- data/dist/img/rcue.svg +92 -0
- data/dist/img/redhat_reverse.png +0 -0
- data/dist/img/skype-logo.svg +23 -0
- data/dist/img/spinner-inverse-lg.gif +0 -0
- data/dist/img/spinner-inverse-sm.gif +0 -0
- data/dist/img/spinner-inverse-xs.gif +0 -0
- data/dist/img/spinner-inverse.gif +0 -0
- data/dist/img/spinner-lg.gif +0 -0
- data/dist/img/spinner-sm.gif +0 -0
- data/dist/img/spinner-xs.gif +0 -0
- data/dist/img/spinner.gif +0 -0
- data/dist/img/stack-exchange-logo.svg +21 -0
- data/dist/img/twitter-logo.svg +19 -0
- data/dist/js/patternfly-functions-base.js +7 -0
- data/dist/js/patternfly-functions-charts.js +13 -0
- data/dist/js/patternfly-functions-colors.js +8 -0
- data/dist/js/patternfly-functions-count-chars.js +59 -0
- data/dist/js/patternfly-functions-data-tables.js +149 -0
- data/dist/js/patternfly-functions-fixed-heights.js +109 -0
- data/dist/js/patternfly-functions-list.js +79 -0
- data/dist/js/patternfly-functions-navigation.js +113 -0
- data/dist/js/patternfly-functions-popovers.js +37 -0
- data/dist/js/patternfly-functions-sidebar.js +31 -0
- data/dist/js/patternfly-functions-tree-grid.js +82 -0
- data/dist/js/patternfly-functions-vertical-nav.js +610 -0
- data/dist/js/patternfly-functions.js +1307 -0
- data/dist/js/patternfly-functions.min.js +1 -0
- data/dist/js/patternfly-settings-base.d.ts +9 -0
- data/dist/js/patternfly-settings-base.js +16 -0
- data/dist/js/patternfly-settings-charts.d.ts +92 -0
- data/dist/js/patternfly-settings-charts.js +449 -0
- data/dist/js/patternfly-settings-colors.d.ts +88 -0
- data/dist/js/patternfly-settings-colors.js +91 -0
- data/dist/js/patternfly-settings.d.ts +3 -0
- data/dist/js/patternfly-settings.js +558 -0
- data/dist/js/patternfly-settings.min.js +1 -0
- data/dist/js/patternfly.dataTables.pfColVis.js +151 -0
- data/dist/js/patternfly.dataTables.pfEmpty.js +253 -0
- data/dist/js/patternfly.dataTables.pfEmpty.min.js +1 -0
- data/dist/js/patternfly.dataTables.pfFilter.js +429 -0
- data/dist/js/patternfly.dataTables.pfFilter.min.js +1 -0
- data/dist/js/patternfly.dataTables.pfPagination.js +401 -0
- data/dist/js/patternfly.dataTables.pfPagination.min.js +1 -0
- data/dist/js/patternfly.dataTables.pfResize.js +214 -0
- data/dist/js/patternfly.dataTables.pfResize.min.js +1 -0
- data/dist/js/patternfly.dataTables.pfSelect.js +281 -0
- data/dist/js/patternfly.dataTables.pfSelect.min.js +1 -0
- data/dist/js/patternfly.js +1866 -0
- data/dist/js/patternfly.min.js +2 -0
- data/dist/sass/_patternfly-compass.scss +3 -0
- data/dist/sass/_patternfly-sprockets.scss +3 -0
- data/dist/sass/_patternfly.scss +147 -0
- data/dist/sass/patternfly/_about-modal.scss +44 -0
- data/dist/sass/patternfly/_accordion.scss +18 -0
- data/dist/sass/patternfly/_alerts.scss +44 -0
- data/dist/sass/patternfly/_application-launcher.scss +213 -0
- data/dist/sass/patternfly/_badges.scss +11 -0
- data/dist/sass/patternfly/_blank-slate.scss +52 -0
- data/dist/sass/patternfly/_bootstrap-combobox.scss +35 -0
- data/dist/sass/patternfly/_bootstrap-datepicker.scss +132 -0
- data/dist/sass/patternfly/_bootstrap-mixin-overrides.scss +33 -0
- data/dist/sass/patternfly/_bootstrap-select.scss +108 -0
- data/dist/sass/patternfly/_bootstrap-slider.scss +66 -0
- data/dist/sass/patternfly/_bootstrap-switch.scss +19 -0
- data/dist/sass/patternfly/_bootstrap-touchspin.scss +31 -0
- data/dist/sass/patternfly/_bootstrap-treeview.scss +89 -0
- data/dist/sass/patternfly/_breadcrumbs.scss +20 -0
- data/dist/sass/patternfly/_buttons.scss +50 -0
- data/dist/sass/patternfly/_card-view.scss +105 -0
- data/dist/sass/patternfly/_cards.scss +238 -0
- data/dist/sass/patternfly/_charts.scss +388 -0
- data/dist/sass/patternfly/_close.scss +16 -0
- data/dist/sass/patternfly/_color-variables.scss +85 -0
- data/dist/sass/patternfly/_context-selector.scss +125 -0
- data/dist/sass/patternfly/_datatables.scss +186 -0
- data/dist/sass/patternfly/_date-and-time.scss +35 -0
- data/dist/sass/patternfly/_dropdowns.scss +235 -0
- data/dist/sass/patternfly/_experimental-features.scss +48 -0
- data/dist/sass/patternfly/_filter.scss +42 -0
- data/dist/sass/patternfly/_fonts.scss +124 -0
- data/dist/sass/patternfly/_footer.scss +19 -0
- data/dist/sass/patternfly/_forms.scss +192 -0
- data/dist/sass/patternfly/_icons.scss +371 -0
- data/dist/sass/patternfly/_infotip.scss +145 -0
- data/dist/sass/patternfly/_labels.scss +17 -0
- data/dist/sass/patternfly/_layouts.scss +140 -0
- data/dist/sass/patternfly/_links.scss +5 -0
- data/dist/sass/patternfly/_list-group.scss +23 -0
- data/dist/sass/patternfly/_list-pf.scss +178 -0
- data/dist/sass/patternfly/_list-view-dnd.scss +53 -0
- data/dist/sass/patternfly/_list-view.scss +390 -0
- data/dist/sass/patternfly/_login.scss +341 -0
- data/dist/sass/patternfly/_mixins.scss +81 -0
- data/dist/sass/patternfly/_modals.scss +49 -0
- data/dist/sass/patternfly/_nav-vertical-alt.scss +168 -0
- data/dist/sass/patternfly/_navbar-alt.scss +141 -0
- data/dist/sass/patternfly/_navbar-vertical.scss +168 -0
- data/dist/sass/patternfly/_navbar.scss +579 -0
- data/dist/sass/patternfly/_notifications-drawer.scss +250 -0
- data/dist/sass/patternfly/_pager.scss +68 -0
- data/dist/sass/patternfly/_pagination.scss +121 -0
- data/dist/sass/patternfly/_panels.scss +134 -0
- data/dist/sass/patternfly/_popovers.scss +52 -0
- data/dist/sass/patternfly/_progress-bars.scss +121 -0
- data/dist/sass/patternfly/_rcue-about-modal.scss +45 -0
- data/dist/sass/patternfly/_rcue-additions.scss +11 -0
- data/dist/sass/patternfly/_rcue-login.scss +75 -0
- data/dist/sass/patternfly/_rcue-variables.scss +57 -0
- data/dist/sass/patternfly/_rcue.scss +6 -0
- data/dist/sass/patternfly/_search.scss +64 -0
- data/dist/sass/patternfly/_sidebar.scss +176 -0
- data/dist/sass/patternfly/_skip-to-content.scss +12 -0
- data/dist/sass/patternfly/_spinner.scss +72 -0
- data/dist/sass/patternfly/_syntax-highlighting.scss +36 -0
- data/dist/sass/patternfly/_table-view.scss +188 -0
- data/dist/sass/patternfly/_tables.scss +90 -0
- data/dist/sass/patternfly/_tabs.scss +118 -0
- data/dist/sass/patternfly/_time-picker.scss +98 -0
- data/dist/sass/patternfly/_toast.scss +75 -0
- data/dist/sass/patternfly/_toolbar.scss +190 -0
- data/dist/sass/patternfly/_tooltip.scss +15 -0
- data/dist/sass/patternfly/_tree-list-view.scss +83 -0
- data/dist/sass/patternfly/_type.scss +29 -0
- data/dist/sass/patternfly/_variables.scss +595 -0
- data/dist/sass/patternfly/_vertical-nav.scss +944 -0
- data/dist/sass/patternfly/_wizard.scss +665 -0
- data/dist/sass/patternfly/dependencies/bootstrap-combobox/combobox.scss +57 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker.scss +242 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker3.scss +257 -0
- data/dist/sass/patternfly/dependencies/bootstrap-select/bootstrap-select.scss +389 -0
- data/dist/sass/patternfly/dependencies/bootstrap-select/variables.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_mixins.scss +25 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_rules.scss +246 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/_variables.scss +28 -0
- data/dist/sass/patternfly/dependencies/bootstrap-slider/bootstrap-slider.scss +42 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/bootstrap-switch.scss +195 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/build.scss +3 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/alerts.scss +14 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/background-variant.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/border-radius.scss +18 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/buttons.scss +68 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/center-block.scss +7 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/clearfix.scss +22 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/forms.scss +85 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/gradients.scss +59 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid-framework.scss +98 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/grid.scss +122 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/hide-text.scss +21 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/image.scss +33 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/labels.scss +12 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/list-group.scss +29 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-divider.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/nav-vertical-align.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/opacity.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/pagination.scss +23 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/panels.scss +24 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/progress-bar.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-filter.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/reset-text.scss +18 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/resize.scss +6 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/responsive-visibility.scss +15 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/size.scss +10 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/tab-focus.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/table-row.scss +28 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-emphasis.scss +9 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/text-overflow.scss +8 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins/vendor-prefixes.scss +227 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins.scss +40 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/variables.scss +862 -0
- data/dist/sass/patternfly/dependencies/bootstrap-touchspin/_jquery.bootstrap-touchspin.scss +45 -0
- data/dist/sass/patternfly/dependencies/c3/_c3.scss +178 -0
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/_bootstrap-datetimepicker.scss +344 -0
- data/dist/sass/patternfly/dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build.scss +16 -0
- data/dist/sass/rcue/_about-modal.scss +44 -0
- data/dist/sass/rcue/_accordion.scss +18 -0
- data/dist/sass/rcue/_alerts.scss +44 -0
- data/dist/sass/rcue/_badges.scss +11 -0
- data/dist/sass/rcue/_blank-slate.scss +52 -0
- data/dist/sass/rcue/_bootstrap-combobox.scss +35 -0
- data/dist/sass/rcue/_bootstrap-datepicker.scss +132 -0
- data/dist/sass/rcue/_bootstrap-mixin-overrides.scss +33 -0
- data/dist/sass/rcue/_bootstrap-select.scss +108 -0
- data/dist/sass/rcue/_bootstrap-slider.scss +66 -0
- data/dist/sass/rcue/_bootstrap-switch.scss +19 -0
- data/dist/sass/rcue/_bootstrap-touchspin.scss +31 -0
- data/dist/sass/rcue/_bootstrap-treeview.scss +89 -0
- data/dist/sass/rcue/_breadcrumbs.scss +20 -0
- data/dist/sass/rcue/_buttons.scss +50 -0
- data/dist/sass/rcue/_card-view.scss +105 -0
- data/dist/sass/rcue/_cards.scss +238 -0
- data/dist/sass/rcue/_charts.scss +388 -0
- data/dist/sass/rcue/_close.scss +16 -0
- data/dist/sass/rcue/_color-variables.scss +85 -0
- data/dist/sass/rcue/_context-selector.scss +125 -0
- data/dist/sass/rcue/_datatables.scss +186 -0
- data/dist/sass/rcue/_date-and-time.scss +35 -0
- data/dist/sass/rcue/_dropdowns.scss +235 -0
- data/dist/sass/rcue/_experimental-features.scss +48 -0
- data/dist/sass/rcue/_filter.scss +42 -0
- data/dist/sass/rcue/_fonts.scss +124 -0
- data/dist/sass/rcue/_footer.scss +19 -0
- data/dist/sass/rcue/_forms.scss +192 -0
- data/dist/sass/rcue/_icons.scss +371 -0
- data/dist/sass/rcue/_infotip.scss +145 -0
- data/dist/sass/rcue/_labels.scss +17 -0
- data/dist/sass/rcue/_layouts.scss +140 -0
- data/dist/sass/rcue/_links.scss +5 -0
- data/dist/sass/rcue/_list-group.scss +23 -0
- data/dist/sass/rcue/_list-pf.scss +178 -0
- data/dist/sass/rcue/_list-view-dnd.scss +53 -0
- data/dist/sass/rcue/_list-view.scss +390 -0
- data/dist/sass/rcue/_login.scss +341 -0
- data/dist/sass/rcue/_mixins.scss +81 -0
- data/dist/sass/rcue/_modals.scss +49 -0
- data/dist/sass/rcue/_nav-vertical-alt.scss +168 -0
- data/dist/sass/rcue/_navbar-alt.scss +141 -0
- data/dist/sass/rcue/_navbar-vertical.scss +168 -0
- data/dist/sass/rcue/_navbar.scss +579 -0
- data/dist/sass/rcue/_notifications-drawer.scss +250 -0
- data/dist/sass/rcue/_pager.scss +68 -0
- data/dist/sass/rcue/_pagination.scss +121 -0
- data/dist/sass/rcue/_panels.scss +134 -0
- data/dist/sass/rcue/_patternfly-additions.scss +76 -0
- data/dist/sass/rcue/_patternfly.scss +31 -0
- data/dist/sass/rcue/_popovers.scss +52 -0
- data/dist/sass/rcue/_progress-bars.scss +121 -0
- data/dist/sass/rcue/_rcue-about-modal.scss +45 -0
- data/dist/sass/rcue/_rcue-login.scss +75 -0
- data/dist/sass/rcue/_rcue-variables.scss +57 -0
- data/dist/sass/rcue/_search.scss +64 -0
- data/dist/sass/rcue/_sidebar.scss +176 -0
- data/dist/sass/rcue/_skip-to-content.scss +12 -0
- data/dist/sass/rcue/_spinner.scss +72 -0
- data/dist/sass/rcue/_syntax-highlighting.scss +36 -0
- data/dist/sass/rcue/_table-view.scss +188 -0
- data/dist/sass/rcue/_tables.scss +90 -0
- data/dist/sass/rcue/_tabs.scss +118 -0
- data/dist/sass/rcue/_time-picker.scss +98 -0
- data/dist/sass/rcue/_toast.scss +75 -0
- data/dist/sass/rcue/_toolbar.scss +190 -0
- data/dist/sass/rcue/_tooltip.scss +15 -0
- data/dist/sass/rcue/_tree-list-view.scss +83 -0
- data/dist/sass/rcue/_type.scss +29 -0
- data/dist/sass/rcue/_variables.scss +595 -0
- data/dist/sass/rcue/_vertical-nav.scss +944 -0
- data/dist/sass/rcue/_wizard.scss +665 -0
- data/lib/patternfly-sass/engine.rb +11 -0
- data/lib/patternfly-sass/version.rb +3 -0
- data/lib/patternfly-sass.rb +92 -0
- data/patternfly-sass.gemspec +31 -0
- metadata +445 -0
@@ -0,0 +1,389 @@
|
|
1
|
+
@import "variables";
|
2
|
+
|
3
|
+
// Mixins
|
4
|
+
@mixin cursor-disabled() {
|
5
|
+
cursor: not-allowed;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin box-sizing($fmt) {
|
9
|
+
-webkit-box-sizing: $fmt;
|
10
|
+
-moz-box-sizing: $fmt;
|
11
|
+
box-sizing: $fmt;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin box-shadow($fmt) {
|
15
|
+
-webkit-box-shadow: $fmt;
|
16
|
+
box-shadow: $fmt;
|
17
|
+
}
|
18
|
+
|
19
|
+
@function fade($color, $amnt) {
|
20
|
+
@if $amnt > 1 {
|
21
|
+
$amnt: $amnt / 100; // convert to percentage if int
|
22
|
+
}
|
23
|
+
@return rgba($color, $amnt);
|
24
|
+
}
|
25
|
+
|
26
|
+
// Rules
|
27
|
+
select.bs-select-hidden,
|
28
|
+
select.selectpicker {
|
29
|
+
display: none !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.bootstrap-select {
|
33
|
+
width: 220px \0; /*IE9 and below*/
|
34
|
+
|
35
|
+
// The selectpicker button
|
36
|
+
> .dropdown-toggle {
|
37
|
+
width: 100%;
|
38
|
+
padding-right: 25px;
|
39
|
+
z-index: 1;
|
40
|
+
|
41
|
+
&.bs-placeholder,
|
42
|
+
&.bs-placeholder:hover,
|
43
|
+
&.bs-placeholder:focus,
|
44
|
+
&.bs-placeholder:active { color: $input-color-placeholder; }
|
45
|
+
}
|
46
|
+
|
47
|
+
> select {
|
48
|
+
position: absolute !important;
|
49
|
+
bottom: 0;
|
50
|
+
left: 50%;
|
51
|
+
display: block !important;
|
52
|
+
width: 0.5px !important;
|
53
|
+
height: 100% !important;
|
54
|
+
padding: 0 !important;
|
55
|
+
opacity: 0 !important;
|
56
|
+
border: none;
|
57
|
+
|
58
|
+
&.mobile-device {
|
59
|
+
top: 0;
|
60
|
+
left: 0;
|
61
|
+
display: block !important;
|
62
|
+
width: 100% !important;
|
63
|
+
z-index: 2;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// Error display
|
68
|
+
.has-error & .dropdown-toggle,
|
69
|
+
.error & .dropdown-toggle {
|
70
|
+
border-color: $color-red-error;
|
71
|
+
}
|
72
|
+
|
73
|
+
&.fit-width {
|
74
|
+
width: auto !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
&:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
|
78
|
+
width: $width-default;
|
79
|
+
}
|
80
|
+
|
81
|
+
.dropdown-toggle:focus {
|
82
|
+
outline: thin dotted #333333 !important;
|
83
|
+
outline: 5px auto -webkit-focus-ring-color !important;
|
84
|
+
outline-offset: -2px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.bootstrap-select.form-control {
|
89
|
+
margin-bottom: 0;
|
90
|
+
padding: 0;
|
91
|
+
border: none;
|
92
|
+
|
93
|
+
&:not([class*="col-"]) {
|
94
|
+
width: 100%;
|
95
|
+
}
|
96
|
+
|
97
|
+
&.input-group-btn {
|
98
|
+
z-index: auto;
|
99
|
+
|
100
|
+
&:not(:first-child):not(:last-child) {
|
101
|
+
> .btn {
|
102
|
+
border-radius: 0;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// The selectpicker components
|
109
|
+
.bootstrap-select.btn-group {
|
110
|
+
&:not(.input-group-btn),
|
111
|
+
&[class*="col-"] {
|
112
|
+
float: none;
|
113
|
+
display: inline-block;
|
114
|
+
margin-left: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
// Forces the pull to the right, if necessary
|
118
|
+
&,
|
119
|
+
&[class*="col-"],
|
120
|
+
.row &[class*="col-"] {
|
121
|
+
&.dropdown-menu-right {
|
122
|
+
float: right;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.form-inline &,
|
127
|
+
.form-horizontal &,
|
128
|
+
.form-group & {
|
129
|
+
margin-bottom: 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
.form-group-lg &.form-control,
|
133
|
+
.form-group-sm &.form-control {
|
134
|
+
padding: 0;
|
135
|
+
|
136
|
+
.dropdown-toggle {
|
137
|
+
height: 100%;
|
138
|
+
font-size: inherit;
|
139
|
+
line-height: inherit;
|
140
|
+
border-radius: inherit;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
// Set the width of the live search (and any other form control within an inline form)
|
145
|
+
// see https://github.com/silviomoreto/bootstrap-select/issues/685
|
146
|
+
.form-inline & .form-control {
|
147
|
+
width: 100%;
|
148
|
+
}
|
149
|
+
|
150
|
+
&.disabled,
|
151
|
+
> .disabled {
|
152
|
+
@include cursor-disabled();
|
153
|
+
|
154
|
+
&:focus {
|
155
|
+
outline: none !important;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
&.bs-container {
|
160
|
+
position: absolute;
|
161
|
+
height: 0 !important;
|
162
|
+
padding: 0 !important;
|
163
|
+
|
164
|
+
.dropdown-menu {
|
165
|
+
z-index: $zindex-select-dropdown;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
// The selectpicker button
|
170
|
+
.dropdown-toggle {
|
171
|
+
.filter-option {
|
172
|
+
display: inline-block;
|
173
|
+
overflow: hidden;
|
174
|
+
width: 100%;
|
175
|
+
text-align: left;
|
176
|
+
}
|
177
|
+
|
178
|
+
.caret {
|
179
|
+
position: absolute;
|
180
|
+
top: 50%;
|
181
|
+
right: 12px;
|
182
|
+
margin-top: -2px;
|
183
|
+
vertical-align: middle;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
&[class*="col-"] .dropdown-toggle {
|
188
|
+
width: 100%;
|
189
|
+
}
|
190
|
+
|
191
|
+
// The selectpicker dropdown
|
192
|
+
.dropdown-menu {
|
193
|
+
min-width: 100%;
|
194
|
+
@include box-sizing(border-box);
|
195
|
+
|
196
|
+
&.inner {
|
197
|
+
position: static;
|
198
|
+
float: none;
|
199
|
+
border: 0;
|
200
|
+
padding: 0;
|
201
|
+
margin: 0;
|
202
|
+
border-radius: 0;
|
203
|
+
box-shadow: none;
|
204
|
+
}
|
205
|
+
|
206
|
+
li {
|
207
|
+
position: relative;
|
208
|
+
|
209
|
+
&.active small {
|
210
|
+
color: #fff;
|
211
|
+
}
|
212
|
+
|
213
|
+
&.disabled a {
|
214
|
+
@include cursor-disabled();
|
215
|
+
}
|
216
|
+
|
217
|
+
a {
|
218
|
+
cursor: pointer;
|
219
|
+
user-select: none;
|
220
|
+
|
221
|
+
&.opt {
|
222
|
+
position: relative;
|
223
|
+
padding-left: 2.25em;
|
224
|
+
}
|
225
|
+
|
226
|
+
span.check-mark {
|
227
|
+
display: none;
|
228
|
+
}
|
229
|
+
|
230
|
+
span.text {
|
231
|
+
display: inline-block;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
small {
|
236
|
+
padding-left: 0.5em;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
.notify {
|
241
|
+
position: absolute;
|
242
|
+
bottom: 5px;
|
243
|
+
width: 96%;
|
244
|
+
margin: 0 2%;
|
245
|
+
min-height: 26px;
|
246
|
+
padding: 3px 5px;
|
247
|
+
background: rgb(245, 245, 245);
|
248
|
+
border: 1px solid rgb(227, 227, 227);
|
249
|
+
@include box-shadow(inset 0 1px 1px fade(rgb(0, 0, 0), 5));
|
250
|
+
pointer-events: none;
|
251
|
+
opacity: 0.9;
|
252
|
+
@include box-sizing(border-box);
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.no-results {
|
257
|
+
padding: 3px;
|
258
|
+
background: #f5f5f5;
|
259
|
+
margin: 0 5px;
|
260
|
+
white-space: nowrap;
|
261
|
+
}
|
262
|
+
|
263
|
+
&.fit-width .dropdown-toggle {
|
264
|
+
.filter-option {
|
265
|
+
position: static;
|
266
|
+
}
|
267
|
+
|
268
|
+
.caret {
|
269
|
+
position: static;
|
270
|
+
top: auto;
|
271
|
+
margin-top: -1px;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
&.show-tick .dropdown-menu li {
|
276
|
+
&.selected a span.check-mark {
|
277
|
+
position: absolute;
|
278
|
+
display: inline-block;
|
279
|
+
right: 15px;
|
280
|
+
margin-top: 5px;
|
281
|
+
}
|
282
|
+
|
283
|
+
a span.text {
|
284
|
+
margin-right: 34px;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
.bootstrap-select.show-menu-arrow {
|
290
|
+
&.open > .dropdown-toggle {
|
291
|
+
z-index: ($zindex-select-dropdown + 1);
|
292
|
+
}
|
293
|
+
|
294
|
+
.dropdown-toggle {
|
295
|
+
&:before {
|
296
|
+
content: '';
|
297
|
+
border-left: 7px solid transparent;
|
298
|
+
border-right: 7px solid transparent;
|
299
|
+
border-bottom: 7px solid $color-grey-arrow;
|
300
|
+
position: absolute;
|
301
|
+
bottom: -4px;
|
302
|
+
left: 9px;
|
303
|
+
display: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
&:after {
|
307
|
+
content: '';
|
308
|
+
border-left: 6px solid transparent;
|
309
|
+
border-right: 6px solid transparent;
|
310
|
+
border-bottom: 6px solid white;
|
311
|
+
position: absolute;
|
312
|
+
bottom: -4px;
|
313
|
+
left: 10px;
|
314
|
+
display: none;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
|
318
|
+
&.dropup .dropdown-toggle {
|
319
|
+
&:before {
|
320
|
+
bottom: auto;
|
321
|
+
top: -3px;
|
322
|
+
border-top: 7px solid $color-grey-arrow;
|
323
|
+
border-bottom: 0;
|
324
|
+
}
|
325
|
+
|
326
|
+
&:after {
|
327
|
+
bottom: auto;
|
328
|
+
top: -3px;
|
329
|
+
border-top: 6px solid white;
|
330
|
+
border-bottom: 0;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
&.pull-right .dropdown-toggle {
|
335
|
+
&:before {
|
336
|
+
right: 12px;
|
337
|
+
left: auto;
|
338
|
+
}
|
339
|
+
|
340
|
+
&:after {
|
341
|
+
right: 13px;
|
342
|
+
left: auto;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
&.open > .dropdown-toggle {
|
347
|
+
&:before,
|
348
|
+
&:after {
|
349
|
+
display: block;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
.bs-searchbox,
|
355
|
+
.bs-actionsbox,
|
356
|
+
.bs-donebutton {
|
357
|
+
padding: 4px 8px;
|
358
|
+
}
|
359
|
+
|
360
|
+
.bs-actionsbox {
|
361
|
+
width: 100%;
|
362
|
+
@include box-sizing(border-box);
|
363
|
+
|
364
|
+
& .btn-group button {
|
365
|
+
width: 50%;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
.bs-donebutton {
|
370
|
+
float: left;
|
371
|
+
width: 100%;
|
372
|
+
@include box-sizing(border-box);
|
373
|
+
|
374
|
+
& .btn-group button {
|
375
|
+
width: 100%;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
.bs-searchbox {
|
380
|
+
& + .bs-actionsbox {
|
381
|
+
padding: 0 8px 4px;
|
382
|
+
}
|
383
|
+
|
384
|
+
& .form-control {
|
385
|
+
margin-bottom: 0;
|
386
|
+
width: 100%;
|
387
|
+
float: none;
|
388
|
+
}
|
389
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
$color-red-error: rgb(185, 74, 72) !default;
|
2
|
+
$color-grey-arrow: rgba(204, 204, 204, 0.2) !default;
|
3
|
+
|
4
|
+
$width-default: 220px !default; // 3 960px-grid columns
|
5
|
+
|
6
|
+
$zindex-select-dropdown: 1060 !default; // must be higher than a modal background (1050)
|
7
|
+
|
8
|
+
//** Placeholder text color
|
9
|
+
$input-color-placeholder: #999 !default;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@mixin slider_background-image ($colorstart:#F5F5F5, $colorend:#F9F9F9, $backcolor: #F7F7F7) {
|
2
|
+
background-color: $backcolor;
|
3
|
+
background-image: -moz-linear-gradient(top, $colorstart, $colorend);
|
4
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($colorstart), to($colorend));
|
5
|
+
background-image: -webkit-linear-gradient(top, $colorstart, $colorend);
|
6
|
+
background-image: -o-linear-gradient(top, $colorstart, $colorend);
|
7
|
+
background-image: linear-gradient(to bottom, $colorstart, $colorend);
|
8
|
+
background-repeat: repeat-x;
|
9
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$colorstart}', endColorstr='#{$colorend}',GradientType=0);
|
10
|
+
}
|
11
|
+
@mixin slider_box-sizing ($value) {
|
12
|
+
-webkit-box-sizing: $value;
|
13
|
+
-moz-box-sizing: $value;
|
14
|
+
box-sizing: $value;
|
15
|
+
}
|
16
|
+
@mixin slider_box-shadow ($value...) {
|
17
|
+
-webkit-box-shadow: $value;
|
18
|
+
-moz-box-shadow: $value;
|
19
|
+
box-shadow: $value;
|
20
|
+
}
|
21
|
+
@mixin slider_border-radius ($value) {
|
22
|
+
-webkit-border-radius: $value;
|
23
|
+
-moz-border-radius: $value;
|
24
|
+
border-radius: $value;
|
25
|
+
}
|
@@ -0,0 +1,246 @@
|
|
1
|
+
.slider {
|
2
|
+
display: inline-block;
|
3
|
+
vertical-align: middle;
|
4
|
+
position: relative;
|
5
|
+
&.slider-horizontal {
|
6
|
+
width: $slider-horizontal-width;
|
7
|
+
height: $slider-line-height;
|
8
|
+
.slider-track {
|
9
|
+
height: $slider-line-height/2;
|
10
|
+
width: 100%;
|
11
|
+
margin-top: -$slider-line-height/4;
|
12
|
+
top: 50%;
|
13
|
+
left: 0;
|
14
|
+
}
|
15
|
+
.slider-selection, .slider-track-low, .slider-track-high {
|
16
|
+
height: 100%;
|
17
|
+
top: 0;
|
18
|
+
bottom: 0;
|
19
|
+
}
|
20
|
+
.slider-tick,
|
21
|
+
.slider-handle {
|
22
|
+
margin-left: -$slider-line-height/2;
|
23
|
+
&.triangle {
|
24
|
+
position: relative;
|
25
|
+
top: 50%;
|
26
|
+
transform: translateY(-50%);
|
27
|
+
border-width: 0 $slider-line-height/2 $slider-line-height/2 $slider-line-height/2;
|
28
|
+
width: 0;
|
29
|
+
height: 0;
|
30
|
+
border-bottom-color: $slider-primary-bottom;
|
31
|
+
margin-top: 0;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.slider-tick-container {
|
35
|
+
white-space: nowrap;
|
36
|
+
position: absolute;
|
37
|
+
top: 0;
|
38
|
+
left: 0;
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
.slider-tick-label-container {
|
42
|
+
white-space: nowrap;
|
43
|
+
margin-top: $slider-line-height;
|
44
|
+
.slider-tick-label {
|
45
|
+
display: inline-block;
|
46
|
+
padding-top: $slider-line-height * 1.2;
|
47
|
+
text-align: center;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
&.slider-rtl {
|
51
|
+
.slider-track {
|
52
|
+
left: initial;
|
53
|
+
right: 0;
|
54
|
+
}
|
55
|
+
.slider-tick,
|
56
|
+
.slider-handle {
|
57
|
+
margin-left: initial;
|
58
|
+
margin-right: -$slider-line-height/2;
|
59
|
+
}
|
60
|
+
.slider-tick-container {
|
61
|
+
left: initial;
|
62
|
+
right: 0;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
&.slider-vertical {
|
67
|
+
height: $slider-vertical-height;
|
68
|
+
width: $slider-line-height;
|
69
|
+
.slider-track {
|
70
|
+
width: $slider-line-height/2;
|
71
|
+
height: 100%;
|
72
|
+
left: 25%;
|
73
|
+
top: 0;
|
74
|
+
}
|
75
|
+
.slider-selection {
|
76
|
+
width: 100%;
|
77
|
+
left: 0;
|
78
|
+
top: 0;
|
79
|
+
bottom: 0;
|
80
|
+
}
|
81
|
+
.slider-track-low, .slider-track-high {
|
82
|
+
width: 100%;
|
83
|
+
left: 0;
|
84
|
+
right: 0;
|
85
|
+
}
|
86
|
+
.slider-tick,
|
87
|
+
.slider-handle {
|
88
|
+
margin-top: -$slider-line-height/2;
|
89
|
+
&.triangle {
|
90
|
+
border-width: $slider-line-height/2 0 $slider-line-height/2 $slider-line-height/2;
|
91
|
+
width: 1px;
|
92
|
+
height: 1px;
|
93
|
+
border-left-color: $slider-primary-bottom;
|
94
|
+
margin-left: 0;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
.slider-tick-label-container {
|
98
|
+
white-space: nowrap;
|
99
|
+
.slider-tick-label {
|
100
|
+
padding-left: $slider-line-height * .2;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
&.slider-rtl {
|
104
|
+
.slider-track {
|
105
|
+
left: initial;
|
106
|
+
right: 25%;
|
107
|
+
}
|
108
|
+
.slider-selection {
|
109
|
+
left: initial;
|
110
|
+
right: 0;
|
111
|
+
}
|
112
|
+
.slider-tick,
|
113
|
+
.slider-handle {
|
114
|
+
&.triangle {
|
115
|
+
border-width: $slider-line-height/2 $slider-line-height/2 $slider-line-height/2 0;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.slider-tick-label-container {
|
119
|
+
.slider-tick-label {
|
120
|
+
padding-left: initial;
|
121
|
+
padding-right: $slider-line-height * .2;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
&.slider-disabled {
|
127
|
+
.slider-handle {
|
128
|
+
@include slider_background-image($slider-gray-2, $slider-gray-1, mix($slider-gray-2, $slider-gray-1));
|
129
|
+
}
|
130
|
+
.slider-track {
|
131
|
+
@include slider_background-image($slider-gray-3, $slider-gray-4, mix($slider-gray-3, $slider-gray-4));
|
132
|
+
cursor: not-allowed;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
input {
|
136
|
+
display: none;
|
137
|
+
}
|
138
|
+
.tooltip-inner {
|
139
|
+
white-space: nowrap;
|
140
|
+
max-width: none;
|
141
|
+
}
|
142
|
+
.tooltip {
|
143
|
+
&.top {
|
144
|
+
margin-top: -36px;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
.tooltip-inner {
|
149
|
+
white-space: nowrap;
|
150
|
+
max-width: none;
|
151
|
+
}
|
152
|
+
|
153
|
+
.hide {
|
154
|
+
display: none;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
.slider-track {
|
159
|
+
@include slider_background-image($slider-gray-5, $slider-gray-6, mix($slider-gray-5, $slider-gray-6));
|
160
|
+
@include slider_box-shadow(inset 0 1px 2px rgba(0,0,0,0.1));
|
161
|
+
@include slider_border-radius($slider-border-radius);
|
162
|
+
|
163
|
+
position: absolute;
|
164
|
+
cursor: pointer;
|
165
|
+
}
|
166
|
+
|
167
|
+
.slider-selection {
|
168
|
+
@include slider_background-image($slider-gray-6, $slider-gray-5, mix($slider-gray-6, $slider-gray-5));
|
169
|
+
@include slider_box-shadow(inset 0 -1px 0 rgba(0,0,0,0.15));
|
170
|
+
@include slider_box-sizing(border-box);
|
171
|
+
@include slider_border-radius($slider-border-radius);
|
172
|
+
|
173
|
+
position: absolute;
|
174
|
+
}
|
175
|
+
.slider-selection.tick-slider-selection {
|
176
|
+
@include slider_background-image($slider-secondary-top, $slider-secondary-bottom, mix($slider-secondary-top, $slider-secondary-bottom));
|
177
|
+
}
|
178
|
+
|
179
|
+
.slider-track-low, .slider-track-high {
|
180
|
+
@include slider_box-sizing(border-box);
|
181
|
+
@include slider_border-radius($slider-border-radius);
|
182
|
+
|
183
|
+
position: absolute;
|
184
|
+
background: transparent;
|
185
|
+
}
|
186
|
+
|
187
|
+
.slider-handle {
|
188
|
+
@include slider_background-image($slider-primary-top, $slider-primary-bottom, mix($slider-primary-top, $slider-primary-bottom));
|
189
|
+
@include slider_box-shadow(inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05));
|
190
|
+
|
191
|
+
position: absolute;
|
192
|
+
top: 0;
|
193
|
+
width: $slider-line-height;
|
194
|
+
height: $slider-line-height;
|
195
|
+
background-color: $slider-primary;
|
196
|
+
border: 0px solid transparent;
|
197
|
+
|
198
|
+
&.round {
|
199
|
+
@include slider_border-radius($slider-line-height);
|
200
|
+
}
|
201
|
+
&.triangle {
|
202
|
+
background: transparent none;
|
203
|
+
}
|
204
|
+
&.custom {
|
205
|
+
background: transparent none;
|
206
|
+
&::before{
|
207
|
+
line-height: $slider-line-height;
|
208
|
+
font-size: 20px;
|
209
|
+
content: '\2605'; //unicode star character
|
210
|
+
color: $slider-unicode-color;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
.slider-tick {
|
216
|
+
@include slider_background-image($slider-gray-5, $slider-gray-6, mix($slider-gray-5, $slider-gray-6));
|
217
|
+
@include slider_box-shadow(inset 0 -1px 0 rgba(0,0,0,0.15));
|
218
|
+
@include slider_box-sizing(border-box);
|
219
|
+
|
220
|
+
position: absolute;
|
221
|
+
width: $slider-line-height;
|
222
|
+
height: $slider-line-height;
|
223
|
+
filter: none;
|
224
|
+
opacity: 0.8;
|
225
|
+
border: 0px solid transparent;
|
226
|
+
|
227
|
+
&.round {
|
228
|
+
border-radius: 50%;
|
229
|
+
}
|
230
|
+
&.triangle {
|
231
|
+
background: transparent none;
|
232
|
+
}
|
233
|
+
&.custom {
|
234
|
+
background: transparent none;
|
235
|
+
&::before {
|
236
|
+
line-height: $slider-line-height;
|
237
|
+
font-size: 20px;
|
238
|
+
content: '\2605'; //unicode star character
|
239
|
+
color: $slider-unicode-color;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
&.in-selection {
|
243
|
+
@include slider_background-image($slider-secondary-top, $slider-secondary-bottom, mix($slider-secondary-top, $slider-secondary-bottom));
|
244
|
+
opacity: 1;
|
245
|
+
}
|
246
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
$slider-line-height: 20px !default;
|
2
|
+
$slider-border-radius: 4px !default;
|
3
|
+
$slider-horizontal-width: 210px !default;
|
4
|
+
$slider-vertical-height: 210px !default;
|
5
|
+
|
6
|
+
// Primary colors
|
7
|
+
$slider-primary: null !default;
|
8
|
+
@if variable-exists(brand-primary) {
|
9
|
+
$slider-primary: $brand-primary !default;
|
10
|
+
} @else {
|
11
|
+
$slider-primary: #0480BE !default;
|
12
|
+
}
|
13
|
+
|
14
|
+
$slider-primary-top: $slider-primary !default;
|
15
|
+
$slider-primary-bottom: darken($slider-primary, 5%) !default;
|
16
|
+
$slider-secondary-top: saturate(lighten($slider-primary, 28%), 20%) !default;
|
17
|
+
$slider-secondary-bottom: saturate(lighten($slider-primary, 23%), 2%) !default;
|
18
|
+
|
19
|
+
// grays for slider channel and disabled states
|
20
|
+
$slider-gray-1: #BEBEBE !default;
|
21
|
+
$slider-gray-2: #DFDFDF !default;
|
22
|
+
$slider-gray-3: #E5E5E5 !default;
|
23
|
+
$slider-gray-4: #E9E9E9 !default;
|
24
|
+
$slider-gray-5: #F5F5F5 !default;
|
25
|
+
$slider-gray-6: #F9F9F9 !default;
|
26
|
+
|
27
|
+
// unicode color for demo page
|
28
|
+
$slider-unicode-color: #726204 !default;
|