diff --git a/.gitignore b/.gitignore index 71904c3..2a7940f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ build -components +bower_components node_modules .sass-cache gh-pages tmp Gemfile.lock -.ruby-version \ No newline at end of file +.ruby-version diff --git a/Gruntfile.js b/Gruntfile.js index dae0dac..e77e85b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,13 +7,15 @@ module.exports = function(grunt) { nodeunit: { all: ['test/*_test.js'] }, - + sass: { options: { - style: 'expanded' + style: 'expanded', + sourcemap: 'none' }, dist: { files: { + '_jekyll/select2-bootstrap.css': 'lib/build.scss', 'docs/select2-bootstrap.css': 'lib/build.scss', 'select2-bootstrap.css': 'lib/build.scss' } @@ -38,4 +40,4 @@ module.exports = function(grunt) { }); -}; \ No newline at end of file +}; diff --git a/Makefile b/Makefile index 56409a5..45f7a42 100644 --- a/Makefile +++ b/Makefile @@ -16,4 +16,5 @@ pages_setup: mkdir gh-pages git init gh-pages cd gh-pages; git remote add origin git@github.com:t0m/select2-bootstrap-css.git + cd gh-pages; git fetch cd gh-pages; git checkout gh-pages diff --git a/README.md b/README.md index 5a5178f..63e4837 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # Select2 Bootstrap CSS -This is a bare bones stylesheet for making select2 fit in with bootstrap a bit better. +Simple CSS to make Select2 widgets fit in with Bootstrap. + +* NOTE: This is the legacy repo. You probably want the official one here: https://github.com/select2/select2-bootstrap-theme + +-------------------------------------------------- + + + +* This branch (`master`) contains the legacy version for Bootstrap 2. +* The legacy bootstrap 3 branch is here: [`bootstrap3` branch](https://github.com/t0m/select2-bootstrap-css/tree/bootstrap3).* The LESS file is located at lib/select2-bootstrap.less, and the SCSS file is located at lib/select2-bootstrap.scss. diff --git a/_jekyll/_layouts/default.html b/_jekyll/_layouts/default.html index 77abfa0..401d634 100644 --- a/_jekyll/_layouts/default.html +++ b/_jekyll/_layouts/default.html @@ -2,10 +2,10 @@