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 url: https://github.com/pynappo
- &nuexq - &nuexq
url: https://github.com/nuexq url: https://github.com/nuexq
- &WalkQuackBack
url: https://github.com/WalkQuackBack
userstyles: userstyles:
advent-of-code: advent-of-code:
@@ -381,7 +383,7 @@ userstyles:
color: blue color: blue
readme: readme:
app-link: https://drive.google.com app-link: https://drive.google.com
current-maintainers: [*r58Playz] current-maintainers: [*r58Playz, *WalkQuackBack]
google-photos: google-photos:
name: Google Photos name: Google Photos
categories: [photo_and_video] categories: [photo_and_video]
+10 -13
View File
@@ -16,18 +16,15 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("drive.google.com") { @-moz-document domain("drive.google.com") {
:root:has(.KkxPLb) { .vhoiae {
.vhoiae.vhoiae.vhoiae, &.KkxPLb {
& { #catppuccin(@lightFlavor);
#catppuccin(@lightFlavor); }
}
} &.LgGVmb, .yYWAMb.bvmRsc, .dif24c.bvmRsc {
:root:has(.LgGVmb) { #catppuccin(@darkFlavor);
.vhoiae.vhoiae.vhoiae, }
& { }
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@@ -58,7 +55,7 @@
@crust: @catppuccin[@@flavor][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor]; @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 { ::selection {
background-color: fade(@accent, 30%); background-color: fade(@accent, 30%);