diff --git a/templates/index.html b/templates/index.html index 79b2781..f89ed54 100644 --- a/templates/index.html +++ b/templates/index.html @@ -37,9 +37,29 @@ border-radius: 20px; } - .el-card { - border-radius: 20px; + @media (prefers-color-scheme: dark) { + + body { + background-color: #18181c; + } + + .el-card, .el-button, .el-textarea__inner, .el-upload-dragger { + border-radius: 20px; + border: 1px solid transparent; + background-color: rgba(255, 255, 255, 0.1); + box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.2); + } + + * { + color: #ccc !important; + } + + .el-input-group__prepend, .el-input__inner, .el-input-group__append, .el-drawer, #el-drawer__title, .el-empty__description, .el-select-dropdown { + border: 1px solid transparent; + background-color: rgba(0, 0, 0, 0.1); + } } + @@ -47,7 +67,7 @@
- + @@ -196,29 +216,27 @@ :visible.sync="jiDrawer" :direction="direction" size="50%"> - - - - - - - - ${ file.name } - - - 取件码: -

- ${ file.code } -

-
-
-
- - 二维码 - -
-
+ + + + + + + ${ file.name } + + + 取件码: +

+ ${ file.code } +

+
+
+
+ + 二维码 + +