Debian Codegraph @

src/pydata_sphinx_theme/assets/styles/variables/_bootstrap.scss

raw
1 // Override bootstrap variables
2 $spacer: 1rem;
3 $container-max-widths: (
4 sm: 540px,
5 md: 720px,
6 lg: 960px,
7 xl: 1400px,
8 );
9 $grid-breakpoints: (
10 xs: 0,
11 sm: 540px,
12 md: 720px,
13 lg: 960px,
14 xl: 1200px,
15 );
16 $dropdown-link-hover-bg: var(--pst-color-surface);
17
18 // --pst-color-surface can also be assigned to the dark variant because it is
19 // scoped to different values depending on light/dark theme
20 $dropdown-dark-link-hover-bg: var(--pst-color-surface);
21 $dropdown-link-active-bg: var(--pst-color-surface);
22 $dropdown-dark-link-active-bg: var(--pst-color-surface);
23 $focus-ring-width: 0.1875rem; // 3px at 100% zoom (0.1875 * 16px base font = 3px)
24 $focus-ring-opacity: 1;
25 $focus-ring-color: var(--pst-color-accent);
26 $focus-ring-blur: 0;
27 $focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color;
28
29 // For many elements, we do not use `outline-offset`. For some we set the offset
30 // equal to the focus ring width (either outwards or inwards). But for some
31 // other elements (e.g., collapsible admonitions) we set it to this value.
32 $focus-ring-offset: 0.125rem; // 2px at 100% zoom (0.125 * 16px base font = 2px)
33
34 // outline creates the same style of focus ring, it just uses CSS outline instead of box shadow
35 $focus-ring-outline: $focus-ring-color solid $focus-ring-width;
36 $btn-focus-box-shadow: $focus-ring-box-shadow;
37
38 // Speed up site navigation and reduce animation when using anchor links:
39 // Don't enable `scroll-behavior: smooth` globally, instead use
40 // `scroll-behavior: auto` which is also the behavior when
41 // `prefers-reduced-motion` is active.
42 $enable-smooth-scroll: false;