aboutsummaryrefslogtreecommitdiff
path: root/scss/_badge.scss
AgeCommit message (Collapse)AuthorFilesLines
2022-06-29Fix tooltip/badge border radius when rounded disabledJulien Déramond1-1/+1
2022-05-22Stylelint: Disable `custom-property-empty-line-before`Mark Otto1-2/+0
2022-03-31Adding @include everytime it's not the caselouismaxime.piton1-1/+1
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto1-11/+11
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
2022-03-01Split CSS vars for padding values (#35921)Mark Otto1-2/+3
* Split CSS vars for padding values Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready. * Update scss/_dropdown.scss Co-authored-by: Julien Déramond <[email protected]> * Deprecate dropdown-header-padding var Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-02-10Convert .badge to CSS variablesMark Otto1-5/+15
2020-05-15Improve gradientsMartijn Cuppens1-0/+1
- Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled
2019-03-14v5: Update badges (#28458)Mark Otto1-27/+1
- Drop hover and focus states - Drop .badge-* variants and associated mixin for .bg-* utilities - Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill - Remove unused variables - Add default color value to .badge base class - Update docs to reflect changes
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-1/+1
2018-12-21#27135: themed link focus state & selector improvement (#27136)Martijn Cuppens1-0/+1
2018-09-14Selector improvement (#27219)Martijn Cuppens1-1/+1
2018-09-02Move CSS of hover underline to base from color variantsysds1-0/+6
2017-10-02Badges add Sass variable to configure `$badge-border-radius` (#24213)Patrick Yeo1-1/+1
2017-08-18Remove `color` property from `badge` classJon Wolski1-1/+0
I suggest removing `color: #FFF` from the `badge` class, because it is provided by the `badge-<modifier>` classes along with a background-color, whereas there is no corresponding background-color provided on the `badge` class itself. Background ---------- According to the documentation: > [badge] Requires one of the contextual, color modifier classes for `color` and > `background-color`. That is, color and background color should be provided by a modifier class, rather than the badge class itself. e.g. `<span class='badge badge-primary'>4</span>` In general, providing a `color` property without also providing a `background-color` should be avoided. [W3 QA tips] In this context, this is a problem only if someone creates a `badge` without providing a modifier. Such an omition may be difficult to trouble-shoot, because this will most likely yield white text on a white background. [W3 QA tips](https://www.w3.org/QA/Tips/color)
2017-06-25update badges to use the theme colors sass mapMark Otto1-32/+4
2017-01-23Remove `cursor: pointer;` (#21812)Mark Otto1-1/+0
* Remove most of custom cursor: pointer; implementations * turns out that's not so much of a thing
2016-12-26Rename tags to badges in commentsQuy1-4/+4
2016-10-26Rename .tag to .badge to avoid conflicting with WordPressMark Otto1-0/+77
2015-08-05rip badgesMark Otto1-56/+0
2015-06-22line-height-base to line-height varMark Otto1-1/+1
2015-06-19fix scss lintingMark Otto1-2/+2
2015-06-18Merge branch 'master' into v4Mark Otto1-0/+1
2015-05-29enforce line-height on badges at all timesMark Otto1-0/+1
2015-04-18clean up comments and spacingMark Otto1-1/+0
2015-01-22put all :hover styles within @media (hover: hover)Chris Rebert1-2/+1
2014-12-11fix all validation, turn off some settings, add sort orderMark Otto1-1/+1
2014-12-02convert to scssMark Otto1-0/+56