Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 1245262

Browse files
committed
Optimize: dark mode
1 parent 4b53784 commit 1245262

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

src/app/views/Install/index.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
<template>
66
<div class="contanier">
7+
<el-skeleton :rows="5" animated />
8+
<br />
9+
<el-skeleton :rows="8" animated />
10+
<br />
11+
<el-skeleton :rows="4" animated />
712
<div class="bg"></div>
813

914
<!-- <div class="panel-wrapper" v-if="step == -1">
@@ -196,8 +201,8 @@ export default {
196201
<style scoped>
197202
.bg {
198203
z-index: 998;
199-
background-color: rgb(228, 228, 228);
200204
position: fixed;
205+
backdrop-filter: blur(10px) brightness(0.5);
201206
top: 0px;
202207
left: 0px;
203208
right: 0px;
@@ -223,7 +228,6 @@ export default {
223228
}
224229
225230
.panel {
226-
background-color: white;
227231
min-height: 340px;
228232
width: 520px;
229233
transition: all 0.4s;

src/app/views/quickstart/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ export default {
325325
width: 100%;
326326
}
327327
.task-container {
328+
color: #767676;
328329
text-align: left;
329330
margin-top: 30px;
330331
width: 300px;

src/assets/css/dark-mode.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,18 @@
184184
background-color: #060606;
185185
}
186186

187-
.el-switch__label {
187+
.el-switch__label,.quick-title {
188188
color: #eeeeee
189189
}
190190

191191
.el-input-number__decrease,.el-input-number__increase{
192192
background-color: rgb(42, 42, 42)
193193
}
194+
195+
.el-dropdown-link:hover {
196+
background-color: unset!important;
197+
backdrop-filter: brightness(0.8)!important;
198+
}
194199
}
195200

196201
.dark {

src/components/SelectBlock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
3636
.box-card:hover {
3737
transform: scale(1.04);
38-
background-color: rgb(235, 235, 235);
38+
filter: brightness(0.89);
3939
border: 1px solid rgb(12, 88, 174);
4040
}
4141

0 commit comments

Comments
 (0)