-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from mindreeper2420/patternfly-upgrade
feat(upgrade): Replace PatternFly-Sass with PatternFly Core v3.37.0
- Loading branch information
Showing
256 changed files
with
13,239 additions
and
5,949 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// Mixins | ||
// -------------------------- | ||
|
||
@mixin fa-icon() { | ||
display: inline-block; | ||
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration | ||
font-size: inherit; // can't have font-size inherit on line above, so need to override | ||
text-rendering: auto; // optimizelegibility throws things off #1094 | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
|
||
} | ||
|
||
@mixin fa-icon-rotate($degrees, $rotation) { | ||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; | ||
-webkit-transform: rotate($degrees); | ||
-ms-transform: rotate($degrees); | ||
transform: rotate($degrees); | ||
} | ||
|
||
@mixin fa-icon-flip($horiz, $vert, $rotation) { | ||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; | ||
-webkit-transform: scale($horiz, $vert); | ||
-ms-transform: scale($horiz, $vert); | ||
transform: scale($horiz, $vert); | ||
} | ||
|
||
|
||
// Only display content to screen readers. A la Bootstrap 4. | ||
// | ||
// See: http://a11yproject.com/posts/how-to-hide-content/ | ||
|
||
@mixin sr-only { | ||
position: absolute; | ||
width: 1px; | ||
height: 1px; | ||
padding: 0; | ||
margin: -1px; | ||
overflow: hidden; | ||
clip: rect(0,0,0,0); | ||
border: 0; | ||
} | ||
|
||
// Use in conjunction with .sr-only to only display content when it's focused. | ||
// | ||
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 | ||
// | ||
// Credit: HTML5 Boilerplate | ||
|
||
@mixin sr-only-focusable { | ||
&:active, | ||
&:focus { | ||
position: static; | ||
width: auto; | ||
height: auto; | ||
margin: 0; | ||
overflow: visible; | ||
clip: auto; | ||
} | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...endor/patternfly/_patternfly-compass.scss → _sass/vendor/_patternfly-compass.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@import "bootstrap-compass"; | ||
@import "font-awesome-compass"; | ||
$patternfly-sass-asset-helper: true; | ||
$pf-sass-asset-helper: true; |
2 changes: 1 addition & 1 deletion
2
...dor/patternfly/_patternfly-sprockets.scss → _sass/vendor/_patternfly-sprockets.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@import "bootstrap-sprockets"; | ||
@import "font-awesome-sprockets"; | ||
$patternfly-sass-asset-helper: true; | ||
$pf-sass-asset-helper: true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
/* PatternFly */ | ||
|
||
// Patternfly variables | ||
@import 'patternfly/variables'; | ||
|
||
// Bootstrap Core variables and mixins | ||
@import "bootstrap/variables"; | ||
@import "bootstrap/mixins"; | ||
|
||
// Bootstrap mixin overrides | ||
@import 'patternfly/bootstrap-mixin-overrides'; | ||
|
||
// OpenSans | ||
@import 'patternfly/fonts'; | ||
|
||
// Bootstrap Reset and dependencies | ||
@import "bootstrap/normalize"; | ||
@import "bootstrap/print"; | ||
@import "bootstrap/glyphicons"; | ||
|
||
// Bootstrap Core CSS | ||
@import "bootstrap/scaffolding"; | ||
@import "bootstrap/type"; | ||
@import "bootstrap/code"; | ||
@import "bootstrap/grid"; | ||
@import "bootstrap/tables"; | ||
@import "bootstrap/forms"; | ||
@import "bootstrap/buttons"; | ||
|
||
// Bootstrap Components | ||
@import "bootstrap/component-animations"; | ||
@import "bootstrap/dropdowns"; | ||
@import "bootstrap/button-groups"; | ||
@import "bootstrap/input-groups"; | ||
@import "bootstrap/navs"; | ||
@import "bootstrap/navbar"; | ||
@import "bootstrap/breadcrumbs"; | ||
@import "bootstrap/pagination"; | ||
@import "bootstrap/pager"; | ||
@import "bootstrap/labels"; | ||
@import "bootstrap/badges"; | ||
@import "bootstrap/jumbotron"; | ||
@import "bootstrap/thumbnails"; | ||
@import "bootstrap/alerts"; | ||
@import "bootstrap/progress-bars"; | ||
@import "bootstrap/media"; | ||
@import "bootstrap/list-group"; | ||
@import "bootstrap/panels"; | ||
@import "bootstrap/responsive-embed"; | ||
@import "bootstrap/wells"; | ||
@import "bootstrap/close"; | ||
|
||
// Bootstrap Components w/ JavaScript | ||
@import "bootstrap/modals"; | ||
@import "bootstrap/tooltip"; | ||
@import "bootstrap/popovers"; | ||
@import "bootstrap/carousel"; | ||
|
||
// Bootstrap Utility classes | ||
@import "bootstrap/utilities"; | ||
@import "bootstrap/responsive-utilities"; | ||
|
||
// Font Awesome | ||
@import 'font-awesome'; | ||
|
||
// Bootstrap-Combobox | ||
@import 'patternfly/dependencies/bootstrap-combobox/combobox'; | ||
// Bootstrap-Datepicker | ||
@import 'patternfly/dependencies/bootstrap-datepicker/datepicker3'; | ||
// Bootstrap-Select | ||
@import 'patternfly/dependencies/bootstrap-select/bootstrap-select'; | ||
// Bootstrap-Slider | ||
@import 'patternfly/dependencies/bootstrap-slider/bootstrap-slider'; | ||
// Bootstrap Switch | ||
@import 'patternfly/dependencies/bootstrap-switch/bootstrap-switch'; | ||
// Bootstrap Touchspin | ||
@import "patternfly/dependencies/bootstrap-touchspin/jquery.bootstrap-touchspin"; | ||
// C3 charts | ||
@import "patternfly/dependencies/c3/c3"; | ||
// Bootstrap-DateTimePicker | ||
@import 'patternfly/dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build'; | ||
|
||
// PatternFly | ||
@import 'patternfly/mixins'; | ||
@import "patternfly/alerts"; | ||
@import "patternfly/badges"; | ||
@import "patternfly/breadcrumbs"; | ||
@import "patternfly/buttons"; | ||
@import "patternfly/dropdowns"; | ||
@import "patternfly/forms"; | ||
@import "patternfly/labels"; | ||
@import "patternfly/list-group"; | ||
@import "patternfly/modals"; | ||
@import "patternfly/pager"; | ||
@import "patternfly/pagination"; | ||
@import "patternfly/panels"; | ||
@import "patternfly/popovers"; | ||
@import "patternfly/progress-bars"; | ||
@import "patternfly/tables"; | ||
@import "patternfly/tabs"; | ||
@import "patternfly/tooltip"; | ||
@import "patternfly/type"; | ||
|
||
// PatternFly Additions | ||
@import 'patternfly/about-modal'; | ||
@import 'patternfly/application-launcher'; | ||
@import 'patternfly/blank-slate'; | ||
@import 'patternfly/bootstrap-combobox'; | ||
@import 'patternfly/bootstrap-datepicker'; | ||
@import 'patternfly/bootstrap-select'; | ||
@import 'patternfly/bootstrap-slider'; | ||
@import 'patternfly/bootstrap-switch'; | ||
@import 'patternfly/bootstrap-touchspin'; | ||
@import 'patternfly/bootstrap-treeview'; | ||
@import 'patternfly/card-view'; | ||
@import 'patternfly/cards'; | ||
@import 'patternfly/charts'; | ||
@import 'patternfly/close'; | ||
@import 'patternfly/datatables'; | ||
@import 'patternfly/experimental-features'; | ||
@import 'patternfly/filter'; | ||
@import 'patternfly/footer'; | ||
@import 'patternfly/icons'; | ||
@import 'patternfly/infotip'; | ||
@import 'patternfly/layouts'; | ||
@import 'patternfly/links'; | ||
@import 'patternfly/list-pf'; | ||
@import 'patternfly/list-view-dnd'; | ||
@import 'patternfly/list-view'; | ||
@import 'patternfly/login'; | ||
@import 'patternfly/nav-vertical-alt'; | ||
@import 'patternfly/navbar-alt'; | ||
@import 'patternfly/navbar-vertical'; | ||
@import 'patternfly/navbar'; | ||
@import 'patternfly/notifications-drawer'; | ||
@import 'patternfly/search'; | ||
@import 'patternfly/sidebar'; | ||
@import 'patternfly/skip-to-content'; | ||
@import 'patternfly/spinner'; | ||
@import 'patternfly/syntax-highlighting'; | ||
@import 'patternfly/table-view'; | ||
@import 'patternfly/time-picker'; | ||
@import 'patternfly/toast'; | ||
@import 'patternfly/toolbar'; | ||
@import 'patternfly/vertical-nav'; | ||
@import 'patternfly/wizard'; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.