From eb2e1102be0f4641ee3e5c4e7853360d5a04e3d8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 21 Dec 2016 20:26:17 -0800 Subject: Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389) * remove the $enable-flex variable option * remove bootstrap-flex.css dist file and it's grunt task * remove the separate flex css file for docs; it's all the same now * remove flexbox docs (porting some to the main grid docs in next commit) * clean up few grid docs bits to simplify copy, start to mention flexbox * port relevant flexbox-grid.md content to grid.md - clean up mixins - update how it works section - bring over sizing and alignment sections * remove the $enable-flex from the options.md page * update lead paragraph to mention flexbox * update migration to mention loss of ie9 support * remove mention of flexbox dist file * clarify IE support * making a note * remove flexbox variant mentions from component docs - updates docs for media object, navs, list group, and cards to consolidate docs - no more need to callout flexbox variants since it's now the default * remove $enable-flex if/else from sass files * remove flex dist files * update scss lint property order to account for flex properties * linting * change to numberless classes for autosizing, wrap in highlighting div * bump gruntfile and postcss to ie10 * redo intro sections * rearrange * phew, redo hella grid docs - rearrange all the things - consolidate some bits * remove reference to flexbox mode * more border action for demo * Make some changes to the .card's in .card-deck's to ensure footers align to the bottom --- grunt/bs-sass-compile/libsass.js | 4 +--- grunt/bs-sass-compile/sass.js | 4 +--- grunt/postcss.js | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'grunt') diff --git a/grunt/bs-sass-compile/libsass.js b/grunt/bs-sass-compile/libsass.js index 79b21c5a1..3abfbd6d0 100644 --- a/grunt/bs-sass-compile/libsass.js +++ b/grunt/bs-sass-compile/libsass.js @@ -18,15 +18,13 @@ module.exports = function configureLibsass(grunt) { }, extras: { files: { - 'dist/css/<%= pkg.name %>-flex.css': 'scss/<%= pkg.name %>-flex.scss', 'dist/css/<%= pkg.name %>-grid.css': 'scss/<%= pkg.name %>-grid.scss', 'dist/css/<%= pkg.name %>-reboot.css': 'scss/<%= pkg.name %>-reboot.scss' } }, docs: { files: { - 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss', - 'docs/assets/css/docs-flexbox.min.css': 'docs/assets/scss/flex-grid.scss' + 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss' } } } diff --git a/grunt/bs-sass-compile/sass.js b/grunt/bs-sass-compile/sass.js index 6e32691c0..665212e0c 100644 --- a/grunt/bs-sass-compile/sass.js +++ b/grunt/bs-sass-compile/sass.js @@ -21,7 +21,6 @@ module.exports = function configureRubySass(grunt) { extras: { options: options, files: { - 'dist/css/<%= pkg.name %>-flex.css': 'scss/<%= pkg.name %>-flex.scss', 'dist/css/<%= pkg.name %>-grid.css': 'scss/<%= pkg.name %>-grid.scss', 'dist/css/<%= pkg.name %>-reboot.css': 'scss/<%= pkg.name %>-reboot.scss' } @@ -29,8 +28,7 @@ module.exports = function configureRubySass(grunt) { docs: { options: options, files: { - 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss', - 'docs/assets/css/docs-flexbox.min.css': 'docs/assets/scss/flex-grid.scss' + 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss' } } } diff --git a/grunt/postcss.js b/grunt/postcss.js index 7e7eb4a7e..a2ea78f5b 100644 --- a/grunt/postcss.js +++ b/grunt/postcss.js @@ -29,7 +29,7 @@ module.exports = { // For example, at the time of writing, Edge 20 on an up-to-date system uses EdgeHTML 12. // See also https://github.com/Fyrd/caniuse/issues/1928 'Edge >= 12', - 'Explorer >= 9', + 'Explorer >= 10', // Out of leniency, we prefix these 1 version further back than the official policy. 'iOS >= 8', 'Safari >= 8', -- cgit v1.2.3