aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-28lintingMark Otto1-1/+1
2016-12-28add align-self to linter property orderMark Otto1-0/+1
2016-12-28update all examplesMark Otto10-40/+32
2016-12-28redo order of css, add contents at topMark Otto1-128/+150
this was mad confusing for awhile
2016-12-28reorder classes because i like it this way :pMark Otto1-12/+12
2016-12-28dedupeMark Otto1-1/+0
2016-12-28clarify need for .navbar-toggleable classesMark Otto1-1/+1
2016-12-28line break for readibilityMark Otto1-0/+1
2016-12-28Merge branch 'twbs/v4-dev' into dropdown-keyboardPierre-Denis Vanduynslager357-26852/+32018
2016-12-28reflect nav changes here in the responsive viewsMark Otto1-10/+10
- 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-28don't let the toggle grow when it's the only flex childMark Otto1-0/+1
2016-12-28set the direction to column (aka, vertical) for mobile viewsMark Otto1-0/+1
2016-12-28remove extra line breakMark Otto1-1/+0
2016-12-28bring over styles from .nav for .navbar-navMark Otto1-3/+7
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-28drop the flex-grow: 10 in favor of auto margin utilsMark Otto2-8/+7
2016-12-28drop the .nav base class from .navbar-navMark Otto1-10/+10
2016-12-28no float utils, use class nameMark Otto1-1/+1
2016-12-28better describe exampleMark Otto1-1/+1
2016-12-28consistent punctuationMark Otto1-2/+2
it's important, yo
2016-12-28Merge branch 'v4-dev' into v4-docs-streamlinedMark Otto317-20999/+30578
2016-12-28gruntMark Otto14-860/+466
2016-12-28limit linter override to the affected rulesetMark Otto1-2/+2
2016-12-28remove plain-hover-focus from navbar navsMark Otto1-6/+2
2016-12-28update navs to use `.show` instead of `.open` for dropdownsMark Otto1-2/+2
2016-12-28lintingMark Otto1-2/+2
2016-12-28add alignment docs with flex utilsMark Otto1-4/+27
2016-12-28simpler sizing examplesMark Otto1-13/+14
2016-12-28rogue extra line breakMark Otto1-1/+0
2016-12-28redo active and disabled docs snippetsMark Otto1-22/+17
- remove screen reader stuff in favor of explicit labels - remove 4 and 5 items to keep examples simpler
2016-12-28add a working with icons exampleMark Otto1-3/+5
frees us up to not have to encourage so much markup throughout these pagination examples
2016-12-28redo main example to work in screen reader love instead of putting it in a ↵Mark Otto1-7/+15
callout
2016-12-28redo intro paragraphMark Otto1-1/+1
2016-12-28no need to float, but do set display: block;Mark Otto1-1/+1
this, coupled with the move to flex, fixes #20029
2016-12-28remove plain-hover-focus mixinsMark Otto1-12/+8
2016-12-28no need for cursor: default, since, well, it's the defaultMark Otto1-1/+0
2016-12-28add a comment here to explain some thingsMark Otto1-1/+1
2016-12-28.page-item's don't need this anymore (they're flex items)Mark Otto1-2/+0
2016-12-28remove default margin, allow folks to use utils insteadMark Otto1-2/+0
2016-12-28update pagination list reset stylesMark Otto1-1/+3
2016-12-28move pagination to flexboxMark Otto1-1/+1
2016-12-28update docs to improve contextual classes sectionMark Otto1-1/+14
2016-12-28remove plain-hover-focus from list group mixinMark Otto1-5/+3
2016-12-28Revamp list group states and docs to matchMark Otto3-120/+135
- Overhauls the states, including the link/button variants, for list groups to better match how we handle .btn states. - Moved the .list-group-item-action styles before the .list-group-item so that we don't have to do as much overriding. - Removed the plain-hover-focus mixins from the disabled and active states since they're unnecessary. - Added support for :active states on the .list-group-item-action variant (for the current click state). - Removed the heading and text classes and variables since we can accomplish the same thing with utilities. - Added support for :disabled on the .list-group-item-action as well since we can use those with button elements. - Rearranged docs to reflect all the above changes. - Reformatted some Sass variables.
2016-12-28Revamp dropdown item statesMark Otto1-22/+13
- Removes the plain-hover-focus mixin from active and disabled states; no need for them. - Adds :active and :disabled since we can use button elements here, too. - Wrap the disabled background-image override in an -gradients condition.
2016-12-28Remove plain-hover-focus mixins from navsMark Otto2-23/+10
- No need to set hover and focus on disabled or active elements. Disabled has no interactivity and active will inherit the focus. - Also removes two now unused vars.
2016-12-28properly pass focus shadow should you enable shadowsMark Otto1-1/+6
don't implement for the outline style because outline buttons get no shadow by default
2016-12-28create a variable for the focus box-shadow, use it in the button base classMark Otto2-2/+3
also be sure to apply it for the active state when shadows are enabled
2016-12-28remove active styling from focusMark Otto1-3/+0
2016-12-28remove cursor: pointerMark Otto1-1/+0
shoutout https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b#.riy12ck0m
2016-12-28redo outlinesMark Otto2-10/+5
- removes original outline removal (hah) - replaces it with an explicit `outline: 0` on `.btn` - instead of replicating `:hover` for `:focus`, uses custom and themed `box-shadow` for an "outline" - not mapped to the `$enable-shadows` variable because accessibility