From 9cb15546419e4b37c03e64cd19805237f487825d Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:14:27 -0400 Subject: [PATCH] fix(gmail): use less specific button styling selectors to apply to more buttons --- styles/gmail/catppuccin.user.css | 39 +++++++++++++++++++------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/styles/gmail/catppuccin.user.css b/styles/gmail/catppuccin.user.css index d58b9b5e14..e2cf353cad 100644 --- a/styles/gmail/catppuccin.user.css +++ b/styles/gmail/catppuccin.user.css @@ -109,6 +109,29 @@ color: @text; } + /* Buttons */ + /* Solid primary */ + .T-I-atl { + background-color: @accent-color; + color: @crust; + } + + /* Secondary */ + .bs0 > .acM, + .bti > .btg, + .a8Y > .T-I-ax7 { + color: @text; + + /* Disabled */ + &.acN { + color: @subtext0; + } + + &:hover::before { + background-color: @overlay2; + } + } + /* Header and sidebars */ .w-asV, .bkL, @@ -305,22 +328,6 @@ color: @text; } - /* Solid primary search button */ - .T-I-atl { - background-color: @accent-color; - color: @crust; - } - - /* Secondary create filter button */ - .bs0 > .acM, - .bti > .btg { - color: @text; - - &:hover::before { - background-color: @overlay2; - } - } - /* Primary not-solid add forwarding address button */ .l0 { color: @accent-color;