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("inoreader.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,
|
||||
@@ -134,8 +132,8 @@
|
||||
}
|
||||
|
||||
.progress {
|
||||
--bs-progress-bar-color: @accent-color;
|
||||
--bs-progress-bar-bg: @accent-color;
|
||||
--bs-progress-bar-color: @accent;
|
||||
--bs-progress-bar-bg: @accent;
|
||||
--bs-bar-bg: @overlay1;
|
||||
}
|
||||
|
||||
@@ -167,21 +165,21 @@
|
||||
.st_usage_slider_inner,
|
||||
#text-menu .dropdown-menu,
|
||||
.article_unreaded .article_unread_dot .article_unread_dot_internal {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
}
|
||||
|
||||
.bg-primary {
|
||||
background-color: @accent-color !important;
|
||||
background-color: @accent !important;
|
||||
}
|
||||
|
||||
#tree_pane .parent_div_inner_selected .plus_img {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.active-url .item-name,
|
||||
.active-url span[class^="icon-"].h4,
|
||||
.active-url i[class^="icon-"].h4 {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
.icon-logo_circle {
|
||||
@@ -201,7 +199,7 @@
|
||||
}
|
||||
|
||||
#hint-pref {
|
||||
fill: @accent-color;
|
||||
fill: @accent;
|
||||
}
|
||||
|
||||
.article_footer_buttons.icon-article_topbar_read_later_full,
|
||||
@@ -234,8 +232,8 @@
|
||||
}
|
||||
|
||||
.tabs-counter {
|
||||
background-color: @accent-color !important;
|
||||
outline-color: @accent-color !important;
|
||||
background-color: @accent !important;
|
||||
outline-color: @accent !important;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
@@ -314,7 +312,7 @@
|
||||
|
||||
.dropdown-menu .dropdown-item:active {
|
||||
background-color: @surface0;
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.dropdown-menu .dropdown-item.active,
|
||||
@@ -325,7 +323,7 @@
|
||||
.nav.nav-hover .active-url,
|
||||
.lang_bubble.lang_bubble_current {
|
||||
background-color: @surface1;
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.btn.btn-outline-text {
|
||||
@@ -336,8 +334,8 @@
|
||||
.btn.btn-primary,
|
||||
.btn.btn-primary:hover {
|
||||
color: @text;
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.dropdown-menu-active,
|
||||
@@ -357,8 +355,8 @@
|
||||
button:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="email"]:focus {
|
||||
box-shadow: 0 0 3px @accent-color !important;
|
||||
border-color: @accent-color !important;
|
||||
box-shadow: 0 0 3px @accent !important;
|
||||
border-color: @accent !important;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
@@ -381,16 +379,14 @@
|
||||
box-shadow: 0 0 0 1px @subtext0;
|
||||
}
|
||||
.view_style_3 #reader_pane .ar.article_current .article_tile_picture {
|
||||
box-shadow:
|
||||
inset 3px 3px 0 -2px @accent-color,
|
||||
inset -3px 2px 0 -2px @accent-color;
|
||||
box-shadow: inset 3px 3px 0 -2px @accent, inset -3px 2px 0 -2px @accent;
|
||||
}
|
||||
.view_style_3 #reader_pane .ar.article_current {
|
||||
box-shadow: inset 0 0 0 1px @accent-color;
|
||||
box-shadow: inset 0 0 0 1px @accent;
|
||||
}
|
||||
|
||||
.view_style_4 #reader_pane .ar.article_current {
|
||||
box-shadow: 0 0 0 1px @accent-color;
|
||||
box-shadow: 0 0 0 1px @accent;
|
||||
}
|
||||
.view_style_2 #reader_pane .ar.article_current_3way,
|
||||
.view_style_2 #reader_pane .ar.article_expanded {
|
||||
@@ -432,22 +428,22 @@
|
||||
.inno_tabs_header
|
||||
.inno_tabs_tab.inno_tabs_tab_current
|
||||
a:visited {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
#new_articles_overlay {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
input.apple-switch:checked {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.add_content_simulated_button.expanded {
|
||||
background-color: @surface0;
|
||||
box-shadow: inset 0 -1px 0 0 @accent-color;
|
||||
box-shadow: inset 0 -1px 0 0 @accent;
|
||||
}
|
||||
|
||||
.inno_toolbar_button_menu,
|
||||
@@ -476,14 +472,14 @@
|
||||
|
||||
.bluebutton,
|
||||
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1) {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
color: @crust;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.inno_dialog_buttonbar_button {
|
||||
@@ -559,8 +555,8 @@
|
||||
|
||||
input[type="checkbox"].form-check-input:checked,
|
||||
input[type="radio"].form-check-input:checked {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.normal_dim {
|
||||
@@ -571,7 +567,7 @@
|
||||
#preferences_header,
|
||||
#tabs_pane,
|
||||
.add_content_simulated_button_menu_line_item:hover {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
@@ -586,7 +582,7 @@
|
||||
}
|
||||
|
||||
div.article_current_3way {
|
||||
box-shadow: inset 0 0 0 1 @accent-color, inset 5px 0 0 0 @accent-color;
|
||||
box-shadow: inset 0 0 0 1 @accent, inset 5px 0 0 0 @accent;
|
||||
}
|
||||
|
||||
div.article_tile.article_expanded {
|
||||
@@ -601,14 +597,14 @@
|
||||
|
||||
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active,
|
||||
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
background-color: @base;
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.inno_tabs_tab:hover {
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
#audio_player_nav.is-overlay .tab-content,
|
||||
|
||||
Reference in new issue
Block a user