add 增加系统圆角配置,并将部分圆角样式改为使用变量

This commit is contained in:
lau
2026-04-01 23:41:44 +08:00
parent 38c67fba25
commit 029eb6636c
16 changed files with 55 additions and 27 deletions

View File

@@ -210,7 +210,7 @@ html.dark #app .topbar-menu.el-menu--horizontal > .el-sub-menu.is-active > .el-s
.topbar-menu-popper.el-popper {
border: none !important;
border-radius: 18px !important;
border-radius: var(--app-radius-base) !important;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
@@ -224,7 +224,7 @@ html.dark #app .topbar-menu.el-menu--horizontal > .el-sub-menu.is-active > .el-s
min-width: 188px;
padding: 10px !important;
border: 1px solid rgba(148, 163, 184, 0.14);
border-radius: 18px;
border-radius: var(--app-radius-base);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
box-shadow:
0 18px 40px rgba(15, 23, 42, 0.12),

View File

@@ -296,7 +296,7 @@ defineExpose({
:deep(.el-input__wrapper) {
min-height: 52px;
border-radius: 16px;
border-radius: var(--app-radius-base);
}
:deep(.highlight) {
@@ -332,7 +332,7 @@ defineExpose({
min-height: 56px;
margin-bottom: 6px;
padding: 10px 12px;
border-radius: 16px;
border-radius: var(--app-radius-base);
cursor: pointer;
transition:
background-color 0.18s ease,
@@ -455,5 +455,4 @@ kbd {
line-height: 1;
box-shadow: inset 0 -1px 0 var(--app-surface-border);
}
</style>