style: format code with prettier

This commit is contained in:
github-actions committed 2024-05-06 02:52:11 +00:00
1 parent c6ae0c0e10
commit 62907ecd82
1 file changed
+86 -47
+86 -47
View File
@@ -17,12 +17,14 @@
@-moz-document domain('drive.google.com') {
:root:has(.KkxPLb) {
.vhoiae.vhoiae.vhoiae, & {
.vhoiae.vhoiae.vhoiae,
& {
#catppuccin(@lightFlavor, @accentColor);
}
}
:root:has(.LgGVmb) {
.vhoiae.vhoiae.vhoiae, & {
.vhoiae.vhoiae.vhoiae,
& {
#catppuccin(@darkFlavor, @accentColor);
}
}
@@ -84,11 +86,16 @@
--dt-inverse-on-surface: @surface0;
--dt-surface: @base;
--dt-surface-tint: @accent-color;
--dt-shadow-elevation-1: 0px 3px 1px -2px fade(@base,20%),0px 2px 2px 0px fade(@base,14%),0px 1px 5px 0px fade(@base,12%);
--dt-shadow-elevation-2: 0px 2px 4px -1px fade(@base,20%),0px 4px 5px 0px fade(@base,14%),0px 1px 10px 0px fade(@base,12%);
--dt-shadow-elevation-3: 0px 5px 5px -3px fade(@base,20%),0px 8px 10px 1px fade(@base,14%),0px 3px 14px 2px fade(@base,12%);
--dt-shadow-elevation-4: 0px 5px 5px -3px fade(@base,20%),0px 8px 10px 1px fade(@base,14%),0px 3px 14px 2px fade(@base,12%);
--dt-shadow-elevation-5: 0px 8px 10px -6px fade(@base,20%),0px 16px 24px 2px fade(@base,14%),0px 6px 30px 5px fade(@base,12%);
--dt-shadow-elevation-1: 0px 3px 1px -2px fade(@base, 20%),
0px 2px 2px 0px fade(@base, 14%), 0px 1px 5px 0px fade(@base, 12%);
--dt-shadow-elevation-2: 0px 2px 4px -1px fade(@base, 20%),
0px 4px 5px 0px fade(@base, 14%), 0px 1px 10px 0px fade(@base, 12%);
--dt-shadow-elevation-3: 0px 5px 5px -3px fade(@base, 20%),
0px 8px 10px 1px fade(@base, 14%), 0px 3px 14px 2px fade(@base, 12%);
--dt-shadow-elevation-4: 0px 5px 5px -3px fade(@base, 20%),
0px 8px 10px 1px fade(@base, 14%), 0px 3px 14px 2px fade(@base, 12%);
--dt-shadow-elevation-5: 0px 8px 10px -6px fade(@base, 20%),
0px 16px 24px 2px fade(@base, 14%), 0px 6px 30px 5px fade(@base, 12%);
--dt-surface-container-lowest: @crust;
--dt-surface-container-low: @mantle;
--dt-surface-container: @surface0;
@@ -186,7 +193,6 @@
--dt-light-warning-banner-button: @yellow;
--dt-light-error-banner-button: @red;
--gm3-sys-color-background: @base;
--gm3-sys-color-background-rgb: #rgbify(@base) [];
--gm3-sys-color-error: @red;
@@ -196,7 +202,7 @@
--gm3-sys-color-inverse-on-surface: @surface0;
--gm3-sys-color-inverse-on-surface-rgb: #rgbify(@surface0) [];
--gm3-sys-color-inverse-primary: red;
--gm3-sys-color-inverse-primary-rgb: 255,0,0;
--gm3-sys-color-inverse-primary-rgb: 255, 0, 0;
--gm3-sys-color-inverse-surface: @text;
--gm3-sys-color-inverse-surface-rgb: #rgbify(@text) [];
--gm3-sys-color-on-background: @text;
@@ -250,9 +256,9 @@
--gm3-sys-color-secondary-container: @surface0;
--gm3-sys-color-secondary-container-rgb: #rgbify(@surface0) [];
--gm3-sys-color-secondary-fixed: #c2e7ff;
--gm3-sys-color-secondary-fixed-rgb: 194,231,255;
--gm3-sys-color-secondary-fixed-rgb: 194, 231, 255;
--gm3-sys-color-secondary-fixed-dim: #7fcfff;
--gm3-sys-color-secondary-fixed-dim-rgb: 127,207,255;
--gm3-sys-color-secondary-fixed-dim-rgb: 127, 207, 255;
--gm3-sys-color-surface: @base;
--gm3-sys-color-surface-rgb: #rgbify(@base) [];
--gm3-sys-color-surface-bright: @base;
@@ -282,8 +288,6 @@
--gm3-sys-color-tertiary-fixed-dim: @accent-color;
--gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent-color) [];
& when (@lookup = latte) {
--dt-scrim: fade(@text, 50%);
--dt-scrim-2x: fade(@text, 50%);
@@ -303,7 +307,12 @@
}
/* Settings menu title & back button */
.gb_Pc svg, .gb_Uc.gb_Zc svg, .gb_Pc .gb_gd .gb_od, .gb_Pc .gb_gd .gb_Oc, .gb_Pc .gb_gd .gb_id, .gb_Uc.gb_Zc .gb_od {
.gb_Pc svg,
.gb_Uc.gb_Zc svg,
.gb_Pc .gb_gd .gb_od,
.gb_Pc .gb_gd .gb_Oc,
.gb_Pc .gb_gd .gb_id,
.gb_Uc.gb_Zc .gb_od {
color: @text !important;
}
@@ -313,12 +322,17 @@
}
/* Drive sync checkbox disabled */
.MlG5Jc gm-checkbox[disabled]~.VfPpkd-ga, .MlG5Jc gm-radio[disabled]~.VfPpkd-ga, .MlG5Jc .VfPpkd-Qa-Qu-db~.VfPpkd-ga, .MlG5Jc .VfPpkd-Eg-Qu-db~.VfPpkd-ga {
.MlG5Jc gm-checkbox[disabled] ~ .VfPpkd-ga,
.MlG5Jc gm-radio[disabled] ~ .VfPpkd-ga,
.MlG5Jc .VfPpkd-Qa-Qu-db ~ .VfPpkd-ga,
.MlG5Jc .VfPpkd-Eg-Qu-db ~ .VfPpkd-ga {
color: @subtext0 !important;
}
/* Quota hover box-shadow */
.KnDsIf:hover, .KnDsIf:focus, .al9hA {
.KnDsIf:hover,
.KnDsIf:focus,
.al9hA {
box-shadow: 0 2px 6px @overlay0;
}
@@ -341,7 +355,8 @@
.gb_Ea.gb_i {
border-color: @overlay0;
}
.gb_Ea.gb_i:focus, .gb_Ea.gb_i:hover {
.gb_Ea.gb_i:focus,
.gb_Ea.gb_i:hover {
border-color: @subtext0;
}
@@ -381,16 +396,20 @@
.IyROMc-euCgFf-LJSvSb,
.ae-c /* File preview (in Drive) share icon */ {
& when (@lookup = latte) {
filter: brightness(0) invert(97%) sepia(4%) saturate(152%) hue-rotate(183deg) brightness(94%) contrast(106%);
filter: brightness(0) invert(97%) sepia(4%) saturate(152%)
hue-rotate(183deg) brightness(94%) contrast(106%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%) hue-rotate(192deg) brightness(98%) contrast(85%);
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%)
hue-rotate(192deg) brightness(98%) contrast(85%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(13%) sepia(26%) saturate(823%) hue-rotate(195deg) brightness(90%) contrast(92%);
filter: brightness(0) invert(13%) sepia(26%) saturate(823%)
hue-rotate(195deg) brightness(90%) contrast(92%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(10%) sepia(36%) saturate(650%) hue-rotate(201deg) brightness(90%) contrast(93%);
filter: brightness(0) invert(10%) sepia(36%) saturate(650%)
hue-rotate(201deg) brightness(90%) contrast(93%);
}
}
/* File preview (separate tab) share triangle */
@@ -424,16 +443,20 @@
.IyROMc-euCgFf-LJSvSb,
.ba-ea-i /* File preview (in Drive) share Quick options row icon */ {
& when (@lookup = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(196deg) brightness(90%) contrast(86%);
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(192deg) brightness(104%) contrast(92%);
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(193deg) brightness(99%) contrast(94%);
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(192deg) brightness(98%) contrast(95%);
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
}
}
@@ -450,16 +473,20 @@
.a-b-K-zc-Eb-bg-a-c /* File preview (in Drive) Save to drive */,
.a-b-K-X-c /* File preview (in Drive) Save to drive (clicked) */ {
& when (@lookup = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(196deg) brightness(90%) contrast(86%);
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(192deg) brightness(104%) contrast(92%);
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(193deg) brightness(99%) contrast(94%);
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(192deg) brightness(98%) contrast(95%);
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
}
/* File preview (separate tab) File title */
@@ -493,16 +520,20 @@
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c,
.a-b-x-rb-d-c /* File preview (in Drive) No preview available Download icon */ {
& when (@lookup = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(196deg) brightness(90%) contrast(86%);
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(192deg) brightness(104%) contrast(92%);
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(193deg) brightness(99%) contrast(94%);
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(192deg) brightness(98%) contrast(95%);
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
}
}
@@ -525,10 +556,14 @@
[role="tooltip"],
.Kk7lMc-Ca /* Drive applications sidebar tooltip */ {
background-color: @surface2;
*, & {color: @text !important;};
*,
& {
color: @text !important;
}
border-color: transparent;
/* File preview (separate tab) tooltip arrow */
.tk3N6e-suEOdc-jQ8oHc, .tk3N6e-suEOdc-ez0xG {
.tk3N6e-suEOdc-jQ8oHc,
.tk3N6e-suEOdc-ez0xG {
border-color: @surface2 transparent !important;
}
}
@@ -542,18 +577,22 @@
}
/* Drive applications sidebar get addons */
.Yb-Il-d#qJTzr .Yb-Il-d-c-j {
& when (@lookup = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(196deg) brightness(90%) contrast(86%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(192deg) brightness(104%) contrast(92%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(193deg) brightness(99%) contrast(94%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(192deg) brightness(98%) contrast(95%);
}
& when (@lookup = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
& when (@lookup = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
& when (@lookup = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
& when (@lookup = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
}
/* Drive applications sidebar close button white background */
.Yb-Il-d-c-Nd {