aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins/_background-variant.scss
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15Improve gradientsMartijn Cuppens1-7/+0
- 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
2020-02-12Convert background shorthands to separate propertiesMartijn Cuppens1-1/+1
2019-03-14Remove hover states on background utilities (#28457)Martijn Cuppens1-14/+0
2017-12-22adds hover state to the `button` element for background color utilities (#24813)Andres Galante1-1/+2
* adds a hover state to the button element on the backrgound color utitility * Adjust z-index to fix hover/focus overlaps
2017-10-19Gradients and shadows (#24429)Mark Otto1-0/+6
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency * - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables. - Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow` variables with unified `$input-btn-focus-box-shadow` to match our combined variables approach elsewhere. * Put new focus width var to use in buttons mixins * use new button input-box shadow var * Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true * use correct var * fix focus shadows in button mixins * Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items * Generate .bg-gradient- utilities * add headings to colors page and document bg-gradient utils * update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-02Switch to stylelint. (#23572)XhmikosR1-0/+2
2016-09-08Revamp background utilities and add new .text-white utilityMark Otto1-1/+0
- Rather than mix multiple properties in our color utilities, this splits all color and all background utils into separate classes. - Adds new .text-white class to help lighten text color for darker backgrounds
2015-12-10Added !important to hoversergej27051-1/+1
cause hover isn't working since bg-color is !important
2015-10-29Add !important to text and background color utility classesChris Rebert1-2/+2
[skip sauce] [skip validator]
2015-10-29Remove Less->SCSS converter comment left over from bootstrap-sassChris Rebert1-1/+0
2015-08-13Use -* vars for .bg-* and .text-* utilitiesMark Otto1-0/+1
- Simplifies variables usage - Makes components and brand variable usage more consistent (dark bg and white text throughout instead of some mixed light and dark bgs) - Very likely means lower contrast and thus no more AA compliance (we'll want to fix that eventually obviously)
2015-03-29Merge branch 'master' into v4Mark Otto1-1/+1
Conflicts: .gitignore Gruntfile.js _config.yml dist/css/bootstrap-theme.css dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.js dist/js/bootstrap.min.js docs/_includes/components/navbar.html docs/_includes/components/progress-bars.html docs/_includes/css/grid.html docs/_includes/css/overview.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/browser-device-support.html docs/_includes/getting-started/community.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/examples.html docs/_includes/getting-started/license.html docs/_includes/getting-started/third-party-support.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/dropdowns.html docs/_includes/js/modal.html docs/_includes/js/popovers.html docs/_includes/js/scrollspy.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/js/transitions.html docs/_includes/nav/javascript.html docs/_includes/nav/main.html docs/about.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.min.css docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/dist/js/bootstrap.js docs/dist/js/bootstrap.min.js docs/migration.html js/affix.js js/alert.js js/button.js js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/popover.js js/scrollspy.js js/tab.js js/tests/unit/affix.js js/tests/unit/button.js js/tests/unit/carousel.js js/tests/unit/modal.js js/tests/unit/tooltip.js js/tests/visual/modal.html js/tooltip.js less/component-animations.less less/jumbotron.less less/mixins/background-variant.less less/mixins/buttons.less less/mixins/responsive-visibility.less less/mixins/text-emphasis.less less/navbar.less less/navs.less less/scaffolding.less less/tooltip.less less/utilities.less less/variables.less package.json scss/_buttons.scss scss/_forms.scss scss/_modal.scss
2015-01-22put all :hover styles within @media (hover: hover)Chris Rebert1-2/+4
2014-12-02convert to scssMark Otto1-0/+11