silverfire/select2-bootstrap3-css
Composer 安装命令:
composer require silverfire/select2-bootstrap3-css
包简介
Bootstrap3 theme for select2 plugin
关键字:
README 文档
README
select2-bootstrap-css,
forked for Bootstrap 3.
Demonstrations available at
http://fk.github.io/select2-bootstrap-css/
Tested with Bootstrap v3.3.2 and Select2 v3.3.2, v3.4.1-v3.4.5, v3.5.1, v3.5.2, master
in latest Chrome, Safari, Firefox, Opera (Mac) and IE8-IE10.
Install
Known issues
- box-shadow for .select2-search input do not fit Bootstrap's defaults
- the Select2 dropdown could inherit look-and-feel from Bootstrap dropdowns and/or could honor Bootstrap height sizing classes
- checkboxes and radio-buttons in "Bootstrap input groups" could be vertically aligned to the top (instead of center) if combined with a multi Select2 to address variable height of the Select2 container
Changelog
v1.4.6
- Fix wrong version number in distribution sources.
v1.4.5
- Built on Bootstrap 3 v3.3.2 and corresponding bootstrap-sass.
v1.4.4
- Don't hardcode :focus box-shadow colour (#58).
v1.4.3
- Removed gradient for
.select2-dropdown-open.select2-drop-above [class^="select2-choice"]in IE <= 9; really fixes #35.
v1.4.2
- Removed box-shadow for
.select2-container.form-control(inherited from Bootstrap's.form-control). - Fixed #35.
- Removed border-left for
.select2-arrow(#36). - Built on Bootstrap 3 v3.3.1 and corresponding bootstrap-sass.
- Bower components now live in the default "bower_components" folder; ditched grunt-jekyll in favor of grunt-shell.
- Updated grunt plugins.
v1.4.1
- Fixed border-radii for
.select2-dropdown-open.select2-drop-above(as reported by @rzschech in t0m#24 (comment), t0m#24 (comment)) and `.select2-dropdown in "Bootstrap input groups with addons". - Fixed an issue where using Select2 pre v3.4.2 in combination with Bootstrap v3.2.0 and when using Select2 in a "Bootstrap Input Group with Addons" context would result in the original
<select>element not being hidden. - Removed trailing comma in bower.json.
v1.4.0
- First version built on Twitter Bootstrap v3.2.0.
- Fixes a bug inherited from Twitter Bootstrap by using its variables which in IE8-IE10 and Firefox caused Select2 widgets in "Bootstrap input groups with radio/checkbox addon" and
.input-lgsize modifier to be 1px off in height (Bootstrap 3's "input group sizing"-demo at http://getbootstrap.com/components/#input-groups-sizing behaved the same for Bootstrap v3.0.0). - Updates UI component colors.
v1.3.1
- Added
mainanddependenciessection to bower.json.
v1.3.0
- First tagged version of the bootstrap3 branch (as requested in t0m#30).
Credits
Original select2-bootstrap-css for Bootstrap 2 by Tom Terrace (@tterrace).
Contributing
The project offers Less and Sass sources for building select2-bootstrap.css; both make use of variables from either Bootstrap (Less) or Bootstrap for Sass. The demo pages are built using Jekyll and there are a bunch of Grunt tasks to ease development.
With Ruby and RubyGems, Jekyll, Bower, node.js, Less and Sass installed, run
npm install && bower install
to install all necessary development dependencies.
grunt copycopies assets fromcomponentsto_jekyll– use this in case a new version of Twitter Bootstrap or Select2 are out and need to be testedgrunt buildbuildsdocsgrunt servebuildsdocsand serves them via Jekyll's--watchflag on http://localhost:4000grunt watchwatches for changes inlib/select2-bootstrap.scss(livereload is enabled)
Develop in lib/select2-bootstrap.scss test your changes using grunt watch and grunt serve. Ideally, port your changes to lib/select2-bootstrap.less and make sure tests are passing to verify that Less and Sass compile down to the target CSS via npm test.
Contributors
silverfire/select2-bootstrap3-css 适用场景与选型建议
silverfire/select2-bootstrap3-css 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 52.71k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2015 年 05 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bootstrap」 「styles」 「select2」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 silverfire/select2-bootstrap3-css 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 silverfire/select2-bootstrap3-css 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 silverfire/select2-bootstrap3-css 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Symfony form types to extend built-in types. Ideal for Select2 AJAX implementations.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
The select2 extension for the Yii framework
Moves the styles from CSS sheets into inline CSS, in order to comply with uncooperative email clients. Can be used as a post-processing stdWrap in TypoScript.
MvcCore - Extension - View - Helper - Assets - to group, render, minify and cache javascript and css files, to prepare all application assets for final application packing.
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 52.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 19
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-05-25