refactor(tree-wide): misc improvements (#1547)
This commit is contained in:
1 parent
3e6ecfbf86
commit
6121f23d7c
126 files changed
+8047
-8021
No files matched your search
@@ -16,50 +16,48 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("openmediavault.example.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
:root {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
color-scheme: if(@flavor = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
background-color: fade(@accent, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -74,15 +72,15 @@
|
||||
--mat-color-secondary-text: @subtext0;
|
||||
--mat-color-disabled-text: @red;
|
||||
--mat-color-hint-text: @blue;
|
||||
--mat-background-color-hover: @accent-color;
|
||||
--mat-background-color-selected-button: @accent-color;
|
||||
--mat-background-color-hover: @accent;
|
||||
--mat-background-color-selected-button: @accent;
|
||||
--mat-background-color-card: @crust;
|
||||
--mat-background-color-background: @crust;
|
||||
--mat-primary-color-text: @accent-color;
|
||||
--mat-primary-color-text: @accent;
|
||||
--mat-background-color-body: @base;
|
||||
}
|
||||
.omv-dark-theme .mat-toolbar.mat-primary {
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
color: @text;
|
||||
}
|
||||
.omv-dark-theme .mat-drawer-container {
|
||||
@@ -113,7 +111,7 @@
|
||||
}
|
||||
.omv-dark-theme .mat-form-field-appearance-legacy .mat-form-field-label,
|
||||
.omv-dark-theme .mat-form-field-appearance-legacy .mat-hint {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
.omv-dark-theme .mat-toolbar {
|
||||
background: @crust;
|
||||
@@ -138,15 +136,15 @@
|
||||
|
||||
.omv-scrollable-xy,
|
||||
.omv-scrollable-y {
|
||||
scrollbar-color: @accent-color transparent;
|
||||
--scrollbar-thumb-color: @accent-color !important;
|
||||
--scrollbar-thumb-hover-color: @accent-color;
|
||||
scrollbar-color: @accent transparent;
|
||||
--scrollbar-thumb-color: @accent !important;
|
||||
--scrollbar-thumb-hover-color: @accent;
|
||||
}
|
||||
|
||||
.omv-dark-theme .mat-button,
|
||||
.omv-dark-theme .mat-icon-button,
|
||||
.omv-dark-theme .mat-stroked-button {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
@@ -154,29 +152,29 @@
|
||||
.omv-dark-theme .mat-pseudo-checkbox-indeterminate,
|
||||
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-checked,
|
||||
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate {
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
}
|
||||
.omv-dark-theme
|
||||
.mat-checkbox-indeterminate.mat-accent
|
||||
.mat-checkbox-background,
|
||||
.omv-dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
}
|
||||
.omv-dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
}
|
||||
.omv-dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
}
|
||||
.omv-dark-theme .mat-badge-accent .mat-badge-content {
|
||||
background: @crust;
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.omv-dark-theme .mat-select-panel {
|
||||
scrollbar-color: @accent-color transparent;
|
||||
--scrollbar-thumb-color: @accent-color !important;
|
||||
--scrollbar-thumb-hover-color: @accent-color !important;
|
||||
scrollbar-color: @accent transparent;
|
||||
--scrollbar-thumb-color: @accent !important;
|
||||
--scrollbar-thumb-hover-color: @accent !important;
|
||||
background: @crust;
|
||||
}
|
||||
|
||||
@@ -187,7 +185,7 @@
|
||||
.omv-dark-theme
|
||||
.mat-primary
|
||||
.mat-option.mat-selected:not(.mat-option-disabled) {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.ngx-datatable.single-selection .datatable-body-row.active,
|
||||
@@ -202,7 +200,7 @@
|
||||
.ngx-datatable.multi-click-selection
|
||||
.datatable-body-row.active
|
||||
.datatable-row-group {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user