fix: avoid extra url-prefix when possible (#354)

This commit is contained in:
uncenter authored and GitHub committed 2023-11-22 16:30:48 +00:00
1 parent 5ddffb6864
commit adb51775c0
3 files changed
+5 -11

No files matched your search

+3 -7
View File
@@ -12,8 +12,7 @@
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater*", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
@-moz-document url-prefix("https://mail.google.com")
{
@-moz-document domain("mail.google.com") {
:root {
#catppuccin(@flavor, @accentColor);
}
@@ -204,11 +203,8 @@
.yO {
background: @mantle !important;
&:hover {
box-shadow:
inset 1px 0 0 @surface0,
inset -1px 0 0 @surface0,
0 0 4px 0 @base,
0 0 6px 2px @base !important;
box-shadow: inset 1px 0 0 @surface0, inset -1px 0 0 @surface0,
0 0 4px 0 @base, 0 0 6px 2px @base !important;
}
}
/* quick text */