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

129 lines
6.5 KiB
CSS
Raw Normal View History

2022-10-11 14:48:22 +00:00
/*
* Bluelib Classic
* by <me@steffo.eu>
*/
:where(.bluelib) {
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(.bluelib),
2023-04-07 00:19:56 +00:00
:where(.bluelib) :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(.bluelib) :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(.bluelib) :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(.bluelib) :where(.panel),
:where(.bluelib) :where(.table):where(.panel) > :where(.table-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(.bluelib) :where(.panel) :where(.panel),
:where(.bluelib) :where(.table):where(.panel) > :where(.table-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(.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));
}
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));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-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));
border-color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness));
}
2023-04-07 00:19:56 +00:00
:where(.bluelib) :where(.table):where(.panel) {
2022-10-11 14:48:22 +00:00
border-radius: 0;
}
2023-04-07 00:19:56 +00:00
:where(.bluelib) :where(.table):where(.panel) > :where(.table-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(.bluelib) :where(.table):where(.panel-dialog) > :where(.table-caption) {
2022-10-11 14:48:22 +00:00
border-bottom-width: 2px;
}
2023-04-07 00:19:56 +00:00
:where(.bluelib) :where(.input) {
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(.bluelib) :where(.input):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(.bluelib) :where(.input):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(.bluelib) :where(.input-field),
:where(.bluelib) :where(.input-select) {
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(.bluelib) :where(.input-area),
:where(.bluelib) :where(.input-multiselect) {
2022-10-11 14:48:22 +00:00
border-radius: 0 var(--b-border-radius) var(--b-border-radius) 0;
}
2023-04-07 00:19:56 +00:00
:where(.bluelib) :where(.input-button) {
2022-10-11 14:48:22 +00:00
border-radius: var(--b-border-radius);
}
2023-04-07 00:19:56 +00:00
:where(.bluelib) :where(.list-unordered) > *::marker,
:where(.bluelib) :where(.list-ordered) > *::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(.bluelib) :where(.glossary-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(.bluelib) :where(.glossary-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(.bluelib) :where(.glossary-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(.bluelib) :where(.glossary-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(.bluelib) :where(.glossary-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(.bluelib) :where(.text-anchor):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(.bluelib) :where(.text-anchor):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(.bluelib) :where(.text-input),
:where(.bluelib) :where(.text-output) {
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(.bluelib) :where(.text-variable) {
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(.bluelib) :where(.text-quote)::before,
:where(.bluelib) :where(.text-quote)::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(.bluelib) :where(.text-ruby-annotation) {
2022-10-11 14:48:22 +00:00
color: hsl(var(--bhsl-current-hue) var(--bhsl-current-saturation) var(--bhsl-current-lightness) / 0.7);
}