0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

17749 Commits

Author SHA1 Message Date
Peter Blazejewicz
4752159939 Brush up vertical rhythm of form-check in docs. Closes #25546
This adds `form-group` to add the same vertical space to the `form-check` as in other grouped controls
used in form sample markup.

Thanks!
2018-02-24 12:22:20 -08:00
Martijn Cuppens
8cfbf6933b Consistent usage of $(document.body) instead of $('body') (#25671) 2018-02-21 09:01:02 +01:00
Mark Otto
99379f3843 make it a var 2018-02-19 18:15:44 -08:00
Mark Otto
c9f63c2eb8 Merge branch 'nav-divider-mixin' of https://github.com/ysds/bootstrap into ysds-nav-divider-mixin 2018-02-19 18:14:50 -08:00
Mark Otto
982aeea1f7 Merge branch 'accordion-borders' of https://github.com/andresgalante/bootstrap into v4-dev 2018-02-19 15:04:55 -08:00
Mark Otto
6a52ebfe1a dist 2018-02-19 14:50:56 -08:00
ysds
33f3ba33c2 Add color variable for caption (#25657) 2018-02-19 14:42:54 -08:00
Pierre GIRAUD
24a5376a14 Be more explicit where to find variables (#25624)
* Tell where to find the variables to override

* Be consistent with path to _variables.scss

* Get rid of some 'our' in the doc

Replaced by 'Boostrap's' when relevant
2018-02-19 14:42:26 -08:00
Mark Otto
470b4472c6
Custom range input (#25600)
* added the styling

* added the documentation

* update for one rule per line

* fix hound error: trailing whitespace

* trimmed off vendor prefixes

* Add note about track and thumb

* Psuedo-elements must be split across multiple rulesets to have an affect

* Fix firefox inner focus

* Seems that FF is the only one affected by this

* Add support for gradients

* Add labels, clarify min/max changes

* add step example

* add custom range vars
2018-02-19 14:40:59 -08:00
Martijn Cuppens
3dd0bde664 Fix carousel transition duration (#25218) 2018-02-19 10:10:25 +01:00
Patrick H. Lauke
c381d19965
Add type="button" to <button>s in accordion example (#25643)
For consistency. Closes https://github.com/twbs/bootstrap/issues/25642
2018-02-16 17:37:09 +00:00
Patrick H. Lauke
73357f9430
[Docs] Clarify suggested use of custom validation styles, add note about resetting form appearance after validation (#25628)
* Expand/clarify recommendation for using custom validation styles

Seems support for correctly announcing browser default navigation bubbles/notifications has improved recently. Now it seems only Chrome (at least on Win and Android, not tested on macOS) is the odd one out.

However, we should really make sure the custom validation messages are also tied correctly to their relevant form controls - need to dig out the PR that will ensure that.

* Add note about resetting form appearance after submission

xref https://github.com/twbs/bootstrap/issues/25626
2018-02-16 11:07:36 +00:00
Patrick H. Lauke
cd7f252bdb
Reword alert and list group text to avoid "a/an" problems
Closes https://github.com/twbs/bootstrap/issues/25611
2018-02-14 01:06:36 +00:00
Andy Pickler
27e670a4c3 Update position.md (#25607)
2 small typos
2018-02-13 13:25:29 +00:00
Martijn Cuppens
0205fc8bdb Prevent word-wrap (#25248)
Fixes #25235
2018-02-11 16:46:54 -08:00
Johann-S
65ae622d40 Dropdown - Allow to disable Popper.js style (#24092)
* Dropdown - Allow to disable Popper.js style

* Update dropdown.js

* Update dropdown.html

* copy changes
2018-02-11 16:45:59 -08:00
in-in
ba878eb542 Update stylelint config to add missing properties (#25572)
* add missing properties

list of new properties:
align-content
animation-fill-mode
appearance
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
direction
fill
flex-shrink
orphans
page-break-after
page-break-before
page-break-inside
perspective
src
stroke
unicode-bidi
widows

* fix invalid JSON config

add curly brackets

* Update .stylelintrc
2018-02-11 15:16:22 -08:00
Mark Otto
8dd1fe3893
Fix border-radius on Browse button for custom file input inside input groups (#25356) 2018-02-11 15:09:05 -08:00
Mark Otto
98111214c2
Update .sr-only mixin and utility (#25197)
* Remove clip-path from .sr-only utility as it causes perf regressions in Chrome

* change snippet to example
2018-02-11 15:05:50 -08:00
Mark Otto
e373fbea92 dist 2018-02-11 14:53:29 -08:00
m5o
f81f419b22 set color to form-control-plaintext (#25565)
* set color to `.form-control-plaintext`
* fixes readability on dark themes like ‘darkly’
  * https://bootswatch.com/darkly/index.html#forms
  * https://bootswatch.com/slate/index.html#forms
  * https://bootswatch.com/superhero/index.html#superhero
  * https://bootswatch.com/solar/index.html#forms

/cc @thomaspark
2018-02-11 14:25:36 -08:00
ysds
3ffe4f82b7 Update themeing docs for more clearly how to remove from map (#25589)
* Add note about insert position of "map-remove"

* Use optional keys instead of required keys
2018-02-11 14:24:47 -08:00
m5o
37ed1d0829 use $input-bg for $custom-select-bg (#25564)
* use $input-bg for $custom-select-bg
2018-02-11 14:24:18 -08:00
Andres Galante
49954d5e6c Create a variable for label margin bottom (#25561) 2018-02-11 02:21:42 +02:00
Jesse Mandel
54a43a7247 Remove show class from example code (#25570) 2018-02-11 02:12:15 +02:00
ysds
eca9c983f7 Fix the incorrect id in center modal example 2018-02-09 16:05:21 +00:00
freezy
2dc9c76d75 Enable scss/dollar-variable-default rule (#25542)
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
XhmikosR
9057d8da16
Update devDependencies and gems. (#25551) 2018-02-05 20:12:51 +02:00
Mark Otto
0f8145af20 Clarify migration docs to remove mention of .table-responsive being for the parent element vs the table element itself (#25539) 2018-02-03 10:02:14 +02:00
Martijn Cuppens
5158338b7c Fix pagination buttons hover z-index (#25532) 2018-02-03 09:54:08 +02:00
Mark Otto
24ab1fcf42 close #25534 2018-02-02 22:38:01 -08:00
Mark Otto
c68d26baa2 Override .custom-select width in .form-inline (#25414)
Fixes #25413
2018-02-02 14:25:47 +02:00
ysds
e216c8833c Examples: Prevent focus into closed offcanvas (#25524)
* Prevent focus into closed offcanvas
2018-01-31 16:43:27 +00:00
Bardi Harborow
399ae311b9 Add FontAwesome to icon list. (#25451) 2018-01-31 10:31:46 +02:00
Jan Clarin
87e5fa1184 Clarify stacked-to-horizontal in layout/grid.md (#25520)
- Fixes typo with "with at" in "horizontal with at the small breakpoint"
2018-01-31 10:22:14 +02:00
ysds
8adb533fe1 Fix "CVV" label pointing to wrong field (#25518) 2018-01-31 10:16:32 +02:00
Richard van Laak
38fc5cf7f7 Replace unicode character in _hover.scss (#25503) 2018-01-30 18:49:31 +02:00
Ryan Cleary
0a4c0a527d Fix example Blog post card text overflowing for medium screen size. (#25416) 2018-01-30 10:33:55 +02:00
XhmikosR
e559034d36
Update devDependencies and gems. (#25502) 2018-01-30 10:17:35 +02:00
exige81
f76e1f6a25 Fix typo in approach.md (#25492) 2018-01-28 15:20:25 -08:00
XhmikosR
5068b437a4
Update jQuery to v3.3.1. (#25398) 2018-01-23 08:18:33 +02:00
M. Appelman
3e2fbd5fb0 Fix typo in navs.md (#25404) 2018-01-23 08:04:36 +02:00
XhmikosR
96a9e98e49
Update devDependencies. (#25371) 2018-01-22 14:40:50 +02:00
Mark Otto
663057d441
Feature: Add carousel fade option (#22958)
* Move helpful code comments

* Add .carousel-fade option to Sass

* Document example of the fade carousel

* more logical warning of the .active class on carousel items
2018-01-21 22:51:08 -08:00
Mark Otto
d402183014
v4.1: Add .dropdown-item-text (#22965)
* Add .dropdown-item-text class

* Add example of plain text within a .dropdown-menu, too

* reorganize, simple/clearer headings
2018-01-21 22:40:55 -08:00
ysds
d824bdf4d8 Allow to customize vertical margin of nav-divider mixin 2018-01-22 09:54:06 +09:00
Taufek Johar
2b42ef0db2 Add CSS Utility for auto width and height Properties (#24249)
Currently bootstrap only provides 4 variations of `width` and `height` css utilities, which are:

1. 25%
2. 50%
3. 75%
4. 100%.

Here, I'm adding `auto` to the list. This is useful when we need to reset the width/height value
back to the browser default value at some point.
2018-01-21 12:28:22 -08:00
Mark Otto
8374f542be Document .flex-fill class in flex utils 2018-01-21 12:16:17 -08:00
Pierre-Denis Vanduynslager
2137d61eac Add missing flex-fill utility 2018-01-21 12:16:17 -08:00
Mark Otto
3be511264c Use variables for theme-color-level function
Closes #25313
2018-01-21 12:15:12 -08:00