0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00
Commit Graph

17333 Commits

Author SHA1 Message Date
XhmikosR
02e4f6e513
Use Jekyll's smartify filter when possible. (#24866) 2017-11-25 02:13:39 +02:00
XhmikosR
3de46286b2
Update package.json. (#24582)
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
2017-11-25 02:02:25 +02:00
Mark Otto
2ec1606ab7
Custom select updates (#24699)
* Add support for size attribute on custom selects

* Add large custom select, document it and the small variant

* fix custom select focus state

* fix custom file input focus styles

* remove empty line
2017-11-24 14:29:59 -08:00
Andres Galante
b29e3f2a4c lets the centered modal have any height (#24803) 2017-11-24 14:28:58 -08:00
Mark Otto
4829350a46
Rewrite custom form check backgrounds (#24697)
* Rewrite custom form check backgrounds

Previously, this was all just a background-color and background-image. When we restored the gradients though, we had two background-images competing on the same element, causing rendering glitches. This refactors that code, creating a mixin to simplify things, so we can we easily use two background-images (SVG icon and gradient) when -gradients is set to true.

Fixes #24598

* restore default vars

* Revamp custom check and radio backgrounds

Instead of applying multiple background-image's to the same element, we're adding a new ::before pseudo-element to layer the background-images. Gradients go on the .custom-control-indicator while their icons go on the ::before element. This allows us to shave some bytes from when we compile and we previously needed to redeclare the background-image for the icon if you changed the gradient.

* remove now unused mixin

* mention change in migration docs
2017-11-24 14:26:56 -08:00
Mark Otto
fff0116f70 closes #24450 2017-11-24 12:40:56 -08:00
ysds
3506ae97bf Update typography docs (#24863) 2017-11-24 14:35:16 +02:00
XhmikosR
68ca2946f7 Run karma tests in parallel. 2017-11-23 10:41:56 +02:00
Johann-S
e8ba37139f Allow us to run our unit test on differents jquery version 2017-11-23 10:41:56 +02:00
XhmikosR
cdab56d940
Add a simple script to generate SRI hashes for our assets. (#24814) 2017-11-23 10:22:54 +02:00
Patrick H. Lauke
dcb761350c
Add support for fractional viewport widths (zoom/high-dpi displays) (#24299)
* Change breakpoint  max- calculation to fractional values
* Update docs to reflect fractional max-width breakpoint values
* Add fractional max-width to offcanvas example
* Add documentation and SCSS comment for fractional viewport support
2017-11-20 05:13:37 -05:00
XhmikosR
0f17d53770 Update devDependencies. (#24829) 2017-11-20 09:47:39 +01:00
ysds
eeb3ce0138 Fix dropup example code 2017-11-20 09:18:17 +01:00
Rychu
1449ec0d7c Typos in grid.md (#24828)
Fixed typos in offsetting section of grid.md
2017-11-19 13:33:05 -05:00
XhmikosR
e29398ee20 Remove unused file and bundle ie-emulation-modes-warning.js with docs.min.js (#24825)
* Remove the unused assets/js/ie10-viewport-bug-workaround.js.

* Combine ie-emulation-modes-warning.js with docs.min.js.
2017-11-19 13:30:10 +01:00
Andres Galante
8df34b075a Change the text color to dark on bg color warning examples (#24805) 2017-11-17 06:57:49 +02:00
XhmikosR
81cf6c4968
Don't run postcss for dist/css/*.min.css files. (#24676) 2017-11-16 14:48:08 +02:00
XhmikosR
0ff7231faa
Update popper.js to v1.12.9. (#24797) 2017-11-16 12:53:11 +02:00
Andres Galante
8e4ba117bc Fix nested cards on card group (#24766) 2017-11-16 12:41:48 +02:00
Johann-S
615c995080 Fix installing deps in our webpack docs 2017-11-16 11:30:55 +01:00
XhmikosR
7f74601fa5
Remove the now unused .houndignore file. (#24776) 2017-11-15 22:42:09 +02:00
Federico Zivolo
7fd265034c Use UMD and fix build to properly load deps (#24783) 2017-11-15 14:13:33 +01:00
Edward Betts
ffc5965f2c Correct spelling mistakes. (#24778) 2017-11-15 04:12:38 -05:00
Vasilii Artemchuk
2cafb9f127 Simplify spread (#24774) 2017-11-15 09:44:17 +01:00
Daniel Niccoli
c81ce9fdf4 Removed .col-form-label from vertical form example (#24771)
Fixes #24739
2017-11-15 03:37:23 +02:00
Andres Galante
1ee9cb04bd Adds variables for form validation messages (#24767) 2017-11-15 03:32:08 +02:00
Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 (#24665) 2017-11-13 11:25:36 +01:00
XhmikosR
1354a929f9 Update devDependencies. (#24762) 2017-11-13 11:11:55 +01:00
XhmikosR
f251e72c12 Remove .hound.yml.
We might revisit this later, but currently we get too many FP with our current setup.
2017-11-12 01:18:53 +02:00
XhmikosR
0924928cb9 Update Hound config.
1. Explicitly disable ESLint in Hound for now; it was disabled all this time. Temporarily disabled until the ESLint plugins are updated upstream
2. Remove unneeded ignore from .houndignore
2017-11-12 01:18:53 +02:00
Gijs Boddeus
c7a2689a31 fix typo grid.md (#24757)
fixes #24744
2017-11-11 08:10:47 -03:00
XhmikosR
b00ea05fbf
Update gems. (#24732) 2017-11-09 10:16:54 +02:00
Raffy Alcoriza
3a060bcb8d
Merge branch 'v4-dev' into btn-group-styling 2017-11-09 15:09:28 +08:00
Raffy Alcoriza
9e8a3c041b
Make styling of grouped option buttons class-based
Referencing #23728, styling grouped radio and checkbox buttons should not require the data-toggle attribute.
2017-11-09 15:02:46 +08:00
Patrick Yeo
031695e2f3 Add missing role="button" in collapse examples. (#24725) 2017-11-09 07:56:07 +02:00
Vasilii Artemchuk
5a2d6c70f4 Use native pseudo-selectors instead of jQuery selectors (#24713) 2017-11-09 07:51:19 +02:00
Johann-S
75bdc6d962 Update devDependencies (#24722) 2017-11-09 07:43:55 +02:00
Andres Galante
b755883059 Adds underline back to btn-link on focus 2017-11-08 11:05:12 -05:00
Mark Otto
9c213b7f27 upgrade to node 8.9.x and dist 2017-11-07 22:45:26 -06:00
Vasilii Artemchuk
9deb1c677c Use correct jQuery name in docs (#24712) 2017-11-08 01:11:04 +02:00
XhmikosR
4bacf8dd04 Update devDependencies. 2017-11-08 01:04:31 +02:00
Johann-S
83fd91cdf8 Update to babel beta 5 2017-11-08 01:04:31 +02:00
XhmikosR
fc9967e175
Fix test failure with jQuery 1.9.1 (#24706) 2017-11-07 14:13:52 +02:00
Johann-S
79d6b574cc
Escape ID in Util.getSelectorFromElement (#24700) 2017-11-07 12:41:06 +01:00
Johann-S
26dc17bcd2 Popover - call content once if it's a function. (#24690) 2017-11-07 09:18:52 +02:00
Mark Otto
b42a38b886 dist 2017-11-06 22:24:24 -06:00
Mark Otto
b942dac3ef Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-11-06 22:12:24 -06:00
ysds
ccc95d0c96 Reduce custom file z-index (#24633) 2017-11-06 15:58:28 -08:00
Mark Otto
de754fdc32 fixes #24642 2017-11-06 17:51:04 -06:00
m5o
09ae92a0a0 descriptive docs variable naming (#24521)
* use descriptive docs btn naming

* rename `btn-bd-yellow` to `btn-bd-download`

* sort state vars

* sort state vars
  * info, warning, danger

* rename btn-bd-purple

* rename `.btn-bd-purple` to `.btn-bd-primary`

* align docs color variables

* generate $bd-purple-light color

* with http://razorltd.github.io/sasscolourfunctioncalculator/

* allow overide of docs variables
2017-11-06 14:21:03 -08:00