Sezer Esen
de1a6e3201
Fix background position ( #28814 )
2019-05-26 11:13:55 +02:00
Ashfahan Khan
c215dc83f0
Fix Typo Mistake in SCSS comment ( #28821 )
2019-05-24 22:09:09 +01:00
Martijn Cuppens
769c8d8246
Helpers & utilities split ( #28445 )
2019-05-23 11:56:03 +02:00
Martijn Cuppens
a4a04cd9ec
.sr-only
& .sr-only-focusable
tweaks (#28720 )
...
* Prevent .sr-only-focusable overriding properties when being focused
* Typo
2019-05-20 10:03:51 +02:00
Shohei Yoshida
1a41b0ffa6
Fix z-index according to our z-index rule ( #28784 )
...
https://getbootstrap.com/docs/4.3/extend/approach/#z-index-scales
2019-05-18 16:30:57 +02:00
Shohei Yoshida
b7040ad9b4
Remove non-existing .custom-file-label::after ( #28757 )
2019-05-10 21:29:05 +02:00
Martijn Cuppens
5db281d7c4
Move close icon to components in docs ( #28512 )
...
* Move close icon to components
* Remove redundant float from close
2019-05-10 20:27:22 +02:00
Shohei Yoshida
06635be7bd
Reset input padding for cross browser consistency ( #28208 )
2019-05-09 20:40:40 +03:00
zhangbao
6b177cc409
Consistency modification ( #28750 )
2019-05-09 08:14:50 +02:00
Mark Otto
473689ce5d
v5: Drop all print styles and classes ( #28339 )
2019-05-09 07:57:58 +02:00
Mark Otto
d806e874b4
v5: Drop .media ( #28265 )
2019-05-08 21:45:24 +03:00
Mark Otto
1d4d9f8d89
Drop all hover mixins
...
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-08 20:58:07 +03:00
Shohei Yoshida
dfab49aab7
Fix incorrect variable for popover border radius ( #28733 )
...
* Use $popover-border-radius
* Move and rename the local $offset-border-width to the global variable
2019-05-07 12:01:30 +02:00
Martijn Cuppens
f5599d0a04
Configurable container padding ( #28554 )
2019-05-05 10:49:23 +03:00
Martijn Cuppens
a776cc473d
Switch from list to map for responsive embeds ( #28678 )
2019-05-05 10:41:27 +03:00
Christian Oliff
be2ad67786
Fix broken link to css-discuss.incutio.com/wiki/Printing_Tables ( #28637 )
...
Instead now pointing to the most recent Wayback Machine archive copy.
2019-05-04 10:30:17 +03:00
Martijn Cuppens
4f85850945
Scrollbar fix ( #28417 )
2019-05-03 21:32:25 +03:00
Martijn Cuppens
acf7ca9a68
More compact color-yiq function ( #28514 )
2019-05-03 21:18:41 +03:00
Martijn Cuppens
91230dbdf1
Headings font style ( #28544 )
2019-05-02 21:35:58 +02:00
Martijn Cuppens
0321fbf036
Remove floats from dropdown ( #28690 )
2019-05-02 20:37:10 +02:00
Martijn Cuppens
b327c34ce3
Improve progress-bar-stripes animation ( #28697 )
...
- `background-position: 0 0;` is the default background position, so redundant
- The background position should only be animated in the x direction
- `0%` is a little shorter than `from`
2019-05-02 11:03:28 +03:00
Martijn Cuppens
09c99fe6e7
Reboot & Type cleanup ( #28698 )
...
- Line height & font family from html were directly overridden by body, so they were redundant thus removed
- The remaining properties are moved to body
- Shim for IE10 tags removed
- hr cleanup
- Combined styles from reboot & type
- Changed from borders to background
- This allows us to keep the color inherited.
- Opacity can be used to change the intensity
- Size attribute will not change the height instead of making the hr look like an input field
- Better variable names
- headings cleanup
- Moved all element styling to reboot
- Type will now extend the element styling. This way we will save some redundant code
- small & mark are also moved to reboot. type does not contain any element styling anymore
- font weight removed from small, this did not really made sense
2019-04-30 11:00:33 +03:00
ysds
a454ea7cf7
Change custom file markup
2019-04-30 10:45:05 +03:00
Martijn Cuppens
0ed44cab2d
Remove IE leftover ( #28699 )
...
Removed leftover from #27789
2019-04-30 08:52:04 +02:00
Mark Otto
60d826a305
Prevent form validation mixin from generating invalid CSS ( #28447 )
...
Extrapolates the previously used selector into a new mixin that only generates valid CSS by creating psuedo-classes for `valid` and `invalid`, and nothing else.
Fixes #28380 .
2019-04-25 17:01:50 +03:00
Shohei Yoshida
2d0f2feb10
Sync plain text font-size with $input-font-size
( #28464 )
2019-04-25 16:45:59 +03:00
GeoSot
275cd7f91e
Separate $btn-link
colors from $link-color
( #28681 )
2019-04-23 16:12:51 +03:00
Martijn Cuppens
4ee2ae4ce0
Remove redundant slashes ( #28677 )
2019-04-21 18:45:53 +03:00
Shohei Yoshida
b1b5e87d65
Add $custom-control-label-color
variable ( #28633 )
2019-04-13 15:06:32 +03:00
Ted Kesgar
51b0c42778
Change toast border radius to use $border-radius
( #28621 )
...
Currently, `$toast-border-radius` uses the value of `.25rem`. This is inconsistent with other variables such as `$btn-border-radius` and `$input-border-radius`, which uses the "global" `$border-radius` variable.
2019-04-08 15:06:48 +03:00
Matěj Kříž
e0738f8207
Fix buttons :focus state styles ( #27890 )
...
* Fix buttons :focus state styles
Buttons :hover and :focus state shares styles.
Buttons :focus text color on 'a.btn' is now consistent with others '.btn'.
* `:focus` styles should be in sync with `.focus`.
So shared styles with hover were copy to focus definition. Rather then using
`hover-focus` mixin which do not contain `.focus`.
2019-04-05 11:51:20 +03:00
Loïc Goyet
f2d33cd86b
Remove scss variable defined twice ( #28567 )
2019-03-29 21:31:23 +02:00
Patrick H. Lauke
b4a2beb3c2
Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars ( #28530 )
2019-03-21 15:59:02 +02:00
Shohei Yoshida
5e459e9b52
Workaround for MS edge bug ( #28275 )
2019-03-18 01:27:59 +02:00
XhmikosR
15d242d21a
Revert "Remove IE-specific breadcrumb CSS hack"
...
This reverts commit 9fda96e197
.
2019-03-18 01:11:05 +02:00
Martijn Cuppens
a88d58605a
Remove hover states on background utilities ( #28457 )
2019-03-14 19:36:02 +02:00
Mark Otto
837ff0cc11
v5: Drop remaining deprecated mixins ( #28461 )
...
- Deletes mixin mentions from float docs
- Deletes mixin mention from visibility docs
- Deletes the image-replacement page for text-hide
2019-03-14 19:23:54 +02:00
Mark Otto
c16532c724
v5: Update badges ( #28458 )
...
- Drop hover and focus states
- Drop .badge-* variants and associated mixin for .bg-* utilities
- Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill
- Remove unused variables
- Add default color value to .badge base class
- Update docs to reflect changes
2019-03-14 19:15:26 +02:00
Patrick H. Lauke
3e05d016cf
Remove indiscriminate outline suppression for tabindex="-1" elements ( #28437 )
...
instead, only apply outline suppression if the browser wouldn't normally apply the focus outline, using the (currently experimental) `:focus-visible` pseudo-class
2019-03-12 15:16:18 +02:00
Mark Otto
e8827874ad
v5: Don't automatically adjust all hr elements in alert variants ( #28462 )
2019-03-12 15:04:08 +02:00
Mark Otto
d6501970ad
v5: Drop deprecated size mixin ( #28460 )
2019-03-12 10:02:17 +02:00
Mark Otto
89d7384944
Drop deprecated img-retina mixin ( #28459 )
2019-03-12 09:47:36 +02:00
Shohei Yoshida
8896827bd0
Add <ol> to nav's comment ( #28426 )
2019-03-07 13:38:33 +01:00
Martijn Cuppens
8770b84e84
Update RFS to v8.0.2 ( #28405 )
2019-03-06 22:49:06 +02:00
mspae
7626f8b17d
disable assert assending check if the previous unit was a percentual value ( #28400 )
2019-03-05 12:47:48 +02:00
Jonathan
c8361e2adf
Hyphenate server-side ( #28401 )
2019-03-04 15:52:13 +02:00
Martijn Cuppens
bc60a22a18
Fix border if only one card ( #28365 )
2019-02-26 22:06:46 +02:00
Mark Otto
9fda96e197
Remove IE-specific breadcrumb CSS hack
2019-02-20 22:05:45 +02:00
astrahov
62277bc58e
Change breadcrumb item padding variable name ( #28125 )
2019-02-20 22:05:45 +02:00
Peter Blazejewicz
cbd333185e
Use consistent arrow class ( #28105 )
2019-02-20 22:05:45 +02:00
Martijn Cuppens
28a7abf0f7
Deprecate form-control-focus mixin ( #28262 )
2019-02-15 15:50:58 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. ( #28252 )
2019-02-13 18:01:40 +02:00
Martijn Cuppens
bf2515ae68
Update RFS to v8.0.1 ( #28245 )
...
Remove warning if RFS is included more than once.
2019-02-12 22:49:12 +01:00
Mark Otto
1ded0d6a4e
Release v4.3.0 ( #28228 )
...
* Prep for v4.3.0
* More updates for v4.3.0.
* rerun to build docs source map
2019-02-11 11:15:34 -08:00
Martijn Cuppens
51375abca5
Responsive font size implementation ( #23816 )
2019-02-07 23:32:05 +01:00
Shohei Yoshida
d250567ce0
Remove -ms-autohiding-scrollbar
to prevent overlapping the table content ( #28153 )
2019-02-07 19:52:23 +02:00
Martijn Cuppens
8b41cb1368
Optional btn & input font sizes ( #28068 )
2019-02-07 19:47:24 +02:00
Martijn Cuppens
2ee8ecedf4
Deprecate img-retina()
mixin ( #28072 )
2019-02-07 19:33:57 +02:00
Martijn Cuppens
bcfb7ed159
Deprecate invisible()
mixin ( #28066 )
2019-02-07 19:19:00 +02:00
Zachary Welch
b647dd0565
Add map-name param to _assert-starts-at-zero ( #24986 )
...
* Add map-name param to _assert-starts-at-zero
* Set default value for backwards compatibility
2019-02-07 10:19:38 +01:00
João Lucas
eb1313d213
Create border-top-left-radius
and border-bottom-right-radius
mixins ( #28100 )
...
* Create border-top-left-radius mixin
* Create border-bottom-right-radius mixin
2019-02-07 09:02:05 +01:00
Martijn Cuppens
311d6dab68
Deprecate size mixin ( #28067 )
2019-02-07 08:21:47 +01:00
Bardi Harborow
b5fb4f7d6b
Add text-decoration to .btn-link. ( #28169 )
2019-02-06 22:33:03 +01:00
Martijn Cuppens
58470c0ac5
Fix text break in Firefox ( #28063 )
2019-02-06 12:38:13 +02:00
Martijn Cuppens
d4e782efab
Fix dropdown radius if $dropdown-padding-y
is not 0 ( #28127 )
2019-02-03 23:07:16 +02:00
Shohei Yoshida
e65dccfc95
Fix custom select caret issue on IE ( #28112 )
2019-01-25 21:09:21 +01:00
Shohei Yoshida
0f8f84329b
Fix validated custom select bg color ( #28119 )
2019-01-25 20:44:52 +01:00
Martijn Cuppens
6466a0461a
Deprecate float mixins ( #28104 )
2019-01-24 22:51:36 +02:00
Martijn Cuppens
2749bf34de
Add !important
to .text-monospace
utility class ( #28064 )
2019-01-24 22:42:42 +02:00
Martijn Cuppens
dfba588d0d
Add default value for $ignore-warning
( #28103 )
2019-01-23 05:59:15 +02:00
Martijn Cuppens
5c56e9adff
Add deprecate()
mixin ( #28092 )
2019-01-22 20:55:23 +01:00
Martijn Cuppens
59d040fcbb
Make component colors configurable ( #28035 )
2019-01-20 23:38:29 +02:00
Shohei Yoshida
de0bb1e052
Scrollable modal ( #27769 )
2019-01-20 23:28:16 +02:00
Martijn Cuppens
41f85b64bf
Add ref to reason why min-width: 0;
is added ( #28061 )
2019-01-20 23:23:05 +02:00
Martijn Cuppens
f1f740be09
Make progress animation respect $enable-transitions
and prefers-reduced-motion
media query
...
Make progress animation respect `$enable-transitions` and `prefers-reduced-motion` media query
2019-01-15 00:51:11 +00:00
Martijn Cuppens
3d350c3b34
Remove map-merge ( #28033 )
2019-01-13 16:35:00 -08:00
Martijn Cuppens
d546cb8374
Cleanup popover arrows ( #28008 )
2019-01-13 16:29:37 -08:00
Martijn Cuppens
70f50f3079
Sync dropdown font size to base font size
2019-01-13 16:27:40 -08:00
Martijn Cuppens
e57cdee6bc
Sync dropdown font size with btn font size
2019-01-13 16:27:40 -08:00
Martijn Cuppens
fd98e77cac
Remove background from nested tables
2019-01-13 16:26:56 -08:00
Martijn Cuppens
d09bd2e629
Fix background size y
2019-01-13 16:24:01 -08:00
Martijn Cuppens
e2ac792bc7
Minify background property
2019-01-13 16:24:01 -08:00
Martijn Cuppens
50492b8840
Combine background properties into one
2019-01-13 16:23:32 -08:00
Martijn Cuppens
8db577bd51
Prevent useless property rendering
2019-01-13 16:22:25 -08:00
Martijn Cuppens
4b839b1c87
Don't render a background by default
2019-01-13 16:21:57 -08:00
Martijn Cuppens
5adcfe97f0
Prevent rendering of color property by default
2019-01-13 16:21:16 -08:00
Martijn Cuppens
cd4964f345
Change comment heading title to Typography
( #28032 )
2019-01-14 01:59:51 +02:00
Martijn Cuppens
b3226c1ccc
Align toast variables ( #28041 )
2019-01-14 01:51:53 +02:00
Justin
8f5abf0ab0
Add new rounded sizes classes ( #28011 )
...
* update border-radius mixins
Add $enable-rounded as a keyword argument to border-raidus mixins
* Update rounded classes
- use border-radius mixins to repleace !important
- use true for $enable-rounded for rounded classes
- Add `.rounded-sm` and `.rounded-sm` #27934
* update borders docs
* Revert touch of dist files
* Revert change of border-radius mixins
* use !important in border-radius utilies classes
* update border radius classes keep only rounded-lg and rounded-sm
2019-01-13 11:49:25 -08:00
Martijn Cuppens
fd4d426e51
Change default custom select styles ( #28027 )
2019-01-13 09:52:46 +02:00
Martijn Cuppens
e077ddbc6c
Prevent wrapping if caret is included ( #28029 )
2019-01-13 09:43:52 +02:00
Mark Otto
deea117293
Add form-validation-states Sass map ( #27999 )
2019-01-11 21:16:50 +02:00
Miha Eržen
fd9dc1a0ca
Fix input-height-inner wrongly calculated ( #28018 )
...
In a scenario where `$input-line-height` or `$input-font-size` are different than `$input-btn-line-height` and `$input-btn-font-size` the final `$input-height-inner` was wrongly calculated.
2019-01-11 14:22:14 +02:00
XhmikosR
f11f56558b
Bump copyright year to 2019.
2019-01-08 21:23:50 +02:00
wojtask9
46f34fd131
remove redundant loop from list-group-horizontal ( #28005 )
2019-01-08 20:18:36 +02:00
wojtask9
5dcf7cd3b7
box-shadow mixin fix ( #28004 )
2019-01-08 19:42:28 +02:00
Shohei Yoshida
dc436427e9
Move z-index
to .list-group-item-action and remove redundant text-decoration: none
( #27996 )
2019-01-08 06:59:49 +02:00
Martijn Cuppens
48fe2c23d3
Space fixes ( #27997 )
2019-01-08 06:46:29 +02:00
Martijn Cuppens
68062cfe60
Allow configuration of caret spacing and vertical alignment ( #27994 )
2019-01-07 18:28:21 +02:00
Martijn Cuppens
2b96e9adf1
remove screen from media query ( #27985 )
2019-01-07 18:18:43 +02:00
Shohei Yoshida
92cc5a70d3
Fix incorrect responsive alignment of dropdown menu ( #27873 )
2019-01-07 03:12:51 +02:00
Vishnuprasad Venugopal
ea9129c8ae
fix border issue for nested card inside accordions ( #27881 )
2019-01-07 03:06:37 +02:00
Mark Otto
e6b1eefc73
Add horizontal list group modifier ( #27970 )
...
Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs.
Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
2019-01-07 03:01:36 +02:00
wojtask9
42bed436e8
take account 'none' for box-shadow ( #27972 )
2019-01-07 02:52:39 +02:00
Martijn Cuppens
cbc8a7273a
Sync custom select focus state with custom control focus state
2019-01-07 02:48:04 +02:00
XhmikosR
f21b5f9e98
Remove unneeded stylelint disables.
2019-01-05 20:50:07 +02:00
Martijn Cuppens
e1b990fb90
Move hand cursor for buttons to reboot
2019-01-04 11:53:32 +02:00
Martijn Cuppens
83dc45b31b
Prevent select word wrap in Safari ( #27932 )
2019-01-04 11:40:10 +02:00
Florian Lacreuse
c71b291cd9
Remove unnecessary brackets for consistency ( #27966 )
2019-01-03 20:59:18 +02:00
Martijn Cuppens
c0dfda964f
Configurable display utility classes ( #27917 )
2018-12-29 04:54:58 +02:00
Martijn Cuppens
952374654c
Fix custom select font sizes ( #27929 )
2018-12-29 04:44:35 +02:00
Martijn Cuppens
8eef162c44
Match input font size for .input-group-text
( #27941 )
2018-12-28 23:18:10 +02:00
XhmikosR
ee09d96628
reboot: Fix comment ( #27937 )
2018-12-28 00:48:51 +02:00
Martijn Cuppens
8bf823e22d
Fix form-feedback-icon-invalid color ( #27935 )
2018-12-27 23:05:29 +02:00
XhmikosR
3c88ed7069
Fix 4:3 embed ( #27910 )
2018-12-23 13:58:58 +02:00
Martijn Cuppens
81e35985b8
Simplify card group css ( #27901 )
2018-12-23 09:19:07 +02:00
Martijn Cuppens
39b14c9806
Blacklist border-radius property (use mixin instead) ( #27900 )
2018-12-23 09:11:11 +02:00
XhmikosR
74a2d93517
Merge branch 'v4-dev' into stretched-link
2018-12-22 18:32:28 +02:00
Mark Otto
15be9d3277
Add variable for dropdown-divider-margin-y ( #27857 )
...
* Add variable for dropdown-divider-margin-y
For us to reassign the nav-divider-margin-y variable here, we have to rearrange some of the variables.
Fixes #26660 .
* bump bundlesize
2018-12-21 20:59:40 -08:00
Mark Otto
d51b408d0f
Merge branch 'text-break-util' into v4-dev
2018-12-21 15:35:55 -08:00
Mark Otto
fca7531897
Merge branch 'table-dark-colors' into v4-dev
2018-12-21 14:49:11 -08:00
Mark Otto
cdcfd3b1e8
Merge branch 'text-break-util' into v4-dev
2018-12-21 14:47:52 -08:00
ysds
27d691c64c
Prevent unnecessary css when $emphasized-link-hover-darken-percentage is 0 or 0%
2018-12-21 14:46:20 -08:00
Martijn Cuppens
20f49143fc
Sync modal header & footer border colors with $border-color
2018-12-21 13:56:44 -08:00
Martijn Cuppens
8bc118acce
Sync $table-border-color
with $border-color
2018-12-21 13:56:11 -08:00
Shohei Yoshida
cda3301d08
Use border-radius() mixin for toast
2018-12-21 13:55:44 -08:00
Martijn Cuppens
fc841b0ceb
#27135 : themed link focus state & selector improvement ( #27136 )
2018-12-21 13:55:05 -08:00
Sam Tape
9d3930b6dd
Apply arrow styles to direct descendants of bootstrap popover classes
...
With the current styles, it is not possible to nest a popover inside of
another popover if they have different placements because the arrow
styles of the parent popover will conflict with the arrow styles of the
child popover.
2018-12-21 13:54:29 -08:00
Mark Otto
f6abb4976f
Prevent checks from shrinking in inline forms ( #27870 )
...
Fixes #25336
2018-12-21 13:52:02 -08:00
Mark Otto
2e1d0fed00
Add table-hover-color variables ( #27850 )
...
* Add table-hover-color variables
Fixes #26465
* Put $table-color to use outside _variables.scss
2018-12-21 13:51:38 -08:00
Mark Otto
d9712b7bcd
Merge branch 'table-hover-colors' into v4-dev
2018-12-21 13:48:44 -08:00
Mark Otto
9e4e94747b
Bump to v4.2.1 ( #27892 )
2018-12-21 10:55:28 -08:00
Mark Otto
eda851ee76
Prep for v4.2.0 release
...
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Martijn Cuppens
353c8b4376
Update scss/utilities/_text.scss
...
Co-Authored-By: mdo <otto@github.com>
2018-12-17 09:48:06 -08:00
Mark Otto
540537c481
Add new .text-break utility for applying word-break: break-word
2018-12-16 13:23:33 -08:00
Martijn Cuppens
dac464a5b8
Use theme-color function for colors ( #27848 )
2018-12-16 01:59:16 +02:00
Mark Otto
3b42a9ec5b
Add table-hover-color variables
...
Fixes #26465
2018-12-15 14:01:09 -08:00
Mark Otto
f50f6e0355
Match .table-dark background-color to the -dark variable
2018-12-15 10:15:52 -08:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Florian Lacreuse
1dc42a3373
Add missing parameter to grid mixins. ( #27841 )
2018-12-14 18:30:12 +02:00
Gijs Boddeus
26c5595164
Custom switch form control gutter fix ( #27837 )
2018-12-14 16:22:19 +02:00
Gijs Boddeus
c618f67187
Actual gutter definition ( #27797 )
2018-12-14 03:04:10 +02:00
Patrick H. Lauke
f3fc973dd9
Remove now unnecessary -ms-viewport and -ms-overflow-style directives ( #27789 )
...
Edge/Mobile appears to have moved support for `-ms-viewport` behind a flag at some point, instead supporting meta viewport directives.
Removing this altogether also fixes issues in IE11 on high-dpi displays - see https://github.com/twbs/bootstrap/issues/21780
2018-12-12 21:24:47 +02:00
Gijs Boddeus
180a06eeb7
Add switch custom form control ( #23004 )
2018-12-12 15:28:25 +02:00
Martijn Cuppens
dbadf24bb3
Fix margin above toast when previous toast is hidden ( #27820 )
2018-12-12 14:23:10 +01:00
Johann-S
1f4d7903db
fix fade animation for toast
2018-12-10 10:38:11 +01:00
Gijs Rogé
3fbbe1bd35
Replaced fixed 'bolder' font weight value in reboot with variable. ( #27782 )
...
The default font weight value for <strong> <br> in reboot was
set by a fixed value we now use the variable $font-weight-bolder
to let users override this value.
2018-12-06 08:21:18 +02:00
Jacob Müller
8fb6e84fa0
Make form grid gutter width configurable ( #27766 )
2018-12-05 17:15:24 +02:00
Shohei Yoshida
850d99bb13
Add quotes according to the stylelint rule ( #27771 )
2018-12-05 12:40:59 +01:00
XhmikosR
e184c11618
Merge branch 'v4-dev' into stretched-link
2018-12-05 11:38:55 +02:00
Martijn Cuppens
3007d4b435
Stretched link
2018-12-04 21:22:12 +01:00
acidrums4
1a171b80ab
Remove double 'the' in comment ( #27767 )
2018-12-04 20:14:23 +01:00
Shohei Yoshida
e9ec5e7392
spinners: use .sr-only
instead of text-hide technique ( #27736 )
2018-12-04 08:02:49 +02:00
ysds
9f08f7dea6
Grow button width to the parent button group ( #27717 )
2018-11-25 12:05:31 +01:00
ysds
b6e616a70f
Fixed a fixed height issue of input-group size option ( #27687 )
2018-11-22 10:29:33 +02:00
Roy Klutman
e7e43edf65
Add border-radius to dropdown items ( #27703 )
2018-11-22 00:24:13 +02:00
Martijn Cuppens
3f422bfc88
Prevent text decoration skip inc and reorder comments ( #27673 )
2018-11-18 10:09:41 +02:00
Martijn Cuppens
12ae122eda
Spinners cleanup
2018-11-17 20:34:58 -08:00
ysds
5042b3c93d
Support custom-select sizing in input-group ( #27677 )
2018-11-17 14:10:38 +02:00
Martijn Cuppens
75526bf2d0
Inherit card header color ( #27681 )
2018-11-17 10:16:16 +01:00
Martijn Cuppens
fab1dea927
Keep input group & form label font size in sync with form control font size ( #27663 )
2018-11-13 21:11:59 +01:00
Mark Otto
ab40a2b919
Nest the .toast.show
and use display: block;
as inherit causes broken styles
2018-11-13 08:47:32 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
Mark Otto
d0652a1be9
Add new toasts component
2018-11-13 08:47:32 +02:00
Martijn Cuppens
696c4078d1
Customize browse text of the custom file input with HTML ( #27651 )
2018-11-13 08:30:17 +02:00
XhmikosR
e9d67982ae
spinners: use the animation shorthand property.
2018-11-13 08:21:57 +02:00
Mark Otto
52a86cc671
Add Bootstrap's very first spinners omfg it's actually happening
2018-11-13 08:21:57 +02:00
Martijn Cuppens
976efcd5ee
Allow to add more embed responsive ratios ( #25894 )
2018-11-11 11:04:04 +02:00
jvitela
731f95bded
Fix modal positioning on Android.
...
When the address bar is hidden, sometimes the visual position of the controls is out of sync with its logical position.
2018-11-11 10:44:26 +02:00
sts-ryan-holton
89eef046ef
Add new .rounded-pill
utility ( #27339 )
2018-11-05 19:19:00 +02:00
Martijn Cuppens
b33d0d3790
Prevent white line in Firefox (regression) ( #27594 )
2018-11-05 18:56:41 +02:00
LittleHuba
aa098991bf
Add Noto Sans to the font stack ( #27596 )
...
Fixes #27595
2018-11-05 08:22:40 +02:00
Arvind S
042042a48a
Made the disabled state for nav more obvious. ( #27382 )
2018-11-04 22:17:14 +02:00
ysds
4a1090ac48
Ligthen/Darken Button focus shadow color
2018-11-04 20:58:00 +02:00
Andrew
cbc859ad8d
Add .text-wrap
class.
...
this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines.
One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior.
2018-11-04 15:55:17 +02:00
patrickhlauke
c46a0c7e88
Replace touch-action: none with pan-y, remove preventDefault from touch event handling
2018-11-04 14:40:19 +02:00
XhmikosR
9cc237d0ba
scss/_custom-forms.scss: fix typo in comment.
2018-11-04 12:17:56 +02:00
ysds
ea8f6c6ff3
Button group refactoring and fixes ( #25395 )
2018-11-04 08:50:21 +02:00
Vincent Langlet
793b83fda8
Avoid null value ( #27570 )
2018-11-04 08:18:56 +02:00
Martijn Cuppens
38e9e2b82c
Add TODO
2018-11-04 08:13:31 +02:00
Varunram
a31468cf84
Resolve #26226 : Sync with normalize 8.0.0
...
diff credits: @client9
2018-11-04 08:13:31 +02:00
Patrick H. Lauke
8b20bce873
Add Sass variable for prefers-reduced-motion, add callout to affected components ( #27581 )
...
* Tweak the accessibility/reduced motion text
include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS
xref https://github.com/twbs/bootstrap/issues/27525
* Add new callout for reduced motion
* Add variable to control prefers-reduced-motion media query support
* Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-03 19:23:26 +01:00
ysds
2ffa1bff6e
Fix empty custom-control-label alignment issue ( #27566 )
2018-10-31 09:49:52 +02:00
Martijn Cuppens
96b49d7833
Fix Edge bounce and restore original transition easing ( #27279 )
2018-10-31 09:45:39 +02:00
ysds
eb5d0b49dc
Prevent hover/click on disabled .close links.
2018-10-30 18:25:14 +01:00
Martijn Cuppens
e0fa9a812c
#27502 : Prevent active state border change
2018-10-30 09:06:25 +02:00
Martijn Cuppens
5aed968750
Prevent the background to be shown when transitioning
2018-10-30 08:57:02 +02:00
ItaloBC
557f3fe100
Added Viewport Height & Width helpers
...
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
2018-10-23 06:04:08 +03:00
Martijn Cuppens
1c91f48251
Variable darken percentage for emphasized links
2018-10-23 05:58:19 +03:00
Caíque de Castro Soares da Silva
ff40e00323
Fix readonly-plain-text with button addon ( #25871 )
...
Fixes #25870
2018-10-23 05:53:38 +03:00
Mitko Georgiev
ee1daf090a
Easy merging of new grid breakpoints and containers ( #26714 )
...
This change follows exactly what was done for the `$grays`, `$colors`, and `$theme-colors` lists in #23260 . This allows for easy addition of new breakpoints or grid containers also.
2018-10-23 05:48:44 +03:00
Martijn Cuppens
dd539094ea
Custom select validation padding fix and additional custom select feedback icon variables
2018-10-23 05:43:59 +03:00
Martijn Cuppens
d0b7eb1111
Cleanup stylelint comments
2018-10-23 00:21:33 +03:00
Martijn Cuppens
00860f02d4
Disallow transition property (use mixin instead)
2018-10-21 22:46:20 +03:00
Johan Beckers
09aca3fb9a
Unitless breakpoints
...
If I want to customise the breakpoints using `em`, I get compatibility errors.
It is good practice to set breakpoints in `em` instead of `px` when users use browser scaling.
See https://zellwk.com/blog/media-query-units/#concluding-the-experiments for more information why someone would like to do this. Only Safari users can get annoyed: https://adamwathan.me/dont-use-em-for-media-queries/
In any case, using a unitless number at line 42 would be very convenient.
2018-10-21 21:31:28 +03:00
Martijn Cuppens
44ddabad4b
Simplify theme color usage ( #27378 )
2018-10-21 17:39:23 +03:00
Andrew Pucci
d13ae1fc1a
Card header color theming ( #26573 )
...
Define new variable for card header color
2018-10-21 11:05:54 +03:00
ysds
becb6ce346
Add dropdown responsive alignment ( #26255 )
2018-10-21 11:01:22 +03:00
Andrey
3075432584
feature/yiq function, add parameters, with default values. ( #26917 )
2018-10-21 10:33:53 +03:00
Martijn Cuppens
e2014e8ed7
Custom checkboxes and radios retheming ( #27064 )
2018-10-21 10:25:07 +03:00
Martijn Cuppens
c9a43b027a
Re-add carousel control transition ( #27277 )
2018-10-21 10:13:35 +03:00
Doug Puchalski
59f1802e98
Outline button variant hover mixin ( #27289 )
...
The outline button variant mixin should use the hover mixin, as does the non-outline version.
2018-10-21 10:09:08 +03:00
midzer
50d866da24
optimize data URIs ( #27284 )
2018-10-21 10:03:17 +03:00
Martijn Cuppens
2a28c7d9fd
Carousel fade cleanup ( #27278 )
2018-10-21 09:55:43 +03:00
Roy Klutman
fccdda5448
Fix for double border on cards in an accordion ( #27133 )
2018-10-21 09:49:05 +03:00
719media
2c1a743cc9
Update _custom-forms.scss ( #27276 )
...
user-select has no effect on before/after pseudo elements
2018-10-20 22:35:56 +03:00
andresgalante
86822d93d6
changes the variables for input font size
2018-10-20 22:29:24 +03:00
Ian Walter
871a51a548
Fix #26372 : disabled btn hover issue ( #27407 )
...
When gradients are enabled there is still a hover state on disabled
buttons since the hover rules apply to background-image and disabled
rules apply to background-color. This applies the logic already present
in dropdowns to buttons. This fix was originally proposed by @ysds.
2018-10-20 22:12:33 +03:00
semenyakNik
c5eb6043d8
Custom select inconsistent padding ( #27415 )
2018-10-20 22:00:48 +03:00
Martijn Cuppens
7190c38e4c
Remove redundant width and height properties
2018-10-20 21:46:53 +03:00
patrickhlauke
8883ccb205
Set touch-action to "none"
...
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke
7b8f01d839
Use correct touch-action values
...
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S
735c374e9c
use pointer events if available
2018-10-20 15:32:09 +03:00
Andres Galante
5088f02730
Add font weight options for form controls and custom select ( #27343 )
2018-10-20 11:50:20 +03:00
Bastien
a86aef0ae0
table: Add border color relative to theme for accessibility ( #25755 )
2018-10-20 11:21:31 +03:00
Catalin Zalog
a16ffc7ba1
feat: keep contrast on .table-dark
...
In case we set `$body-bg` to a dark color, we have to keep table contrast relevant.
2018-10-19 13:01:38 +03:00
namiltd
1231e1d6bc
Fix size of modal dialogs at different widths ( #27094 )
2018-10-19 12:56:46 +03:00
Roy Klutman
5a1588ed33
Fix double border on list-group ( #27126 )
2018-10-19 12:01:36 +03:00
Martijn Cuppens
a6669b478b
Fix btn focus color ( #27178 )
2018-10-17 23:21:33 +03:00
Mark Otto
29bd5e3218
Add overflow-auto and overflow-hidden utilities
2018-10-06 17:55:55 -07:00
Howard Cox
d7f79b06dc
Prevent pointer events on disabled list-group-item
2018-09-26 07:20:46 +03:00
Howard Cox
44b3f77852
Prevent pointer-events on disabled anchor dropdown-item
...
Fixes #26695
2018-09-26 07:20:46 +03:00
Martijn Cuppens
7bd1bc2431
Allow multiple ways of padding declaration for modal header ( #26976 )
...
* #26967 : Allow multiple ways of padding declaration for modal header
* #26976 : split vertical and horizontal modal padding
2018-09-18 21:33:31 -07:00
Mark Otto
0bec1c8897
Add new variables for form feedback tooltips ( #26959 )
...
Fixes #26886
2018-09-18 21:27:02 -07:00
Mark Otto
c8fd9ddd97
Consistently re-use input variables
2018-09-18 16:29:46 +03:00
Martijn Cuppens
e604958641
Variable .btn and .form-control font sizes ( #26908 )
2018-09-18 15:35:25 +03:00
ysds
18ae915f54
Bring the focused button in input group to the front ( #26910 )
2018-09-18 15:29:02 +03:00
Martijn Cuppens
bf4dab72df
#27220 : cleanup .btn-link hover/focus properties ( #27250 )
2018-09-17 09:34:34 -03:00
Catalin Zalog
928ebd8925
_variables.scss comments/spacing consistency ( #27247 )
...
* style: `_variables.scss` comments consistency
* style: `_variables.scss` spacing consistency
2018-09-16 14:32:11 -07:00
Martijn Cuppens
7a01f3c41b
Selector improvement ( #27219 )
2018-09-14 09:31:48 -03:00
Andres Galante
ed3c611949
creates variables for navbar brand colors #27187
2018-09-13 17:51:14 +03:00
Roman O
fad49e710e
Ignore percentage values for compare in maps
2018-09-02 16:43:54 -07:00
Martijn Cuppens
97eea3b2bf
Set .btn base color
2018-09-02 16:28:42 -07:00
Martijn Cuppens
3ef2db1e85
Move transparent background to .btn and remove background-image
2018-09-02 16:28:42 -07:00
Martijn Cuppens
19afb12b65
Set max-width to 100%
...
Fixes #27114
2018-09-02 16:26:53 -07:00
Martijn Cuppens
9f53e06e46
Remove -webkit-text-decoration-skip
2018-09-02 16:26:18 -07:00
Martijn Cuppens
e3c0b3d3af
#27112 : fix border focus border color
2018-09-02 16:25:55 -07:00
ysds
d1de8737aa
Move CSS of hover underline to base from color variants
2018-09-02 16:25:21 -07:00
ysds
5266669d34
Remove extra line break
2018-08-28 02:22:46 +03:00
Martijn Cuppens
0e8831505a
Simpler carousel indicators css ( #26996 )
2018-08-26 14:53:36 +03:00
acj
b652932f0c
Remove redundant space from blockquote footer prefix
2018-08-26 14:48:51 +03:00
acj
cd28869a2f
Move blockquote footer font size to variables
...
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.
80% as a default is still fine.
2018-08-26 14:48:51 +03:00
m5o
7f9e70202e
add text-reset to text utilities ( #26866 )
2018-08-25 19:31:52 +03:00
Mark Otto
df3993a600
Round corners on modal footer
...
Matches the method used for the modal header. Fixes #26955 .
2018-08-25 18:49:09 +03:00
Rowan-James Tran
24bdadf9d3
Remove nowrap from .btn
2018-08-19 11:17:10 -07:00
Martijn Cuppens
4def76c34e
#26975 : remove grid columns min height
2018-08-19 11:13:18 -07:00
Martijn Cuppens
bf7d4aef81
Change if statement
2018-08-13 10:10:52 +03:00
Martijn Cuppens
57661dff6d
Tweak modal transform ( #27005 )
2018-08-13 10:00:53 +03:00
Mark Otto
0b5a8d9c98
Merge branch 'form-validation-icons' into v4-dev
2018-07-29 14:18:09 -07:00
Robert
70ad98d34d
Fix custom-select font size/padding ( #26585 )
...
fixes #26476
2018-07-29 14:04:35 -07:00
Mark Otto
f803fb9903
Add margin utils to the grid for fully functional grid control ( #26957 )
...
* Add margin utils to the grid for fully functional grid control
* bump the max filesize
2018-07-28 21:34:27 -07:00
Martijn Cuppens
4f926671e9
Carousel indicators transition ( #26902 )
2018-07-24 21:15:05 -07:00
ysds
bbee41431d
Fix custom range height ( #26898 )
...
Fixes #26897
2018-07-24 17:56:03 -07:00
Martijn Cuppens
d80635c1cd
Custom input range disabled styling ( #26540 )
2018-07-24 17:39:15 -07:00
Mark Otto
ba25e38b4a
Merge branch 'garhbod-patch-1' into v4-dev
2018-07-24 17:26:29 -07:00
Mark Otto
fb2de04374
Merge branch 'v4-dev' into malkomich-v4-dev
2018-07-24 17:25:12 -07:00
Stefan Wrobel
e3b98c51da
Add .text-decoration-none utility class ( #25933 )
...
ref: https://github.com/twbs/bootstrap/pull/23881#issuecomment-337789596
2018-07-24 17:24:20 -07:00
Andrew
c8a4d9dd74
add 'lighter' and 'bolder' font weight classes ( #26580 )
...
* add 'lighter' and 'bolder' font weight classes
these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.
probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969 , but it's a start
* Update .stylelintrc
* add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-24 17:23:17 -07:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Martijn Cuppens
c74a32703a
Allow background images for active buttons
2018-07-20 19:25:01 -05:00
Mohammad Younes
6cca02f163
fix .modal-dialog-centered
on IE10/11
2018-07-20 19:04:23 -05:00
Joshua David
c04d60b88f
Fix modal overflow style nesting ( #26742 )
...
Nest `.modal` styling directly under `.modal-open`
to avoid issues when bootstrap is nested.
2018-07-20 18:55:16 -05:00
Martijn Cuppens
6f52b2eafa
#26912 : fix custom file input z-index
2018-07-20 18:31:47 -05:00
ysds
c45e5594b7
Fix property order
2018-07-20 18:28:09 -05:00
ysds
900775483f
Remove :not(:root)
from the workaround for SVG overflow bug
...
* `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718 )
* Bootstrap do not support SVG documents (See #26878 )
2018-07-20 18:28:09 -05:00
ysds
d7acc977ef
Lower the specificity of vertical-align of SVG
2018-07-20 18:28:09 -05:00
Mark Otto
3cfa06004e
Add Noto Color Emoji to font stack
...
Fixes #26227
2018-07-20 18:24:14 -05:00
Mark Otto
4693672cff
Update validation tooltips to use tooltip vars ( #26887 )
...
Updates the properties and values for which we have existing variables to match our tooltips. Come 4.2, we'll create new tooltips for these.
2018-07-20 18:21:40 -05:00
Lefteris Psitopoulos
9bfd400527
#25842 Remove max-width from table class
2018-07-15 14:06:33 -07:00
Mark Otto
f426a67394
Form control heights ( #26820 )
...
* Redo input height on .form-control
- Use the already present -height variables on .form-control
- Consolidate the select size and multiple overrides into the .form-control base class instead of sm/lg modifiers
- Remove the Sass extends from input groups since it picks up too many selectors
* Prevent height on textareas
2018-07-15 14:00:23 -07:00
ysds
48c723b60f
Fix custom range thumb style ( #26385 )
...
* Fix focus box shadow of custom ranges
* Put `:focus` selector right after `.custom-range`
* Remove unnecessary `outline: none`
* Fix box-shadow issues in IE/Edge
* Better align
* Fix thumb vertical positions in IE/Edge
* Fix incorrect formula of thumb vertical positions in Webkit
* Fix an incorrect comment
* Fix incorrect box-shadow-width
2018-07-14 21:31:20 -07:00
Andrew Luca
0fd40837e8
Fix custom-forms
heights and position ( #25602 )
...
Now `.custom-control` will have height equal to `$font-size-base`
Fix custom checkbox and radio top position (we can't subtract rem from unit)
`$line-height-base - $custom-control-indicator-size` is not valid
Because `$line-height-base` is a unitless variable and `$custom-control-indicator-size`
is a unit (rem) variable
2018-07-14 21:29:19 -07:00
Mark Otto
2d8422f5f5
fixes #26579
2018-07-14 21:10:45 -07:00
Mark Otto
c4ccfbe04e
Ship v4.1.2
2018-07-12 09:27:14 -07:00
Andrew
abb4868626
correct spelling errors ( #26837 )
2018-07-09 17:59:22 -07:00
Mark Otto
5495a19b5a
disable to fix ci
2018-07-08 18:43:40 -07:00
Mark Otto
7e96979cea
fix comment placement, remove unecessary prop wrapper
2018-07-08 17:29:01 -07:00
Mark Otto
f6b4945f1e
Merge branch 'patch-1' of https://github.com/garhbod/bootstrap into garhbod-patch-1
2018-07-08 16:46:44 -07:00
Mark Otto
8d8d3ef82a
Restore feedback icons on validated form fields
...
- Only applies to textual inputs and textareas with `.form-control` and selects with `.custom-select`
- Wrap the feedback icons in a Sass variable option, $enable-validation-icons, so folks who theme can disable
- Update docs to summarize styles, mention the icons, include a textarea demo, and add mention of the Sass variable option to the Theming section
2018-07-08 15:31:18 -07:00
Mark Otto
5ad1049622
Merge branch 'v4-dev' of https://github.com/malkomich/bootstrap into malkomich-v4-dev
2018-07-07 16:16:43 -07:00
Mark Otto
d78aac01d6
Update box-shadows on .custom-select ( #26754 )
...
- Fixes #25656 where custom selects had the wrong focus shadow
- Fixes #26668 where custom selects had no inset shadow (also closes #26572 which had the wrong form classes on the first example anyway)
2018-06-24 13:07:49 -07:00
Martijn Cuppens
d61e3badfd
Render inline svg like img ( #25874 )
2018-06-24 12:01:11 -07:00
Ryan Worth
a2920149f4
Negative Margins classes for custom col gutters
...
Feature request #26681
2018-06-07 16:39:58 +10:00
Patrick H. Lauke
4f1bb98587
Limit .close hover/focus to non-disabled controls ( #26654 )
2018-06-03 18:25:17 +01:00
Martijn Cuppens
ffd31f9b8c
Stricter stylelint rules
2018-06-02 13:29:44 +03:00
ysds
2ea0a9bba9
Add disabled bg color to disabled custom file
2018-05-23 01:43:53 +03:00
Martijn Cuppens
4dd65f0b38
Custom forms transition
2018-05-23 01:38:12 +03:00
domq
616ce9b75a
Fix double-transition bug ( #26452 )
...
By applying the transition: CSS property only to classes that are
active during sliding, we avoid an unnecessary, non-zero-time
animation that although mostly invisible, does interfere with e.g.
z-index based parallax
2018-05-18 18:59:52 +03:00
ysds
788f3e6802
Fix z-index target ( #26361 )
2018-05-07 11:30:43 +03:00
Mark Otto
779ad9f174
Bump version to v4.1.1
2018-04-30 09:04:33 -07:00
Mark Otto
139e89235f
Simplify custom file inner height for generated browse button
2018-04-29 17:02:38 -07:00
Varunram
4bc5cc149a
Closes #26300 : Add cursor pointer to carousel indicators
2018-04-23 21:55:45 -07:00
ysds
74057dcc8e
Remove unnecessary resetting of left round ( #26238 )
2018-04-23 21:55:10 -07:00
Mark Otto
793698a6a9
add validation styles for .form-control-file ( #26181 )
2018-04-23 21:54:40 -07:00
nickg
755fdacd40
Replace reboot monospace hack with system font stack
2018-04-23 21:53:37 -07:00
ysds
3d0d5f1247
workaround for IE that check indicator does not appear ( #25944 )
2018-04-23 21:52:59 -07:00
Martijn Cuppens
0ee779b6fc
Print color fix dark tables and dark theads ( #26193 )
2018-04-23 21:51:48 -07:00
Alexander Rechsteiner
056e28d9e0
Suppress text-hide deprecation warning ( #26242 )
2018-04-16 09:45:07 +03:00
Patrick H. Lauke
e000933c17
Remove dialog
from the HTML5 shim style ( #26269 )
...
`<dialog>`, in browsers that support it, has user agent styles of `dialog { display:block; ...} dialog:not([open]) { display:none; }`
by forcing it to `display:block` in the shim, the dialog is shown even when closed. There's no clean way to shim this for non-supporting browsers,
but arguably these browsers would have further problems with pure `<dialog>` usage anyway, and it's up to authors to then use different elements/shims.
2018-04-16 00:25:39 +01:00
Varunram Ganesh
871e0838a4
[trivial] Correct typos ( #26297 )
2018-04-14 08:41:18 +01:00
Mark Otto
8f7bd41993
Ship v4.1.0 ( #26218 )
...
* update docs path from docs/4.0/ to docs/4.1/
* bump version to 4.1.0
* Update redirects to work for 4.1 docs move
* Update docs version switcher to include latest and link to 4.0 docs
* re-run dist
* Update package-lock.json
* Update docs-navbar.html
2018-04-09 09:00:23 -07:00
XhmikosR
10c64bdae8
Fix broken URI fragments and redirects.
2018-04-02 19:19:09 +03:00
XhmikosR
95cdfa2a65
Use https when possible.
2018-04-02 19:19:09 +03:00
Patrick Yeo
4f35e53216
Pagination move .page-link:focus
outline value to variable $pagination-focus-outline
so we can unset it via Sass and don't have to re-implement browser defaults
2018-04-01 18:16:49 -07:00
Martijn Cuppens
a55d1b27c5
Allow non-string content as breadcrumb divider ( #25581 )
...
* Allow url(), attr(), none,... as breadcrumb divider
* Update breadcrumb divider docs
2018-04-01 18:15:57 -07:00
Tom Swirly
a0c7473a34
Tiny grammar and punctuation tweaks to a comment.
...
1. It's == "it is"
2. The subject of the sentence is "Only one" (not "these") so the verb must agree with it.
Feel free to do nothing with this change, use it, etc - I just saw this while reading through the code.
2018-04-01 23:08:58 +03:00
Mark Otto
98763f1f85
Deprecate .text-hide ( #26173 )
2018-03-31 22:10:32 -07:00
Mark Otto
dd7ed79856
Add box-shadow utilities ( #25758 )
2018-03-31 22:07:48 -07:00
Mark Otto
74490346ff
Add new .flex-grow and .flex-shrink utils
2018-03-31 22:05:09 -07:00
Mark Otto
474698f41b
Fix Chrome's rendering of .card-columns
...
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739 .
Fixes #20925 .
2018-03-31 22:04:14 -07:00
Mark Otto
3417c54ad7
add 50% translucent black and white text
2018-03-31 22:02:47 -07:00
Mark Otto
4f05e3b735
add .text-body, fixes #25412
2018-03-31 22:02:47 -07:00
Martijn Cuppens
12708d329a
Remove navbar align
2018-03-31 21:59:54 -07:00
Mark Otto
185666fd79
Add .text-monospace util
2018-03-31 21:58:57 -07:00
Mike Rogers
2306f62bf1
Making use of prefers-reduced-motion
media query ( #25641 )
...
* Making use of `prefers-reduced-motion` media query
As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.
* Ignoring prefers reduced motion for CSS Linting
* Updating copy clarifying the reduce motion functionality in accessibility.md
2018-03-20 09:28:21 +00:00
ysds
7b2427cc6b
Rename .custom-file-control
to .custom-file-label
( #25736 )
2018-03-12 19:51:27 +02:00
ysds
14f712601e
Add basic position to dropup/right/left and dropdown-menu-right ( #25400 )
2018-03-12 19:44:05 +02:00
Peter Etelej
fb15575ec5
Disable link functionality on disabled btn-link
( #25645 )
...
Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639
ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
2018-03-12 19:36:25 +02:00
Jacob Müller
27f553c965
Replace "loose" HEX values with their respective variables ( #25672 )
2018-03-12 19:19:37 +02:00
Alexander Hjorth
6d7d91ef3b
Allow customization of breadcrumb border radius ( #25807 )
2018-03-12 18:55:47 +02:00
ysds
50220acde4
Fix caret alignment ( #25719 )
2018-03-12 18:51:00 +02:00
Martijn Cuppens
f893ec7a75
Collapse with flex elements - simple approach ( #25806 )
...
* #22600 : prevent display:block for visible content
* allow transition for elements with show class
2018-03-12 18:40:30 +02:00
Catalin Zalog
2ccb5492a7
style: align some vars ( #25785 )
2018-03-08 14:28:32 +02:00
Adam Kolinski
49d0a4e99c
Adding a variable to handle the change of a modals border-radius. ( #25691 )
2018-03-03 13:06:54 -08:00
Mark Otto
b8bfd26358
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-02-24 12:38:51 -08:00
Adam Bowles
20c2d0fec6
Remove disabling of stylelint rule
...
This file no longer has intentional indentation errors
2018-02-24 12:22:38 -08: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
ysds
33f3ba33c2
Add color variable for caption ( #25657 )
2018-02-19 14:42:54 -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
Martijn Cuppens
0205fc8bdb
Prevent word-wrap ( #25248 )
...
Fixes #25235
2018-02-11 16:46:54 -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
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
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
freezy
2dc9c76d75
Enable scss/dollar-variable-default
rule ( #25542 )
...
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
Martijn Cuppens
5158338b7c
Fix pagination buttons hover z-index ( #25532 )
2018-02-03 09:54:08 +02:00
Mark Otto
c68d26baa2
Override .custom-select width in .form-inline ( #25414 )
...
Fixes #25413
2018-02-02 14:25:47 +02:00
Richard van Laak
38fc5cf7f7
Replace unicode character in _hover.scss ( #25503 )
2018-01-30 18:49:31 +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
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
Mark Otto
3a6ab45b78
rearrange and override extra borders
2018-01-20 15:10:19 -08:00
Mark Otto
f800383e7d
Merge branch 'borderless-table' of https://github.com/Varunram/bootstrap into Varunram-borderless-table
2018-01-20 15:06:02 -08:00
Andrew Luca
2b8b062540
Allow to change .table-striped
odd
or even
( #25333 )
2018-01-19 19:34:49 +02:00
Mark Otto
572d00ac7e
Bump version to 4.0.0
2018-01-18 10:24:51 -08:00
Mark Otto
9b0fcbf9c3
Prevent print utils from overriding all other display utils ( #25269 )
...
* Prevent print utils from overriding all other display utils
Fixes #25221 .
I agree with the referenced issue—this is unexpected and also causes a serious bug when mixed with other utility classes. This wasn't an issue in v3 given we had different utilities for hiding that weren't focused on display property.
* Add printing changes to migration docs
* unrelated heading sentence case change
* List out all .d-print- classes
2018-01-17 17:29:28 -08:00
Mark Otto
a0936c326f
Outline button hover color ( #25339 )
2018-01-18 01:45:25 +02:00
ysds
b1a754863e
Use .list-group-item-action for list group item variant ( #25338 )
2018-01-18 01:36:57 +02:00
Andrew Luca
4c96f58e31
Fix input height border ( #25331 )
...
When changing `$input-border-width`, `$input-height-border` does not change and `select.form-control` `custom-select` `custom-file` will still have `$input-height` which is resolved from `$input-btn-border-width`
This will work in cases when want controls with border, and buttons without.
Temporary fix will be to override 2 variables
```
$input-border-width: 2px !default;
// which is
// $input-height-border: $input-btn-border-width * 2 !default;
$input-height-border: $input-border-width * 2 !default;
```
2018-01-18 01:30:42 +02:00
Casper Bornebusch
f4132dba07
Add order-last grid class ( #24915 )
...
* Add order-*-last grid class
* copy updates
2018-01-16 09:10:40 -08:00
Gustavo Straube
a531b46453
Using the expected variable to set the custom select height. ( #25169 )
2018-01-15 22:07:05 -08:00
Andrew Luca
814e5b7f57
Extend spacers and sizes ( #25101 )
2018-01-15 22:01:32 -08:00
Mark Otto
c8d9c0efcd
Merge branch 'form-check-input-validation' of https://github.com/supergibbs/bootstrap into supergibbs-form-check-input-validation
2018-01-15 21:39:27 -08:00
Patrick H. Lauke
1f490ec165
Consistently use :disabled
rather than [disabled]
selector ( #25317 )
...
Closes https://github.com/twbs/bootstrap/issues/25316
2018-01-15 20:51:01 +00:00
Mark Otto
14bd7d7489
Add display utilities to bootstrap-grid.scss ( #25308 )
2018-01-15 08:57:10 +02:00
Mark Otto
0d110c8f91
Update copyright for 2k18 ( #25303 )
...
* Update copyright range to include 2018
* Extend copyright date range on new files from 2017 to include 2018
2018-01-14 20:08:58 -08:00
Patrick Yeo
ffcbdb5a1c
Mixin button-outline-variant
should retain active box shadow when focused
2018-01-13 19:19:33 -08:00
Mark Otto
38271b21d5
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-01-13 18:58:48 -08:00
Patrick Yeo
17b0472b12
$component-active-bg and $component-active-color are partially useful ( #24710 )
...
* Use `$component-active-bg`, `$component-active-color` in custom-control-indicators and pagination for checked, indeterminate, and active states
* Button and Forms focus colors should be based on `$component-active-bg`
2018-01-13 09:56:31 +02:00
Wolfgang Goedel
588227f97f
Fixed color for disabled buttons ( #25167 )
2018-01-13 09:50:25 +02:00
Sander Melnikov
216c7ea20f
Fix breakpoint mixins for custom breakpoint maps ( #25264 )
...
When using the `media-breakpoint-between` or `media-breakpoint-only`
mixins with a custom breakpoint map – not defined as `$grid-breakpoints`
– the mixin incorrectly defaults back to the global `$grid-breakpoints`
map in certain situations. This commit correctly passes on the
`$breakpoints` argument to the other mixins called within the block.
2018-01-13 09:45:21 +02:00
ysds
f4bf0542d7
Add direct children selectors to avoid cascading styles into a menu form ( #25279 )
2018-01-13 09:40:55 +02:00
Mark Otto
44eedf3e58
Merge branch 'custom-check-disabled' of https://github.com/gijsbotje/bootstrap into v4-dev
2018-01-12 17:32:56 -08:00
Mark Otto
92cc0aba7b
Deprecate hover media query shim and mixins ( #25270 )
...
* Deprecate hover media query shim and mixins
Fixes #25195 .
This never was completed or fully implemented, and the docs are inaccurate as to what browsers are currently affected by this stickied hover problem. This PR aims to update the docs and deprecate the shim from our mixins and only return the pseudo-classes. To reflect the order of these states used elsewhere (e.g., our button styles), I've also updated the order of each within the mixin.
* Mention in docs and variables that it's deprecated
2018-01-11 10:12:15 +00:00
Patrick H. Lauke
2e15b94888
Remove touch-action:manipulation
click optimization ( #25250 )
...
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522 ) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed.
Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-11 09:51:44 +00:00
gijsbotje
d7dbdf91c6
added variable for the background of checked and indeterminate custom inputs and radios that are disabled
...
added styles for these cases
2018-01-06 01:14:15 +01:00
Jesse Mandel
a05f1d883e
add validation feedback/tooltip support to form-check-inputs
2018-01-05 10:55:13 -08:00
Mark Otto
20765b5025
Print tweaks ( #25164 )
...
* Add min-width to body when printing
This should address some inconsistencies between browsers when printing. It applies a min-width to the body so that the content better resembles what your might see on your screen. I've made it a variable for easy customizing, too.
* Don't underline buttons when printing
* Add basic print styles for page and body size to create a semi-consistent print experience across browsers
2018-01-03 16:01:03 -08:00
Patrick H. Lauke
7044ea82c1
Patch fractional viewport widths to work around Safari rounding bug ( #25177 )
...
Includes simplifying the prose in `tables.md` and adding the bug to the list of browser bugs.
Closes https://github.com/twbs/bootstrap/issues/25166
2018-01-03 09:42:03 +02:00
Mark Otto
460849ddcd
Validation tooltip example ( #25143 )
...
* Add additional form validation examples
Fixes #24811 .
This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs.
* Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element
* update ids
* finish docs paragraph, mention position: relative
2018-01-02 21:57:56 -08:00
Martijn Cuppens
d66875d0e6
Remove double borders for custom select and custom file
...
Fixes #25168
2018-01-02 21:57:10 -08:00
Mark Otto
2dc5762f96
Update pagination focus styles
...
- Drops the hover-focus mixin for standard :hover
- Adds explicit :focus styles to match button, input, etc with a box-shadow
- Adjusts z-index values to ensure the layers go initial, hover, active, focus
Fixes #24838 .
2018-01-02 21:49:01 -08:00
Mark Otto
9474d06b1b
Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into gijsbotje-patch-8
2018-01-02 21:14:02 -08:00
Andres Galante
c0246e926f
improves accordion styles
2018-01-02 09:46:07 -03:00
Mark Otto
750291b251
Darken border color slightly
2018-01-01 20:50:59 -08:00
Gijs Boddeus
48c45992a8
Textarea support for input groups
...
The append and prepend classes vertically aligned items in the center
For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned
these changes fix that so everything is aligned how it should be
2017-12-31 15:38:29 +01:00
ysds
6b5a2ff626
Apply of #25068 to input group
2017-12-30 20:59:57 -08:00
Andres Galante
5f3856ce29
removes hardcoded value for nav-link padding
2017-12-30 20:58:25 -08:00
Mark Otto
43c551e97d
Outline active focus ( #25145 )
...
* Base the outline button :active color on the background, fixing a contrast issue
* Only apply focus outline to active when it's focused
2017-12-30 20:55:35 -08:00
Kevin Ruscoe
d90dddf5e0
Add .order-0
to the flexbox grid ordering helpers. ( #25137 )
2017-12-31 02:28:12 +02:00
Mark Otto
625736b17b
Darken $gray-600 by 10% for AA contrast ( #25123 )
...
Closes #23319 . Both `.text-muted` and `.btn-outline-secondary` (and indeed all secondary items) make use of `$gray-600`. New value provides a contrast ratio of 4.69.
2017-12-29 21:03:35 +00:00
Mark Otto
57083c3042
Expand border utilities to include top, right, bottom, left
2017-12-28 10:23:04 -08:00
Mark Otto
ee83a963f3
linting
2017-12-28 10:20:34 -08:00
Mark Otto
a6ae1cc50d
Move alert theme-color() levels to variables
...
Closes #24341
2017-12-28 10:20:34 -08:00
Patrick Yeo
d5cbe696da
Allow customizing Popover and Tooltip border-radius
while I'm at it
2017-12-28 10:18:50 -08:00
Patrick Yeo
eaca6c0e44
Allow customizing Popover and Tooltip font-size
outside of $font-size-sm
2017-12-28 10:18:50 -08:00
Mark Otto
ced70da441
Update version to 4.0.0-beta.3
2017-12-28 09:50:04 -08:00
Andres Galante
a5232abefc
Set cursor:pointer
for <summary>
2017-12-28 02:08:10 +00:00
Mark Otto
1a4a94bfd9
apply same active/focus shadow styling to button variants
2017-12-27 17:56:28 -08:00
Mark Otto
afc984dca7
line break
2017-12-27 17:56:28 -08:00
Mark Otto
9023909484
fix mixin include
2017-12-27 17:56:28 -08:00
Mark Otto
97cfe5a582
Only apply the active and focus shadow on the focus state for :active
2017-12-27 17:56:28 -08:00
patrickhlauke
e3f9c463fc
Opinionated: reintroduce cursor:pointer
...
Explicitly re-adds the "hand" `cursor:pointer` for non-disabled `.btn`, `.close`, `.navbar-toggler` elements, as well as forcing `page-link` pagination controls to always have the "hand" cursor (even if an author uses it on, say, `<button>` elements for a dynamically updating in-page pagination).
Controversial, as everybody jumped on the bandwagon following this article https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b - which does have its merits of course, but there are also counter-arguments like http://kizu.ru/en/issues/cursor-pointer/
And seeing the amount of issues we've seen following the change, and the potential complexity needed to consistently address the cursor issue (see https://github.com/twbs/bootstrap/issues/24156 where i explore how the cursor needs to be based on "intent", and how that's tough to determine), I'm favouring an opinionated take here of just reintroducing the `cursor:pointer`.
2017-12-27 16:28:10 -08:00
Mark Otto
cf5e99e172
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-12-26 22:28:14 -08:00
Mark Otto
d603239b8a
linting
2017-12-26 22:02:54 -08:00
Mark Otto
28fd9deb54
un-nest and un-chain popover classes
2017-12-26 21:58:57 -08:00
Mark Otto
fa2cc20e92
consolidate content properties, un-nest
2017-12-26 21:56:48 -08:00
Mark Otto
468c1615e2
smaller popover arrows for more reasonable visuals and more ideal pixel rounding
2017-12-26 21:54:47 -08:00
Mark Otto
6cf71f298c
Merge branch 'fix-arrows' of https://github.com/simonihmig/bootstrap into simonihmig-fix-arrows
2017-12-26 21:36:12 -08:00
Mark Otto
b01e81ed36
Rewrite custom file input
...
- Changes the wrapping label to a div so we can style the label instead of another element while also supporting form validation.
- Fixes form validation styles for custom file input (closes #24831 ).
- Updates docs with validation styles (also adding example feedback text while I was there) and new how it works section.
2017-12-26 16:14:08 -08:00
ysds
c5209270ac
Clean up button group ( #25073 )
...
* Remove unnecessary float
- since parent btn-group is displayed as inline-flex, the child elements are placed left to right by default.
* Cleanup of reset rounded corners
- Remove `border-radius :0` since it is enough by each reset of left and right side
- A `.dropdown-toggle` selector should not be used for reset rounded corner since it does not have border-radius property. Instead use .dropdown-toggle as negation pseudo-class.
2017-12-26 16:04:11 -08:00
ysds
8c6011ab4f
Fix input group border radius issue ( #25075 ) ( #25076 )
...
* Fix input group border radius issue (#25075 )
* Remove migration note
- All buttons In input group do not have to be the same element now.
* lint
2017-12-26 14:23:07 -08:00
Mark Otto
03e1c47bc2
Darken table border-color
...
Fixes #25016 which noticed a .thead-light and border-color of the .table-border are the same color.
2017-12-26 13:47:48 -08:00
Mark Otto
4205b262d3
Update SCSS import order to have print styles last
2017-12-26 13:20:12 -08:00
Mark Otto
2416801c7e
remove input group overrides since they're defaults now
2017-12-23 17:50:52 -08:00
Mark Otto
c468f89b1c
Make custom select and file inputs 100% wide
...
Matches browser default inputs and swaps some max-width properties for a regular width
2017-12-23 17:50:52 -08:00
simonihmig
9600ab1003
Fix tooltip/popover arrow size and position
2017-12-23 18:29:57 +01:00
Mark Otto
eb60521c03
Move .table-responsive to a parent class instead of a modifier
2017-12-22 20:09:58 -08:00
Andres Galante
aacfcc248d
adds hover state to the button
element for background color utilities ( #24813 )
...
* adds a hover state to the button element on the backrgound color utitility
* Adjust z-index to fix hover/focus overlaps
2017-12-22 19:41:13 -08:00
Mark Otto
0a420124ea
Restyle code element, remove docs example overflow, improve docs examples ( #25054 )
...
* Restyle code element, clean up variables
- Removes the padding and background-color
- Changes the color to a brand color ()
- Add new variables to kbd element styles to account for removing the code ones
- Remove overrides that were needed previously
* only break between words, and override it in the pre
* make file inputs 100% wide
* scope custom file changes in input group for sizing
* shorter button labels for responsive
* narrower cards
* button was too wide
* downsize
* fewer links in pagination
* redo cell text
* improve overflow docs
2017-12-22 16:49:57 -08:00
Mark Otto
16f1417240
Form check markup v2 ( #25050 )
...
* match layout behaviors
* ditch the indicator as separate element for psuedo-elements on the label
* move disabled to attribute only on input
* redo default inline check to support new markup
* redo inline forms
* clean up vars
* update validation mixin to new structure
* update checks in docs
* linting for for/id attributes
2017-12-22 16:13:01 -08:00
Mark Otto
13150872c6
Rewrite input group component ( #25020 )
...
* Rewrite input group component
* Set the feedback to 100% width for input group
* Move from .row to .form-row for tighter layout
* no need for custom feedback here, we're using browser messaging
* add input group to validation examples
* add note about validating multiple
* migration note added
2017-12-22 15:29:49 -08:00
Troy Morehouse
9de141f428
Remove .col-form-legend in favor of .col-form-label ( #24932 )
...
* chore: sync with twbs (#1 )
* Make styling of grouped option buttons class-based
Referencing #23728 , styling grouped radio and checkbox buttons should not require the data-toggle attribute.
* Fix installing deps in our webpack docs
* Fix nested cards on card group (#24766 )
* Update popper.js to v1.12.9. (#24797 )
* Don't run postcss for `dist/css/*.min.css` files. (#24676 )
* Change the text color to dark on bg color warning examples (#24805 )
* 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.
* Typos in grid.md (#24828 )
Fixed typos in offsetting section of grid.md
* Fix dropup example code
* Update devDependencies. (#24829 )
* 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
* Add a simple script to generate SRI hashes for our assets. (#24814 )
* Allow us to run our unit test on differents jquery version
* Run karma tests in parallel.
* Update typography docs (#24863 )
* closes #24450
* 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
* lets the centered modal have any height (#24803 )
* 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
* Update package.json. (#24582 )
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
* Use Jekyll's `smartify` filter when possible. (#24866 )
* Darken outline hover color to match default button hover (#24150 )
* Fix Issue #24144
Alter button-outline-variant mixin to darken hover and active background in same fashion as filled button.
* Fix Issue #24144
Filled button on hover should utilize the same color-yiq mixin so that theme buttons match
* default values, fix mixin
* rename it
* document it
* add migration note
* fixes #24728
* Remove unused CSS. (#24872 )
* tab.js: do not remove fade class if there's no initial active pane
* Restore currently unused variables (#24891 )
* Replace lint-vars.sh with a Node.js script. (#24860 )
Also, include it in the `css` npm script since it's instant.
* Fix docs horizontal scrollbar (#24878 )
* Fix docs horizontal scrollbar in Components > Modal
* Add overflow to docs example class
* Drop the handleUpdate() variant
While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
* Combine path and remove variable used in one place. (#24873 )
* Update devDependencies and gems. (#24876 )
* Override padding on radio input label (#24899 )
We could tell folks to nix the class, we could tell them to override it, or we could add another modifier of some kind to address this. None of them seem particularly useful, but the padding override feels the most approachable and clearly documentable. Added this here to close #24844 .
* Update README.md (#24912 )
* Work around Travis failures.
Note that we should revert this when the issue is fixed.
* Revert the Travis workaround. (#24926 )
The issue has been fixed.
* add .col-form-legend-lg and .col-form-legend-sm classes
* document .col-form-legend-{size}
* trash .col-form-legend completely
One class fits all
* Update forms.md
* consolidate copy
* property order
2017-12-02 11:51:38 -08:00
Andres Galante
1d6e3710dd
Adds variable for color yiq threshold ( #24886 )
2017-12-01 19:26:10 -08:00
XhmikosR
c2c0eebd43
Update devDependencies and gems. ( #24876 )
2017-11-28 12:26:50 +02:00
Mark Otto
671bb278bb
Restore currently unused variables ( #24891 )
2017-11-27 19:31:11 +02:00
Mark Otto
babdf36c42
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-11-24 17:02:01 -08:00
Mark Otto
ccb201b22a
rename it
2017-11-24 16:58:23 -08:00
Mark Otto
725f5fbda5
Merge branch 'btn-group-styling' of https://github.com/picapixa/bootstrap into picapixa-btn-group-styling
2017-11-24 16:49:43 -08:00
afholderman
7c10068c76
Darken outline hover color to match default button hover ( #24150 )
...
* Fix Issue #24144
Alter button-outline-variant mixin to darken hover and active background in same fashion as filled button.
* Fix Issue #24144
Filled button on hover should utilize the same color-yiq mixin so that theme buttons match
* default values, fix mixin
2017-11-24 16:42:40 -08: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
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
Andres Galante
8e4ba117bc
Fix nested cards on card group ( #24766 )
2017-11-16 12:41:48 +02:00
Edward Betts
ffc5965f2c
Correct spelling mistakes. ( #24778 )
2017-11-15 04:12:38 -05:00
Andres Galante
1ee9cb04bd
Adds variables for form validation messages ( #24767 )
2017-11-15 03:32:08 +02: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
Andres Galante
b755883059
Adds underline back to btn-link
on focus
2017-11-08 11:05:12 -05:00
ysds
ccc95d0c96
Reduce custom file z-index ( #24633 )
2017-11-06 15:58:28 -08:00
Patrick Yeo
c2a7a2c41d
Nav Tabs use single variable to style $nav-tabs-link-hover-border-color
and $nav-tabs-link-active-border-color
( #24639 )
2017-11-06 13:35:52 -08:00
Patrick Yeo
e2c15da967
Move hardcoded opacity value in .btn:disabled
to variable $btn-disabled-opacity
( #24680 )
2017-11-06 13:34:42 -08:00
Mark Otto
bb53b32585
fixes #24553 : override border-color on focus of custom select with form validation ( #24695 )
2017-11-06 12:04:56 -08:00
Mark Otto
a8aaccbd4d
Restore .progress-bar transition ( #24694 )
...
Unintentionally removed in #22703 . Fixes #24643 .
2017-11-06 12:02:42 -08:00
Gijs Boddeus
bfbf24e7a5
fixing label cutoff at 0% ( #24544 )
2017-11-06 09:57:25 -08:00
Andres Galante
058123440f
Convert px values to rem on tooltip variables ( #23468 )
...
* converts px valures to rem on tooltip variables
* keep as px to match popover changes
2017-11-06 09:29:12 -08:00
Andres Galante
b931070bd7
changes list-inline-padding from 5px to .5rem
2017-11-06 09:28:29 -08:00
XhmikosR
34d745540d
Minor Sass consistency changes. ( #24677 )
...
* use `background-color` instead of the shorthand
* use `outline: 0` consistently
* fix transform order
* remove quotes from `SFMono-Regular`
2017-11-06 02:23:36 +02:00
Andres Galante
9244974064
Convert modal's px units to rem ( #23782 )
2017-11-02 02:23:51 +02:00
Andres Galante
1870b871d0
adds variables for the hr element margin
2017-10-30 13:11:47 -07:00
Andres Galante
904f22c94f
changes colors references on variables.scss from hardcoded to variables on the theme
2017-10-30 13:10:52 -07:00
Johann-S
e454c8ec1e
Add dropright and dropleft (right and left placements for our dropdown) ( #23860 )
...
* Add dropright (right placement for our dropdown)
* Add dropleft
* moves drop left arrow to the left
2017-10-29 15:29:13 -07:00
Mark Otto
b1623c4429
Add .modal-dialog-centered
for optional vertically centered modal ( #24510 )
...
* Add .modal-dialog-centered for optional vertically cenetered modal
Fixes #23638
* adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling
* mention limitations
* fix aria attr
* Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
2017-10-29 15:14:10 -07:00
Mark Otto
63947ee94e
Add fallback border-radius to .btn ( #24505 )
...
Fixes #24503 by manually calling the border-radius instead of using the mixin.
2017-10-28 22:42:09 -07:00
Mark Otto
380c920f1c
fixes #24574
2017-10-27 20:35:33 -07:00
Mark Otto
af9df8c308
update new focus and shadow properties to use vars
2017-10-25 12:30:29 -07:00
Mark Otto
04b32db845
Merge branch 'btn_input_split_variables' of https://github.com/isychev/bootstrap into isychev-btn_input_split_variables
2017-10-22 19:59:20 -07:00
Mark Otto
5dae7f0449
edit code comments
2017-10-22 19:56:49 -07:00
Mark Otto
7b7c10aae8
Replace some border-radius properties for the mixin, closes #23872
2017-10-22 19:43:35 -07:00
Mark Otto
2f90be3150
Merge branch 'input-group-custom-forms' into v4-dev
2017-10-22 19:39:47 -07:00
Mark Otto
0231bd9436
Update _variables.scss
2017-10-22 14:30:35 -07:00
Mark Otto
1f42d79561
Merge branch 'v4-dev' into btn_input_split_variables
2017-10-22 14:26:49 -07:00
XhmikosR
52d99a887e
Refactor a few selectors. ( #24404 )
...
1. move a couple of them before the more specific ones.
2. change nesting to be under the same parent selector
3. use the ampersand more
2017-10-23 00:17:28 +03:00
XhmikosR
29d58fb758
Enable stylelint's function-comma-space-after
. ( #24501 )
...
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
José Francisco
502d6b2579
Add variable to configure the $dropdown-border-radius
. ( #24376 )
2017-10-22 13:47:31 -07:00
Mark Otto
b61de52e62
match property order
2017-10-22 23:31:53 +03:00
Andres Galante
d38f08fcdc
adds animation to color on outlined btns
2017-10-22 23:31:53 +03:00
Mark Otto
bf2fee9035
add vars for yiq color contrast function
2017-10-22 12:56:06 -07:00
Eugene Kopyov
0a82cd9f3c
Fix for right padding in dismissible alerts ( #24481 )
...
* Fix for right padding in dismissible alerts
* Removed extra whitespace
* Update _alert.scss
* Update _alert.scss
2017-10-22 12:54:32 -07:00
Mark Otto
4bd4ff1130
fix custom file input too
2017-10-22 12:37:45 -07:00
Mark Otto
cd4cd7fbe8
match space after comma, darken invalid/valid bg color on custom checks
2017-10-22 12:35:13 -07:00
Mark Otto
5e4964ccb8
use rgba() so it's not at full opacity
2017-10-22 12:34:47 -07:00
Mark Otto
1b1c768ef6
Merge branch 'custom-checkboxes-radios-correct-color' of https://github.com/sabrown84/bootstrap into sabrown84-custom-checkboxes-radios-correct-color
2017-10-22 12:26:26 -07:00
XhmikosR
dc39082ad7
Remove thumbnail-transition
from .img-thumbnail
.
...
We don't change anything so the transition is basically unused.
2017-10-22 12:23:40 -07:00
Gijs Boddeus
7bb82a5fb1
match width behaviour of form-control to form-control-plaintext ( #24486 )
2017-10-22 12:19:11 -07:00
Gijs Boddeus
6824f71795
fix card group border radii ( #24491 )
2017-10-22 12:18:03 -07:00
Gijs Boddeus
2564931165
fix vertical input button group margin ( #24498 )
...
* add margin-bottom to .btn of a vertical button group
* match margins of radio/checkbox buttons in a btn-group to the actual buttons
* add comment
2017-10-22 12:17:22 -07:00
Mark Otto
1083e49bbe
really fix indentation, reorder
2017-10-21 20:57:19 -07:00
Mark Otto
7eb8c54858
use vars, fix indentation
2017-10-21 20:55:01 -07:00
Sharrell Porter
809ce6d6ef
Sass correction
2017-10-20 07:23:48 -04:00
Sharrell Porter
4f814fabd6
sync-commits erge branch 'v4-dev' into custom-checkboxes-radios-correct-color
2017-10-20 07:12:39 -04:00
Andres Galante
a89187f94d
Remove margin from pre in code.scss since it's already set in reboot ( #24366 )
2017-10-20 10:33:56 +03:00
rmacklin
9e6dabbb10
Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary ( #24315 )
...
These were using `z-index: 2` to "Place active items above their
siblings for proper border styling". However, using `z-index: 1` is
sufficient for accomplishing that goal.
In input-group, there were also three `z-index: 3` rules for the
hover/focus/active states. I reduced these to `z-index: 2` since they
just needed to be "one more than normal" (i.e. one more than what is now
`z-index: 1` after my changes).
These changes can be verified by viewing the documentation pages for
Button group, Input group, List group, and Pagination before and after
this commit and observing that the active elements are still "above"
their siblings, so their borders look correct.
2017-10-20 10:01:29 +03:00
Mark Otto
35317a4331
Remove background-image: none; on .form-control ( #24454 )
...
As the diff shows, this was for a Firefox Android issue that's since been fixed.
Closes #23817 .
2017-10-20 09:56:43 +03:00
Mark Otto
34a1e45400
Add input group support for custom selects and custom files
...
Closes #24437 , closes #22457
2017-10-19 23:22:06 -07:00
Mark Otto
dbf5405cfd
fix version number
2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e
new version number
2017-10-19 12:23:29 -07:00
Mark Otto
06641ca0b3
Gradients and shadows ( #24429 )
...
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency
* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.
- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.
* Put new focus width var to use in buttons mixins
* use new button input-box shadow var
* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true
* use correct var
* fix focus shadows in button mixins
* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items
* Generate .bg-gradient- utilities
* add headings to colors page and document bg-gradient utils
* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
XhmikosR
d4e7090c2d
Reindent _variables.scss. ( #24428 )
2017-10-19 08:16:38 -07:00
Mark Otto
f51440da22
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-19 00:14:27 -07:00
Mark Otto
521aa875e7
fix functions, lighter colors on active
2017-10-19 00:13:38 -07:00
Mark Otto
9501ed8725
Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active
2017-10-19 00:11:36 -07:00
i.sychev
58e553d7bc
append btn-* and input-* variables and extends their from input-btn-* variables
2017-10-19 10:05:07 +03:00
Andres Galante
bee20c04e8
Move theme variables outside of the theme map. ( #23918 )
2017-10-19 09:05:00 +03:00
Dylan Seago
a62ced0e0b
Rename navbar height variables to reflect their value ( #24161 )
2017-10-18 19:51:45 -07:00
Mark Otto
d94fec94b2
Increase headings-line-height from 1.1 to 1.2 ( #24423 )
...
This way, descenders are not cropped when truncating. Fixes #23956 .
2017-10-18 19:48:35 -07:00
tillmon
0aa8cbee76
Set font-sizes relative to font-size-base ( #24060 )
...
* font-sizes relative to font-size-base
* ditch $heading-font-size-base, simplify
* apply same to .lead var
* also update progress bar font-size var
2017-10-18 19:44:13 -07:00
Andres Galante
008e0b5b68
Improves forms migration guide, docs, and scss ( #24348 )
...
* fixes migration forms guides
* removes container from Horizontal form
* adds col-form-label sizes on form docs
* removes .form-control-label from forms.scss
* add note to migration
2017-10-18 10:11:35 -07:00
Mark Otto
2e4240b9ab
mention forked from normalize
2017-10-18 09:28:41 -07:00
Mark Otto
85fd22bd47
Revert #23108 to restore list group borders ( #24411 )
...
* revert #23108 , which had no bug but was a problem with the example code
* add example to the docs for future proofing
* move it up
2017-10-17 22:05:01 -07:00
Mark Otto
dd9d5cb8de
Add copyright and license headers to grid and reboot files
...
Fixes #24311
2017-10-17 22:04:34 -07:00
Andres Galante
e756b667d2
changes popovers from px to rem
2017-10-17 20:07:11 -07:00
Sharrell Porter
77ea66da4d
matching-branch
...
Merge branch 'custom-checkboxes-radios-correct-color' of github.com:sabrown84/bootstrap into custom-checkboxes-radios-correct-color
2017-10-16 18:26:52 -04:00
Sharrell Porter
e9c6656004
correcting color
2017-10-16 16:57:13 -04:00
Gijs Boddeus
98778164e0
Merge branch 'v4-dev' into yiq-function-update
2017-10-15 11:55:02 +02:00
Gleb Mazovetskiy
a9fa21e701
Escape SassScript in custom variable values ( #24354 )
...
This is required for Sass v3.5+ compatibility.
See https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md#backwards-incompatibilities----must-read and https://github.com/sass/sass/issues/2383
2017-10-14 08:29:43 +01:00
Andres Galante
776188ad73
Add border radius to an image when it's the only card of a card group ( #24321 )
2017-10-11 01:18:56 +03:00
Varunram
ab093b90f6
Add borderless table class along with docs. Rebase
2017-10-11 00:01:57 +05:30
XhmikosR
f7acb278e2
Refactor a few selectors so that the least specific ones are first. ( #24310 )
2017-10-10 16:46:43 +03:00
XhmikosR
64c944bca8
Use $white
variable for .navbar-dark
's color. ( #24309 )
...
Using `rgba($white,1)` results in `white` instead of the hex.
2017-10-10 08:58:35 +03:00
Prateek Goel
de3973b5e7
Ensure active button styles are not applied to disabled buttons
2017-10-09 18:32:48 -04:00
Gisete Kindahl
bab3246a1d
Centered SVG icon within its own container ( #24292 )
2017-10-09 10:37:46 -03:00
XhmikosR
ebc82db8ef
Enable stylelint's no-duplicate-selectors rule.
2017-10-07 00:11:40 +03:00
XhmikosR
8767338669
Reindent _variables.scss.
...
Now it's more consistent.
Also switch to numeric values for font-weight.
2017-10-07 00:11:40 +03:00
XhmikosR
7e149e20a9
Enable stylelint for _reboot.scss.
2017-10-07 00:11:40 +03:00
Mark Otto
8fccaa2439
formatting
2017-10-05 09:42:17 +03:00
XhmikosR
91b219d5e6
Add comment where we explicitly use flex: 1 0 0%;
.
2017-10-05 09:42:17 +03:00
XhmikosR
219ba7f2ea
make-col-offset: Remove percentage if it's zero.
2017-10-05 09:42:17 +03:00
Gijs Boddeus
8f483dc432
Merge branch 'v4-dev' into yiq-function-update
2017-10-05 08:38:59 +02:00
Johann-S
b9c4a5cde2
Fix dropup in bottom navbar for all the breakpoints
2017-10-04 16:22:55 +02:00
Gijs Boddeus
cefc68d464
fix travis error
2017-10-04 11:29:38 +02:00
Gijs Boddeus
3d5b1c004a
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 11:03:20 +02:00
Gijs Boddeus
df6a8f7d81
revert 1db5082
2017-10-04 10:57:02 +02:00
Johann-S
a9e7abd29b
Fix caret position for Dropdown in a bottom navbar
2017-10-04 10:32:32 +02:00
Johann-S
b6988714a1
Fix dropup in navbar
2017-10-04 10:32:32 +02:00
Gijs Boddeus
1db5082c3f
rearrange properties in _borders.scss mixins
2017-10-04 08:52:48 +02:00
Gijs Boddeus
263190305e
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 08:46:03 +02:00
Simon Knox
e731353aac
Use variable for heading margin bottom in reboot
2017-10-03 22:18:48 -07:00
Mark Otto
89970da349
Update input-btn-line-height vars to reassign global sm/lg vars
2017-10-02 21:40:45 -07:00
Mark Otto
4149cb2d17
Update input/button padding to fix cutoff text in Windows Chrome
2017-10-02 21:40:45 -07:00
Trent Clowater
7a7589ffc2
Fix media-breakpoint-between ( #23997 )
...
* Fix media-breakpoint-between
When compiling .scss that uses media-breakpoint between with xs as the lower bound or xl as the upper bound, a compilation error can occur due to $min/$max being set to null, or the resulting .css can be invalid (see issue #23965 ).
(This is basically the same fix that was applied to media-breakpoint-only a short time ago).
* Update _breakpoints.scss
Make houndci-bot recommended changes.
2017-10-02 21:38:59 -07:00
Patrick Yeo
ac69547314
Badges add Sass variable to configure $badge-border-radius
( #24213 )
2017-10-02 21:11:11 -07:00
Lodder
bd858f0ceb
Fix custom-select with "multiple" attribute ( #23055 )
2017-10-02 21:00:57 -07:00
Mark Otto
e626277c73
Merge branch 'dropdown-caret' of https://github.com/pat270/bootstrap into v4-dev
2017-10-02 20:51:14 -07:00
Patrick Yeo
9ee2fbe580
Nav Pills with open dropdown don't reflect the nav-pills active state. The active state should also be reflected when using collapse plugin inside nav-pills.
2017-10-02 20:48:05 -07:00
Mark Otto
864c657488
Fix buttons that come after the input (input should be under the button)
2017-10-02 20:47:15 -07:00
Patrick Yeo
bf01f27554
First child of input group segmented buttons are off by -btn-border-width
2017-10-02 20:47:15 -07:00
Patrick Yeo
728f579286
Form Validation .valid-feedback
and .valid-tooltip
are unstyled ( #23527 )
2017-10-02 20:37:28 -07:00
XhmikosR
7b766e1ad5
Switch to stylelint. ( #23572 )
2017-10-02 20:34:56 -07:00
Andres Galante
b26eabf2a3
adds a border radius to modal headers ( #23799 )
2017-10-02 18:59:50 -07:00
Paweł Kuna
c86833b3d0
add display table-cell
( #24004 )
2017-10-02 18:57:30 -07:00
Andres Galante
906db62ee2
removes border radius from btn-link ( #24128 )
2017-10-02 18:56:50 -07:00
Luke Frake
c2fb64ce37
Add order first to grid ( #24202 )
...
* Add first class to grid framework to add negative ordering
* Add order-first explination to the docs
2017-10-02 18:56:13 -07:00
vsn4ik
b2cadc233e
Remove duplicated code in .card-header
2017-10-02 18:55:05 -07:00
Mark Otto
6cdcfe6b33
Opaque input borders ( #24198 )
2017-10-02 14:19:13 -07:00
Mark Otto
8fb48eaae2
Revert input group border changes ( #24197 )
...
Turns out #22612 is a bad idea and it makes all sorts of weird visual
glitches when working with form controls and transparent borders.
2017-10-02 14:18:33 -07:00
wojtask9
9145cc8279
fix .col-form-label paddings and add line-height ( #23121 )
2017-10-02 10:15:32 -07:00
Andres Galante
2430151865
fixes input group btn height ( #23810 )
2017-10-02 10:13:09 -07:00
Andres Galante
acf76a4513
fixes navbar-text link colors ( #23702 )
2017-10-02 10:11:11 -07:00
Félix Saparelli
67d7e26e05
Generate CSS variables for colors, breakpoints, fonts ( #23761 )
...
* Generate CSS variables
See #23349
Supersedes #23446
* Ignore _root.scss for linting
2017-10-01 21:00:24 -07:00
Chirag Modi
487e5f8b82
remove Dist fils as per suggestion ( #23092 )
2017-10-01 17:59:26 -07:00
Chirag Modi
deced1bf4d
Fix #23013 : Add boder-top:0 in .list-group-flush .list-group-item ( #23108 )
2017-10-01 17:23:31 -07:00
Chirag Modi
3ff2a2781f
fixed issue with hr tag mention in 23032 ( #23078 )
2017-10-01 16:53:16 -07:00
Andres Galante
3624025a3b
extends the click area of the close btn on modals ( #23783 )
2017-10-01 09:42:24 +03:00
Andres Galante
bbb6ab1275
changes reset for mixin list reset on pagination
2017-09-30 23:36:30 -07:00
Andres Galante
f02f545e0e
changes the order of the close btn on alerts to improve accecibility
2017-09-30 23:32:39 -07:00
Ari Rizzitano
136c49a13f
Remove dropdown anchor focus override
...
Overriding the focus outline for links within the dropdown menu
causes accessibility issues for keyboard-only users. This
removes the override, reenabling the browser's default focus
outline.
2017-09-30 14:19:00 -07:00
Mark Otto
27a015ba15
Reset button element border-radius in Reboot ( #24126 )
2017-09-27 17:01:00 +03:00
Martijn Cuppens
1d6a6c2abf
Add quotes to mapping keys ( #23701 )
2017-09-27 11:00:42 +03:00
Benjamin Trenkle
7fa20188f2
Remove border-top if list-group follows card-header ( #23022 )
2017-09-27 10:57:39 +03:00
Prateek Goel
0e054fb9c8
Add style for non-overlapping scrollbar in IE ( #24081 )
2017-09-26 22:44:00 +03:00
Andrew Luca
dfc946b777
Update comment for forms mixins ( #24050 )
...
Check `form-control-focus` mixin, variable name is `$input-focus-border-color`
2017-09-26 18:14:52 +03:00
XhmikosR
c090c79a70
Merge branch 'v4-dev' into btn-active
2017-09-26 17:46:16 +03:00
Andres Galante
71c06b75c6
Fixes rounded corners on first and lat child on vertical btn group ( #24119 )
2017-09-26 16:51:27 +03:00
XhmikosR
31c8721913
Normalize all links. ( #24109 )
...
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/ `
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
schwastek
17fd2c9f84
Improve theme-color-level() using abs() ( #24074 )
...
`abs()` gets the absolute value of `$level`.
That way, `if/else` statement can be completely eliminated.
2017-09-26 15:05:59 +03:00
SpicyDwarf
272745673e
Fix no rounded corners if there is only one card in a card-group ( #24080 )
2017-09-26 00:11:32 +03:00
XhmikosR
5cec8e0de6
Minor Sass cleanup and consistency changes. ( #23959 )
2017-09-17 08:18:24 +03:00
gijsbotje
cc092272ee
modified the yiq to to an actual function
...
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
2017-09-13 17:32:44 +02:00
Andres Galante
5becfa6fb1
fixes #23926 responsive state on navbar
2017-09-12 21:41:15 -03:00
Martijn Cuppens
0ccb1e8d9a
Fix navbar IE ( #23652 )
2017-09-12 11:32:43 +03:00
Andres Galante
8e56145e45
changes active state color
2017-09-11 00:53:40 -03:00
Andres Galante
aa5e97da04
adds missing important on utility classs
2017-09-09 17:01:15 -07:00
Andres Galante
782ee6f60e
Removes background from form-control-plaintext
2017-09-06 21:02:57 +01:00
Andres Galante
bd8ab1070b
changes floats to flex on breadcrumbs ( #23683 )
2017-09-04 15:36:12 -07:00
Ben Hayward
6c402a6c7c
Add correct button-variant mixin hover color ( #23657 )
2017-09-04 15:34:10 -07:00
Svyatoslav Polishchuk
70ca04bbdc
replaced basic line-heights variable with button's line-heights variable for button size classes
2017-08-22 11:08:22 -07:00
Patrick H. Lauke
6ca451ebf8
Add pointer-events declarations
...
make outer `.modal-dialog` pass through events for custom click
handling, counteract it for the actual `.modal-content`
2017-08-22 10:54:12 -07:00
Patrick Yeo
c1865b4563
Add momentum scrolling on responsive tables for webkit touch devices
2017-08-22 10:47:52 -07:00
Patrick Yeo
f66fa3fa2b
Generate series of .table-responsive-*
classes to accomodate overflowing tables in a variety of screen sizes
2017-08-22 10:47:52 -07:00
Patrick Yeo
f7eb3c98b2
.thead-dark
and .thead-light
border color should display the right border color
2017-08-21 18:20:14 -07:00
Patrick Yeo
3bf3bdf420
Rename .table-inverse
, .thead-inverse
, .thead-default
to .table-dark
, .thead-dark
, .thead-light
respectively
2017-08-21 18:20:14 -07:00
Patrick Yeo
0759427935
( #22414 ) Rename variables $table-inverse-bg
, $table-inverse-accent-bg
, $table-inverse-hover-bg
, $table-inverse-border-color
, $table-inverse-color
to $table-dark-bg
, $table-dark-accent-bg
, $table-dark-hover-bg
, $table-dark-border-color
, $table-dark-color
for consistency
2017-08-21 18:20:14 -07:00
Patrick H. Lauke
6b6f45ad67
Exclude input type=range from touch-action:manipulation
2017-08-21 22:45:11 +01:00
Mark Otto
bd3ca58c08
Rename grayscale function to gray
2017-08-21 13:55:25 -07:00
Mark Otto
22f6ee52f0
remove commented out code, fixes #23530
2017-08-20 14:06:05 -07:00
Mark Otto
26e6d8b2b2
drop the now unused -color variable
2017-08-20 13:36:16 -07:00
Mark Otto
c0434f69f4
Merge branch 'fix/badge-default-colors' of https://github.com/jonwolski/bootstrap into jonwolski-fix/badge-default-colors
2017-08-20 13:35:06 -07:00
Mark Otto
834ee9b433
Simplify selector and only override what we set
...
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors.
2. Rather than override all border values, we only override what we set with `border-top`.
2017-08-20 12:21:24 -07:00
gijsbotje
bb32e91154
added suggested fix for list-groups with a elements
2017-08-20 12:21:24 -07:00
gijsbotje
2ba0127c91
fixes double border when .list-group.list-group-flush is preceded by .card-header
2017-08-20 12:21:24 -07:00
Alex Chegodaev
1da730c67f
added @content directive to media-breakpoint-only mixin for min and max cases
2017-08-20 11:46:55 -07:00
Mark Otto
c4b3d81887
Drop the variables file table of contents and update the comment at the top
...
I never use this dang list and it just falls out of date far too easily. Dropping for my own sanity.
2017-08-20 11:42:19 -07:00
gijsbotje
6fc9dde727
equalize height of the first card of the card-group
2017-08-20 11:41:16 -07:00
Mark Otto
fd8c052c67
Restore grid offset classes
...
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.
Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Jon Wolski
f07d870381
Remove color
property from badge
class
...
I suggest removing `color: #FFF` from the `badge` class, because it is
provided by the `badge-<modifier>` classes along with a
background-color, whereas there is no corresponding background-color
provided on the `badge` class itself.
Background
----------
According to the documentation:
> [badge] Requires one of the contextual, color modifier classes for `color` and
> `background-color`.
That is, color and background color should be provided by a modifier
class, rather than the badge class itself.
e.g. `<span class='badge badge-primary'>4</span>`
In general, providing a `color` property without also providing a
`background-color` should be avoided. [W3 QA tips]
In this context, this is a problem only if someone creates a `badge`
without providing a modifier. Such an omition may be difficult to trouble-shoot,
because this will most likely yield white text on a white background.
[W3 QA tips](https://www.w3.org/QA/Tips/color )
2017-08-18 09:35:00 -05:00
Mark Otto
5b8738afc1
Fix .btn-outline-light hover color
...
Uses some if/else action to ensure there's readable text on hover. Swapped out a hex value to a variable while I was in there.
Fixes #23398 , fixes #23351 .
2017-08-14 21:07:35 -07:00
Mark Otto
a80198db4d
De-dupe width on .fluid-container ( #23402 )
...
Fixes #23397
2017-08-14 18:11:44 -07:00
Andres Galante
77777b388d
Adds a default flag to paragraph-margin-bottom ( #23420 )
2017-08-14 18:09:44 -07:00
Jacob Müller
63909cacb1
Remove remaining v4 alpha references ( #23414 )
...
* Remove remaining references to v4 Alpha
This commit removes the remaining refrences to the v4 Alpha website and replaces them with the
corresponding v4 Beta ones.
**Note:** We have to hard code the current docs version at some places. Wouldn't it be good to have a `/docs/latest/` redirect to solve this "issue" in the future?
* Don't update the domain in the CNAME file
2017-08-14 18:08:31 -07:00
Jurre
d3f09ff3ea
Removed comment ( #23415 )
...
There is no _custom.scss file anymore.
2017-08-14 18:07:44 -07:00
Andres Galante
1cfbc2c62d
changes 1px to border-width variable on cards
2017-08-14 14:02:16 -07:00
Patrick Yeo
e6042e6f44
Add option to disable carets on dropdowns through $enable-caret
2017-08-14 09:10:17 -07:00
Tomáš Kout
453a5fa033
Move the gap between inline checkboxes to right ( #22607 )
2017-08-13 14:58:47 -07:00
Mark Otto
0bc39aa30a
Use empty Sass map and merge into it for easier customization of color maps ( #23260 )
2017-08-13 14:56:30 -07:00
Mark Otto
cd22eb1da0
Button code cleanup ( #22951 )
...
* use a mixin there
* revamp .btn-link to match default and outline variants
* remove unnecessary properties
2017-08-13 14:55:28 -07:00
Mark Otto
bb0cab9f10
move max-width: 100% on .container to the root of the make-container mixin so it's not repeated at compilation ( #22947 )
2017-08-13 14:54:57 -07:00
Mark Otto
54d76805a5
Redo .card-deck and .card-group so they're always flex ( #22860 )
2017-08-13 14:53:24 -07:00
Mark Otto
bde9c64ca9
Apply the invalid/valid state to the class name
2017-08-12 18:24:49 -07:00
Patrick Yeo
80cf395e4d
Remove vertical-align: middle
from .input-group-addon
and .input-group-btn
left over from V3
2017-08-12 18:22:48 -07:00
Patrick Yeo
02ae73fc0f
Apply align-items: center;
to .input-group
instead of input group sub components, causes .input-group .form-control
and .input-group-addon
to be large when next to a tall element
2017-08-12 18:22:48 -07:00
razh
9d988de054
Remove extra spaces from spacing utilities ( #23337 )
2017-08-12 09:11:41 +03:00
Patrick Yeo
34257d25a5
Pagination border-widths greater than 1px cause uneven borders between items
2017-08-10 23:24:37 -07:00
Patrick Yeo
a0521efbb5
Input Group Addon add option to configure $input-group-addon-color
2017-08-10 23:11:18 -07:00
Prateek Goel
7b66aeb2f6
Fix to Chrome inheritance bug ( #22872 ) ( #23118 )
...
* Fix to Chrome inheritance bug (#22872 )
* Remove box-sizing from html
box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
2017-08-10 23:05:32 -07:00
Patrick Yeo
ffa789327b
Custom File padding-x and padding-y values are reversed ( #23067 )
...
Custom File `$custom-file-focus-box-shadow` should show even if box shadows are disabled
Custom File variables should inherit from inputs
2017-08-10 23:01:52 -07:00
Prateek Goel
7c452ac607
Add margin variable for paragraphs ( #23140 )
2017-08-10 23:00:01 -07:00
Prateek Goel
9497c2164c
Add margin variable for breadcrumb ( #23138 )
...
* add margin variable for breadcrumb
* add margin variable for breadcrumb correction
* breadcrumb margin variable changes after review
2017-08-10 22:59:21 -07:00
Patrick Yeo
c5903ddfd6
$input-height-inner-lg
should use $font-size-lg
instead of $font-size-sm
(#23150 )
2017-08-10 22:58:40 -07:00
Morgan Stone
b76357d57d
Reduce number of spacing rules ( #23208 )
...
* reduce # of spacing rules by combining x & y with t r b l
* Remove unnecessary spaces
2017-08-10 22:58:12 -07:00
Pascal Pixel
4634b39a1b
Emoji Defaults ( #22565 )
2017-08-10 22:51:42 -07:00
Dave Poole
120a14237e
remove unnecessary line-height
2017-08-10 22:50:59 -07:00
Dave Poole
36a21f355c
remove comments, align-items, and unnecessary height
2017-08-10 22:50:59 -07:00
Dave
1ab4f57af4
Fixes PropertySortOrder errors
2017-08-10 22:50:59 -07:00
Dave
ad84eeb6e9
Fixes hound code style/standards
2017-08-10 22:50:59 -07:00
Dave
c2c06bc581
_progress.scss: makes bars 100% height, centers labels horizontally & vertically
2017-08-10 22:50:59 -07:00
envolute
eeb1ccab9b
Change border class
...
The class ".border" (css/utilities/_borders.scss) is set the border-color to "$gray-200".
So I see that it would be nice to create a variable for the border color "$border-color". Because the default border should not always be "gray-200".
Another thing, there is a "$border-width" variable. Would not it be better to use this variable to set the default width of the border?
2017-08-10 22:48:26 -07:00
envolute
0c3ed5d3f0
Add "$border-color" variable
2017-08-10 22:48:26 -07:00
Mark Otto
79fcb527bf
Add SF Mono to the monospace font stack
2017-08-10 22:47:54 -07:00
Patrick Yeo
056e5594ef
Only add CSS transitions on Buttons for background-color, border-color, and box-shadow
2017-08-10 22:47:18 -07:00
Mark Otto
365c9753f8
Ensure alignment of modal dismiss when no .modal-title is present
2017-08-10 22:45:48 -07:00
Mark Otto
09019a8ecd
Set explicit text-align on <body> element so we can use inherit to override the default <th> text-align value
2017-08-10 22:43:50 -07:00
Nathan Woltman
f95282c27e
Fix border on input group elements and custom form inputs
...
c3e4cbd
changed the border of input elements to be translucent. This commit makes
input group elements and custom form inputs follow the same pattern.
2017-08-10 22:41:21 -07:00
Mark Otto
1846ab34f6
300, not light
2017-08-10 22:40:02 -07:00
Mark Otto
1e38b45980
Add $font-weight-light var
2017-08-10 22:40:02 -07:00
Mark Otto
ed4f5778a9
Add .font-weight-light class, add !important to the classes
2017-08-10 22:40:02 -07:00
Mark Otto
006590ed9a
Remove broken CSS that tried to reset the absolute positioning when there was no text
2017-08-10 22:36:35 -07:00
Mark Otto
3fbdedbf22
Add basic property-value utils for position
2017-08-10 22:35:38 -07:00
Mark Otto
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07:00
lucascono
08b89972c5
Fix the min breakpoint in media-breakpoint-between
2017-08-08 00:07:42 -07:00
Mark Otto
2cd2301e7a
Add .bg-white and .border-white
2017-08-07 22:06:53 -07:00
Patrick Yeo
cd3507aba6
Dropup dropdown-menu should have margin on the bottom instead of top
2017-08-04 15:17:50 -07:00
Patrick Yeo
0501b029f5
( #22414 ) Rename for consistency $dropdown-margin-top
to $dropdown-spacer
2017-08-04 15:17:50 -07:00
Mark Otto
73040d4311
fix navbar alignment for never expand situations
2017-08-04 15:15:25 -07:00
Mark Otto
987ac632b5
given width: 100%
is always on a container now and it's constrained by max-width, we can remove our navbar changes from #21722 and #22383
2017-08-04 15:14:24 -07:00
Chirag Modi
b2712048ce
make changes as per suggestion in #23100
2017-07-18 11:48:59 +05:30
Chirag Modi
a52a1fbb13
remove change which set from variable and make those in container class
2017-07-18 11:44:56 +05:30
Chirag Modi
f05bd63d8e
fixed issue #23100
2017-07-17 13:29:49 +05:30
Patrick Yeo
696b2bee11
( #22414 ) Rename for consistency $custom-checkbox-border-radius
, $custom-checkbox-icon-checked
, $custom-checkbox-indeterminate-bg
, $custom-checkbox-icon-indeterminate
, $custom-checkbox-indeterminate-box-shadow
, $custom-radio-border-radius
, $custom-radio-icon-checked
to $custom-checkbox-indicator-border-radius
, $custom-checkbox-indicator-icon-checked
, $custom-checkbox-indicator-indeterminate-bg
, $custom-checkbox-indicator-icon-indeterminate
, $custom-checkbox-indicator-indeterminate-box-shadow
, $custom-radio-indicator-border-radius
, $custom-radio-indicator-icon-checked
, respectively
2017-07-16 12:36:26 -07:00
Patrick H. Lauke
7a781b2ae0
Remove ::first-letter and ::first-line selectors from print styles
...
Bootstrap itself doesn't use any `::first-letter` or `::first-line`
styles. These selectors also cause(d) problems in IE11 (see
https://github.com/h5bp/html5-boilerplate/pull/1799 ) and currently cause
a nasty rendering bug in Chrome where the first letter is vertically
shifted (see https://github.com/twbs/bootstrap/issues/21771 )
As h5bp has now removed these as well, no need to keep and comment them
out. See https://github.com/h5bp/html5-boilerplate/issues/1961 /
https://github.com/h5bp/html5-boilerplate/pull/1962
2017-07-11 19:51:21 +01:00
Patrick H. Lauke
edae6a2e1d
Remove box-shadow from .btn-link:focus ( #22998 )
...
When focused, these buttons styled as links still give good visible focus indication through the underline, so this should not be a concern. Closes #22655
2017-07-05 10:54:26 +02:00
Mark Otto
de78b71bab
fixes #22981
2017-07-03 19:04:31 -07:00
Mark Otto
3b08beb37a
follow up to 4e067f722
2017-07-01 23:40:51 -07:00
Mark Otto
7bce8648ed
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-01 23:36:11 -07:00
Mark Otto
4e067f7229
remove unused $list-group-color variable; it should naturally inherit from the body
2017-07-01 23:35:57 -07:00
Mark Otto
f282a88475
update comment
2017-07-01 23:25:28 -07:00
Mark Otto
4b6d2c0b3c
put button active bg and border in the mixin params for more customization options
2017-07-01 23:25:28 -07:00
Mark Otto
e7ae1d9069
match btn transition to input
2017-07-01 23:10:01 -07:00
Mark Otto
7085988f06
doh, we already have that above
2017-07-01 23:05:51 -07:00
Mark Otto
6f073edc79
Add .text-truncate class. We already had a mixin and documented the class, so this fixes that.
2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f
Redo the "responsive helpers" files
...
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -07:00
Mark Otto
11e18af1b6
remove some unused vars, restore table-active variant
2017-07-01 22:57:19 -07:00
Mark Otto
3e2318cf7c
badge variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
848a746a89
button variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
97a5bc4870
no xs sizes being used
2017-07-01 22:57:19 -07:00
Mark Otto
3603088454
Restore .text-muted
2017-07-01 19:01:58 -07:00
Mark Otto
2bf4de0698
Update carousel display settings
...
Use `display: block` since we're not really using any flex styles on the `.carousel-items` (only their controls and indicators). For the indicators, since moving to `width`, our indicators grow to fill available space, so we need to change `flex: 1 0 auto` to `flex: 0 1 auto` to prevent that.
2017-07-01 16:59:16 -07:00
Mark Otto
75156f419a
using max-width in flex: 1 0 auto; in ie11 offsets the center-aligned contents
2017-07-01 11:21:20 -07:00
Mark Otto
2d4534e112
use @supports to apply transform3d to those who can do it, then provide a non-3d fallback to ie11
2017-07-01 11:21:20 -07:00
Mark Otto
88b9e558fb
clip to border-box, update overlay
2017-06-30 15:28:50 -07:00
Mark Otto
9a2b202e8e
add a bg-transparent to override bgs
2017-06-30 15:23:36 -07:00
Mark Otto
2feebccf24
make card headers and footers translucent
2017-06-30 15:23:36 -07:00
Mark Otto
180d78c013
Drop .card-{color} modifiers for .bg-{color}, .text-{color}, and .border-{color} utilities
2017-06-30 15:23:36 -07:00
Mark Otto
45722e94ac
Drop .blockquote-reverse, replace with text utils, and redesign blockquote to not have a border
2017-06-30 15:04:56 -07:00
Mark Otto
16781be021
drop the mixins
2017-06-30 11:44:09 -07:00
Mark Otto
deeae4f820
Update _grid-framework.scss
2017-06-30 11:44:09 -07:00
Mark Otto
4982926dcf
Drop offsets and push/pull for new order variants
2017-06-30 11:44:09 -07:00
Mark Otto
d30b5b120e
remove unused mixin, fix variable
2017-06-30 09:01:39 -07:00
Mark Otto
b013b987b0
remove grid gutter sass map as it's output css was all jacked up
2017-06-30 09:01:39 -07:00
Mark Otto
ac00c73ab5
update comment
2017-06-29 23:17:18 -07:00
Mark Otto
964e06800a
Drop the old $gray- variables for the new color range
2017-06-29 23:15:27 -07:00
Mark Otto
a21a9f341b
add map function for grays
2017-06-29 23:06:46 -07:00
Mark Otto
6fbceb2f70
remove $state-vars now
2017-06-28 09:38:27 -07:00
Mark Otto
0f232de9d7
move table variants to use sass map
2017-06-28 09:36:27 -07:00
Mark Otto
3e0375e03b
move list group variants to be generated from sass map
2017-06-28 09:29:59 -07:00
Mark Otto
91b587ad6a
remove now unused alert variant variables
2017-06-28 09:23:10 -07:00
Mark Otto
41f4ddbdb5
Merge branch 'v4-dev' into colors-redux
2017-06-26 15:17:48 -07:00
Mark Otto
0622a59897
fixes #22908
2017-06-26 07:59:20 -07:00
Mark Otto
9bfbee3503
add border color utilities
2017-06-25 18:39:14 -07:00
Mark Otto
6c595d2cc1
add theme-color-level function and interval so we can generate shades of colors
2017-06-25 18:31:03 -07:00
Mark Otto
9372eef9e1
rename .card-inverse to .card-dark, update docs to match
2017-06-25 18:30:24 -07:00
Mark Otto
36e482ed27
update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables
2017-06-25 18:29:43 -07:00
Mark Otto
2392047a0c
update alert component to use theme sass map and add a ton of options in the process
2017-06-25 18:22:51 -07:00
Mark Otto
fc053ed096
update background utils
2017-06-25 18:16:37 -07:00
Mark Otto
aa83c4f417
update badges to use the theme colors sass map
2017-06-25 18:15:32 -07:00
Mark Otto
370e299c6b
modify contrast value
2017-06-25 18:11:16 -07:00
Mark Otto
b973fe6b94
update theme colors
2017-06-25 18:08:43 -07:00
Mark Otto
222eddda5e
Merge branch 'v4-dev' into colors-redux
2017-06-18 18:32:42 -07:00
obinnangini
532493e6ec
Updated flex-basis property to fix issue #18569 in .scss files
2017-06-18 18:17:48 -07:00
Mark Otto
1a23321fc0
Update _buttons.scss
2017-06-18 10:53:27 -07:00
Mark Otto
597e9f8618
remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map
2017-06-18 02:57:16 -07:00
Mark Otto
74f1d002b4
Merge branch 'v4-dev' into colors-redux
2017-06-18 02:19:34 -07:00
Patrick Yeo
845320fe8c
@mixin pagination-size()
doesn't apply line-height
2017-06-18 02:11:33 -07:00
Ken Paulsen
a47f373e82
Fix mixin media-breakpoint-only
...
Prevent mixin media-breakpoint-only from breaking when supplying the
first or last entry in $grid-breakpoints.
2017-06-18 02:08:11 -07:00
Mark Otto
d2508ec506
Update _borders.scss
2017-06-17 23:20:56 -07:00
Mark Otto
da2629907e
move from mixins and add important flag
2017-06-17 23:20:56 -07:00
Mark Otto
5476e636ce
limit active styles for nav-pills to immediate children
2017-06-17 22:40:07 -07:00
Mark Otto
1b722372a8
update comment
2017-06-17 20:25:35 -07:00
Mark Otto
60d8c8754f
wrap .sticky-top in supports query
2017-06-17 13:13:47 -07:00
Catalin Zalog
f640ec9662
Some .navbar .dropdown-menu optimisation ( #22776 )
2017-06-17 13:12:39 -07:00
Johann-S
af93db294b
Reset Popper.js styles for Dropdowns in navbar
2017-06-17 13:12:39 -07:00
Patrick Yeo
9f0929013e
( #22414 ) Rename for consistency $list-group-link-*-*
to $list-group-action-*-*
2017-06-16 18:58:21 -07:00
Mark Otto
2ad2d71f66
add new color vars and maps
2017-06-15 11:16:27 -07:00
Mark Otto
c31d524998
add color contrast and map-get functions
2017-06-15 11:15:48 -07:00
Mark Otto
9c0e423008
Rename popover classes
...
Part of an update to align the naming schemes across our components.
- Renames .popover-title to .popover-header
- Renames .popover-content to .popover-body
Refs: #22092
2017-06-15 09:05:30 -07:00
Mark Otto
6c8c0aa4cf
Rename .card-block to .card-body to match nomenclature of modals
2017-06-15 09:05:16 -07:00
Mark Otto
e62b121226
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:59:02 -07:00
Mark Otto
ac96ecbec5
rearrange, add comments
2017-06-14 20:55:00 -07:00
Mark Otto
5da5a38f0d
Move scss functions from top of variables to separate file, then import it into other build files
2017-06-14 20:55:00 -07:00
Mark Otto
5818374fdf
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:45:31 -07:00
Patrick H. Lauke
ff5c75510d
Rename .form-control-static to .form-control-readonly-plain
2017-06-14 19:51:50 -07:00
Mark Otto
aa8c456a16
Remove the confusing _custom.scss file
2017-06-13 22:45:16 -07:00
Mark Otto
7e5085b407
move from .gutters-sm to .form-row to be super explicit about intended use case
2017-06-13 22:11:29 -07:00
Mark Otto
21b874d19d
Merge branch 'v4-dev' into form-tweaks
2017-06-13 20:15:42 -07:00
Patrick Yeo
d7867377d9
( Fixes #22414 ) Rename for consistency $custom-checkbox-radius
, $custom-checkbox-checked-icon
, $custom-checkbox-indeterminate-indicator-color
, $custom-checkbox-indeterminate-icon
, $custom-radio-radius
, $custom-radio-checked-icon
, $custom-select-sm-font-size
, to $custom-checkbox-border-radius
, $custom-checkbox-icon-checked
, $custom-checkbox-indicator-indeterminate-color
, $custom-checkbox-icon-indeterminate
, $custom-radio-border-radius
, $custom-radio-icon-checked
, $custom-select-font-size-sm
respectively
2017-06-13 19:22:49 -07:00
Patrick Yeo
a362d62d31
Rename $font-size-h*
to $h*-font-size
for consistency ( #22414 )
2017-06-13 08:46:29 -07:00
Patrick Yeo
c349f59174
Rename for consistency $table-sm-cell-padding
, $table-bg-accent
, $table-bg-hover
, $table-bg-active
, $table-inverse-bg-accent
, $table-inverse-bg-hover
to $table-cell-padding-sm
, $table-accent-bg
, $table-hover-bg
, $table-active-bg
, $table-inverse-accent-bg
, $table-inverse-hover-bg
, respectively ( #22414 )
2017-06-13 08:46:15 -07:00
Patrick Yeo
4cc21bbf74
( #22414 ) Rename for consistency $input-bg-disabled
, $input-bg-focus
, $input-border-color-focus
, $input-box-shadow-focus
, $input-color-focus
, $input-color-placeholder
to $input-disabled-bg
, $input-focus-bg
, $input-focus-border-color
, $input-focus-box-shadow
, $input-focus-color
, $input-placeholder-color
, respectively
2017-06-13 08:45:50 -07:00
Patrick Yeo
2317b7fc96
( #22414 ) Rename for consistency $custom-control-disabled-indicator-bg
, $custom-control-disabled-description-color
, $custom-control-checked-indicator-color
, $custom-control-checked-indicator-bg
, $custom-control-checked-indicator-box-shadow
, $custom-control-focus-indicator-box-shadow
, $custom-control-active-indicator-color
, $custom-control-active-indicator-bg
, $custom-control-active-indicator-box-shadow
to $custom-control-indicator-disabled-bg
, $custom-control-description-disabled-color
, $custom-control-indicator-checked-color
, $custom-control-indicator-checked-bg
, $custom-control-indicator-checked-box-shadow
, $custom-control-indicator-focus-box-shadow
, $custom-control-indicator-active-color
, $custom-control-indicator-active-bg
, $custom-control-indicator-active-box-shadow
, respectively
2017-06-13 08:45:36 -07:00
Patrick Yeo
3ecb8b661b
( #22414 ) Renamed for consistency $nav-disabled-link-color
, $nav-tabs-active-link-color
, $nav-tabs-active-link-bg
, $nav-tabs-active-link-border-color
, $nav-pills-active-link-color
, $nav-pills-active-link-bg
to $nav-link-disabled-color
, $nav-tabs-link-active-color
, $nav-tabs-link-active-bg
, $nav-tabs-link-active-border-color
, $nav-pills-link-active-color
, $nav-pills-link-active-bg
, respectively
2017-06-13 08:45:21 -07:00
Patrick Yeo
5e651615a3
( #22414 ) Renamed for consistency $modal-dialog-sm-up-margin-y
, $modal-content-xs-box-shadow
, $modal-content-sm-up-box-shadow
, to $modal-dialog-margin-y-sm-up
, $modal-content-box-shadow-xs
, $modal-content-box-shadow-sm-up
, respectively
2017-06-13 08:45:11 -07:00
Mark Otto
441f114681
Update _variables.scss
2017-06-13 08:44:55 -07:00
Mark Otto
c5d4430367
Mention variable naming scheme to help with #22414
2017-06-13 08:44:55 -07:00
Mark Otto
94ed0d901b
move to mixin so we can repeat it easier and allow folks to extend to custom states
2017-06-10 16:30:26 -07:00
Mark Otto
d6b0334a4e
remove icons for now
2017-06-06 22:45:37 -07:00
Mark Otto
58b7239c6c
add valid state
2017-06-06 21:53:23 -07:00
Mark Otto
6c214ad4c2
drop the old validation styles and docs
2017-06-06 11:27:29 -07:00
Mark Otto
d2c9f3f00a
flesh out invalid styles on .was-validated
2017-06-05 23:00:14 -07:00
Patrick Yeo
891bca435f
Fix overflowing text in Cards with word-wrap: break-word
2017-06-03 22:19:19 -07:00
Patrick Yeo
ec56bbe6bf
Rename $card-border-radius-inner
to $card-inner-border-radius
2017-06-03 22:17:57 -07:00
Tom Van Rompaey
3a00b005c1
fix small typo inside _button-group.scss ( #22746 )
...
fron -> front
2017-06-03 09:53:50 +02:00
Mark Otto
4a554e5ff5
trying out new validation styles
2017-06-01 08:06:17 -07:00
Mark Otto
f13eb51940
Merge branch 'v4-dev' into form-tweaks
2017-05-31 21:29:23 -07:00
Mark Otto
332d882cdb
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-31 20:46:29 -07:00
Patrick Yeo
0800c7e1c8
Rename $card-link-hover-color
to $card-inverse-link-hover-color
2017-05-31 20:34:01 -07:00
Mark Otto
f1a7f1f56a
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-31 09:09:55 -07:00
Mark Otto
2fd192968d
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-30 23:31:40 -07:00
Mark Otto
960e73c16f
tweak dropdown caret size and placement
2017-05-30 13:59:24 -07:00
Mark Otto
48d17bc8b8
keep width, add comment
2017-05-28 21:12:55 -07:00
Mark Otto
8a2d845a4f
Fix responsive .col-{infix}-auto
...
Responsive automatic column resets weren't working because they inherited their `max-width` from lower grid tiers. This was because we were resetting the `width`, not the `max-width`.
2017-05-28 21:12:55 -07:00
Mark Otto
7c9efe786a
move .scss-lint.yml to route dir instead of symlink (which didn't work)
2017-05-27 17:54:23 -07:00
Mark Otto
04724939a3
Merge branch 'v4-dev' into form-tweaks
2017-05-26 21:22:08 -07:00
Patrick Yeo
f2829dd6ea
Rename $navbar-*-toggler-bg
to $navbar-*-toggler-icon-bg
since it's placed on .navbar-toggler-icon ( #22564 )
2017-05-26 20:55:07 -07:00
Mark Otto
7e1497ddb8
Revert simplified grid column styles from #22376
...
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.
/cc @sachinsinghi
2017-05-26 20:16:12 -07:00
Mark Otto
a11ae7facf
add a compact gutter option, .gutters-sm
2017-05-26 20:15:05 -07:00
Mark Otto
2a833d559a
Add box-shadow to .progress-bar ( #22579 )
...
* Add box-shadow to .progress-bar
Puts an unused variable back in use for when folks set `$enable-shadows` to `true`.
2017-05-25 21:32:59 -07:00
Johann-S
4c3b6c5ceb
Placement auto for popovers
2017-05-24 14:57:40 +02:00
Johann-S
2c72af88ee
Placement auto for tooltips
2017-05-24 14:57:40 +02:00
Johann-S
aa36439e17
Use Popper.js to manage arrow position
2017-05-23 15:19:54 +02:00
Catalin Zalog
3706c88348
Fix (css): force .navbar .dropdown-menu positioning
2017-05-22 16:20:58 +02:00
Johann-S
b36d8ae6cb
Use popper to align dropdown menu instead of using css with important
2017-05-17 22:03:11 +02:00
Johann-S
ba2352c14e
Force dropdown to be displayed in position static for navbar, to override Popper css
2017-05-16 14:48:12 +02:00
Johann-S
2b403819b7
Fix tooltip margin to be stick at their caller
2017-05-14 11:41:19 +02:00
Johann-S
dc35a840dc
Fix dropdown-menu-right and dropdown-menu-left for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626
Fix some css for the arrow of Popover/Tooltip + update documentation
2017-05-14 11:41:19 +02:00
Johann-S
53ee455bc7
Handle dropup for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
69de65180f
Fix unit tests + Update Popper to 1.6.0
2017-05-14 11:41:19 +02:00
Johann-S
54a8ab4011
Begin to use Popper for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
d8996a7e0a
Fix arrow for tooltip and popover
2017-05-14 11:41:19 +02:00
Mark Otto
ee1af53d9f
Merge branch 'v4-dev' into form-tweaks
2017-05-07 17:44:57 -07:00
Sebastiaan Nijland
6c5346e300
Removed several unused scss variables ( #22539 )
2017-05-07 17:41:14 -07:00
Patrick H. Lauke
7338da0cdb
Add shim for "new" HTML5 structural elements ( #22573 )
...
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
2017-05-05 09:53:45 +01:00
Mark Otto
ca44f5b03a
Redo the small custom select vars
...
— Sizing shorthand comes last
— Add height var and put it to use
2017-04-22 11:56:27 -07:00
Mark Otto
dc3af6711d
Change how input and select height is computed
...
— Previously we weren't including the border-width on the computed height, leading to alignment issues.
— New system utilizes three variables (not ideal, but straightforward) for computing these heights. One for the vertical border, one for the line-height/font-size/padding dance, and one to add those together.
— Updates CSS across forms and custom forms to use new sizing. Special note here: form validation icon sizing uses the inner variables because background-image doesn't bleed into borders unless explicit background-clip.
2017-04-22 11:56:01 -07:00
Mark Otto
5463d8436b
Merge branch 'v4-dev' into form-tweaks
2017-04-21 23:36:24 -07:00
Mark Otto
7efe4ddee4
Match validation mixin focus state to normal focus state
2017-04-21 23:30:06 -07:00
Patrick Yeo
dd0ce3e4b2
Rename variable $input-border-focus to $input-border-color-focus ( #22413 )
...
* Rename variable $input-border-focus to $input-border-color-focus
* Rename variables $pagination-hover-border, $pagination-active-border, $pagination-disabled-border to $pagination-hover-border-color, $pagination-active-border-color, $pagination-disabled-border-color, respectively
* Rename variables $state-*-border to $state-*-border-color, respectively
* Rename variables $alert-*-border to $alert-*-border-color
* Rename $list-group-active-border to $list-group-active-border-color
* Rename $table-inverse-border to $table-inverse-border-color
* Rename $btn-*-border to $btn-*-border-color
* Rename $navbar-*-toggler-border to $navbar-*-toggler-border-color
2017-04-16 15:45:10 -07:00
Mark Otto
2075610491
Prevent long words in .card-title
s from breaking auto layout
2017-04-16 14:02:12 -07:00
Patrick H. Lauke
6d64afe508
Replace dropdown backdrop hack with cleaner JS-only hack
...
* Replace backdrop with simple noop mouse listener
As discussed in https://github.com/twbs/bootstrap/pull/22422 the current
approach of injecting a backdrop (to work around iOS' broken event
delegation for the `click` event) has annoying consequences on
touch-enabled laptop/desktop devices.
Instead of a backdrop `<div>`, here we simply add extra empty/noop
mouse listeners to the immediate children of `<body>` (and remove
them when the dropdown is closed) in order to force iOS to properly
bubble a `click` resulting from a tap (essentially, method 2 from
https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html )
This is sufficient (except in rare cases where the user does manage to tap
on the body itself, rather than any child elements of body - which is not
very likely in an iOS phone/tablet scenario for most layouts) to get iOS to
get a grip and do the correct event bubbling/delegation, meaning the regular
"click" event will bubble back to the `<body>` when tapping outside of the dropdown,
and the dropdown will close properly (just like it already does, even without
this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and
Windows on a touch laptop).
This approach, though a bit hacky, has no impact on the DOM structure, and
has no unforeseen side effects on touch-enabled laptops/desktops. And crucially,
it works just fine in iOS.
* Remove dropdown backdrop styles
* Update doc for dropdowns and touch-enabled devices
2017-04-14 09:19:00 +01:00
Idan Cohen
8c97532719
Fix popover arrow color for bottom position
2017-04-13 10:52:41 +02:00
Patrick H. Lauke
7056f70240
Remove cursor: not-allowed
styles
2017-04-10 22:10:20 +01:00
Mark Otto
0cb2576bf2
fixes #21922 : set border-radius to 0 when global radius is disabled
2017-04-08 21:58:26 -07:00
Mark Otto
7f075bfb23
fixes #22135
2017-04-08 21:26:25 -07:00
Mark Otto
09f98fbd0e
Update card outline mixin
...
Fixes #22056 by ensuring outline cards make their header/footer transparent and use the right border color.
2017-04-08 21:25:38 -07:00
Mark Otto
e1c3f79e98
tighten up horizontal input and button padding
2017-04-08 21:25:02 -07:00
Mark Otto
01dbc4cc05
Bump up from 2px to 3px so it's consistent; also fix focus of inputs
2017-04-08 21:24:03 -07:00
Mark Otto
2dfffbde89
Rename some .open to .show ( #22389 )
...
* no more outline overrides
* rename old .open to .show
2017-04-08 16:30:18 -07:00
Mark Otto
0c59741812
property order
2017-04-08 16:29:21 -07:00
Mark Otto
90c18ebd19
Switch to ease function to remove trailing animation movement
2017-04-08 16:29:21 -07:00
Pierre-Denis Vanduynslager
73cfefd594
Do not stretch images in carousel-item
2017-04-08 16:29:21 -07:00
Mark Otto
ab67ffe167
Ensure carousel works in IE10/11
...
- Drops the `if-supports-3d-transforms()` mixin since all our browsers do support it
- Updates carousel to not rely on that mixin
2017-04-08 16:29:21 -07:00
Mark Otto
feb35b94a6
Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )"
...
This reverts commit 2f21403a93
.
2017-04-08 15:15:14 -07:00
Mark Otto
fba27befef
Add transition to .progress-bar
...
- Pulls in values from v3
- Closes #22371 which didn't use a transition include
2017-04-08 14:40:35 -07:00
Mark Otto
050aab338b
Add dropdown-item-padding-y var
...
- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
2017-04-08 14:40:11 -07:00
Mark Otto
2f21403a93
Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )
2017-04-08 14:23:47 -07:00
Jesper Strange Klitgaard Christiansen
11c2c07e26
Remove margin-left on caret if empty ( #22095 )
2017-04-08 14:23:07 -07:00
Mark Otto
cf2de1fd05
Drop .jumbotron-hr
...
- Closes #21760
- No longer needed since we have an rgba() value for this element, so it naturally darkens
2017-04-08 14:21:18 -07:00
Mark Otto
9a475730dc
Docs and CSS updates for #21807 ( #22336 )
...
* tweak some copy
* fix up scrollspy docs
* remove nav styles that were added
* fix nav-based docs by requiring .nav-item on .nav-link
2017-04-08 13:58:20 -07:00
Catalin Zalog
f7881336e5
css: just some ordering
...
Order y & x axis by top, right, bottom, left logic
2017-04-08 13:10:25 -07:00
Catalin Zalog
758503e9ae
css: .navbar child's aligning
...
Vertical centering `.navbar` flex children's
Demo: http://jsbin.com/fibini
2017-04-08 12:38:37 -07:00
Catalin Zalog
8423e5c3e6
css: .navbar-expand .dropdown position
...
Set/reset `.dropdown` position when `.navbar-expand`.
Demo: http://jsbin.com/pojecuh
2017-04-08 12:36:28 -07:00
Mark Otto
2436ad589c
drop flex and max-width, just use width
2017-04-07 14:22:49 -07:00
Mark Otto
c6168b64ed
Remove system-ui from font stack due to i18n issues
2017-04-07 14:22:18 -07:00
Catalin Zalog
094b3a1293
css: .container-fluid 100%
...
Force .container-fluid to be 100% width no matter if the parent is flex, or not.
Pen: http://codepen.io/zalog/pen/yMwyGr
2017-04-03 08:59:33 -07:00
Pierre Vanduynslager
91b62941af
Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...)
2017-04-02 11:21:04 +02:00
Praveen Puglia
cb4bc89fdf
ability to change text color in popovers ( #22221 )
2017-03-28 15:21:47 -07:00
Mark Otto
296c99020c
Revamp button and input vars while fixing #21587 ( #22287 )
2017-03-28 09:28:27 -07:00
Mark Otto
bebdbe4119
Fix wrapping card decks ( #22289 )
...
fixes #22007 and fixes #21976 by changing margin strategy for card deck gutters
2017-03-27 22:53:39 -07:00
Mark Otto
fe3acc097a
Card image fixes ( #22288 )
...
* fix image stretching due to flexbox
* fix broke text-muted on dark bg
* no img-fluid needed
2017-03-27 22:52:24 -07:00
Mark Otto
3ea3e10799
Use the hr-method for the nav-divider, closes #21945
2017-03-26 15:03:13 -07:00
Mark Otto
7ca078da81
fixes #22111
...
- add .col-*-auto to the extend in our grid framework mixins so it gets padding
- this means we can avoid the col-12 classes in our docs for the responsive variants
2017-03-26 13:23:49 -07:00
Mark Otto
32ed268c82
fixes #22245 : revamp the breakpoint-between and breakpoint-only mixins to actually work
2017-03-26 13:23:49 -07:00
Mark Otto
8108c0357a
Drop position relative on container that was added quickly in Alpha 6
2017-03-26 13:23:49 -07:00
Catalin Zalog
e20d744bdf
.navbar-toggler color
...
Change the .navbar-toggler to default contextual .navbar-*-color.
<iframe height='265' scrolling='no' title='Bootstrap - .navbar-toggler color' src='//codepen.io/zalog/embed/MJLZOE/?height=265&theme-id=light&default-tab=css,result&embed-version=2' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='http://codepen.io/zalog/pen/MJLZOE/ '>Bootstrap - .navbar-toggler color</a> by Catalin Zalog (<a href='http://codepen.io/zalog '>@zalog</a>) on <a href='http://codepen.io '>CodePen</a>.
</iframe>
2017-03-26 10:43:57 -07:00
Mark Otto
90c5f6230b
rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
17cb5bb674
Allow to customize navbar-brand font-size
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
a03aaf39df
Harmonize navbar-brand, navbar-text and nav-link height
2017-03-23 23:02:28 -07:00
Mark Otto
09ba3de619
revamp the collapse behavior
...
instead of flex column, use wrap and an explicit flexbox break with flex-basis 100% on the navbar-collapse.
add some additional container styles for enabling flex behavior when content isn't immediate child of .navbar
2017-03-23 23:02:28 -07:00
Mark Otto
0eb9862514
account for fluid containers
2017-03-23 23:02:28 -07:00
Mark Otto
1e424bfcf6
ditch abs positioned togglers for explicit justify-content: space-between on parent
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
89b47efc32
Simplify generation and get rid of previously added "breakpoint-previous" function
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
c1325a756e
Generate correct breakpoints for navbar-toggleable-* and generate toggleable without media query to never collapse
2017-03-23 23:02:28 -07:00
Mark Otto
40ac03384d
linting from before
2017-03-19 18:39:48 -07:00
Mark Otto
d093460252
fixes rest of #21585 ; adds custom styles for inverse table accent hover and active states
2017-03-19 18:39:48 -07:00
Mark Otto
13a874e340
reorder
2017-03-19 18:39:48 -07:00
Mark Otto
78cad48c70
consistent breaks
2017-03-19 18:39:48 -07:00
Mark Otto
4c015bf378
Do what the comment says; add this only to devices under 768px
2017-03-19 18:39:48 -07:00
Mark Otto
08d612f3e4
correct inverse table border color, add new var
2017-03-19 18:39:48 -07:00
Gaël Poupard
2085c14267
Update _screen-reader.scss ( #22154 )
...
* Update _screen-reader.scss
Small improvements that could be important:
* `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property ). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992 );
* [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg ) solved with `white-space`.
See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ ).
Also kinda related to issue #20732 :)
Please let me know if you find any trouble with this technique. Thanks a lot!
* Reorder declarations
To pass Hound.
Didn't think `clip` and `clip-path` would be considered as unrelated…
* Trailing spaces
* Last trailing space?
* Remove margin: -1px
2017-03-19 16:05:45 -07:00
Mark Otto
caebfcd246
Fix justified nav styles and update nav docs for fill/justify
...
- Justified and fill nav variants need .nav-item classes on the anchors in addition to .nav-link
- Fix broken styles for the .nav-justified class which wasn't actually doing what we needed it to
2017-03-19 15:47:34 -07:00
Mark Otto
e1c561a723
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:30:24 -07:00
Mark Otto
ec8c251928
fixes #21584
...
- revert back to display block for list items to prevent unwanted behaviors
- fixes a handful of other linked issues (see main thread)
- updates docs to include more utilities for the one example
2017-03-18 16:30:12 -07:00
Theriault
6f42daf747
Add :empty to .custom-file-control selector ( #22176 )
...
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control"></span></label>
VS
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control">test.txt</span></label>
2017-03-18 13:23:10 -07:00
naicko
890c6041f3
Update scss mixins to comply with scss-linting rules ( #22151 )
...
* Fixed some linting issues
* Run npm tasks after scss cleanup
* Revert "Run npm tasks after scss cleanup"
This reverts commit 1103a0da68
.
* Property sort order for grid
* Let's respest the property order in the mixins
* Respect property sort order in reboot file
* ::-ms-expand is a vendor-prefix, add it to the scss-lint disable
* Revert hover mixin comment
* Fixed missing mixin hover-focus
2017-03-18 13:06:05 -07:00
Mark Otto
08984ac8cd
Remove the outline override from dropdown toggles
...
fixes #17573
2017-03-12 18:26:53 -07:00
Dominic Watson
b3aa5ec360
Use btn-$variant-color variables for outlined btns ( #22164 )
...
Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff
Related: https://github.com/twbs/bootstrap/pull/20734
2017-03-12 18:25:56 -07:00
Starsam80
95f37e4c40
Clean up spacers a bit more
2017-03-05 16:05:12 -06:00
Mark Otto
9a93671b75
Move box-shadow and transition mixins out of the main mixins file and into their own files
2017-03-05 12:40:01 -08:00
Mark Otto
4778190d78
Drop the .hidden and .visible classes, save for the print ones
...
— Moves print display utils to display utils file
— Removes all other .hidden- utils
— Expands on .invisible and it's mixin to provide options for visibility: visible and visibility: hidden
2017-03-05 12:25:41 -08:00
Mark Otto
ed1de86794
Update spacer utilities ( #22123 )
...
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Catalin Zalog
70a57902ce
Change sticky order ( #22027 )
...
Based on this pen: http://codepen.io/zalog/pen/jyoyoR
2017-03-03 13:02:17 -08:00
Rutger Laurman
0a997795b4
Fix border width calculation for custom-select ( #22068 )
...
In addition to #22011 and #21994
2017-03-03 11:19:02 -08:00
Sean Beyer
e02597519a
Remove 'hover' from nav-tabs-active-link-hover-color et al ( #22087 )
...
* Remove 'hover' from variable names
* Fix indentation in variables
2017-03-03 11:15:41 -08:00
Bardi Harborow
9bacc6715a
Remove vendor prefixes from appearance: none.
2017-02-21 17:38:11 +11:00
Pierre Vanduynslager
3173a72083
Remove unused input-size mixin ( #21971 )
2017-02-11 21:16:16 -08:00
Mark Otto
d79b556373
Fixes #21814 . Also accounts for custom file inputs.
2017-02-04 17:03:42 -08:00
Mark Otto
6b9265fc2d
Add utilities/flex
to the dedicated grid Sass bundle so folks can take advantage of the utilities for basic flex alignment
2017-02-04 15:57:21 -08:00
Mark Otto
09c7b1c582
Fixes #21908
2017-02-04 15:55:37 -08:00
Juan Carlos González Cabrero
a8b00ddc12
Reduce the width to prevent the modal fills the screen width
2017-01-28 18:26:55 +01:00
Juan Carlos González Cabrero
95dffb3279
Add new extra large size for modal containers
2017-01-28 18:26:55 +01:00
Mark Otto
6aad73ac6d
Remove random cursor: default from pill nav ( #21835 )
...
Fixes #21560 . Pretty sure this wasn't intentional, so should be fine to remove.
2017-01-24 21:06:22 -08:00
Mark Otto
9d7d84e0b9
Allow button toolbars to wrap ( #21826 )
...
Fixes #21699
2017-01-24 20:43:33 -08:00
Sergey Kovalenko
bf7387aa42
Add align self to navbar brand ( #21626 )
2017-01-24 00:09:54 -08:00