1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00
bluelib/dist/classic.root.css

129 lines
6.2 KiB
CSS
Raw Normal View History

2022-10-11 14:48:22 +00:00
/*
* Bluelib Classic
* by <me@steffo.eu>
*/
:where(body) {
2022-10-11 14:48:22 +00:00
--b-border-radius: 8px;
--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
}
:where(body),
2023-04-07 00:19:56 +00:00
:where(body) :where(*) {
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-04-07 00:19:56 +00:00
:where(body) :where(h1, h2, h3, h4, h5, h6) {
text-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
2023-04-07 00:19:56 +00:00
:where(body) :where(.panel) :where(h1, h2, h3, h4, h5, h6) {
2022-10-11 14:48:22 +00:00
text-shadow: none;
}
2023-04-07 00:19:56 +00:00
:where(body) :where(.panel),
:where(body) :where(table):where(.panel) > :where(caption) {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius);
box-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
2023-04-07 00:19:56 +00:00
:where(body) :where(.panel) :where(.panel),
:where(body) :where(table):where(.panel) > :where(caption) :where(.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-04-07 00:19:56 +00:00
:where(body) :where(mark, .mark),
:where(body) :where(.panel):where(mark, .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(body) :where(mark, .mark) :where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(mark, .mark),
:where(body) :where(mark, .mark) :where(.panel):where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(.panel):where(mark, .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(body) :where(mark, .mark) :where(mark, .mark) :where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(mark, .mark) :where(mark, .mark),
:where(body) :where(mark, .mark) :where(.panel):where(mark, .mark) :where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(.panel):where(mark, .mark) :where(mark, .mark),
:where(body) :where(mark, .mark) :where(mark, .mark) :where(.panel):where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(mark, .mark) :where(.panel):where(mark, .mark),
:where(body) :where(mark, .mark) :where(.panel):where(mark, .mark) :where(.panel):where(mark, .mark),
:where(body) :where(.panel):where(mark, .mark) :where(.panel):where(mark, .mark) :where(.panel):where(mark, .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(body) :where(.todo),
:where(body) :where(.panel):where(.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-04-07 00:19:56 +00:00
:where(body) :where(.todo) :where(.panel),
:where(body) :where(.panel):where(.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));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
2023-04-07 00:19:56 +00:00
:where(body) :where(table):where(.panel) {
2022-10-11 14:48:22 +00:00
border-radius: 0;
}
2023-04-07 00:19:56 +00:00
:where(body) :where(table):where(.panel) > :where(caption) {
2022-10-11 14:48:22 +00:00
border-radius: 0;
box-shadow: var(--b-outer-shadow);
2022-10-11 14:48:22 +00:00
}
2023-04-07 00:19:56 +00:00
:where(body) :where(table):where(.dialog) > :where(caption) {
2022-10-11 14:48:22 +00:00
border-bottom-width: 2px;
}
2023-04-07 00:19:56 +00:00
:where(body) :where(input, textarea, select, 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-04-07 00:19:56 +00:00
:where(body) :where(input, textarea, select, 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-04-07 00:19:56 +00:00
:where(body) :where(input, textarea, select, 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-04-07 00:19:56 +00:00
:where(body) :where(input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="datetime-local"], input[type="date"], input[type="time"]),
:where(body) :where(select:not([multiple])) {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius) var(--b-border-radius) 0 0;
}
2023-04-07 00:19:56 +00:00
:where(body) :where(textarea),
:where(body) :where(select[multiple]) {
2022-10-11 14:48:22 +00:00
border-radius: 0 var(--b-border-radius) var(--b-border-radius) 0;
}
2023-05-24 23:27:09 +00:00
:where(body) :where(input[type="button"], .input[type="submit"], .input[type="reset"], button) {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius);
}
2023-04-07 00:19:56 +00:00
:where(body) :where(ul) > *::marker,
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(kbd),
:where(body) :where(samp) {
2022-10-11 14:48:22 +00:00
border-radius: calc(var(--b-border-radius) / 4);
}
2023-04-07 00:19:56 +00:00
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(q)::before,
:where(body) :where(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-04-07 00:19:56 +00:00
:where(body) :where(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);
}