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

15778 Commits

Author SHA1 Message Date
Johann-S
719318f485 Update visual test carousel 2016-12-31 00:51:19 -08:00
Mark Otto
a7931f0c1e add example of width util 2016-12-30 22:46:00 -08:00
Mark Otto
217e13a11b hook up animation toggle 2016-12-30 22:46:00 -08:00
Mark Otto
a0141aa38e Rewrite progress component without <progress> element
- <progress> element didn't allow animation, labels overlaid, multiple bars, etc.

- Revamps CSS to use something more similar to v3's implementation

- Ditches variant mixin for `bg-` utils

- Rebuilds docs to match, including adding a new Height section for customizing that.

Only potential remaining todo is adding `.sr-only` instances to within the bar. Unsure if that's necessary.
2016-12-30 22:46:00 -08:00
Mark Otto
92fa9b2256 fix navbar in dropdown visual test file 2016-12-30 22:45:39 -08:00
Bardi Harborow
869dc64038 Change remaining JS files to comply with ESLint config. 2016-12-31 16:49:15 +11:00
Bardi Harborow
a8100e1f01 Extend ESLint to cover all JS files and drop JSCS. 2016-12-31 16:49:15 +11:00
Quy
e4e0154e3a Document $enable-print-styles (#21474) 2016-12-30 21:31:25 -08:00
Johann-S
95ce03f000 Close #21249 : Add a Unit test for #21227 2016-12-29 13:28:42 -08:00
Quy
de1eaef35b Drop IE9 callout 2016-12-29 10:17:42 -08:00
Quy
f320ecee84 Drop IE9 comment 2016-12-29 10:17:11 -08:00
Mark Otto
76d8291e38 grunt 2016-12-28 20:50:01 -08:00
Mark Otto
d9fcdcfa76 add position relative to container
allows for better/easier positioning of elements within (e.g., a toggler in a navbar)
2016-12-28 19:09:20 -08:00
Mark Otto
b350e60e82 use align-items on .form-inline to keep items from growing too much (#21461) 2016-12-28 19:08:33 -08:00
Mark Otto
4449167f44 linting 2016-12-28 19:07:33 -08:00
Mark Otto
83d3e5545d add align-self to linter property order 2016-12-28 19:07:33 -08:00
Mark Otto
0e84876379 update all examples 2016-12-28 19:07:33 -08:00
Mark Otto
5310bb4c0f redo order of css, add contents at top
this was mad confusing for awhile
2016-12-28 19:07:33 -08:00
Mark Otto
0e26b14ffb reorder classes because i like it this way :p 2016-12-28 19:07:33 -08:00
Mark Otto
a41d241ecc dedupe 2016-12-28 19:07:33 -08:00
Mark Otto
158dd5adb0 clarify need for .navbar-toggleable classes 2016-12-28 19:07:33 -08:00
Mark Otto
a3f6d8afcb line break for readibility 2016-12-28 19:07:33 -08:00
Mark Otto
40e85012eb reflect nav changes here in the responsive views
- since we're column to start, need to set row.
- note that flex-direction cannot be inherited, so we have to set it twice.
- apply the horizontal padding again to .nav-link.
- remove the .nav-item styles (un-needed).
- remove previous .nav-link styles as they were un-nested and potentially problematic in old placement should someone mix more navs in here.
2016-12-28 19:07:33 -08:00
Mark Otto
b132d02f99 don't let the toggle grow when it's the only flex child 2016-12-28 19:07:33 -08:00
Mark Otto
cc6d9085f7 set the direction to column (aka, vertical) for mobile views 2016-12-28 19:07:33 -08:00
Mark Otto
952035f353 remove extra line break 2016-12-28 19:07:33 -08:00
Mark Otto
c8f63d6442 bring over styles from .nav for .navbar-nav
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion.

also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.
2016-12-28 19:07:33 -08:00
Mark Otto
861cda109a drop the flex-grow: 10 in favor of auto margin utils 2016-12-28 19:07:33 -08:00
Mark Otto
2f52b3aee8 drop the .nav base class from .navbar-nav 2016-12-28 19:07:33 -08:00
Mark Otto
1531077140 no float utils, use class name 2016-12-28 19:07:33 -08:00
Mark Otto
2c8675bbf6 better describe example 2016-12-28 19:07:33 -08:00
Mark Otto
d2906950d9 consistent punctuation
it's important, yo
2016-12-28 19:07:33 -08:00
Pierre-Denis Vanduynslager
6fcf696570 Change last reference from tags over to badges. 2016-12-29 13:20:24 +11:00
Mark Otto
e1e621be04 grunt 2016-12-28 15:15:29 -08:00
Mark Otto
3d24364605 limit linter override to the affected ruleset 2016-12-28 15:13:43 -08:00
Mark Otto
41f7f6ec52 remove plain-hover-focus from navbar navs 2016-12-28 15:13:43 -08:00
Mark Otto
a9d899b115 update navs to use .show instead of .open for dropdowns 2016-12-28 15:13:43 -08:00
Mark Otto
d91481397e linting 2016-12-28 15:13:43 -08:00
Mark Otto
766d22ebb7 add alignment docs with flex utils 2016-12-28 15:13:43 -08:00
Mark Otto
12c6a97ce3 simpler sizing examples 2016-12-28 15:13:43 -08:00
Mark Otto
566534afb9 rogue extra line break 2016-12-28 15:13:43 -08:00
Mark Otto
703e83204b redo active and disabled docs snippets
- remove screen reader stuff in favor of explicit labels
- remove 4 and 5 items to keep examples simpler
2016-12-28 15:13:43 -08:00
Mark Otto
5ec35d800d add a working with icons example
frees us up to not have to encourage so much markup throughout these pagination examples
2016-12-28 15:13:43 -08:00
Mark Otto
2b6276f685 redo main example to work in screen reader love instead of putting it in a callout 2016-12-28 15:13:43 -08:00
Mark Otto
d19fead4a6 redo intro paragraph 2016-12-28 15:13:43 -08:00
Mark Otto
3fd9557cfd no need to float, but do set display: block;
this, coupled with the move to flex, fixes #20029
2016-12-28 15:13:43 -08:00
Mark Otto
79fd05d209 remove plain-hover-focus mixins 2016-12-28 15:13:43 -08:00
Mark Otto
bd6e047152 no need for cursor: default, since, well, it's the default 2016-12-28 15:13:43 -08:00
Mark Otto
c52049e5a7 add a comment here to explain some things 2016-12-28 15:13:43 -08:00
Mark Otto
e3d01a326b .page-item's don't need this anymore (they're flex items) 2016-12-28 15:13:43 -08:00