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

336 Commits

Author SHA1 Message Date
Mark Otto
1706f494f0 flexbox powered indicators
This revamps the indicators to use flexbox instead of inline-block for added flexbility (hah). Indicators now automatically scale based on the number of elements present, and max out at the `$carousel-indicator-width` instead of always being that wide.
2016-12-22 14:58:40 -08:00
Mark Otto
8d9d84784a Redo navbar-toggler
- Require inner element for the icon for improved customization (e.g., drop the element to replace it with your own icon font or SVG)
- Tighten up padding
- Better comments
2016-12-22 13:48:07 -08:00
Mark Otto
80674b0c58 fixes #18115: move forward with one naming scheme for inversed color schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name) 2016-12-22 13:48:07 -08:00
Mark Otto
eb2e1102be Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)
* remove the $enable-flex variable option

* remove bootstrap-flex.css dist file and it's grunt task

* remove the separate flex css file for docs; it's all the same now

* remove flexbox docs (porting some to the main grid docs in next commit)

* clean up few grid docs bits to simplify copy, start to mention flexbox

* port relevant flexbox-grid.md content to grid.md

- clean up mixins
- update how it works section
- bring over sizing and alignment sections

* remove the $enable-flex from the options.md page

* update lead paragraph to mention flexbox

* update migration to mention loss of ie9 support

* remove mention of flexbox dist file

* clarify IE support

* making a note

* remove flexbox variant mentions from component docs

- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default

* remove $enable-flex if/else from sass files

* remove flex dist files

* update scss lint property order to account for flex properties

* linting

* change to numberless classes for autosizing, wrap in highlighting div

* bump gruntfile and postcss to ie10

* redo intro sections

* rearrange

* phew, redo hella grid docs

- rearrange all the things
- consolidate some bits

* remove reference to flexbox mode

* more border action for demo

* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Mark Otto
f464a5b214 Redo color vars
This pulls in some changes from #18462 to include a set of generic color variables. It doesn't include a Sass map for generating the theme colors yet, since we can't easily do that for all components, but does give a few more color choices to folks and an easier way to customize.
2016-12-20 23:24:24 -08:00
Mark Otto
37de11e386 Rename -bg-inverse to -inverse-bg; add -inverse-color (#21371) 2016-12-19 21:50:31 -08:00
Mark Otto
50d5f60696 Merge branch 'progress-brand' of https://github.com/szastupov/bootstrap into szastupov-progress-brand 2016-12-19 21:06:27 -08:00
Mark Otto
be4fc23fdb Merge branch '14840-consistent-colors' of https://github.com/Kovah/bootstrap into Kovah-14840-consistent-colors 2016-12-19 20:54:41 -08:00
Tom Lutzenberger
e1653edb95 Add variables for transitions (#21345)
* Add variables for transitions

* Add variables for transitions
2016-12-19 20:33:17 -08:00
Bardi Harborow
da18d07d8e Add 'system-ui' to font stack. 2016-12-19 20:29:44 -08:00
Stepan Zastupov
7800b3d97c Use brand color for progress bar 2016-12-20 00:58:37 +03:00
Mark Otto
7c3bda24f0 simplify svg by only using viewbox 2016-12-04 22:06:29 -08:00
Mark Otto
89f5e65cfb drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap 2016-12-04 22:05:05 -08:00
Mark Otto
1980854c14 rename var 2016-12-04 22:01:31 -08:00
Mark Otto
410bf38a4f there's no font, so rip that var 2016-12-04 21:55:46 -08:00
Mark Otto
875c24395c remove unused vars 2016-12-04 21:55:24 -08:00
Mark Otto
1abe4c83a8 redo control icons to use open iconic svgs inlined 2016-12-04 21:54:45 -08:00
Mark Otto
1e3ec89355 Merge branch 'v4-dev' into carousel 2016-12-04 21:05:19 -08:00
Mark Otto
6782dd6e92 nuke the text-shadow 2016-12-04 20:37:30 -08:00
Mark Otto
6d28f07582 redesign indicators 2016-12-04 20:14:33 -08:00
Florian Schlittenbauer
959c4e527c Fix incorrect select height calculation (#21171) 2016-11-28 13:33:11 -08:00
Mark Otto
35133f86c8 Follow up to #21052 to match small pagination links with small buttons 2016-11-27 23:39:46 -08:00
Stefan Staynov
0051be1657 Set line-height for page-links (#21052) 2016-11-27 23:37:36 -08:00
Cyril Kyburz
f995a8be1e Add alert-margin-bottom variable (#21064) 2016-11-27 23:21:09 -08:00
Mark Otto
8cd29af7ee Merge pull request #21203 from twbs/conditional-transition-animations
Wrap .fade and .collapsing transition properties in $enable-transitions
2016-11-26 01:27:54 -08:00
Mark Otto
abbc2b7c93 Merge branch 'v4-dev' into modal-sizes 2016-11-26 01:04:51 -08:00
Mark Otto
d82d04fd6d decrease size of modal-md and modal-lg to ensure fitting in responsive layouts 2016-11-26 00:47:33 -08:00
Mark Otto
cc737d6faf change instances of hardcoded lightest gray to sass variable -lightest 2016-11-26 00:23:49 -08:00
Mark Otto
559902ad54 change uses of #f5f5f5 to -lightest 2016-11-26 00:22:49 -08:00
Mark Otto
3154c0585a re-enable transitions (which according to the options.md doc is the default) 2016-11-25 22:08:51 -08:00
Mark Otto
76907b8b1e v4: Miscellaneous color changes (#21199)
* Darken dismiss icon opacity
* Darken text on active list group items
* Darken light gray for accessibility/contrast, then update gray and dark gray to match
2016-11-25 16:03:13 -08:00
Mark Otto
4332a5cc02 Merge pull request #21068 from twbs/list-group-border-color
switch to rgba for list-group border color
2016-11-23 11:45:11 -08:00
Elliot Evans
7f05cb9e94 renamed modal-title-padding to modal-header-padding 2016-11-10 22:37:20 +00:00
Mark Otto
f734814f6b Make spacer utils responsive (#20926)
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Alberto Roura
5616e62093 Use variable names for form focus borders (#21050) 2016-10-31 09:12:00 -07:00
Mark Otto
864343a3cc Merge branch 'v4-dev' of https://github.com/HMUDesign/bootstrap into HMUDesign-v4-dev 2016-10-30 13:38:44 -07:00
Mark Otto
ccb5248205 Merge branch 'issue19217' of https://github.com/alberto/bootstrap into alberto-issue19217 2016-10-27 22:28:24 -07:00
Mark Otto
1e06ae1bfe switch to rgba for list-group border color
matches the card border-color, fixes #20129
2016-10-27 21:29:09 -07:00
Mark Otto
61b01f9b28 Merge branch 'patch-1' of https://github.com/tomhorvat/bootstrap into tomhorvat-patch-1 2016-10-27 20:02:59 -07:00
Mark Otto
115a37db1a Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest 2016-10-27 09:31:38 -07:00
Mark Otto
52c84a1cb6 Merge pull request #20938 from JPeer264/feature/sass-doc
Docs: Sass Variables Table of Contents
2016-10-26 21:20:25 -07:00
Mark Otto
d9fa3fd797 Rename .tag to .badge to avoid conflicting with WordPress 2016-10-26 18:33:58 -07:00
Mark Otto
2eaef44edd Merge pull request #20951 from sbaechler/font-weights
Use a variable for the default font weights. Fixes #20741
2016-10-25 19:55:34 -07:00
tomhorvat
e5bb0c40f4 Body font weight variable 2016-10-25 15:05:51 +02:00
Patrick H. Lauke
f93df8dccd Merge pull request #20962 from patrickhlauke/v4-fix-unescaped-hash-data-urls
Fix unescaped `#` in SVG data URLs
2016-10-25 12:31:29 +02:00
Patrick H. Lauke
85531fd9fb replace # with %23 in SVG data urls with str-replace 2016-10-20 18:27:11 +01:00
Patrick H. Lauke
b2fe9743cc Add str-replace Sass function 2016-10-20 18:26:36 +01:00
béla
dd1b9eeef8 duplicate navbar-toggler-padding variables 2016-10-20 11:31:30 +02:00
Simon Bächler
8402d2321f Use a variable for the default font weights. Fixes #20741
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
Also referenced: #18605 and #16170.
2016-10-19 21:41:27 +02:00
JPeer264
088b164a23 updated sass variables table of contents 2016-10-19 10:17:55 +02:00