aboutsummaryrefslogtreecommitdiff
path: root/scss/_close.scss
AgeCommit message (Collapse)AuthorFilesLines
2023-01-02Docs: add CSS variables section in close button sectionJulien Déramond1-0/+2
2022-12-21Fix Sass compilation when `$color-mode-type` is set to `media-query` (#37687)Julien Déramond1-3/+3
* Fix Sass compilation when `$color-mode-type` is set to `media-query` * Update mixin names, fix docs color modes for using media queries by using mixin Co-authored-by: Mark Otto <[email protected]>
2022-11-28Add dark mode support (#35857)Mark Otto1-1/+13
* Add dark mode to docs * Minor fix: missing space indentation * Minor fix: revert utilities/z-index added-in modification * Remove prev: and next: from doc because extracted to another PR * Use .bg-body-tertiary in all Utilities > Overflow examples * fix example * Fix up spacing examples * Update box-shadow Sass variables and utilities to auto-adjust to color modes * Remove unused docs class * Refactor form styles to use CSS variable for background images on .form-check and .form-switch * Fix docs selector * Rename shortcut for clarity * Heading consistency * Reintroduce missing 4th grid item in Utilities > Spacing example * Fix bundlewatch * .bd-callout* rendering is OK so removing comments in the code * Update scss/_utilities.scss Co-authored-by: Julien Déramond <[email protected]> * Fix gutters example styling * Fix text colors on background utils docs * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken * fix some color utils examples * Deprecate mixin notice * Deprecate notice for list-group-item-variant() mixin * Revamp new link CSS vars * Use map-keys in some each Sass files * Remove list-group-item-variant mixin ref in sass loop desc * Display CSS vars scoped to our built-in dark mode * Revert previous commit * Fix list group variant link * Fix typo * Remove imports of alert/list-group mixins in scss/_mixins.scss * Small formatting + comments removal in scss/_content.scss * Fix alert links colors * fix dropdown border-radius mixin * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline * fix colors on docs navbar for dark mode * remove two changes * missing ref * another link underline fix, just use sass vars for link decoration for now * missing color bg docs, plus move dropdown override to scss * more changes from review * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin * Few fixes around type - Restored CSS variable for color on headings, this time with a fallback value - In conjunction, restored and wrapped the default CSS var with a null value check - Split headings and paragraphs docs in Reboot, elaborated on them * Restyle custom details > summary element in docs * Rewrite some migration docs * fix form checks * Fix up some navbar styling, tweak docs callout * Fix select images, mostly for validation styling * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs * Update site/content/docs/5.2/components/scrollspy.md Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * mention form control css vars in migration guide * Tweak grid and flex docs background examples * clarify some docs * fix some more things Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-10-03color css vars for .btn-closeVino Rodrigues1-9/+18
2021-11-25Update _close.scssSi Nguyen1-1/+1
2021-01-10Consistently use outline:0 rather than outline:none (#32751)Patrick H. Lauke1-1/+1
just for code consistency, no actual effect on styling per se
2020-11-11Use correct value order (#32121)Martijn Cuppens1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-10-26Remove background-clip from .btn-closeMark Otto1-1/+0
2020-09-22Add more variables, add a comment for the 3Mark Otto1-1/+1
2020-09-22Double the brightness for improved focus contrastMark Otto1-1/+1
2020-09-22Update .btn-close-white to use grayscale() filter too for better focus stylesMark Otto1-1/+1
2020-09-22Update toasts dismiss (moving more styles to CSS instead of utilities), fix ↵Mark Otto1-0/+4
some more close examples, and add a new .btn-close-white variant
2020-09-22Add opacity variables, set opacity on disabled stateMark Otto1-3/+4
2020-09-22Rename .close to .btn-close, replace times sign with background SVG, update ↵Mark Otto1-21/+21
focus state
2020-04-14Delete appearance from `button.close` (#30582)k-utsumi1-1/+0
2019-12-27Simplify disabled styles (#29296)Martijn Cuppens1-12/+8
* Simplify disabled styles * Mention pointer-events usage
2019-05-10Move close icon to components in docs (#28512)Martijn Cuppens1-1/+0
* Move close icon to components * Remove redundant float from close
2019-05-08Drop all hover mixinsMark Otto1-2/+3
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-1/+1
2019-01-04Move hand cursor for buttons to rebootMartijn Cuppens1-3/+0
2018-10-30Prevent hover/click on disabled .close links.ysds1-3/+13
2018-10-23Cleanup stylelint commentsMartijn Cuppens1-3/+2
2018-06-03Limit .close hover/focus to non-disabled controls (#26654)Patrick H. Lauke1-7/+8
2018-01-15Consistently use `:disabled` rather than `[disabled]` selector (#25317)Patrick H. Lauke1-1/+1
Closes https://github.com/twbs/bootstrap/issues/25316
2017-12-27Opinionated: reintroduce `cursor:pointer`patrickhlauke1-0/+5
Explicitly re-adds the "hand" `cursor:pointer` for non-disabled `.btn`, `.close`, `.navbar-toggler` elements, as well as forcing `page-link` pagination controls to always have the "hand" cursor (even if an author uses it on, say, `<button>` elements for a dynamically updating in-page pagination). Controversial, as everybody jumped on the bandwagon following this article https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b - which does have its merits of course, but there are also counter-arguments like http://kizu.ru/en/issues/cursor-pointer/ And seeing the amount of issues we've seen following the change, and the potential complexity needed to consistently address the cursor issue (see https://github.com/twbs/bootstrap/issues/24156 where i explore how the cursor needs to be based on "intent", and how that's tough to determine), I'm favouring an opinionated take here of just reintroducing the `cursor:pointer`.
2017-11-06Minor Sass consistency changes. (#24677)XhmikosR1-1/+1
* use `background-color` instead of the shorthand * use `outline: 0` consistently * fix transform order * remove quotes from `SFMono-Regular`
2017-10-02Switch to stylelint. (#23572)XhmikosR1-2/+2
2017-01-23Remove `cursor: pointer;` (#21812)Mark Otto1-2/+0
* Remove most of custom cursor: pointer; implementations * turns out that's not so much of a thing
2017-01-03clarify usage of base font-size so we know what's upMark Otto1-1/+1
2016-11-25v4: Miscellaneous color changes (#21199)Mark Otto1-2/+2
* Darken dismiss icon opacity * Darken text on active list group items * Darken light gray for accessibility/contrast, then update gray and dark gray to match
2016-02-06linter overhaulMark Otto1-0/+3
2015-08-17clean out comments that aren't all that helpfulMark Otto1-5/+0
2015-01-22put all :hover styles within @media (hover: hover)Chris Rebert1-2/+1
2015-01-19properly reset button.close stylesMark Otto1-11/+11
2015-01-03Merge branch 'master' into v4Mark Otto1-0/+1
Conflicts: Gruntfile.js dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.min.js docs/_data/glyphicons.yml docs/_includes/components/alerts.html docs/_includes/components/badges.html docs/_includes/components/breadcrumbs.html docs/_includes/components/button-dropdowns.html docs/_includes/components/button-groups.html docs/_includes/components/dropdowns.html docs/_includes/components/glyphicons.html docs/_includes/components/input-groups.html docs/_includes/components/jumbotron.html docs/_includes/components/labels.html docs/_includes/components/list-group.html docs/_includes/components/media.html docs/_includes/components/navbar.html docs/_includes/components/navs.html docs/_includes/components/page-header.html docs/_includes/components/pagination.html docs/_includes/components/panels.html docs/_includes/components/progress-bars.html docs/_includes/components/responsive-embed.html docs/_includes/components/thumbnails.html docs/_includes/components/wells.html docs/_includes/css/buttons.html docs/_includes/css/code.html docs/_includes/css/forms.html docs/_includes/css/grid.html docs/_includes/css/helpers.html docs/_includes/css/images.html docs/_includes/css/less.html docs/_includes/css/tables.html docs/_includes/css/type.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/whats-included.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/modal.html docs/_includes/js/overview.html docs/_includes/js/popovers.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/nav/components.html docs/_includes/nav/javascript.html docs/_jade/customizer-variables.jade docs/_layouts/default.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/customize.html docs/dist/css/bootstrap-theme.css.map docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css less/glyphicons.less less/mixins/vendor-prefixes.less less/navbar.less less/popovers.less less/tables.less less/theme.less less/tooltip.less less/variables.less package.json scss/_carousel.scss scss/_close.scss scss/_forms.scss test-infra/npm-shrinkwrap.json
2014-12-02convert to scssMark Otto1-0/+33