File: accessibility.scss

package info (click to toggle)
cockpit-machines 348-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 281,568 kB
  • sloc: javascript: 708,409; python: 14,549; cpp: 11,141; sh: 954; makefile: 159; xml: 88
file content (24 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@use '../../sass-utilities' as *;

// screen-reader - visually hide, but expose to screen readers
@each $breakpoint, $breakpoint-value in $pf-v6-global--breakpoint-map {
  .#{$pf-prefix}u-screen-reader#{$breakpoint-value} {
    @include pf-v6-media-query($breakpoint) {
      @include pf-v6-u-screen-reader;
    }
  }

  .#{$pf-prefix}u-visible#{$breakpoint-value} {
    @include pf-v6-media-query($breakpoint) {
      @include pf-v6-u-visible;
    }
  }

  .#{$pf-prefix}u-hidden#{$breakpoint-value} {
    @include pf-v6-media-query($breakpoint) {
      // stylelint-disable
      display: none !important;
      // stylelint-enable
    }
  }
}