File: _global-variables.scss

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (18 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@forward "@patternfly/patternfly/sass-utilities" with (
  // Tell Patternfly to use a different font directory
  $pf-v6-global--font-path: "../../static/fonts" !default,
);

/*
 * PatternFly 4 adapting the lists too early.
 * When PF4 has a breakpoint of 768px width, it's actually 1108 for us, as the sidebar is 340px.
 * (This does use the intended content area, but there's a mismatch between content and browser width as we use iframes.)
 * So redefine grid breakpoints
 */
// REVIEW @Venefilyn: Check if still relevant, maybe use rem instead
$pf-v6-global--breakpoint--xs: 0 !default;
// Do not override the sm breakpoint as for width < 768px the left nav is hidden
$pf-v6-global--breakpoint--md: 428px !default;
$pf-v6-global--breakpoint--lg: 652px !default;
$pf-v6-global--breakpoint--xl: 860px !default;
$pf-v6-global--breakpoint--2xl: 1110px !default;