2022-10-11 14:48:22 +00:00
|
|
|
/*
|
|
|
|
* Bluelib Glass
|
|
|
|
* by <me@steffo.eu>
|
|
|
|
*/
|
2023-02-17 04:31:16 +00:00
|
|
|
:where(.bluelib) {
|
2022-10-11 14:48:22 +00:00
|
|
|
--b-panel-blur: 16px;
|
2022-12-28 22:19:03 +00:00
|
|
|
--b-panel-initial-opacity: 0.3;
|
|
|
|
--b-panel-nested-opacity: 0.075;
|
2022-10-11 14:48:22 +00:00
|
|
|
}
|
|
|
|
@supports (backdrop-filter: blur(var(--b-panel-blur))) {
|
2023-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.panel),
|
|
|
|
:where(.bluelib) :where(.table):where(.panel) > :where(.table-caption) {
|
2022-12-28 22:19:03 +00:00
|
|
|
background-color: hsl(var(--bhsl-background-hue) var(--bhsl-background-saturation) var(--bhsl-background-lightness) / var(--b-panel-initial-opacity));
|
2022-10-11 14:48:22 +00:00
|
|
|
backdrop-filter: blur(var(--b-panel-blur)) hue-rotate(calc(var(--bhsl-current-hue) - var(--bhsl-foreground-hue)));
|
|
|
|
}
|
2023-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.panel) :where(.panel),
|
|
|
|
:where(.bluelib) :where(.table):where(.panel) > :where(.table-caption) :where(.panel) {
|
2022-12-28 22:19:03 +00:00
|
|
|
background-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / var(--b-panel-nested-opacity));
|
2022-10-11 14:48:22 +00:00
|
|
|
backdrop-filter: none;
|
|
|
|
}
|
2023-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-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));
|
|
|
|
backdrop-filter: none;
|
|
|
|
}
|
2023-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.panel):where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.panel):where(.modifier-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-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.panel):where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.panel):where(.modifier-mark) :where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.modifier-mark) :where(.panel):where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.modifier-mark) :where(.panel):where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.modifier-mark) :where(.panel):where(.modifier-mark) :where(.panel):where(.modifier-mark),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-mark) :where(.panel):where(.modifier-mark) :where(.panel):where(.modifier-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-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.modifier-todo),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-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));
|
|
|
|
}
|
2023-04-07 00:19:56 +00:00
|
|
|
:where(.bluelib) :where(.modifier-todo) :where(.panel),
|
|
|
|
:where(.bluelib) :where(.panel):where(.modifier-todo) :where(.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));
|
|
|
|
backdrop-filter: none;
|
|
|
|
}
|
|
|
|
}
|