diff --git a/blossom-editor/src/renderer/src/assets/css/main.css b/blossom-editor/src/renderer/src/assets/css/main.css index 0cd5f08..4d57f8c 100644 --- a/blossom-editor/src/renderer/src/assets/css/main.css +++ b/blossom-editor/src/renderer/src/assets/css/main.css @@ -45,7 +45,6 @@ img { ::-webkit-scrollbar-thumb { border-radius: 2px; background-color: var(--bl-scrollbar-color); - transition: 0.3s; } ::-webkit-scrollbar-thumb:hover { diff --git a/blossom-editor/src/renderer/src/assets/styles/bl-dialog.scss b/blossom-editor/src/renderer/src/assets/styles/bl-dialog.scss index 7fb0b41..9e3bc56 100644 --- a/blossom-editor/src/renderer/src/assets/styles/bl-dialog.scss +++ b/blossom-editor/src/renderer/src/assets/styles/bl-dialog.scss @@ -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%; + } +} diff --git a/blossom-editor/src/renderer/src/assets/styles/bl-notification.scss b/blossom-editor/src/renderer/src/assets/styles/bl-notification.scss index 740d52f..dc764e1 100644 --- a/blossom-editor/src/renderer/src/assets/styles/bl-notification.scss +++ b/blossom-editor/src/renderer/src/assets/styles/bl-notification.scss @@ -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; } \ No newline at end of file