1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
@use '../sass-utilities' as *;
// Normalize
@if $pf-v6-global--enable-normalize {
*,
*::before,
*::after {
box-sizing: border-box;
scrollbar-color: var(--pf-t--global--border--color--default) transparent;
}
// styling scrollbar color in Safari requires setting max-width and max-height
*::-webkit-scrollbar-thumb {
background-color: var(--pf-t--global--border--color--default);
border-radius: var(--pf-t--global--spacer--xs);
}
*::-webkit-scrollbar-track {
background-color: transparent;
}
*::-webkit-scrollbar {
max-width: var(--pf-t--global--spacer--sm);
max-height: var(--pf-t--global--spacer--sm);
}
:where(
html,
body
) {
height: 100%;
}
:where(body) {
font-family: var(--pf-t--global--font--family--body);
font-size: var(--pf-t--global--font--size--body--default);
font-weight: var(--pf-t--global--font--weight--body--default);
line-height: var(--pf-t--global--font--line-height--body);
color: var(--pf-t--global--text--color--regular);
}
:where(
h1,
h2,
h3,
h4,
h5,
h6
) {
font-size: 100%;
font-weight: var(--pf-t--global--font--weight--body--default);
}
:where(ul) {
list-style: none;
}
:where(
button,
input,
optgroup,
select,
textarea
) {
margin: 0;
font-family: inherit;
font-size: 100%;
line-height: var(--pf-t--global--font--line-height--body);
color: var(--pf-t--global--text--color--regular);
}
:where(
img,
embed,
iframe,
object,
audio,
video
) {
max-width: 100%;
height: auto;
}
:where(iframe) {
border: 0;
}
:where(table) {
border-spacing: 0;
border-collapse: collapse;
}
:where(
td,
th
) {
padding: 0;
text-align: start;
}
:where(
code,
pre
) {
font-family: var(--pf-t--global--font--family--mono);
}
:where(a) {
color: var(--pf-t--global--text--color--link--default);
text-decoration-line: var(--pf-t--global--text-decoration--link--line--default);
}
:where(a:hover, a:focus) {
color: var(--pf-t--global--text--color--link--hover);
text-decoration-line: var(--pf-t--global--text-decoration--link--line--hover);
}
:where(
a,
button
) {
cursor: pointer;
}
:where(:root) {
color-scheme: light;
}
:where(.pf-v6-theme-dark) {
color-scheme: dark;
}
}
|