aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
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-28remove plain-hover-focus from list group mixinMark Otto1-5/+3
2016-12-28Revamp list group states and docs to matchMark Otto2-82/+84
- 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
2016-12-28lintingMark Otto1-1/+1
2016-12-28Redo button statesMark Otto2-65/+35
Trying to simplify our output here by revamping these selectors. We overcomplicated things by setting hover styles for nearly every state (disabled and active included), and we set them in the wrong order. This commit does the following: - Reorders states so disabled comes before active, thereby removing the need to set disabled-active styles. - Removes all focus and hover styles from disabled states as those will naturally inherit from the default button state. - Renamed `.open` to `.show` to fix dropdown toggle highlighting. - Tweaked some indendation in the Sass.
2016-12-28fixes #21415 by moving disabled .btn-link color to the default stateMark Otto1-1/+2
2016-12-28Rip numberQuy1-1/+1
2016-12-27inline-flex and width: 100% for stacked/vertical variationMark Otto1-2/+2
shoutout to @Starsam80 for the fix
2016-12-27auto size input groups, fixes #20506Mark Otto1-0/+4
2016-12-27remove commented out codeMark Otto1-1/+0
2016-12-27lintingMark Otto1-1/+1
2016-12-27revamp button group with flexboxMark Otto1-39/+19
2016-12-27forgot to add display flex to the navbar, so utils weren't applyingMark Otto1-0/+1
2016-12-27use varMark Otto1-1/+1
2016-12-27fix inline checksMark Otto1-1/+3
2016-12-27add some varsMark Otto2-12/+18
2016-12-27sure we only need the two mixins, but this ensures folks don't run into ↵Mark Otto1-2/+1
missing mixin errors down the line
2016-12-27Update bootstrap-grid.scssMark Otto1-1/+2
2016-12-27Update bootstrap-reboot.scssMark Otto1-1/+1
2016-12-27move custom down so folks can reassign var values and use other varsMark Otto1-1/+1
2016-12-26Add more flex utilitiesStarsam801-31/+34
2016-12-26Rename tags to badges in commentsQuy1-4/+4
2016-12-25Fixes #20586Mark Otto1-1/+1
Use pixels instead of rem units for focus box-shadow on custom controls so that IE11, Edge, and Win FF screw it up less
2016-12-25Use calc() on .col-form-label padding calculationsMark Otto1-6/+6
Fixes #21135. There's a height mismatch here because we're setting padding on the labels, while inputs get padding *and* a top+bottom border. This now uses calc to determine the exact height needed to match labels to inputs.
2016-12-25Replaces #21270 with proper fixMark Otto1-1/+1
Rather than overriding this just on inline form examples, this should be for all static form controls to match inputs.
2016-12-25vertically center .form-group contents in inline formsMark Otto1-0/+1
fixes broken inline form example mentioned in #21407
2016-12-25use flex and direction to do the stacked controls instead of float hacksMark Otto1-2/+3
This also fixes #21280. Previously, we were using float and clear on the individual controls, but that meant a computer height of `0` for the parent `.custom-controls-stacked`. No more problem after using flexbox though.
2016-12-25move custom checks/radios to inline-flexMark Otto1-1/+1
2016-12-25Use variables for the width/height classesStarsam802-9/+12
2016-12-25Clean up _spacing.scss a little bitStarsam801-20/+16
2016-12-25Remove some leftover IE9/flex stuffStarsam802-10/+3
2016-12-25lintingMark Otto1-2/+2
2016-12-25flex the footer and include some margin magicMark Otto1-2/+7
- we need to set margin for space between footer buttons as flexbox doesn't render HTML spaces like inline-block does - flexbox doesn't have collapsing margins or anything, so we hack it with some :not(:first-child) and :not(:last-child) action
2016-12-25flex the modal header so we can remove custom stylesMark Otto1-5/+3
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25No need to override a margin-top that never was set; only specify ↵Mark Otto1-1/+1
margin-bottom override
2016-12-25Enable flex on the .modal-content, ensure .modal-body stretches the height ↵Mark Otto1-0/+5
(if needed)
2016-12-25darker border on modal headerMark Otto1-1/+1