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

7309 Commits

Author SHA1 Message Date
Mark Otto
503c4da10a redo docs intro for the example 2016-12-22 16:41:56 -08:00
Mark Otto
d4217ea137 New width and height utils
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 16:37:18 -08:00
Mark Otto
0ec049d222 grunt 2016-12-22 13:52:33 -08:00
Mark Otto
d86a1dbfd4 redo custom docs navbar 2016-12-22 13:48:07 -08:00
Mark Otto
bb97ae18f7 streamline example navbars by removing .hidden-* classes on togglers 2016-12-22 13:48:07 -08:00
Mark Otto
8231b188c3 remove .hidden-* classes from .navbar-toggler and make that part of the .navbar-toggleable-* 2016-12-22 13:48:07 -08:00
Mark Otto
c858af7932 couple more utils 2016-12-22 13:48:07 -08:00
Mark Otto
e37a57a34d more example fixes 2016-12-22 13:48:07 -08:00
Mark Otto
f041fb7373 migrate some notes on over here 2016-12-22 13:48:07 -08:00
Mark Otto
df566160e7 put new toggler markup to use 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
ecba56828d fixes #18053 by removing container padding at lower breakpoints on responsive navbars 2016-12-22 13:48:07 -08:00
Mark Otto
0677b6b18c even more utils for forms 2016-12-22 13:48:07 -08:00
Mark Otto
567a289137 more margin utils on forms 2016-12-22 13:48:07 -08:00
Mark Otto
4750c5a7b4 make sure all nav demos for the navbar are using toggleable-* classes for proper responsive styles 2016-12-22 13:48:07 -08:00
Mark Otto
67dc3b0702 dedupe ids 2016-12-22 13:48:07 -08:00
Mark Otto
6e61830633 update justified nav to use justified navbar; remove safari bug warning given flexbox implementation 2016-12-22 13:48:07 -08:00
Mark Otto
635c1ce06e fix carousel navbar 2016-12-22 13:48:07 -08:00
Mark Otto
cfdc66a342 fix sticky footer example navbar 2016-12-22 13:48:07 -08:00
Mark Otto
802de24a4a fix up navbar top and fixed top examples 2016-12-22 13:48:07 -08:00
Mark Otto
a6ce3aba5c redo album navbar with new styles 2016-12-22 13:48:07 -08:00
Mark Otto
d236041748 make more examples responsive 2016-12-22 13:48:07 -08:00
Mark Otto
5c76cbea77 remove now unneeded collapse section 2016-12-22 13:48:07 -08:00
Mark Otto
562bcd9380 fix colors 2016-12-22 13:48:07 -08:00
Mark Otto
fd79471e8a override pos-f-t in examples 2016-12-22 13:48:07 -08:00
Mark Otto
17dca54278 add responsive behaviors section 2016-12-22 13:48:07 -08:00
Mark Otto
93fabfa7a4 update responsive behavior in demo 2016-12-22 13:48:07 -08:00
Mark Otto
8a8719b75c unique ids 2016-12-22 13:48:07 -08:00
Mark Otto
7c7bd17f0f rearrange examples, go center nav only instead of trying to hack centered with siblings 2016-12-22 13:48:07 -08:00
Mark Otto
60234f023b nuke 2016-12-22 13:48:07 -08:00
Mark Otto
9c423b5c6d move and consolidate navbar examples, fix em up 2016-12-22 13:48:07 -08:00
Mark Otto
50c76fd841 make supported content example responsive 2016-12-22 13:48:07 -08:00
Mark Otto
be1a316320 no more .navbar-full 2016-12-22 13:48:07 -08:00
Mark Otto
c7be14d66b no need for this; we have max-width 100% on them now 2016-12-22 13:48:07 -08:00
Mark Otto
530b9bcba4 more navbar docs changes 2016-12-22 13:48:07 -08:00
Mark Otto
c92e9c0090 cleanup navbar docs for flex changes 2016-12-22 13:48:07 -08:00
Mark Otto
bc1afa093a remove .navbar-container; just need .navbar now 2016-12-22 13:48:07 -08:00
Mark Otto
18453f06f9 flexbox this thing
- drop the table styles, use flex
- remove commented out code
- consolidate styles a bit
- add a huge flex-grow to the nav, making the assumption you want nav to take up most space
2016-12-22 13:48:07 -08:00
Mark Otto
4a06c98027 spacing 2016-12-22 13:48:07 -08:00
Mark Otto
99ac0bcedc exploring table based navbar again 2016-12-22 13:48:07 -08:00
Mark Otto
65e87f7ef4 follow up to #21393: clarify progress docs browser support and remove ie9 section 2016-12-22 13:43:19 -08:00
Mark Otto
df0842d1c2 grunt 2016-12-22 13:42:01 -08:00
Bardi Harborow
855a67b1d6 Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
Mark Otto
a86f8f7bcf grunt 2016-12-21 20:37:46 -08:00
Mark Otto
e111e2e58e grunt 2016-12-21 20:33:54 -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
a6f03b0f71 update docs to use .mt-1 on floated labels; clarify docs for guidance 2016-12-20 22:55:01 -08:00
Mark Otto
a6a87b0d9d grunt 2016-12-20 14:53:50 -08:00
Mark Otto
c1cf6310f2 remove .mb-0 from static form controls to follow up #21270 2016-12-20 14:46:45 -08:00
Mark Otto
ab38529dcc grunt 2016-12-19 21:48:24 -08:00
Mark Otto
8eeb71c91c Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982 2016-12-19 21:44:03 -08:00
Mark Otto
7e5f21c2b4 Rename _animation.scss to _transitions.scss (#21370)
* Rename _animation.scss to _transitions.scss for accuracy

* fix docs reference to file name

* cleanup line breaks
2016-12-19 21:37:09 -08:00
Mark Otto
a8b3e09f22 grunt 2016-12-19 21:08:24 -08:00
Geoffrey Tisserand
69a09520d8 Fix typo in migration docs: card-title is replacing panel-title (#21331) 2016-12-19 20:35:02 -08:00
Bardi Harborow
da18d07d8e Add 'system-ui' to font stack. 2016-12-19 20:29:44 -08:00
Johann-S
8b538c8ad3 Remove mention of popovers auto placement + add note to migration docs 2016-12-19 09:38:56 +01:00
Mark Otto
d04eb86715 clarify that 2016-12-10 17:03:32 -08:00
Mark Otto
14ce741fa0 grunt 2016-12-10 17:03:28 -08:00
Mark Otto
cd76a6775d grunt 2016-12-07 20:46:17 -08:00
Starsam80
d991c868a4
Fix tabs by using new classes 2016-12-07 21:20:18 -07:00
Starsam80
bf39bb3ac3
Rename .active to .show 2016-12-07 21:20:15 -07:00
Mark Otto
ede925d79b Merge pull request #21298 from twbs/carousel
Refactor carousel
2016-12-05 23:31:14 -08:00
Mark Otto
e0edea0d1a typo 2016-12-05 20:37:22 -08:00
Mark Otto
4ef547f4bb drop the .carousel-control base class 2016-12-04 23:19:54 -08:00
Mark Otto
6d9ded8375 update migration docs 2016-12-04 23:17:30 -08:00
Mark Otto
e40a09ba2e redo the carousel example to match 2016-12-04 22:18:49 -08:00
Mark Otto
9fca3e3ec8 rename once more 2016-12-04 22:05:16 -08:00
Mark Otto
8ad30ff8b8 rename in docs 2016-12-04 21:40:02 -08:00
Mark Otto
1e3ec89355 Merge branch 'v4-dev' into carousel 2016-12-04 21:05:19 -08:00
Mark Otto
5abd0ed521 move multiple carousels section up, add responsive classes there, reformat some stuff 2016-12-04 20:37:21 -08:00
Mark Otto
b0db5788df break up example into three separate examples to show flexibility 2016-12-04 20:07:01 -08:00
Mark Otto
d57ec90243 clear up docs intro 2016-12-04 20:06:45 -08:00
Mark Otto
a5c2562c06 update left/right classes on controls and add img classes 2016-12-04 19:53:37 -08:00
Starsam80
ea9f846e0f Remove .float-left from card header nav (#21292) 2016-12-04 16:46:57 -08:00
Bardi Harborow
e156d2bb72 Fix A11yUserVoice bugify rendering. (#21282) 2016-12-04 16:45:50 -08:00
Bardi Harborow
0bb604157c Remove duplicate jQuery browser bug link. (#21283) 2016-12-04 16:45:38 -08:00
Bardi Harborow
a3567a119d Documentation navigation fixes. (#21288)
* Make /utilities/ redirect to /utilities/borders/.

* Rewrite sidebar active link logic to ensure superstrings are not selected.
2016-12-04 16:44:37 -08:00
Chris Rebert
4c615573ad Remove Wall of Browser Bugs entry for #14975
https://webkit.org/b/150079 has been fixed!
Refs #14975

[ci skip]
2016-12-02 10:27:08 -08:00
Chris Rebert
5a78b5e77b https://crbug.com/534750 was marked as a duplicate of https://crbug.com/568691
So update the Wall of Browser Bugs entry accordingly.

[ci skip]
2016-12-02 10:23:01 -08:00
Chris Rebert
996499d4fe Remove Chrome entry for position:sticky from Most Wanted Features list
It's shipping in Chrome 56:
https://bugs.chromium.org/p/chromium/issues/detail?id=231752

[ci skip]
2016-12-02 10:16:42 -08:00
Mark Otto
3ec37d4a4d grunt 2016-12-02 10:13:36 -08:00
Chris Rebert
e3a569f4f6 Remove soon-to-be-defunct callout about Firefox fieldset bug (#21262)
The relevant bug has been fixed in Firefox 53:
https://bugzilla.mozilla.org/show_bug.cgi?id=504622
2016-12-02 09:58:18 -08:00
Chris Rebert
edf1e4b99e Remove https://bugzil.la/504622 from Wall of Browser Bugs (#21260)
It's fixed in Firefox 53! Yay!
Refs #12359
[ci skip]
2016-11-30 16:42:16 -08:00
ysds
eb219c806c Remove .btn-outline-inverse 2016-11-30 21:48:34 +09:00
ysds
ef028ab383 Remove .btn-outline 2016-11-30 21:47:57 +09:00
Mark Otto
59dc3e174d grunt 2016-11-29 21:37:00 -08:00
Chris Rebert
f2bc3bec7c Add Wall of Browser Bugs entry for #21092
Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1315994
Refs #21092
[ci skip]
2016-11-28 22:49:26 -08:00
Chris Rebert
0c6bd4d4c4 docs/_data/browser-bugs.yml: Fix ordering
[ci skip]
2016-11-28 22:33:20 -08:00
Chris Rebert
036437ec86 Add Wall of Browser Bugs entry for #20759
Refs https://bugs.webkit.org/show_bug.cgi?id=162362
Closes #20759
[ci skip]
2016-11-28 22:23:28 -08:00
Brad Kent
8250bd1b21 Fix #20936 make inline checkbox/radio markup same as stacked (#20995)
* #20936 make inline checkbox/radio markup same as stacked

* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
af937836d9 Fix #20908 (#21244)
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
2016-11-28 20:26:28 -08:00
Mark Otto
4c807de7f0 fixes #21072: clarify location of variables file (and avoid linking to a file that will be broken depending on the branch name) 2016-11-28 17:21:48 -08:00
Mark Otto
9749bab4ce grunt 2016-11-28 17:18:44 -08:00
Mark Otto
339f8c3c48 fixes #21219: update docs to reflect current sm breakpoint value 2016-11-28 17:05:36 -08:00
Mark Otto
c3ffe13553 grunt 2016-11-28 13:40:47 -08:00
Mark Otto
d6c1fa37bd grunt 2016-11-28 13:36:46 -08:00
Mark Otto
2f9a94caac Inverse card improvements (#21242)
* Add a color to .card-inverse to account for non .card- prefixed classes

* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
a6f54889fd Replacement for #20602 (#21236)
* Fixed incorrect instruction: "Press ⌘ to copy"

It needed to be "Press ⌘C to copy"

* Updated to concatenate copy string

Updated copy command to concatenated string to prevent potential issues

* Updated the way the copy string concatenates

As per excellent suggestion by @tomlutzenberger

* Removed semicolon line endings

;P

* var not const or let
2016-11-28 13:10:19 -08:00
Mark Otto
9338cf5970 grunt 2016-11-28 09:14:31 -08:00
Mark Otto
5357bad9a0 grunt 2016-11-27 23:39:50 -08:00
Starsam80
08e36a3cc9 Rename .col-xs to .col + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter

* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Mark Otto
4393da18f6 grunt 2016-11-27 22:29:55 -08:00
Mark Otto
5db88075c1 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-27 22:29:33 -08:00
Mark Otto
1562a2db4c make a brief mention of #20433 2016-11-27 22:29:24 -08:00
Starsam80
54908a95a8 Rename .navbar-toggleable-xs to .navbar-toggleable + more cleanup (#21226)
* Clean up some utilities

- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies

* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication

* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Mark Otto
869bd23937 Update clearfix mixin (#21224)
* Update clearfix to use block instead of table display (also reorder properties for linting)
* update docs snippet for clearfix mixin—was apparently still using Less syntax and had old clearfix hack (even before the block change in this PR)
2016-11-27 17:05:29 -08:00
Mark Otto
585516db95 Add max-width 100% and max-height 100% utilities (#21221) 2016-11-27 16:31:31 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
b1e8d60348 Remove 'xs' from text utilities (#21217) 2016-11-26 20:33:46 -08:00
Mark Otto
0b8a281920 grunt 2016-11-26 19:17:23 -08:00
Mark Otto
b2bf8294a0 minor docs content tweaks to fix #18997 2016-11-26 18:39:51 -08:00
Mark Otto
87a0749f89 Merge branch 'container-tooltip-option' into v4-dev 2016-11-26 17:02:40 -08:00
Mark Otto
181e124bc1 grunt 2016-11-26 17:01:17 -08:00
Stephen Puiszis
7d3abdb9c7 Update migration file for renamed image classes (#21215) 2016-11-26 16:57:25 -08:00
Mark Otto
e17e75b757 Update inline forms (updated docs and new flexbox styles) (#21212)
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Mark Otto
b456cb351d grunt 2016-11-26 16:49:39 -08:00
Ken Dale
dc52029bea Add .rounded-0 utility class (#21214)
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795 Border utilities (#21213)
* grunt

* add border utilities for removing borders

* clean up comments

* add basic border docs

* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
ec5e7e5e5a Add .no-gutters option to remove gutters from rows (#21211)
Fixes #19107.
2016-11-26 12:13:15 -08:00
Mark Otto
c7b8451cdc grunt 2016-11-26 11:16:53 -08:00
Mark Otto
73a320a27f Merge pull request #21076 from 3dd13/use-rounded-circle-in-carousel-example
in carousel example, replace img-circle by rounded-circle css class
2016-11-26 02:35:38 -08:00
Mark Otto
275ac87488 Merge pull request #21204 from ounziw/patch-1
grid-breakpoint fix [document]
2016-11-26 02:04:51 -08:00
Mark Otto
8ef1d93d0c Merge pull request #21205 from twbs/navbar-disabled
v4 disabled navbar links
2016-11-26 02:03:46 -08:00
Mark Otto
967ee175dc Move .table-responsive to .table instead of as a parent 2016-11-26 01:45:40 -08:00
Mark Otto
19ab4873ff grunt 2016-11-26 01:00:16 -08:00
Mark Otto
cb294854a3 grunt 2016-11-26 00:58:11 -08:00
Mark Otto
e953d5d4f0 grunt 2016-11-26 00:40:17 -08:00
Mark Otto
25216349b3 add some disabled navbar link examples 2016-11-26 00:19:30 -08:00
andyexeter
0ded703f6b Implement container option for tooltips and popovers. 2016-11-26 19:13:15 +11:00
Fumito Mizuno
050ba7390c grid-breakpoint fix
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186

current document shows 544px, but it should be 576px
2016-11-26 15:47:40 +09:00
Mark Otto
990a901e52 grunt 2016-11-25 21:48:39 -08:00
Bardi Harborow
91f70c538a Refactor Dashboard example. (#21140) 2016-11-25 20:23:11 -08:00
Mark Otto
d315c9499d v4: Flexbox nav options (#21201)
* Add some flexbox nav components
  - Includes .nav-justified for inline, tab, and pill nav components
  - Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
f2b98f6b2c grunt 2016-11-25 17:40:44 -08:00
Mark Otto
8a7ce25cf1 grunt 2016-11-25 17:29:28 -08:00
Mark Otto
49be9bc63a grunt 2016-11-25 15:00:23 -08:00
Mark Otto
3cfd40782c grunt 2016-11-25 14:20:49 -08:00
Mark Otto
83c8bfa30d Fixes #21195: Add more table of contents to pages with longer contents 2016-11-25 14:01:06 -08:00
Mark Otto
5b151eb891 grunt 2016-11-25 13:55:34 -08:00
Mark Otto
ec47feefd6 Fixes #21114: clarify by removing mention of nesting 2016-11-23 11:35:41 -08:00
Mark Otto
91bb6a038d Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-23 11:28:22 -08:00
Mark Otto
8d3f0995d1 Fixes #21123: More specific definition of fixed-width block level for .mx-auto 2016-11-23 11:28:17 -08:00
Mark Otto
ab54151ed3 Fixes #21179: docs typos on pull/float action 2016-11-23 11:26:37 -08:00
Chris Rebert
63843de193 Add Wall of Browser Bugs entry for #21120
Refs https://bugs.chromium.org/p/chromium/issues/detail?id=510079
Closes #21120

[skip sauce]
2016-11-22 23:56:41 -08:00
Mark Otto
573e029feb grunt 2016-11-16 20:42:40 -08:00
Mark Otto
6910516d2c Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
c104709193 Fix padding on .bg-faded demo. 2016-11-16 16:16:35 +11:00
Daniel Lo Nigro
fd184b45f3 it's → its
Small grammar fix.
2016-11-13 13:59:18 -08:00
Mark Otto
93ba9ac629 grunt 2016-11-09 20:00:16 -08:00
Chris Rebert
2133dbd718 browser-features.yml: Fix MS A11y UserVoice entry
And move one Firefox entry to keep the entries sorted by browser.
Refs #21089
2016-11-08 18:22:06 -08:00