Merge pull request #16200 from edx/andya/bootstrap-rtl-support

Add RTL support for Bootstrap CSS
This commit is contained in:
Andy Armstrong
2017-10-13 11:11:32 -04:00
committed by GitHub
8 changed files with 163 additions and 52 deletions

View File

@@ -0,0 +1,19 @@
// ------------------------------------
// Studio support for legacy Sass partials
//
// The intention is that this makes it
// easier to reuse existing partials
// that were not built with Bootstrap
// in mind.
// ------------------------------------
@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages
@mixin font-size($sizeValue: 16) {
font-size: ($sizeValue/10) + rem;
}
// Support .sr as a synonym for .sr-only
.sr {
@extend .sr-only;
}

View File

@@ -6,6 +6,9 @@
@import 'cms/bootstrap/theme';
@import 'bootstrap/scss/bootstrap';
// Legacy support
@import 'legacy';
// Variables
@import 'mixins';
@import 'variables';