Skip to content

Commit

Permalink
perf: 调整 rz 上传对话的 css 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Apr 10, 2024
1 parent 5bdd65a commit 96870e9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/Terminal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:close-on-press-escape="false"
:close-on-click-modal="false"
:show-close="false"
center>
align-center>
<el-row type="flex" justify="center">
<el-upload drag action="#" :auto-upload="false" :multiple="false" ref="upload"
:on-change="handleFileChange">
Expand Down
28 changes: 28 additions & 0 deletions ui/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,34 @@ body ::-webkit-scrollbar-thumb {
padding-top: 10px!important;
}

.el-upload-dragger{
background-color: #3f3d3d;
}

.el-upload-dragger:hover{
border-color: rgb(134, 133, 133);
}

.el-upload-dragger .el-upload__text {
color: #fff;
}

.el-dialog__footer .el-button {
color: rgb(0, 0, 0, 0.5);
background: #f0f0f0;
border-color: #f0f0f0;
}

.el-dialog__footer .el-button:hover {
background: rgb(134, 133, 133);
border-color: rgb(134, 133, 133);
}

.el-dialog__footer .el-button.is-disabled:hover{
color: rgb(0, 0, 0, 0.5);
background: none;
}

.menu-list li {
cursor: pointer;
}
Expand Down

0 comments on commit 96870e9

Please sign in to comment.