├── docs ├── .gitignore ├── _sass │ ├── _variables.sass │ ├── _navbar.sass │ ├── _anchorjs.sass │ ├── _home.sass │ ├── _buttons.sass │ ├── _mixins.sass │ ├── _alert.sass │ ├── _common.sass │ ├── _footer.sass │ ├── _jumbotron.sass │ └── _select2-result-repository.sass ├── 4.0.0.html ├── 4.0.1.html ├── 4.0.2.html ├── 4.0.3.html ├── favicon.ico ├── images │ └── logo.png ├── _config.yml ├── _layouts │ ├── minimal.html │ └── default.html ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── _includes │ ├── scripts.html │ ├── footer-links.html │ ├── footer.html │ ├── head.html │ ├── navbar.html │ └── select2-select.html ├── css │ ├── gh-pages.sass │ └── select2-bootstrap.css ├── index.html └── js │ ├── respond.min.js │ └── anchor.min.js ├── .gitignore ├── src ├── build.less ├── build.scss ├── select2-bootstrap.less └── select2-bootstrap.scss ├── tests ├── support │ ├── scss.patch │ └── less.patch ├── less_test.js └── scss_test.js ├── bower.json ├── LICENSE ├── package.json ├── Gruntfile.js ├── README.md └── dist ├── select2-bootstrap.min.css └── select2-bootstrap.css /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | dist 3 | -------------------------------------------------------------------------------- /docs/_sass/_variables.sass: -------------------------------------------------------------------------------- 1 | $lead-font-size: 20px 2 | -------------------------------------------------------------------------------- /docs/4.0.0.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | version: 4.0.0 4 | --- 5 | -------------------------------------------------------------------------------- /docs/4.0.1.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | version: 4.0.1 4 | --- 5 | -------------------------------------------------------------------------------- /docs/4.0.2.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | version: 4.0.2 4 | --- 5 | -------------------------------------------------------------------------------- /docs/4.0.3.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | version: 4.0.3 4 | --- 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bower_components 2 | node_modules 3 | tmp 4 | .sass-cache 5 | .grunt 6 | .idea 7 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/favicon.ico -------------------------------------------------------------------------------- /docs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/images/logo.png -------------------------------------------------------------------------------- /docs/_sass/_navbar.sass: -------------------------------------------------------------------------------- 1 | .navbar-default 2 | background: rgba(#fff,.95) 3 | border-width: 0 0 1px 4 | border-radius: 0 5 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | versions: 2 | - 4.0.0 3 | - 4.0.1 4 | - 4.0.2 5 | - 4.0.3 6 | 7 | title: 8 | select2-bootstrap-theme 9 | -------------------------------------------------------------------------------- /docs/_layouts/minimal.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {% include head.html %} 4 |
5 | {{ content }} 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/select2/select2-bootstrap-theme/master/docs/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/build.less: -------------------------------------------------------------------------------- 1 | @import "../node_modules/bootstrap/less/variables"; 2 | @import "../node_modules/bootstrap/less/mixins"; 3 | @import "select2-bootstrap.less"; 4 | -------------------------------------------------------------------------------- /docs/_sass/_anchorjs.sass: -------------------------------------------------------------------------------- 1 | .anchorjs-link 2 | color: inherit 3 | transition: all .25s linear 4 | 5 | *:hover > .anchorjs-link 6 | margin-left: -1.125em !important 7 | -------------------------------------------------------------------------------- /tests/support/scss.patch: -------------------------------------------------------------------------------- 1 | Index: select2-bootstrap.css 2 | =================================================================== 3 | --- select2-bootstrap.css 4 | +++ select2-bootstrap.css 5 | -------------------------------------------------------------------------------- /docs/_sass/_home.sass: -------------------------------------------------------------------------------- 1 | .home 2 | padding-bottom: 30px 3 | @extend %background-image 4 | background-position: 50% 50% 5 | body 6 | background-color: transparent 7 | .container 8 | max-width: 700px 9 | -------------------------------------------------------------------------------- /docs/_includes/scripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/build.scss: -------------------------------------------------------------------------------- 1 | @import "../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables"; 2 | @import "../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins"; 3 | @import "select2-bootstrap.scss"; 4 | -------------------------------------------------------------------------------- /docs/_sass/_buttons.sass: -------------------------------------------------------------------------------- 1 | .btn-outline 2 | border-color: $component-active-bg 3 | color: $component-active-bg 4 | background-color: transparent 5 | &:hover, 6 | &:active 7 | color: $component-active-color 8 | background-color: $component-active-bg 9 | -------------------------------------------------------------------------------- /docs/_includes/footer-links.html: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /docs/_sass/_mixins.sass: -------------------------------------------------------------------------------- 1 | =link($color: $link-color, $hover-color: $link-hover-color, $border-width: 1px, $font-weight: normal) 2 | border-bottom: $border-width solid transparent 3 | color: $color 4 | font-weight: $font-weight 5 | transition: all .1s ease-in-out 6 | &:hover 7 | border-color: $hover-color 8 | border-width: $border-width 9 | color: $hover-color 10 | -------------------------------------------------------------------------------- /docs/css/gh-pages.sass: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | @import ../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables 4 | @import variables 5 | @import extends 6 | @import mixins 7 | 8 | @import alert 9 | @import anchorjs 10 | @import buttons 11 | @import common 12 | @import footer 13 | @import home 14 | @import jumbotron 15 | @import navbar 16 | @import select2-result-repository 17 | -------------------------------------------------------------------------------- /docs/_sass/_alert.sass: -------------------------------------------------------------------------------- 1 | .alert 2 | padding: 20px 3 | margin: 20px 0 4 | border: 1px solid #EEE 5 | border-left-width: 5px 6 | border-radius: 3px 7 | .btn-set-scaling-classes 8 | margin-top: 5px 9 | &-info 10 | border-left-color: #CE4844 11 | background: white 12 | color: #333 13 | h4 14 | color: #CE4844 15 | margin-top: 0 16 | margin-bottom: 5px 17 | font-size: 18px 18 | -------------------------------------------------------------------------------- /docs/_includes/footer.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /docs/_sass/_common.sass: -------------------------------------------------------------------------------- 1 | a 2 | &:hover, 3 | &:focus 4 | text-decoration: none 5 | 6 | h1[id] 7 | padding-top: 20px 8 | margin-top: 0 9 | 10 | .row 11 | padding-bottom: 20px 12 | 13 | @media (min-width: $screen-sm) 14 | .jumbotron 15 | padding-top: 60px 16 | padding-bottom: 60px 17 | font-size: $lead-font-size 18 | h1 19 | font-size: 32px 20 | .lead 21 | font-size: $lead-font-size 22 | .btn-lg 23 | margin: 20px 0 24 | padding: 18px 24px 25 | font-size: $lead-font-size 26 | -------------------------------------------------------------------------------- /docs/_sass/_footer.sass: -------------------------------------------------------------------------------- 1 | .footer 2 | text-align: center 3 | color: #ccc 4 | a 5 | +link 6 | small a 7 | color: #999 8 | border-bottom: 0 9 | &-links 10 | margin-top: $padding-large-horizontal 11 | margin-bottom: 0 12 | padding-bottom: $padding-large-horizontal 13 | padding-left: 0 14 | list-style: none 15 | font-size: 14px 16 | li 17 | display: inline 18 | margin-left: 2px 19 | margin-right: 2px 20 | .demo & 21 | padding-top: 200px 22 | padding-bottom: 80px 23 | @extend %background-image 24 | img 25 | height: 16px 26 | width: auto 27 | margin-right: 4px 28 | -------------------------------------------------------------------------------- /docs/_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |A Select2 v4 theme built with Bootstrap 3 variables and mixins.
36 | 37 | Demonstrations 38 |