fix(google-drive): applicator selectors (#1674)

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
WalkQuackBackanduncenter authored and GitHub committed 2025-03-26 14:52:09 -04:00
1 parent d2f5a3392a
commit 61c0c5b8af
2 files changed
+13 -14

No files matched your search

+3 -1
View File
@@ -123,6 +123,8 @@ collaborators:
url: https://github.com/pynappo
- &nuexq
url: https://github.com/nuexq
- &WalkQuackBack
url: https://github.com/WalkQuackBack
userstyles:
advent-of-code:
@@ -381,7 +383,7 @@ userstyles:
color: blue
readme:
app-link: https://drive.google.com
current-maintainers: [*r58Playz]
current-maintainers: [*r58Playz, *WalkQuackBack]
google-photos:
name: Google Photos
categories: [photo_and_video]
+10 -13
View File
@@ -16,18 +16,15 @@
==/UserStyle== */
@-moz-document domain("drive.google.com") {
:root:has(.KkxPLb) {
.vhoiae.vhoiae.vhoiae,
& {
#catppuccin(@lightFlavor);
}
}
:root:has(.LgGVmb) {
.vhoiae.vhoiae.vhoiae,
& {
#catppuccin(@darkFlavor);
}
}
.vhoiae {
&.KkxPLb {
#catppuccin(@lightFlavor);
}
&.LgGVmb, .yYWAMb.bvmRsc, .dif24c.bvmRsc {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@@ -58,7 +55,7 @@
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@flavor = latte, light, dark);
// Color scheme is already set by Google Drive; setting it here causes bugs, and there are no known side effects as Google does not use native UI elements (which would reflect `color-scheme` state and cause potential issues).
::selection {
background-color: fade(@accent, 30%);