feat(inoreader): support for new ui (#1123)

* support for inoreader new UI

* fix lint errors

---------

Co-authored-by: Thomas <[email protected]>
This commit is contained in:
ThomasandThomas authored and GitHub committed 2024-08-08 10:02:37 +01:00
1 parent 4bf1200794
commit f6cf4e1972
1 file changed
+439 -264
+439 -264
View File
@@ -2,7 +2,7 @@
@name inoreader Catppuccin @name inoreader Catppuccin
@namespace github.com/catppuccin/userstyles/styles/inoreader @namespace github.com/catppuccin/userstyles/styles/inoreader
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/inoreader @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/inoreader
@version 0.0.2 @version 0.0.3
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/inoreader/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/inoreader/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainoreader @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainoreader
@description Soothing pastel theme for inoreader @description Soothing pastel theme for inoreader
@@ -69,309 +69,484 @@
} }
} }
body, body,
.inno_dialog, .inno_dialog,
.reader_pane_view_style_1 .article_subscribed, .reader_pane_view_style_1 .article_subscribed,
.reader_pane_view_style_4 .article_subscribed, .reader_pane_view_style_4 .article_subscribed,
.inno_toolbar_switcher_button_active, .inno_toolbar_switcher_button_active, .dashboard_wrapper,
.dashboard_wrapper, #sb_tree_part,
#sb_tree_part, #sb_menu_icon,
#sb_menu_icon, #sb_tp_search_overlay,
#sb_tp_search_overlay, #feed_searcher,
#feed_searcher, #wraper.tree_pane_docked #feed_searcher,
#wraper.tree_pane_docked #feed_searcher, #preferences_main_wrapper,
#reader_pane, .reader_pane_view_style_0 .article_expanded:hover,
#preferences_main_wrapper, div.article_expanded, .article,
.reader_pane_view_style_0 .article_expanded:hover, .article_expanded .article_footer_placeholder_middle.footerized.article_footer_placeholder_middle_sticky,
div.article_expanded, #article_dialog .article_footer_placeholder_top,
.article, #three_way_contents .article_footer_placeholder_top,
.article_expanded .article_footer,
.article_footer_placeholder_middle.footerized.article_footer_placeholder_middle_sticky, .pricing_plans_row_sticky,
#article_dialog .article_footer_placeholder_top, .searcher_top_bar_wrapper {
#three_way_contents .article_footer_placeholder_top, background-color: @base;
.article_footer, }
.pricing_plans_row_sticky {
background-color: @base;
}
body, body,
.article_unreaded .article_tile_title, .article_unreaded .article_tile_title,
.icon16, .icon16,
.icon14, .icon14,
.icon19, .icon19,
.article_unreaded .article_magazine_content, .h6,
.article_unreaded .article_magazine_title, .article_unreaded .article_magazine_content,
#sb_tp_dock, .article_unreaded .article_magazine_title,
.inno_toolbar_button, #sb_tp_dock,
#sb_rp_heading, .inno_toolbar_button,
.article_header_text, #sb_rp_heading,
.profile_menu_themes_heading, .article_header_text,
.inno_toolbar_switcher_button:hover, .profile_menu_themes_heading,
#sb_rp_heading span.icon16, .inno_toolbar_switcher_button:hover,
.sub_engagement_number, #sb_rp_heading span.icon16,
.sub_folder, .sub_engagement_number,
.inline_folders_editor, .sub_folder,
.tf, .inline_folders_editor,
.top_bar_tab, .tf,
.top_bar_tab .icon16, .top_bar_tab,
#tree_pane .icon16, .top_bar_tab .icon16,
#add_content_simulated_button .plus_img { #tree_pane .icon16,
color: @text; #add_content_simulated_button .plus_img,
} a:link, .h4[class*="icon-"],
h4[class*="icon-"],
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:link,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:active,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:visited,
#tabs_pane .nav-item a i, #tabs_pane .nav-item a {
color: @text;
}
a.text-color {
color: @text !important;
}
#tree_pane, .text-muted-color {
.tree_ad, color: @subtext0 !important;
.article_full_contents, }
.article_unreaded,
.search_empty_state_mask,
.library_wrapper_outer,
.teams_presentation_wrapper,
.article_subscribed,
.tr1,
.search_width_constraint {
background-color: @base;
color: @text;
}
.st_usage_slider_outer { #tree_pane,
background-color: @text; #reader_pane,
} #feeds_nav,
.tree_ad,
.article_full_contents,
.article_unreaded,
.search_empty_state_mask,
.library_wrapper_outer,
.teams_presentation_wrapper,
.article_subscribed,
.tr1,
.search_width_constraint,
.bg-white {
background-color: @base !important;
color: @text;
}
.st_usage_slider_inner { .st_usage_slider_outer {
background-color: @accent-color; background-color: @text;
} }
#hint-pref { .st_usage_slider_inner {
fill: @accent-color; background-color: @accent-color
} }
.preferences_main_button, #tree_pane .parent_div_inner_selected .plus_img {
.preferences_billing_feature_main { color: @accent-color;
background-color: @mantle; }
border-color: @surface0;
}
.dashboard_gadgets, .active-url .item-name,
.dashboard_gadgets .content, .active-url span[class^="icon-"].h4,
.library_section_main_article, .active-url i[class^="icon-"].h4 {
.library_secondary_article, color: @accent-color !important;
.library_section_list_articles { }
background-color: @mantle;
}
input[type="text"]:focus, #tree_pane .plus_img,
input[type="checkbox"]:focus + label, #tabs_pane .nav-item a i,
input[type="checkbox"]:active + label, #tabs_pane #bottom_tabs .nav-item a i {
input[type="button"]:focus, color: @text;
input[type="button"]:active, }
textarea:focus,
select:focus,
button:focus,
input[type="password"]:focus,
input[type="email"]:focus,
button:active {
box-shadow: 0 0 3px @accent-color !important;
}
input[type="text"], #hint-pref {
input[type="number"], fill: @accent-color;
input[type="password"], }
select,
textarea {
background-color: @base;
color: @text;
border-color: @subtext0;
}
.graylink_darker, .article_footer_buttons.icon-article_topbar_read_later_full, #reader_pane .ar .article_btns a .h4.icon-saved,
.article_short_contents { #reader_pane .ar .article_btns a .h4.star_full,
color: @subtext0; span.icon-yellow,
} i.icon-yellow {
color: @yellow;
}
div.article_magazine.article_current, .bg-alt {
div.article_magazine.article_bulk_selected { background: @yellow !important;
box-shadow: 0 0 0 1px @subtext0; }
}
.article_magazine_content { .btn.btn-alt {
color: @overlay0; background-color: @yellow;
} border-color: @yellow;
}
.article_magazine_title { .bg-success-color.darker {
color: @overlay1; background-color: @green !important;
} }
.inno_dialog_modal_overlay { .alert_state {
background-color: @overlay2; background-color: @red;
} }
.subscriptions_legend, .icon-mark-as-read-single-unread {
.preferences_main_button_icon span, color: @blue !important;
a.bluelink:link, }
.bluelink,
.inno_tabs_tab_current,
.inno_tabs_tab_current:hover,
.inno_toolbar_button_menu_item_inactive .inno_toolbar_button_menu_icon,
.inno_toolbar_button_menu_icon,
#preferences_subscriptions_table span.icon_active {
color: @accent-color;
}
#new_articles_overlay { .tabs-counter {
color: @accent-color; background-color: @blue !important;
background-color: @base; outline-color: @blue !important;
} color: @mantle;
}
input.apple-switch:checked { .active-tab-feeds:not(.active-overlay) #tabs_pane [data-tab="feeds"] i,
background-color: @accent-color; .active-tab-dashboard:not(.active-overlay) #tabs_pane [data-tab="dashboard"] i,
border-color: @accent-color; .active-tab-saved:not(.active-overlay) #tabs_pane [data-tab="saved"] i,
} .active-tab-automation:not(.active-overlay) #tabs_pane [data-tab="automation"] i,
.active-tab-search:not(.active-overlay) #tabs_pane [data-tab="search"] i,
.active-tab-add_feed:not(.active-overlay) #tabs_pane [data-tab="add_feed"] i,
.active-tab-notifications:not(.active-overlay) #tabs_pane [data-tab="notifications"] i,
.active-tab-preferences:not(.active-overlay) #tabs_pane [data-tab="preferences"] i
{
background-color: @base;
color: @text !important;
}
.add_content_simulated_button.expanded { .preferences_main_button,
background-color: @surface0; .preferences_billing_feature_main {
box-shadow: inset 0 -1px 0 0 @accent-color; background-color: @mantle;
} border-color: @surface0;
}
.inno_toolbar_button_menu, .dashboard_gadgets,
#reader_pane .info_state, .dashboard_gadgets .content,
.inno_dialog_modal .info_state, .library_section_main_article,
.preferences_interface_helper, .library_secondary_article,
.sub_folder { .library_section_list_articles {
background-color: @mantle; background-color: @mantle;
color: @text; }
}
#profile_menu_themes_wrapper { #header_pane,
display: none; .search_context_dropdown.open {
} background-color: @mantle !important;
color: @text;
}
#sb_reading_part, .dropdown-menu,
#wraper.tree_pane_docked #sb_tree_part { .ino-autocomplete {
box-shadow: none; background-color: @mantle;
} }
.whitebutton { .dropdown-menu .dropdown-header {
background-color: @base; color: @text;
color: @text; }
border-color: @surface0;
}
.bluebutton { .dropdown-menu .dropdown-item,
background-color: @accent-color; a:visited {
color: @crust; color: @subtext0;
border-style: none; }
}
.icon_green { .dropdown-menu .dropdown-item:hover,
color: @green; .dropdown-menu .dropdown-item:focus,
} #tree_pane .parent_div_inner:hover,
#tree_pane .parent_div_inner:active,
#tree_pane .parent_div_inner:focus,
.search_context_dropdown.open .search_context_filter:hover,
.nav.nav-hover .nav-item:hover,
.lang_bubble:hover,
#tabs_pane .toggle_sidebar_btn i {
background-color: @surface0;
}
.reader_pane_view_style_0 .article_unreaded:hover, .dropdown-menu .dropdown-item:active {
.reader_pane_view_style_2 .article_unreaded:hover, background-color: @surface0;
.reader_pane_view_style_2 .article:hover, color: @accent-color;
.sd .share_wrapper .icon16:hover, }
.pricing_feature_row:nth-child(odd),
.pricing_table_row .pricing_table_leftmost_cell {
background-color: @surface0;
}
.add_content_simulated_button_menu, .dropdown-menu .dropdown-item.active,
.profile_menu_plan_badge { #tree_pane .parent_div_inner_selected,
background-color: @surface0; #tree_pane .parent_div_inner_selected:hover,
border-color: @surface0; #tree_pane .parent_div_inner_selected a,
color: @text; .search_context_dropdown.open .search_context_filter.active,
} .nav.nav-hover .active-url,
.lang_bubble.lang_bubble_current {
background-color: @surface1;
color: @accent-color;
}
.catalog_follow_featured_collection, .btn.btn-outline-text {
.catalog_sub_section_title, color: @text;
.search_feed_wrapper { border-color: @subtext0;
border-color: @surface0; }
}
.pricing_teams_hero { .btn.btn-primary,
background-color: @surface0; .btn.btn-primary:hover {
background-image: none; color: @text;
} background-color: @accent-color;
border-color: @accent-color;
}
.parent_div_inner:hover, .dropdown-menu-active,
.inno_toolbar_button_menu_item:hover, .btn.btn-outline-text:hover {
.preferences_profile_wrapper, color: @text;
code, border-color: @subtext0;
pre { background-color: @surface0;
background-color: @surface0; }
color: @text;
}
.preferences_profile_plan_wrapper,
.st_subheader,
.catalog_sub_section_tab.catalog_sub_section_tab_current,
.catalog_sub_section_tab:hover {
background: @surface1;
color: @text;
}
.article_footer .article_footer_main_buttons .article_footer_buttons:hover, input[type="text"]:focus,
.article_footer input[type="checkbox"]:focus + label,
.article_footer_main_buttons input[type="checkbox"]:active + label,
.article_footer_buttons_current, input[type="button"]:focus,
.article_footer .icon-article_topbar_more_menu:hover, input[type="button"]:active,
.st_header, textarea:focus,
input[type="radio"].filter_radio:checked + label, select:focus,
input[type="checkbox"].filter_radio:checked + label { button:focus,
background-color: @surface2; input[type="password"]:focus,
color: @text; input[type="email"]:focus {
} box-shadow: 0 0 3px @accent-color !important;
border-color: @accent-color !important;
}
.normal_dim { input[type="text"],
color: @subtext1; input[type="number"],
} input[type="password"],
select,
textarea {
background-color: @base !important;
color: @text !important;
border-color: @subtext0;
}
.parent_div_inner_selected, .graylink_darker,
#preferences_header, .article_short_contents {
.add_content_simulated_button_menu_line_item:hover { color: @subtext0;
background-color: @accent-color; }
color: @mantle;
}
#preferences_header .icon16, div.article_magazine.article_current,
#preferences_dialog_close_button span.icon16 { div.article_magazine.article_bulk_selected {
color: @mantle; box-shadow: 0 0 0 1px @subtext0;
} }
.view_style_2 #reader_pane .ar.article_current_3way,
.view_style_2 #reader_pane .ar.article_expanded {
box-shadow: none;
border-color: @text;
}
.article_tile.article_unreaded.article_expanded { .article_magazine_content {
background-color: @base; color: @overlay0;
box-shadow: }
0 1px 8px @mantle,
0 1px 3px @mantle;
}
div.article_current_3way { .article_magazine_title {
box-shadow: color: @overlay1;
inset 0 0 0 1 @accent-color, }
inset 5px 0 0 0 @accent-color;
}
div.article_tile.article_expanded { .inno_dialog_modal_overlay {
border-color: @mantle; background-color: @overlay2;
} }
.article_footer_placeholder_top .article_footer, .subscriptions_legend,
.inno_tabs_header, .preferences_main_button_icon span,
.gadget_overview_feed { a.bluelink:link,
border-color: @surface2; .bluelink,
} .inno_tabs_tab_current,
.inno_tabs_tab_current:hover,
.inno_toolbar_button_menu_item_inactive .inno_toolbar_button_menu_icon,
.inno_toolbar_button_menu_icon,
#preferences_subscriptions_table span.icon_active,
.text-primary,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current a:link,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current a:active,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current a:visited {
color: @accent-color !important;
}
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active, #new_articles_overlay {
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover { color: @accent-color;
color: @accent-color; background-color: @base;
background-color: @base; }
border-color: @accent-color;
}
.inno_tabs_tab:hover { input.apple-switch:checked {
color: @accent-color; background-color: @accent-color;
border-color: @accent-color; border-color: @accent-color;
} }
.add_content_simulated_button.expanded {
background-color: @surface0;
box-shadow: inset 0 -1px 0 0 @accent-color;
}
.inno_toolbar_button_menu,
#reader_pane .info_state,
.inno_dialog_modal .info_state,
.preferences_interface_helper,
.sub_folder {
background-color: @mantle;
color: @text;
}
#profile_menu_themes_wrapper {
display: none;
}
#sb_reading_part,
#wraper.tree_pane_docked #sb_tree_part {
box-shadow: none;
}
.whitebutton {
background-color: @base;
color: @text;
border-color: @surface0;
}
.bluebutton,
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1) {
background-color: @accent-color;
color: @crust;
border-style: none;
}
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled {
background-color: @accent-color;
border-color: @accent-color;
}
.inno_dialog_buttonbar_button {
background-color: @base;
color: @text;
}
.icon_green {
color: @green;
}
.reader_pane_view_style_0 .article_unreaded:hover,
.reader_pane_view_style_2 .article_unreaded:hover,
.reader_pane_view_style_2 .article:hover,
.sd .share_wrapper .icon16:hover,
.pricing_feature_row:nth-child(odd),
.pricing_table_row .pricing_table_leftmost_cell,
.article_footer .share_wrapper:hover {
background-color: @surface0;
}
.add_content_simulated_button_menu,
.profile_menu_plan_badge {
background-color: @surface0;
border-color: @surface0;
color: @text;
}
.catalog_follow_featured_collection,
.catalog_sub_section_title,
.search_feed_wrapper{
border-color: @surface0;
}
.border-bottom,
.header-shadow {
border-color: @text;
}
.pricing_teams_hero {
background-color: @surface0;
background-image: none;
}
.parent_div_inner:hover,
.inno_toolbar_button_menu_item:hover,
.preferences_profile_wrapper,
code,
pre {
background-color: @surface0;
color: @text;
}
.preferences_profile_plan_wrapper,
.st_subheader,
.catalog_sub_section_tab.catalog_sub_section_tab_current,
.catalog_sub_section_tab:hover {
background: @surface1;
color: @text;
}
.article_footer .article_footer_main_buttons .article_footer_buttons:hover,
.article_footer .article_footer_main_buttons .article_footer_buttons_current,
.article_footer .icon-article_topbar_more_menu:hover,
.st_header,
input[type="radio"].filter_radio:checked + label,
input[type="checkbox"].filter_radio:checked + label {
background-color: @surface2;
color: @text;
}
input[type="checkbox"].form-check-input:checked,
input[type="radio"].form-check-input:checked {
background-color: @accent-color;
border-color: @accent-color;
}
.normal_dim {
color: @subtext1;
}
.parent_div_inner_selected,
#preferences_header,
#tabs_pane,
.add_content_simulated_button_menu_line_item:hover {
background-color: @accent-color;
color: @mantle;
}
#preferences_header .icon16,
#preferences_dialog_close_button span.icon16 {
color: @mantle;
}
.article_tile.article_unreaded.article_expanded {
background-color: @base;
box-shadow: 0 1px 8px @mantle,
0 1px 3px @mantle;
}
div.article_current_3way {
box-shadow: inset 0 0 0 1 @accent-color,
inset 5px 0 0 0 @accent-color;
}
div.article_tile.article_expanded {
border-color: @mantle;
}
.article_footer_placeholder_top .article_footer,
.inno_tabs_header,
.gadget_overview_feed {
border-color: @surface2;
}
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active,
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover {
color: @accent-color;
background-color: @base;
border-color: @accent-color;
}
.inno_tabs_tab:hover {
color: @accent-color;
border-color: @accent-color;
}
} }
} }