Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix staff dashboard dark banner

Manav Rathif513d003409c
diff --git a/infra/staff/src/App.css b/infra/staff/src/App.css
index f6ff9459f4..63d4de0256 100644
--- a/infra/staff/src/App.css
+++ b/infra/staff/src/App.css
@@ -25,7 +25,7 @@
margin-top: 90px;
padding: 20px;
border-radius: 10px;
- background-color: #fcfcfc;
+ background-color: light-dark(#fcfcfc, #1f1f1f);
}
.link-text {
@@ -62,6 +62,26 @@
background-color: #00b33c;
}
+@media (prefers-color-scheme: dark) {
+ .horizontal-group .MuiInputLabel-root {
+ color: rgb(255 255 255 / 70%);
+ }
+
+ .horizontal-group .MuiOutlinedInput-root {
+ color: rgb(255 255 255 / 87%);
+ }
+
+ .horizontal-group .MuiOutlinedInput-notchedOutline {
+ border-color: rgb(255 255 255 / 23%);
+ }
+
+ .horizontal-group
+ .MuiOutlinedInput-root:hover
+ .MuiOutlinedInput-notchedOutline {
+ border-color: rgb(255 255 255 / 87%);
+ }
+}
+
.content-container {
display: flex;
flex-direction: column;