patternfly-sass 0.0.0.pre.semantically.pre.released
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.
- 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,42 @@
|
|
1
|
+
/*! =========================================================
|
2
|
+
* bootstrap-slider.js
|
3
|
+
*
|
4
|
+
* Maintainers:
|
5
|
+
* Kyle Kemp
|
6
|
+
* - Twitter: @seiyria
|
7
|
+
* - Github: seiyria
|
8
|
+
* Rohit Kalkur
|
9
|
+
* - Twitter: @Rovolutionary
|
10
|
+
* - Github: rovolution
|
11
|
+
*
|
12
|
+
* =========================================================
|
13
|
+
*
|
14
|
+
* bootstrap-slider is released under the MIT License
|
15
|
+
* Copyright (c) 2017 Kyle Kemp, Rohit Kalkur, and contributors
|
16
|
+
*
|
17
|
+
* Permission is hereby granted, free of charge, to any person
|
18
|
+
* obtaining a copy of this software and associated documentation
|
19
|
+
* files (the "Software"), to deal in the Software without
|
20
|
+
* restriction, including without limitation the rights to use,
|
21
|
+
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
22
|
+
* copies of the Software, and to permit persons to whom the
|
23
|
+
* Software is furnished to do so, subject to the following
|
24
|
+
* conditions:
|
25
|
+
*
|
26
|
+
* The above copyright notice and this permission notice shall be
|
27
|
+
* included in all copies or substantial portions of the Software.
|
28
|
+
*
|
29
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
30
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
31
|
+
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
32
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
33
|
+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
34
|
+
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
35
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
36
|
+
* OTHER DEALINGS IN THE SOFTWARE.
|
37
|
+
*
|
38
|
+
* ========================================================= */
|
39
|
+
|
40
|
+
@import "variables";
|
41
|
+
@import "mixins";
|
42
|
+
@import "rules";
|
@@ -0,0 +1,195 @@
|
|
1
|
+
$bootstrap-switch-base: bootstrap-switch !default;
|
2
|
+
|
3
|
+
.#{$bootstrap-switch-base} {
|
4
|
+
display: inline-block;
|
5
|
+
direction: ltr;
|
6
|
+
cursor: pointer;
|
7
|
+
border-radius: $border-radius-base;
|
8
|
+
border: 1px solid;
|
9
|
+
border-color: $btn-default-border;
|
10
|
+
position: relative;
|
11
|
+
text-align: left;
|
12
|
+
overflow: hidden;
|
13
|
+
line-height: 8px;
|
14
|
+
z-index: 0;
|
15
|
+
@include user-select(none);
|
16
|
+
vertical-align: middle;
|
17
|
+
@include transition(unquote("border-color ease-in-out .15s, box-shadow ease-in-out .15s"));
|
18
|
+
|
19
|
+
.#{$bootstrap-switch-base}-container {
|
20
|
+
display: inline-block;
|
21
|
+
top: 0;
|
22
|
+
border-radius: $border-radius-base;
|
23
|
+
@include translate3d(0, 0, 0);
|
24
|
+
}
|
25
|
+
|
26
|
+
.#{$bootstrap-switch-base}-handle-on,
|
27
|
+
.#{$bootstrap-switch-base}-handle-off,
|
28
|
+
.#{$bootstrap-switch-base}-label {
|
29
|
+
@include box-sizing(border-box);
|
30
|
+
cursor: pointer;
|
31
|
+
display: table-cell;
|
32
|
+
vertical-align: middle;
|
33
|
+
padding: $padding-base-vertical $padding-base-horizontal;
|
34
|
+
font-size: $font-size-base;
|
35
|
+
line-height: $line-height-computed;
|
36
|
+
}
|
37
|
+
|
38
|
+
.#{$bootstrap-switch-base}-handle-on,
|
39
|
+
.#{$bootstrap-switch-base}-handle-off {
|
40
|
+
text-align: center;
|
41
|
+
z-index: 1;
|
42
|
+
|
43
|
+
&.#{$bootstrap-switch-base}-primary {
|
44
|
+
color: #fff;
|
45
|
+
background: $btn-primary-bg;
|
46
|
+
}
|
47
|
+
|
48
|
+
&.#{$bootstrap-switch-base}-info {
|
49
|
+
color: #fff;
|
50
|
+
background: $btn-info-bg;
|
51
|
+
}
|
52
|
+
|
53
|
+
&.#{$bootstrap-switch-base}-success {
|
54
|
+
color: #fff;
|
55
|
+
background: $btn-success-bg;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.#{$bootstrap-switch-base}-warning {
|
59
|
+
background: $btn-warning-bg;
|
60
|
+
color: #fff;
|
61
|
+
}
|
62
|
+
|
63
|
+
&.#{$bootstrap-switch-base}-danger {
|
64
|
+
color: #fff;
|
65
|
+
background: $btn-danger-bg;
|
66
|
+
}
|
67
|
+
|
68
|
+
&.#{$bootstrap-switch-base}-default {
|
69
|
+
color: #000;
|
70
|
+
background: $gray-lighter;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.#{$bootstrap-switch-base}-label {
|
75
|
+
text-align: center;
|
76
|
+
margin-top: -1px;
|
77
|
+
margin-bottom: -1px;
|
78
|
+
z-index: 100;
|
79
|
+
color: $btn-default-color;
|
80
|
+
background: $btn-default-bg;
|
81
|
+
}
|
82
|
+
|
83
|
+
span::before {
|
84
|
+
content: "\200b";
|
85
|
+
}
|
86
|
+
|
87
|
+
.#{$bootstrap-switch-base}-handle-on {
|
88
|
+
@include border-left-radius($border-radius-base - 1);
|
89
|
+
}
|
90
|
+
|
91
|
+
.#{$bootstrap-switch-base}-handle-off {
|
92
|
+
@include border-right-radius($border-radius-base - 1);
|
93
|
+
}
|
94
|
+
|
95
|
+
input[type='radio'],
|
96
|
+
input[type='checkbox'] {
|
97
|
+
position: absolute !important;
|
98
|
+
top: 0;
|
99
|
+
left: 0;
|
100
|
+
margin: 0;
|
101
|
+
z-index: -1;
|
102
|
+
@include opacity(0);
|
103
|
+
visibility: hidden;
|
104
|
+
}
|
105
|
+
|
106
|
+
&.#{$bootstrap-switch-base}-mini {
|
107
|
+
|
108
|
+
.#{$bootstrap-switch-base}-handle-on,
|
109
|
+
.#{$bootstrap-switch-base}-handle-off,
|
110
|
+
.#{$bootstrap-switch-base}-label {
|
111
|
+
padding: $padding-xs-vertical $padding-xs-horizontal;
|
112
|
+
font-size: $font-size-small;
|
113
|
+
line-height: $line-height-small;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.#{$bootstrap-switch-base}-small {
|
118
|
+
|
119
|
+
.#{$bootstrap-switch-base}-handle-on,
|
120
|
+
.#{$bootstrap-switch-base}-handle-off,
|
121
|
+
.#{$bootstrap-switch-base}-label {
|
122
|
+
padding: $padding-small-vertical $padding-small-horizontal;
|
123
|
+
font-size: $font-size-small;
|
124
|
+
line-height: $line-height-small;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
&.#{$bootstrap-switch-base}-large {
|
129
|
+
|
130
|
+
.#{$bootstrap-switch-base}-handle-on,
|
131
|
+
.#{$bootstrap-switch-base}-handle-off,
|
132
|
+
.#{$bootstrap-switch-base}-label {
|
133
|
+
padding: $padding-base-vertical $padding-large-horizontal;
|
134
|
+
font-size: $font-size-large;
|
135
|
+
line-height: $line-height-large;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
&.#{$bootstrap-switch-base}-disabled,
|
140
|
+
&.#{$bootstrap-switch-base}-readonly,
|
141
|
+
&.#{$bootstrap-switch-base}-indeterminate {
|
142
|
+
cursor: default !important;
|
143
|
+
|
144
|
+
.#{$bootstrap-switch-base}-handle-on,
|
145
|
+
.#{$bootstrap-switch-base}-handle-off,
|
146
|
+
.#{$bootstrap-switch-base}-label {
|
147
|
+
@include opacity(.5);
|
148
|
+
cursor: default !important;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
&.#{$bootstrap-switch-base}-animate {
|
153
|
+
|
154
|
+
.#{$bootstrap-switch-base}-container {
|
155
|
+
@include transition(margin-left .5s);
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
&.#{$bootstrap-switch-base}-inverse {
|
160
|
+
|
161
|
+
.#{$bootstrap-switch-base}-handle-on {
|
162
|
+
@include border-left-radius(0);
|
163
|
+
@include border-right-radius($border-radius-base - 1);
|
164
|
+
}
|
165
|
+
|
166
|
+
.#{$bootstrap-switch-base}-handle-off {
|
167
|
+
@include border-right-radius(0);
|
168
|
+
@include border-left-radius($border-radius-base - 1);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
&.#{$bootstrap-switch-base}-focused {
|
173
|
+
$color-rgba: rgba(red($input-border-focus), green($input-border-focus), blue($input-border-focus), .6);
|
174
|
+
border-color: $input-border-focus;
|
175
|
+
outline: 0;
|
176
|
+
@include box-shadow(unquote("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #{$color-rgba}"));
|
177
|
+
}
|
178
|
+
|
179
|
+
&.#{$bootstrap-switch-base}-on,
|
180
|
+
&.#{$bootstrap-switch-base}-inverse.#{$bootstrap-switch-base}-off {
|
181
|
+
|
182
|
+
.#{$bootstrap-switch-base}-label {
|
183
|
+
@include border-right-radius($border-radius-base - 1);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
&.#{$bootstrap-switch-base}-off,
|
188
|
+
&.#{$bootstrap-switch-base}-inverse.#{$bootstrap-switch-base}-on {
|
189
|
+
|
190
|
+
|
191
|
+
.#{$bootstrap-switch-base}-label {
|
192
|
+
@include border-left-radius($border-radius-base - 1);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Alerts
|
2
|
+
|
3
|
+
@mixin alert-variant($background, $border, $text-color){
|
4
|
+
background-color: $background;
|
5
|
+
border-color: $border;
|
6
|
+
color: $text-color;
|
7
|
+
|
8
|
+
hr {
|
9
|
+
border-top-color: darken($border, 5%);
|
10
|
+
}
|
11
|
+
.alert-link {
|
12
|
+
color: darken($text-color, 10%);
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Single side border-radius
|
2
|
+
|
3
|
+
@mixin border-top-radius($radius){
|
4
|
+
border-top-right-radius: $radius;
|
5
|
+
border-top-left-radius: $radius;
|
6
|
+
}
|
7
|
+
@mixin border-right-radius($radius){
|
8
|
+
border-bottom-right-radius: $radius;
|
9
|
+
border-top-right-radius: $radius;
|
10
|
+
}
|
11
|
+
@mixin border-bottom-radius($radius){
|
12
|
+
border-bottom-right-radius: $radius;
|
13
|
+
border-bottom-left-radius: $radius;
|
14
|
+
}
|
15
|
+
@mixin border-left-radius($radius){
|
16
|
+
border-bottom-left-radius: $radius;
|
17
|
+
border-top-left-radius: $radius;
|
18
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
// Button variants
|
2
|
+
//
|
3
|
+
// Easily pump out default styles, as well as :hover, :focus, :active,
|
4
|
+
// and disabled options for all buttons
|
5
|
+
|
6
|
+
@mixin button-variant($color, $background, $border){
|
7
|
+
color: $color;
|
8
|
+
background-color: $background;
|
9
|
+
border-color: $border;
|
10
|
+
|
11
|
+
&:focus,
|
12
|
+
&.focus {
|
13
|
+
color: $color;
|
14
|
+
background-color: darken($background, 10%);
|
15
|
+
border-color: darken($border, 25%);
|
16
|
+
}
|
17
|
+
&:hover {
|
18
|
+
color: $color;
|
19
|
+
background-color: darken($background, 10%);
|
20
|
+
border-color: darken($border, 12%);
|
21
|
+
}
|
22
|
+
&:active,
|
23
|
+
&.active,
|
24
|
+
.open > .dropdown-toggle#{&} {
|
25
|
+
color: $color;
|
26
|
+
background-color: darken($background, 10%);
|
27
|
+
border-color: darken($border, 12%);
|
28
|
+
|
29
|
+
&:hover,
|
30
|
+
&:focus,
|
31
|
+
&.focus {
|
32
|
+
color: $color;
|
33
|
+
background-color: darken($background, 17%);
|
34
|
+
border-color: darken($border, 25%);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
&:active,
|
38
|
+
&.active,
|
39
|
+
.open > .dropdown-toggle#{&} {
|
40
|
+
background-image: none;
|
41
|
+
}
|
42
|
+
&.disabled,
|
43
|
+
&[disabled],
|
44
|
+
fieldset[disabled] & {
|
45
|
+
&,
|
46
|
+
&:hover,
|
47
|
+
&:focus,
|
48
|
+
&.focus,
|
49
|
+
&:active,
|
50
|
+
&.active {
|
51
|
+
background-color: $background;
|
52
|
+
border-color: $border;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.badge {
|
57
|
+
color: $background;
|
58
|
+
background-color: $color;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
// Button sizes
|
63
|
+
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius){
|
64
|
+
padding: $padding-vertical $padding-horizontal;
|
65
|
+
font-size: $font-size;
|
66
|
+
line-height: $line-height;
|
67
|
+
border-radius: $border-radius;
|
68
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
// Clearfix
|
2
|
+
//
|
3
|
+
// For modern browsers
|
4
|
+
// 1. The space content is one way to avoid an Opera bug when the
|
5
|
+
// contenteditable attribute is included anywhere else in the document.
|
6
|
+
// Otherwise it causes space to appear at the top and bottom of elements
|
7
|
+
// that are clearfixed.
|
8
|
+
// 2. The use of `table` rather than `block` is only necessary if using
|
9
|
+
// `:before` to contain the top-margins of child elements.
|
10
|
+
//
|
11
|
+
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
12
|
+
|
13
|
+
@mixin clearfix(){
|
14
|
+
&:before,
|
15
|
+
&:after {
|
16
|
+
content: " "; // 1
|
17
|
+
display: table; // 2
|
18
|
+
}
|
19
|
+
&:after {
|
20
|
+
clear: both;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Form validation states
|
2
|
+
//
|
3
|
+
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
4
|
+
// and successes.
|
5
|
+
|
6
|
+
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5){
|
7
|
+
// Color the label and help text
|
8
|
+
.help-block,
|
9
|
+
.control-label,
|
10
|
+
.radio,
|
11
|
+
.checkbox,
|
12
|
+
.radio-inline,
|
13
|
+
.checkbox-inline,
|
14
|
+
&.radio label,
|
15
|
+
&.checkbox label,
|
16
|
+
&.radio-inline label,
|
17
|
+
&.checkbox-inline label {
|
18
|
+
color: $text-color;
|
19
|
+
}
|
20
|
+
// Set the border and box shadow on specific inputs to match
|
21
|
+
.form-control {
|
22
|
+
border-color: $border-color;
|
23
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
24
|
+
&:focus {
|
25
|
+
border-color: darken($border-color, 10%);
|
26
|
+
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
|
27
|
+
@include box-shadow($shadow);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
// Set validation states also for addons
|
31
|
+
.input-group-addon {
|
32
|
+
color: $text-color;
|
33
|
+
border-color: $border-color;
|
34
|
+
background-color: $background-color;
|
35
|
+
}
|
36
|
+
// Optional feedback icon
|
37
|
+
.form-control-feedback {
|
38
|
+
color: $text-color;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
// Form control focus state
|
44
|
+
//
|
45
|
+
// Generate a customized focus state and for any input with the specified color,
|
46
|
+
// which defaults to the `$input-border-focus` variable.
|
47
|
+
//
|
48
|
+
// We highly encourage you to not customize the default value, but instead use
|
49
|
+
// this to tweak colors on an as-needed basis. This aesthetic change is based on
|
50
|
+
// WebKit's default styles, but applicable to a wider range of browsers. Its
|
51
|
+
// usability and accessibility should be taken into account with any change.
|
52
|
+
//
|
53
|
+
// Example usage: change the default blue border and shadow to white for better
|
54
|
+
// contrast against a dark gray background.
|
55
|
+
@mixin form-control-focus($color: $input-border-focus){
|
56
|
+
$color-rgba: rgba(red($color), green($color), blue($color), .6);
|
57
|
+
&:focus {
|
58
|
+
border-color: $color;
|
59
|
+
outline: 0;
|
60
|
+
@include box-shadow(unquote("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #{$color-rgba}"));
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
// Form control sizing
|
65
|
+
//
|
66
|
+
// Relative text size, padding, and border-radii changes for form controls. For
|
67
|
+
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
68
|
+
// element gets special love because it's special, and that's a fact!
|
69
|
+
@mixin input-size($input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius){
|
70
|
+
height: $input-height;
|
71
|
+
padding: $padding-vertical $padding-horizontal;
|
72
|
+
font-size: $font-size;
|
73
|
+
line-height: $line-height;
|
74
|
+
border-radius: $border-radius;
|
75
|
+
|
76
|
+
select#{&} {
|
77
|
+
height: $input-height;
|
78
|
+
line-height: $input-height;
|
79
|
+
}
|
80
|
+
|
81
|
+
textarea#{&},
|
82
|
+
select[multiple]& {
|
83
|
+
height: auto;
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Gradients
|
2
|
+
|
3
|
+
#gradient {
|
4
|
+
|
5
|
+
// Horizontal gradient, from left to right
|
6
|
+
//
|
7
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
8
|
+
// Color stops are not available in IE9 and below.
|
9
|
+
@mixin horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%){
|
10
|
+
background-image: -webkit-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
|
11
|
+
background-image: -o-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Opera 12
|
12
|
+
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
13
|
+
background-repeat: repeat-x;
|
14
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str(argb($start-color))}', endColorstr='#{ie-hex-str(argb($end-color))}', GradientType=1); // IE9 and down
|
15
|
+
}
|
16
|
+
|
17
|
+
// Vertical gradient, from top to bottom
|
18
|
+
//
|
19
|
+
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
20
|
+
// Color stops are not available in IE9 and below.
|
21
|
+
@mixin vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%){
|
22
|
+
background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
|
23
|
+
background-image: -o-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Opera 12
|
24
|
+
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
25
|
+
background-repeat: repeat-x;
|
26
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str(argb($start-color))}', endColorstr='#{ie-hex-str(argb($end-color))}', GradientType=0); // IE9 and down
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin directional($start-color: #555, $end-color: #333, $deg: 45deg){
|
30
|
+
background-repeat: repeat-x;
|
31
|
+
background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1-6, Chrome 10+
|
32
|
+
background-image: -o-linear-gradient($deg, $start-color, $end-color); // Opera 12
|
33
|
+
background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
34
|
+
}
|
35
|
+
@mixin horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f){
|
36
|
+
background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
|
37
|
+
background-image: -o-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
|
38
|
+
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
|
39
|
+
background-repeat: no-repeat;
|
40
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str(argb($start-color))}', endColorstr='#{ie-hex-str(argb($end-color))}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
|
41
|
+
}
|
42
|
+
@mixin vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f){
|
43
|
+
background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
44
|
+
background-image: -o-linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
45
|
+
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
|
46
|
+
background-repeat: no-repeat;
|
47
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str(argb($start-color))}', endColorstr='#{ie-hex-str(argb($end-color))}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
|
48
|
+
}
|
49
|
+
@mixin radial($inner-color: #555, $outer-color: #333){
|
50
|
+
background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
|
51
|
+
background-image: radial-gradient(circle, $inner-color, $outer-color);
|
52
|
+
background-repeat: no-repeat;
|
53
|
+
}
|
54
|
+
@include striped($color: rgba(255,255,255,.15), $angle: 45deg) {
|
55
|
+
background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
56
|
+
background-image: -o-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
57
|
+
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
// Framework grid generation
|
2
|
+
//
|
3
|
+
// Used only by Bootstrap to generate the correct number of grid classes given
|
4
|
+
// any value of `$grid-columns`.
|
5
|
+
|
6
|
+
@mixin make-grid-columns(){
|
7
|
+
// Common styles for all sizes of grid columns, widths 1-12
|
8
|
+
@mixin col($index){ // initial
|
9
|
+
$item: unquote(".col-xs-#{$index}, .col-sm-#{$index}, .col-md-#{$index}, .col-lg-#{$index}");
|
10
|
+
@include col(($index + 1), $item);
|
11
|
+
}
|
12
|
+
@if $index ==< $grid-columns { @mixin col($index, $list){ // general; "=<" isn't a typo
|
13
|
+
$item: unquote(".col-xs-#{$index}}, .col-sm-#{$index}, .col-md-#{$index}, .col-lg-#{$index}");
|
14
|
+
@include col(($index + 1), unquote("#{$list}, #{$item}"));
|
15
|
+
}
|
16
|
+
@mixin col($index, $list) when ($index > $grid-columns){ // terminal
|
17
|
+
#{$list} {
|
18
|
+
position: relative;
|
19
|
+
// Prevent columns from collapsing when empty
|
20
|
+
min-height: 1px;
|
21
|
+
// Inner gutter via padding
|
22
|
+
padding-left: ($grid-gutter-width / 2);
|
23
|
+
padding-right: ($grid-gutter-width / 2);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
@include col(1); // kickstart it
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin float-grid-columns($class){
|
30
|
+
@mixin col($index){ // initial
|
31
|
+
$item: unquote(".col-#{$class}-#{$index}");
|
32
|
+
@include col(($index + 1), $item);
|
33
|
+
}
|
34
|
+
@if $index ==< $grid-columns { @mixin col($index, $list){ // general
|
35
|
+
$item: unquote(".col-#{$class}}-#{$index}");
|
36
|
+
@include col(($index + 1), unquote("#{$list}, #{$item}"));
|
37
|
+
}
|
38
|
+
@mixin col($index, $list) when ($index > $grid-columns){ // terminal
|
39
|
+
#{$list} {
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
@include col(1); // kickstart it
|
44
|
+
}
|
45
|
+
|
46
|
+
@if $type == width) and ($index > 0 {
|
47
|
+
@mixin calc-grid-column($index, $class, $type){
|
48
|
+
.col-#{$class}}-#{$index} {
|
49
|
+
width: percentage(($index / $grid-columns));
|
50
|
+
}
|
51
|
+
}
|
52
|
+
@if $type == push) and ($index > 0 {
|
53
|
+
@mixin calc-grid-column($index, $class, $type){
|
54
|
+
.col-#{$class}}-push-#{$index} {
|
55
|
+
left: percentage(($index / $grid-columns));
|
56
|
+
}
|
57
|
+
}
|
58
|
+
@if $type = push) and ($index == 0 {
|
59
|
+
@mixin calc-grid-column($index, $class, $type){
|
60
|
+
.col-#{$class}}-push-0 {
|
61
|
+
left: auto;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
@if $type == pull) and ($index > 0 {
|
65
|
+
@mixin calc-grid-column($index, $class, $type){
|
66
|
+
.col-#{$class}}-pull-#{$index} {
|
67
|
+
right: percentage(($index / $grid-columns));
|
68
|
+
}
|
69
|
+
}
|
70
|
+
@if $type = pull) and ($index == 0 {
|
71
|
+
@mixin calc-grid-column($index, $class, $type){
|
72
|
+
.col-#{$class}}-pull-0 {
|
73
|
+
right: auto;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
@if $type == offset {
|
77
|
+
@mixin calc-grid-column($index, $class, $type){
|
78
|
+
.col-#{$class}}-offset-#{$index} {
|
79
|
+
margin-left: percentage(($index / $grid-columns));
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
// Basic looping in LESS
|
84
|
+
@if $index >== 0 {
|
85
|
+
@mixin loop-grid-columns($index, $class, $type){
|
86
|
+
@include calc-grid-column($index, $class, $type);
|
87
|
+
// next iteration
|
88
|
+
@include loop-grid-columns(($index - 1), $class, $type);
|
89
|
+
}}
|
90
|
+
|
91
|
+
// Create grid for specific class
|
92
|
+
@mixin make-grid($class){
|
93
|
+
@include float-grid-columns($class);
|
94
|
+
@include loop-grid-columns($grid-columns, $class, width);
|
95
|
+
@include loop-grid-columns($grid-columns, $class, pull);
|
96
|
+
@include loop-grid-columns($grid-columns, $class, push);
|
97
|
+
@include loop-grid-columns($grid-columns, $class, offset);
|
98
|
+
}
|