File: backdrop.scss

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (21 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@use '../../sass-utilities' as *;

@include pf-root($backdrop) {
  --#{$backdrop}--Position: fixed;
  --#{$backdrop}--ZIndex: var(--pf-t--global--z-index--lg);
  --#{$backdrop}--BackgroundColor: var(--pf-t--global--background--color--backdrop--default);
}

.#{$backdrop} {
  position: var(--#{$backdrop}--Position);
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: var(--#{$backdrop}--ZIndex);
  width: 100%;
  height: 100%;
  background-color: var(--#{$backdrop}--BackgroundColor);
}

.#{$backdrop}__open {
  overflow: hidden;
}