From 6fd5df4b277d891da8f9fe1a09522d6269d70569 Mon Sep 17 00:00:00 2001 From: amelia katherine <32780515+night-lake@users.noreply.github.com> Date: Fri, 27 Oct 2023 08:38:27 +0300 Subject: [PATCH] fix(planet-minecraft): better servers page (#278) --- styles/planet-minecraft/catppuccin.user.css | 81 ++++++++++++++++++--- 1 file changed, 70 insertions(+), 11 deletions(-) diff --git a/styles/planet-minecraft/catppuccin.user.css b/styles/planet-minecraft/catppuccin.user.css index 80fdc176..a40fafda 100644 --- a/styles/planet-minecraft/catppuccin.user.css +++ b/styles/planet-minecraft/catppuccin.user.css @@ -2,7 +2,7 @@ @name Planet Minecraft Catppuccin @namespace github.com/catppuccin/userstyles/styles/planet-minecraft @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/planet-minecraft -@version 0.0.1 +@version 0.0.3 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/planet-minecraft/catppuccin.user.css @description Soothing pastel theme for Planet Minecraft @author Catppuccin @@ -176,6 +176,7 @@ --a-visited: @catppuccin[@@lookup][@@accent]; --nav-bar-border: none; --feed-alt-bg: @catppuccin[@@lookup][@surface1]; + --nav-selected: @catppuccin[@@lookup][@@accent]; } .tab_options > ul > li.currentpage, @@ -196,7 +197,6 @@ .site_btn, .site_btn_alt, #subscribe_full .site_btn, - .content-actions li, .pagination p a.pagination_page, .pagination p > span.pagination_page, .vert_menu > ul > li:only-child > a.current_select, @@ -208,15 +208,6 @@ } } - .content-actions li { - color: @catppuccin[@@lookup][@base]; - background: @catppuccin[@@lookup][@@accent]; - &:not(:only-child):not(:first-child):hover { - color: @catppuccin[@@lookup][@base]; - background: fade(@catppuccin[@@lookup][@@accent], 80%); - } - } - #profile-bar #profile-actions .togglable.selected { background: @catppuccin[@@lookup][@@accent]; color: @catppuccin[@@lookup][@base]; @@ -344,6 +335,67 @@ } } + .content-actions li:not(:only-child):not(:first-child) { + border-top: none; + } + + & when (@lookup = latte) { + .content-actions li { + background: @catppuccin[@@lookup][@surface0]; + + & a, + .link, + .js_link, + .js_link_m { + color: @catppuccin[@@lookup][@text]; + } + } + + .content-actions li .js_link:hover, + .content-actions li .js_link_m:hover, + .content-actions li .link:hover, + .content-actions li a:hover { + & .material-icons { + color: @catppuccin[@@lookup][@text] !important; + } + + color: @catppuccin[@@lookup][@text] !important; + background: @catppuccin[@@lookup][@@accent] !important; + } + + .content-actions li .material-icons { + color: @catppuccin[@@lookup][@subtext0] !important; + } + } + + & when not (@lookup = latte) { + .content-actions li { + background: @catppuccin[@@lookup][@surface0]; + + & a, + .link, + .js_link, + .js_link_m { + color: @catppuccin[@@lookup][@text]; + } + } + + .content-actions li .js_link:hover, + .content-actions li .js_link_m:hover, + .content-actions li .link:hover, + .content-actions li a:hover { + & .material-icons { + color: @catppuccin[@@lookup][@@accent] !important; + } + color: @catppuccin[@@lookup][@@accent] !important; + background: @catppuccin[@@lookup][@surface1] !important; + } + + .content-actions li .material-icons { + color: @catppuccin[@@lookup][@subtext0] !important; + } + } + .tipso_content, .member_profile_card_right { background: @catppuccin[@@lookup][@surface0]; @@ -387,6 +439,13 @@ #content_notice .site_btn_alt { text-shadow: none; } + + .custom_input:focus, + input:focus, + select:focus, + textarea:focus { + border: 1px solid @catppuccin[@@lookup][@@accent]; + } } [data-theme="light"] {