aboutsummaryrefslogtreecommitdiff
path: root/scss/_type.scss
AgeCommit message (Collapse)AuthorFilesLines
2024-07-15Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)Julien Déramond1-1/+1
2022-07-11Add `$display-font-family` and `$display-font-style` (#36711)Julien Déramond1-0/+2
2020-06-12v5: Redo blockquote attributions (#30814)Mark Otto1-4/+9
* v5: Redo blockquote attributions - Renames -small-* variables to -footer-* - Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper * Updated class name * docs(examples): refactor blockquotes in masonry example Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-04-14Redo display headings (#30568)Mark Otto1-19/+6
- Convert to Sass map - Consolidate font-weights into single option (matching line-height for them) - Add two new sizes and create a new scale - Update migration docs Co-authored-by: Martijn Cuppens <[email protected]>
2019-08-27Switch percentage `font-size`s to `em` and change some font sizes for ↵Martijn Cuppens1-1/+1
consistency
2019-08-07Remove unneeded Stylelint suppressions. (#29222)XhmikosR1-2/+0
2019-07-24Apply `at-mixin-argumentless-call-parentheses: always` stylelint ruleMartijn Cuppens1-2/+2
2019-04-30Reboot & Type cleanup (#28698)Martijn Cuppens1-34/+23
- Line height & font family from html were directly overridden by body, so they were redundant thus removed - The remaining properties are moved to body - Shim for IE10 tags removed - hr cleanup - Combined styles from reboot & type - Changed from borders to background - This allows us to keep the color inherited. - Opacity can be used to change the intensity - Size attribute will not change the height instead of making the hr look like an input field - Better variable names - headings cleanup - Moved all element styling to reboot - Type will now extend the element styling. This way we will save some redundant code - small & mark are also moved to reboot. type does not contain any element styling anymore - font weight removed from small, this did not really made sense
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-15/+15
2018-08-26Remove redundant space from blockquote footer prefixacj1-1/+1
2018-08-26Move blockquote footer font size to variablesacj1-1/+1
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size. 80% as a default is still fine.
2017-10-30adds variables for the hr element marginAndres Galante1-2/+2
2017-10-02Switch to stylelint. (#23572)XhmikosR1-0/+2
2017-06-30Drop .blockquote-reverse, replace with text utils, and redesign blockquote ↵Mark Otto1-20/+0
to not have a border
2017-06-13Rename `$font-size-h*` to `$h*-font-size` for consistency (#22414)Patrick Yeo1-6/+6
2017-03-05Update spacer utilities (#22123)Mark Otto1-2/+2
* Drop -x and -y as they're all the same - Also move -width to elsewhere in the vars because it makes no sense by spacers. - Update values of -x and -y across main Sass and docs Sass. * Update docs to reflect changes; link to spacing utils from options page
2017-01-02fixes #21511: set line-height to 1.1 for display headingsMark Otto1-0/+4
- had to rearrange vars to re-use heading line-height - align values while we're at it
2016-12-21Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)Mark Otto1-11/+0
* remove the $enable-flex variable option * remove bootstrap-flex.css dist file and it's grunt task * remove the separate flex css file for docs; it's all the same now * remove flexbox docs (porting some to the main grid docs in next commit) * clean up few grid docs bits to simplify copy, start to mention flexbox * port relevant flexbox-grid.md content to grid.md - clean up mixins - update how it works section - bring over sizing and alignment sections * remove the $enable-flex from the options.md page * update lead paragraph to mention flexbox * update migration to mention loss of ie9 support * remove mention of flexbox dist file * clarify IE support * making a note * remove flexbox variant mentions from component docs - updates docs for media object, navs, list group, and cards to consolidate docs - no more need to callout flexbox variants since it's now the default * remove $enable-flex if/else from sass files * remove flex dist files * update scss lint property order to account for flex properties * linting * change to numberless classes for autosizing, wrap in highlighting div * bump gruntfile and postcss to ie10 * redo intro sections * rearrange * phew, redo hella grid docs - rearrange all the things - consolidate some bits * remove reference to flexbox mode * more border action for demo * Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-10-19Use a variable for the default font weights. Fixes #20741Simon Bächler1-1/+1
Websites might use different weights such as medium or thin or use light as default weight instead of normal. Also referenced: #18605 and #16170.
2016-10-16Revert "Drop the $small-font-size variable for the newer $font-size-sm one"Mark Otto1-1/+1
2016-10-09Drop the -font-size variable for the newer -size-sm oneMark Otto1-1/+1
Originally -font-size was added in v3 to set the font-size of the <small> element. Now that we have newer, global type variables, we can use those instead for these kind of things. Fixes #20859
2016-02-16Merge branch 'v4-dev' into mark-paddingMark Otto1-2/+2
2016-02-16Merge pull request #19210 from twbs/small-font-sizeMark Otto1-1/+1
Add $small-font-size variable
2016-02-16Introduce $mark-bg variable so that <mark>'s background-color can be ↵Chris Rebert1-1/+1
customized independently of $state-warning-bg [skip sauce] [skip validator]
2016-02-15Add $small-font-size variableChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-15Add $mark-padding variableChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-06only do it for non-flex versionMark Otto1-6/+8
2016-02-06Fixes #17969: Clear horizontal dlsMark Otto1-0/+9
- Using the grid classes, they still need clearfixes since rows aren't injected between them all - Update docs to fix broken classes
2016-02-04Revert separation of <hN> and .hN heading stylesChris Rebert1-16/+6
This reverts commit deeb74e321f8ba676dce8f13809c2aace0e0c537. Reverts #18038 Fixes #18992 [skip sauce] [skip validator]
2016-02-03Redo line-height globallyMark Otto1-1/+0
- Rename -height to -height-base to match other vars - Drop use of -height across the board and rely on it to be inherited - Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-01-14Extract $blockquote-border-width variableChris Rebert1-2/+2
[skip sauce]
2015-12-24Remove .dl-horizontal; it's redundant to the grid system; fixes #18652Chris Rebert1-7/+0
[skip sauce]
2015-12-07rip out the .blockquote-* children classes for margin utilsMark Otto1-8/+0
2015-12-07Merge pull request #18138 from bassjobsen/patch-12Mark Otto1-20/+21
refactor blockqoutes to to avoid tag selectors & child selectors
2015-12-07rewrite list-inline to use margin and simpler stylesMark Otto1-4/+4
2015-12-07Merge branch 'patch-11' of https://github.com/bassjobsen/bootstrap into ↵Mark Otto1-5/+5
bassjobsen-patch-11
2015-12-04Add $list-inline-padding variableChris Rebert1-3/+3
[skip sauce] [skip validator]
2015-11-12scss: move Figures from _type to _imagesO'meid1-20/+0
2015-11-10Consolidate redundant heading style declarationChris Rebert1-9/+1
[skip sauce] [skip validator]
2015-11-03Update _type.scssBass Jobsen1-1/+1
2015-11-03 refactor blockqoutes to to avoid tag selectors & child selectors css v4Bass Jobsen1-21/+22
2015-11-03refactor list-inlineto toavoid tag selectors & child selectorsBass Jobsen1-5/+5
2015-10-27Merge pull request #18038 from twbs/fix-16947Chris Rebert1-6/+16
Make heading class styles trump heading element styles
2015-10-23Trivially simplify heading margin-bottom declarationsChris Rebert1-3/+1
[skip sauce] [skip validator]
2015-10-23Make heading class styles trump heading element styles; fixes #16947Chris Rebert1-6/+16
[skip sauce] [skip validator]
2015-10-13Extract list-unstyled mixin; closes #17792Marko Prelec1-5/+2
/fyi @mdo
2015-09-01Rename .img-responsive class to .img-fluidKevin Kirsche1-1/+1
Fix #17166
2015-08-24Use double colons for psuedo elementsKevin Kirsche1-3/+3
Fix #17052
2015-08-23fix majority of scss linter errorsMark Otto1-1/+1
2015-08-17clean out comments that aren't all that helpfulMark Otto1-5/+0