patternfly-sass 3.23.2 → 3.31.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +4 -0
- data/QUICKSTART.md +165 -0
- data/README.md +354 -112
- data/dist/fonts/FontAwesome.otf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Bold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Italic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Light-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Regular-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-Semibold-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/dist/fonts/PatternFlyIcons-webfont.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/PatternFlyIcons-webfont.svg +28 -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/{assets/fonts/patternfly → dist/fonts}/fontawesome-webfont.ttf +0 -0
- data/dist/fonts/fontawesome-webfont.woff +0 -0
- data/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.eot +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.svg +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.ttf +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff +0 -0
- data/{assets/fonts/patternfly → dist/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-Logo-NoText.svg +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-Logo-Text.svg +0 -0
- data/{assets/images/patternfly → dist/img}/OpenShift-logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-NoText.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_Atomic-Logo-Text.svg +0 -0
- data/{assets/images/patternfly → dist/img}/RH_atomic.svg +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-114.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-144.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-152.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-180.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-57.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-72.png +0 -0
- data/{assets/images/patternfly → dist/img}/apple-touch-icon-precomposed-76.png +0 -0
- data/{assets/images/patternfly → dist/img}/bg-login.jpg +0 -0
- data/{assets/images/patternfly → dist/img}/bg-modal-about-pf.png +0 -0
- data/{assets/images/patternfly → dist/img}/bg-navbar-pf-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/brand-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/brand.svg +0 -0
- data/{assets/images/patternfly → dist/img}/favicon.ico +0 -0
- data/{assets/images/patternfly → dist/img}/kubernetes-Logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/kubernetes.svg +0 -0
- data/{assets/images/patternfly → dist/img}/logo-alt.svg +0 -0
- data/{assets/images/patternfly → dist/img}/logo.svg +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-lg.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-sm.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse-xs.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-inverse.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-lg.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-sm.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner-xs.gif +0 -0
- data/{assets/images/patternfly → dist/img}/spinner.gif +0 -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 +87 -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 +79 -0
- data/dist/js/patternfly-functions-vertical-nav.js +590 -0
- data/{assets/javascripts → dist/js}/patternfly-functions.js +133 -95
- data/dist/js/patternfly-functions.min.js +1 -0
- data/dist/js/patternfly-settings-base.js +16 -0
- data/dist/js/patternfly-settings-charts.js +423 -0
- data/dist/js/patternfly-settings-colors.js +88 -0
- data/{assets/javascripts → dist/js}/patternfly-settings.js +22 -13
- data/dist/js/patternfly-settings.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfColVis.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfEmpty.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfFilter.js +0 -0
- data/dist/js/patternfly.dataTables.pfFilter.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfPagination.js +1 -1
- data/dist/js/patternfly.dataTables.pfPagination.min.js +1 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfResize.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.js +0 -0
- data/{assets/javascripts → dist/js}/patternfly.dataTables.pfSelect.min.js +1 -1
- data/{assets/javascripts → dist/js}/patternfly.js +153 -106
- data/dist/js/patternfly.min.js +2 -0
- data/{assets/stylesheets → dist/sass}/_patternfly-compass.scss +1 -1
- data/{assets/stylesheets → dist/sass}/_patternfly-sprockets.scss +1 -1
- data/dist/sass/_patternfly.scss +145 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_about-modal.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_alerts.scss +0 -0
- data/dist/sass/patternfly/_application-launcher.scss +213 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_badges.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_blank-slate.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-combobox.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-datepicker.scss +13 -5
- data/dist/sass/patternfly/_bootstrap-mixin-overrides.scss +33 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-select.scss +15 -7
- data/dist/sass/patternfly/_bootstrap-slider.scss +66 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-switch.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-touchspin.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_bootstrap-treeview.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_breadcrumbs.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_buttons.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_card-view.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_cards.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_charts.scss +28 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_close.scss +1 -0
- data/dist/sass/patternfly/_color-variables.scss +85 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_datatables.scss +5 -5
- data/{assets/stylesheets → dist/sass}/patternfly/_dropdowns.scss +9 -4
- data/dist/sass/patternfly/_experimental-features.scss +48 -0
- data/dist/sass/patternfly/_fonts.scss +124 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_footer.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_forms.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_icons.scss +91 -7
- data/{assets/stylesheets → dist/sass}/patternfly/_infotip.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_labels.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_layouts.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_links.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-group.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-pf.scss +6 -3
- data/{assets/stylesheets → dist/sass}/patternfly/_list-view-dnd.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_list-view.scss +12 -12
- data/{assets/stylesheets → dist/sass}/patternfly/_login.scss +3 -7
- data/dist/sass/patternfly/_mixins.scss +81 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_modals.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_nav-vertical-alt.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar-alt.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar-vertical.scss +9 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_navbar.scss +26 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_notifications-drawer.scss +102 -15
- data/{assets/stylesheets → dist/sass}/patternfly/_pager.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_pagination.scss +2 -2
- data/{assets/stylesheets → dist/sass}/patternfly/_panels.scss +21 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_popovers.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_progress-bars.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_search.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_sidebar.scss +0 -0
- data/dist/sass/patternfly/_skip-to-content.scss +12 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_spinner.scss +16 -16
- data/{assets/stylesheets → dist/sass}/patternfly/_syntax-highlighting.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_table-view.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_tables.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_tabs.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_time-picker.scss +1 -3
- data/{assets/stylesheets → dist/sass}/patternfly/_toast.scss +7 -6
- data/{assets/stylesheets → dist/sass}/patternfly/_toolbar.scss +1 -1
- data/{assets/stylesheets → dist/sass}/patternfly/_tooltip.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_type.scss +0 -0
- data/{assets/stylesheets → dist/sass}/patternfly/_variables.scss +75 -9
- data/{assets/stylesheets → dist/sass}/patternfly/_vertical-nav.scss +41 -42
- data/{assets/stylesheets → dist/sass}/patternfly/_wizard.scss +175 -123
- data/dist/sass/patternfly/dependencies/bootstrap-combobox/combobox.scss +57 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker.scss +235 -0
- data/dist/sass/patternfly/dependencies/bootstrap-datepicker/datepicker3.scss +251 -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/{assets/stylesheets/patternfly/lib → dist/sass/patternfly/dependencies/bootstrap-switch}/bootstrap-switch.scss +12 -10
- data/dist/sass/patternfly/dependencies/bootstrap-switch/build.scss +3 -0
- data/dist/sass/patternfly/dependencies/bootstrap-switch/mixins.scss +40 -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/variables.scss +862 -0
- data/{assets/stylesheets/patternfly/lib/bootstrap-touchspin.scss → dist/sass/patternfly/dependencies/bootstrap-touchspin/_jquery.bootstrap-touchspin.scss} +1 -1
- data/{assets/stylesheets/patternfly/lib/c3.scss → dist/sass/patternfly/dependencies/c3/_c3.scss} +7 -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/lib/patternfly-sass.rb +4 -4
- data/lib/patternfly-sass/engine.rb +2 -2
- data/lib/patternfly-sass/version.rb +1 -2
- data/patternfly-sass.gemspec +16 -17
- metadata +249 -498
- data/.gitignore +0 -41
- data/.rspec +0 -3
- data/.rubocop.yml +0 -56
- data/.travis.yml +0 -51
- data/Gemfile +0 -3
- data/Rakefile +0 -130
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.eot +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.svg +0 -685
- data/assets/fonts/patternfly/fontawesome-webfont.woff +0 -0
- data/assets/fonts/patternfly/fontawesome-webfont.woff2 +0 -0
- data/assets/javascripts/patternfly-functions.min.js +0 -1
- data/assets/javascripts/patternfly-settings.min.js +0 -1
- data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +0 -1
- data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +0 -1
- data/assets/javascripts/patternfly.min.js +0 -2
- data/assets/stylesheets/_patternfly.scss +0 -108
- data/assets/stylesheets/patternfly/_color-variables.scss +0 -84
- data/assets/stylesheets/patternfly/_fonts.scss +0 -124
- data/assets/stylesheets/patternfly/_mixin_overrides.scss +0 -65
- data/assets/stylesheets/patternfly/_mixins.scss +0 -120
- data/assets/stylesheets/patternfly/lib/bootstrap-datepicker.scss +0 -678
- data/assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss +0 -374
- data/assets/stylesheets/patternfly/lib/bootstrap-select.scss +0 -282
- data/assets/stylesheets/patternfly/lib/patternfly-bootstrap-combobox.scss +0 -44
- data/bower.json +0 -53
- data/package.json +0 -70
- data/spec/compare_spec.rb +0 -60
- data/spec/html/about-modal.html +0 -77
- data/spec/html/accordions.html +0 -336
- data/spec/html/alerts.html +0 -106
- data/spec/html/area-charts.html +0 -103
- data/spec/html/badges.html +0 -73
- data/spec/html/bar-charts.html +0 -350
- data/spec/html/basic.html +0 -796
- data/spec/html/blank-slate.html +0 -81
- data/spec/html/bootstrap-combobox.html +0 -344
- data/spec/html/bootstrap-datepicker.html +0 -148
- data/spec/html/bootstrap-select.html +0 -213
- data/spec/html/bootstrap-switch.html +0 -267
- data/spec/html/bootstrap-switch.js +0 -61
- data/spec/html/bootstrap-touchspin.html +0 -210
- data/spec/html/bootstrap-treeview-2.html +0 -296
- data/spec/html/bootstrap-treeview.html +0 -383
- data/spec/html/breadcrumbs.html +0 -52
- data/spec/html/buttons.html +0 -556
- data/spec/html/card-view-card-variations.html +0 -201
- data/spec/html/card-view-multi-select.html +0 -698
- data/spec/html/card-view-single-select.html +0 -432
- data/spec/html/cards.html +0 -899
- data/spec/html/code.html +0 -83
- data/spec/html/dashboard.html +0 -353
- data/spec/html/dist/css/patternfly-additions.css +0 -7202
- data/spec/html/dist/css/patternfly-additions.css.map +0 -1
- data/spec/html/dist/css/patternfly-additions.min.css +0 -5
- data/spec/html/dist/css/patternfly-additions.min.css.map +0 -1
- data/spec/html/dist/css/patternfly.css +0 -10355
- data/spec/html/dist/css/patternfly.css.map +0 -1
- data/spec/html/dist/css/patternfly.min.css +0 -8
- data/spec/html/dist/css/patternfly.min.css.map +0 -1
- data/spec/html/donut-charts.html +0 -235
- data/spec/html/dropdowns.html +0 -138
- data/spec/html/form.html +0 -281
- data/spec/html/forms.html +0 -875
- data/spec/html/horizontal-navigation.html +0 -765
- data/spec/html/icons.html +0 -447
- data/spec/html/img/dashboard-3.png +0 -0
- data/spec/html/index.html +0 -284
- data/spec/html/infotip.html +0 -89
- data/spec/html/labels.html +0 -108
- data/spec/html/line-charts.html +0 -178
- data/spec/html/list-group.html +0 -111
- data/spec/html/list-pf.html +0 -529
- data/spec/html/list-view-compound-expansion.html +0 -1720
- data/spec/html/list-view-rows.html +0 -597
- data/spec/html/list-view-simple-expansion.html +0 -1003
- data/spec/html/list-view.html +0 -614
- data/spec/html/login.html +0 -92
- data/spec/html/modals.html +0 -83
- data/spec/html/navbar.html +0 -4680
- data/spec/html/notification-drawer-horizontal-nav.html +0 -1503
- data/spec/html/notification-drawer-vertical-nav.html +0 -1631
- data/spec/html/pagination-card-view.html +0 -560
- data/spec/html/pagination-list-view.html +0 -1204
- data/spec/html/pagination-table-view.html +0 -813
- data/spec/html/pagination.html +0 -320
- data/spec/html/panels.html +0 -113
- data/spec/html/pie-charts.html +0 -180
- data/spec/html/popovers.html +0 -115
- data/spec/html/progress-bars.html +0 -335
- data/spec/html/search.html +0 -171
- data/spec/html/spinner.html +0 -77
- data/spec/html/tab.html +0 -842
- data/spec/html/table-view-columns.html +0 -495
- data/spec/html/table-view-navbar.html +0 -814
- data/spec/html/table-view.html +0 -688
- data/spec/html/tables.html +0 -540
- data/spec/html/tabs.html +0 -279
- data/spec/html/tests.css +0 -16
- data/spec/html/time-picker.html +0 -75
- data/spec/html/toast.html +0 -87
- data/spec/html/toolbar.html +0 -268
- data/spec/html/tooltip.html +0 -71
- data/spec/html/typography-2.css +0 -10
- data/spec/html/typography-2.html +0 -313
- data/spec/html/typography.html +0 -212
- data/spec/html/utilization-bar-charts.html +0 -69
- data/spec/html/vertical-navigation-primary-only.html +0 -844
- data/spec/html/vertical-navigation-with-badges.html +0 -1184
- data/spec/html/vertical-navigation-with-secondary.html +0 -911
- data/spec/html/vertical-navigation-with-tertiary-no-icons.html +0 -1085
- data/spec/html/vertical-navigation-with-tertiary-pins.html +0 -1085
- data/spec/html/wizard.html +0 -756
- data/spec/main.html +0 -16
- data/spec/spec_helper.rb +0 -9
- data/tasks/converter.rb +0 -353
@@ -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
|
+
}
|