2022-10-11 14:48:22 +00:00
|
|
|
/*
|
|
|
|
* Bluelib Classic
|
|
|
|
* by <me@steffo.eu>
|
|
|
|
*/
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) {
|
2022-10-11 14:48:22 +00:00
|
|
|
--b-border-radius: 8px;
|
2022-12-28 22:19:03 +00:00
|
|
|
--b-outer-shadow: 2px 2px 4px hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
|
2022-10-11 14:48:22 +00:00
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body),
|
|
|
|
:where(body) * {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.15);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) h1,
|
|
|
|
:where(body) h2,
|
|
|
|
:where(body) h3,
|
|
|
|
:where(body) h4,
|
|
|
|
:where(body) h5,
|
|
|
|
:where(body) h6 {
|
2022-12-28 22:19:03 +00:00
|
|
|
text-shadow: var(--b-outer-shadow);
|
2022-10-11 14:48:22 +00:00
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .panel h1,
|
|
|
|
:where(body) .panel h2,
|
|
|
|
:where(body) .panel h3,
|
|
|
|
:where(body) .panel h4,
|
|
|
|
:where(body) .panel h5,
|
|
|
|
:where(body) .panel h6 {
|
2022-10-11 14:48:22 +00:00
|
|
|
text-shadow: none;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .panel,
|
|
|
|
:where(body) table.panel > caption {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: var(--b-border-radius);
|
2022-12-28 22:19:03 +00:00
|
|
|
box-shadow: var(--b-outer-shadow);
|
2022-10-11 14:48:22 +00:00
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .panel .panel,
|
|
|
|
:where(body) table.panel > caption .panel {
|
2022-10-12 13:41:04 +00:00
|
|
|
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
|
2022-10-11 14:48:22 +00:00
|
|
|
backdrop-filter: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .mark,
|
|
|
|
:where(body) mark,
|
|
|
|
:where(body) .panel.mark {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .mark .mark,
|
|
|
|
:where(body) mark .mark,
|
|
|
|
:where(body) .panel.mark .mark,
|
|
|
|
:where(body) .mark mark,
|
|
|
|
:where(body) mark mark,
|
|
|
|
:where(body) .panel.mark mark,
|
|
|
|
:where(body) .mark .panel.mark,
|
|
|
|
:where(body) mark .panel.mark,
|
|
|
|
:where(body) .panel.mark .panel.mark {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .mark .mark .mark,
|
|
|
|
:where(body) mark .mark .mark,
|
|
|
|
:where(body) .panel.mark .mark .mark,
|
|
|
|
:where(body) .mark mark .mark,
|
|
|
|
:where(body) mark mark .mark,
|
|
|
|
:where(body) .panel.mark mark .mark,
|
|
|
|
:where(body) .mark .panel.mark .mark,
|
|
|
|
:where(body) mark .panel.mark .mark,
|
|
|
|
:where(body) .panel.mark .panel.mark .mark,
|
|
|
|
:where(body) .mark .mark mark,
|
|
|
|
:where(body) mark .mark mark,
|
|
|
|
:where(body) .panel.mark .mark mark,
|
|
|
|
:where(body) .mark mark mark,
|
|
|
|
:where(body) mark mark mark,
|
|
|
|
:where(body) .panel.mark mark mark,
|
|
|
|
:where(body) .mark .panel.mark mark,
|
|
|
|
:where(body) mark .panel.mark mark,
|
|
|
|
:where(body) .panel.mark .panel.mark mark,
|
|
|
|
:where(body) .mark .mark .panel.mark,
|
|
|
|
:where(body) mark .mark .panel.mark,
|
|
|
|
:where(body) .panel.mark .mark .panel.mark,
|
|
|
|
:where(body) .mark mark .panel.mark,
|
|
|
|
:where(body) mark mark .panel.mark,
|
|
|
|
:where(body) .panel.mark mark .panel.mark,
|
|
|
|
:where(body) .mark .panel.mark .panel.mark,
|
|
|
|
:where(body) mark .panel.mark .panel.mark,
|
|
|
|
:where(body) .panel.mark .panel.mark .panel.mark {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-mark-background-hue) var(--bhsl-mark-background-saturation) var(--bhsl-mark-background-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .todo,
|
|
|
|
:where(body) .panel.todo {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
|
|
|
|
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) .todo .panel,
|
|
|
|
:where(body) .panel.todo .panel {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-todo-background-hue) var(--bhsl-todo-background-saturation) var(--bhsl-todo-background-lightness));
|
|
|
|
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) table.panel {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) table.panel > caption {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: 0;
|
2022-12-28 22:19:03 +00:00
|
|
|
box-shadow: var(--b-outer-shadow);
|
2022-10-11 14:48:22 +00:00
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) table.dialog > caption {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-bottom-width: 2px;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) input,
|
|
|
|
:where(body) textarea,
|
|
|
|
:where(body) select,
|
|
|
|
:where(body) button {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.025);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) input:hover,
|
|
|
|
:where(body) textarea:hover,
|
|
|
|
:where(body) select:hover,
|
|
|
|
:where(body) button:hover {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.05);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) input:active,
|
|
|
|
:where(body) textarea:active,
|
|
|
|
:where(body) select:active,
|
|
|
|
:where(body) button:active {
|
2022-10-11 14:48:22 +00:00
|
|
|
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.075);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) input[type="text"],
|
|
|
|
:where(body) input[type="password"],
|
|
|
|
:where(body) input[type="email"],
|
|
|
|
:where(body) input[type="number"],
|
|
|
|
:where(body) input[type="search"],
|
|
|
|
:where(body) input[type="tel"],
|
|
|
|
:where(body) input[type="datetime-local"],
|
|
|
|
:where(body) input[type="date"],
|
|
|
|
:where(body) input[type="time"],
|
|
|
|
:where(body) select:not([multiple]) {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: var(--b-border-radius) var(--b-border-radius) 0 0;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) textarea,
|
|
|
|
:where(body) select[multiple] {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: 0 var(--b-border-radius) var(--b-border-radius) 0;
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) input[type="button"],
|
|
|
|
:where(body) button {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: var(--b-border-radius);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) ul > *::marker,
|
|
|
|
:where(body) ol > *::marker {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) summary {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) summary::marker {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.5);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) summary:hover {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) summary:hover::marker {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) summary:active::marker {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) a:hover {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 20%) / 1);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) a:active {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(calc(var(--bhsl-link-hue) + 0deg) calc(var(--bhsl-link-saturation) + 0%) calc(var(--bhsl-link-lightness) + 40%) / 1);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) kbd,
|
|
|
|
:where(body) samp {
|
2022-10-11 14:48:22 +00:00
|
|
|
border-radius: calc(var(--b-border-radius) / 4);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) var {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) q::before,
|
|
|
|
:where(body) q::after {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
|
|
|
|
}
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(body) rt {
|
2022-10-11 14:48:22 +00:00
|
|
|
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
|
|
|
|
}
|