aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2016-12-25trailing spaceMark Otto1-1/+1
2016-12-25line break for sanityMark Otto1-0/+1
2016-12-25add my-auto and m-autoMark Otto1-0/+5
2016-12-25responsive auto margin classesMark Otto1-8/+13
2016-12-25add mr-auto and ml-auto for some flex shizMark Otto1-0/+3
2016-12-25Fixes #18228: Don't use `transparent` for bottom border, use bg colorMark Otto1-1/+1
2016-12-24rip numbersMark Otto1-67/+67
2016-12-24Update toc numbering (#21422)Quy1-4/+3
2016-12-24remove unused media vars, update numbers (oof) /cc @QuyMark Otto1-10/+3
2016-12-24remove unused utils, commentMark Otto1-4/+0
2016-12-24remove old flex utils, update docs to matchMark Otto1-21/+0
2016-12-24duplicate of the .flex-fill utilMark Otto1-3/+0
2016-12-24Start to blow out and document more flexbox utilitiesMark Otto1-0/+42
- Adds new flexbox.md file to utilities docs - Adds a `breakpoints.yml` data file for easier output of responsive classes in the docs. Will put this to use on other pages soon. - Adds hella flex utils. There are some dupes for now, but they'll get removed in time.
2016-12-24fix incorrect class name for inline-flexMark Otto1-1/+1
2016-12-24Change up the "justified" nav optionsMark Otto1-29/+15
Given move to flexbox, we can make this available for everyone and clean it up some. - Simplifies the `.nav-justified` styles to build on the flex-powered `.nav` base class. - Adds the `.nav-fill` to make nav links fill available horizontal space, but not equal width.
2016-12-24Make .nav flex-poweredMark Otto1-36/+3
- Set an explicit `display: flex` on the base `.nav` class and remove the floats/clearfixes from our navs. - Set some global styles for `.nav-link`, a departure from the previous solution that featured no predefined padding. - Move `.nav-link` from `inline-block` to `block` given this setting was added for our tabs and pills anyway. - Remove horizontal margin from nav tabs; let folks set that on their own from now on.
2016-12-24Undo #21171 (which closed #20977)Mark Otto2-1/+3
Turns out we did have the correct height calculation with our custom selects. The problem was we lacked a shared line-height with our buttons and inputs. This restores the previous `calc` math and adds a line-height that reuses the input line-height.
2016-12-22small unrelated addition—adds .d-flex-inline utilMark Otto1-0/+1
2016-12-22reduce .media styles to their bare minimumMark Otto1-53/+2
Sets minimum required flex styles (including an explicit starting alignment) and removes everything else. - no need for .media-left and .media-right, we have padding utils - no need for a .media-heading, we have margin - no need for .media-object, we have display utils - no need for .media-list, we have .list-unstyled util
2016-12-22Rename Tags to Badges in commentsQuy1-2/+3
2016-12-22Merge branch 'flex-cards' into v4-devMark Otto2-25/+19
2016-12-22Add color variables for white and black (#21397)Jacob Müller1-66/+68
* Add color variables for white and black Closes #21395.
2016-12-22change card deck margin strategyMark Otto1-6/+6
- Instead of negative left/right margins, we selectively apply margins to the cards as needed. This way the first and last child never receive a left and right margin (respectively), so we don't need to negative indent those at the .card-deck level. - Drops the margin-bottom override on the .card because there's no more default margin there. - Drop the margin-bottom from the .card-deck to match our lack of margins on the card. This and the previous commit fixes #19883.
2016-12-22move to grid gutter width, fixes #21300Mark Otto1-1/+1
2016-12-22New width and height utilsMark Otto1-0/+7
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22switch from block to flexMark Otto1-1/+2
add flex direction too
2016-12-22remove default bottom margin on cardsMark Otto1-1/+0
use utils instead
2016-12-22move the card-block flex action up to all card-blocksMark Otto1-4/+3
this allows us to easily scale card blocks in groups and decks, without repeating it in our css
2016-12-22remove commented out codeMark Otto1-8/+0
2016-12-22comment typoMark Otto1-1/+1
2016-12-22fix commentMark Otto1-1/+1
2016-12-22add card column margin variable instead of relying on a default card marginMark Otto2-0/+2
this assumes no margin on the .card to start (which will follow in a later commit)
2016-12-22add card column count variableMark Otto2-1/+2
2016-12-22Rename card column gap variableMark Otto2-2/+2
2016-12-22New width and height utilsMark Otto1-0/+7
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22lintingMark Otto1-2/+2
2016-12-22text-align doesn't apply here, so we can nuke itMark Otto1-1/+0
2016-12-22Redo controls in flexboxMark Otto1-10/+4
- Drops the absolute positioning of the icons within the left/right controls. We have to keep the controls themselves positioned though since we're overlapping HTML elements here. - No more position, left, right, or margins involved; just some justify-content and align-items. - Add some comments for explaining which flex property-value pair does what. - Remove the unapplied font and line-height stuff now that we're all SVGs and flexbox here.
2016-12-22flexbox powered indicatorsMark Otto2-2/+7
This revamps the indicators to use flexbox instead of inline-block for added flexbility (hah). Indicators now automatically scale based on the number of elements present, and max out at the `$carousel-indicator-width` instead of always being that wide.
2016-12-22start small--set flex instead of block for active itemsMark Otto1-1/+1
2016-12-22remove .hidden-* classes from .navbar-toggler and make that part of the ↵Mark Otto1-0/+4
.navbar-toggleable-*
2016-12-22more lintingMark Otto1-1/+1
2016-12-22lintingMark Otto1-1/+1
2016-12-22Redo navbar-togglerMark Otto2-8/+23
- Require inner element for the icon for improved customization (e.g., drop the element to replace it with your own icon font or SVG) - Tighten up padding - Better comments
2016-12-22fixes #18115: move forward with one naming scheme for inversed color ↵Mark Otto2-16/+16
schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name)
2016-12-22fixes #18053 by removing container padding at lower breakpoints on ↵Mark Otto1-0/+5
responsive navbars
2016-12-22removeMark Otto1-2/+0
2016-12-22Fix vertical alignment a bitMark Otto1-0/+2
2016-12-22move all nav link and collapse and container behaviors to the toggleable ↵Mark Otto1-26/+24
class generation area; this way the .navbar-toggleable-* goes on .navbar, easily affecting everything that needs updating for each breakpoint's use
2016-12-22move flex to navbar container only; otherwise it affects things negatively ↵Mark Otto2-2/+1
elsewhere