A11y: Add .is-sr-only to helpers (#1764)

This commit is contained in:
Muhannad Abdelrazek
2018-07-09 17:09:42 +02:00
committed by Jeremy Thomas
parent 2b8f6680db
commit e71c248cde
3 changed files with 16 additions and 0 deletions

View File

@@ -158,6 +158,17 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
.is-hidden
display: none !important
.is-sr-only
position: absolute !important
width: 1px !important
height: 1px !important
padding: 0 !important
border: 0 !important
overflow: hidden !important
clip: rect(0, 0, 0, 0) !important
clip-path: inset(50%) !important
white-space: nowrap !important
+mobile
.is-hidden-mobile
display: none !important