0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00
Bootstrap/scss/mixins
Gaël Poupard 2085c14267 Update _screen-reader.scss (#22154)
* Update _screen-reader.scss

Small improvements that could be important:
* `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992);
* [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg) solved with `white-space`.

See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/).

Also kinda related to issue #20732 :)

Please let me know if you find any trouble with this technique. Thanks a lot!

* Reorder declarations

To pass Hound.
Didn't think `clip` and `clip-path` would be considered as unrelated…

* Trailing spaces

* Last trailing space?

* Remove margin: -1px
2017-03-19 16:05:45 -07:00
..
_alert.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_background-variant.scss Revamp background utilities and add new .text-white utility 2016-09-08 22:18:40 -07:00
_badge.scss Change last reference from tags over to badges. 2016-12-29 13:20:24 +11:00
_border-radius.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_box-shadow.scss Move box-shadow and transition mixins out of the main mixins file and into their own files 2017-03-05 12:40:01 -08:00
_breakpoints.scss Update breakpoints in breakpoints.scss comments 2017-01-09 21:05:24 -08:00
_buttons.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_cards.scss Inverse card improvements (#21242) 2016-11-28 13:22:51 -08:00
_clearfix.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_float.scss Responsive display utilities (#20934) 2016-10-31 21:27:56 -07:00
_forms.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_gradients.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_grid-framework.scss Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389) 2016-12-21 20:26:17 -08:00
_grid.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_hover.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_image.scss Remove display from the .img-fluid utility 2016-10-09 14:14:39 -07:00
_list-group.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_lists.scss Extract list-unstyled mixin; closes #17792 2015-10-13 01:24:11 -07:00
_nav-divider.scss Update spacer utilities (#22123) 2017-03-05 12:20:44 -08:00
_navbar-align.scss convert to scss 2014-12-02 14:02:35 -08:00
_pagination.scss Redo line-height globally 2016-02-03 19:45:13 -08:00
_reset-text.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_resize.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_screen-reader.scss Update _screen-reader.scss (#22154) 2017-03-19 16:05:45 -07:00
_size.scss combine size & square mixins into one 2015-08-26 16:17:00 +06:00
_table-row.scss rewrite table modifiers to use .table- prefix 2015-03-30 18:08:01 -07:00
_text-emphasis.scss Fixes #20619: Add important to the hover/focus as well (#20626) 2016-09-04 17:55:34 -07:00
_text-hide.scss Fix syntax of .text-hide's font property value 2015-12-25 14:06:39 -07:00
_text-truncate.scss Update scss mixins to comply with scss-linting rules (#22151) 2017-03-18 13:06:05 -07:00
_transforms.scss Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 (#19751) 2016-11-25 14:51:55 -08:00
_transition.scss Move box-shadow and transition mixins out of the main mixins file and into their own files 2017-03-05 12:40:01 -08:00
_visibility.scss Drop the .hidden and .visible classes, save for the print ones 2017-03-05 12:25:41 -08:00