File: _global-variables.scss

package info (click to toggle)
cockpit 356-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 317,176 kB
  • sloc: javascript: 775,374; python: 41,133; ansic: 33,875; cpp: 11,141; sh: 3,534; makefile: 581; xml: 262
file content (19 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@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;