_align.scss
3 years ago
_background.scss
3 years ago
_borders.scss
3 years ago
_clearfix.scss
3 years ago
_display.scss
3 years ago
_embed.scss
3 years ago
_flex.scss
3 years ago
_float.scss
3 years ago
_interactions.scss
3 years ago
_overflow.scss
3 years ago
_position.scss
3 years ago
_screenreaders.scss
3 years ago
_shadows.scss
3 years ago
_sizing.scss
3 years ago
_spacing.scss
3 years ago
_stretched-link.scss
3 years ago
_text.scss
3 years ago
_visibility.scss
3 years ago
_stretched-link.scss
20 lines
| 1 | // |
| 2 | // Stretched link |
| 3 | // |
| 4 | |
| 5 | .stretched-link { |
| 6 | &::after { |
| 7 | position: absolute; |
| 8 | top: 0; |
| 9 | right: 0; |
| 10 | bottom: 0; |
| 11 | left: 0; |
| 12 | z-index: 1; |
| 13 | // Just in case `pointer-events: none` is set on a parent |
| 14 | pointer-events: auto; |
| 15 | content: ""; |
| 16 | // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color |
| 17 | background-color: rgba(0, 0, 0, 0); |
| 18 | } |
| 19 | } |
| 20 |