mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 14:39:21 +08:00
perf: 优化样式
This commit is contained in:
parent
35110c413a
commit
4448bc0a96
@ -45,7 +45,6 @@ img {
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 2px;
|
||||
background-color: var(--bl-scrollbar-color);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
|
@ -5,6 +5,16 @@
|
||||
--el-dialog-box-shadow: var(--bl-dialog-box-shadow) !important;
|
||||
}
|
||||
|
||||
// 更大的 header close 按钮
|
||||
.bl-dialog-bigger-headerbtn {
|
||||
.el-dialog__headerbtn {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// 无 header
|
||||
.bl-dialog-hidden-header {
|
||||
.el-dialog__header {
|
||||
display: none !important;
|
||||
@ -14,16 +24,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.bl-dialog-bigger-headerbtn {
|
||||
.el-dialog__headerbtn {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// 固定 body 长度
|
||||
.bl-dialog-fixed-body {
|
||||
.el-dialog__body {
|
||||
height: calc(100% - 10px);
|
||||
}
|
||||
}
|
||||
|
||||
// 无 header 且固定 body 长度
|
||||
.bl-dialog-hidden-header-fixed-body {
|
||||
.el-dialog__header {
|
||||
display: none !important;
|
||||
}
|
||||
.el-dialog__headerbtn {
|
||||
display: none;
|
||||
}
|
||||
.el-dialog__body {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
.el-notification {
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
border-radius: 2px !important;
|
||||
border: 2px solid var(--el-color-primary-light-5) !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user