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

16368 Commits

Author SHA1 Message Date
Mark Otto
3d6c473696 switch to jquery slim, update examples to use code.jquery.com cdn 2016-12-31 00:52:08 -08:00
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
Mark Otto
5d7db50739 redo and make sticky 2016-12-29 13:22:45 -08:00
Mark Otto
a769542888 update navbar 2016-12-29 13:22:34 -08:00
Mark Otto
424380f7b4 remove commented out code, add top margin 2016-12-29 13:22:26 -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
51b00ea833 Merge branch 'navbar-tweaks' into v4-docs-streamlined 2016-12-28 17:47:13 -08:00
Mark Otto
8c0dbdb8da linting 2016-12-28 17:46:35 -08:00
Mark Otto
2c5da86a55 add align-self to linter property order 2016-12-28 17:35:17 -08:00
Mark Otto
488c18e99b update all examples 2016-12-28 17:25:00 -08:00
Mark Otto
952c008b7a redo order of css, add contents at top
this was mad confusing for awhile
2016-12-28 17:16:27 -08:00
Mark Otto
90d235af3a reorder classes because i like it this way :p 2016-12-28 17:04:07 -08:00
Mark Otto
c67ac18f07 dedupe 2016-12-28 17:03:28 -08:00
Mark Otto
e56ab55d22 clarify need for .navbar-toggleable classes 2016-12-28 17:03:25 -08:00
Mark Otto
a689e30d46 line break for readibility 2016-12-28 17:03:09 -08:00
Pierre-Denis Vanduynslager
425d156df2 Merge branch 'twbs/v4-dev' into dropdown-keyboard 2016-12-28 19:57:38 -05:00
Mark Otto
a9efef6c4a 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 16:51:40 -08:00
Mark Otto
24a45deb96 don't let the toggle grow when it's the only flex child 2016-12-28 16:50:07 -08:00
Mark Otto
ad3a2488b6 set the direction to column (aka, vertical) for mobile views 2016-12-28 16:49:55 -08:00