style: 调整UI样式细节并统一圆角变量使用

1. 注释掉全局和布局的边框圆角、边框样式
2. 给标题栏圆点按钮统一使用radius-sm变量
3. 为卡片项添加右侧外边距
This commit is contained in:
Yuhang Wu 2026-08-25 10:04:21 +08:00
parent 3ce9735cda
commit c45e8b0d43
5 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
border-radius: 10px; /* border-radius: 10px; */
} }
</style> </style>
</head> </head>

View File

@ -25,7 +25,7 @@ const isMacos = navigator.userAgent.includes("Mac OS X")
height: 100vh; height: 100vh;
background: var(--color-window-bg); background: var(--color-window-bg);
backdrop-filter: blur(20px); backdrop-filter: blur(20px);
border: 1px solid var(--color-border); // border: 1px solid var(--color-border);
:deep(.n-layout) { :deep(.n-layout) {
background: transparent; background: transparent;

View File

@ -53,7 +53,7 @@ function close() {
width: 12px; width: 12px;
height: 12px; height: 12px;
padding: 0; padding: 0;
border-radius: 50%; border-radius: var(--radius-sm);
border: 0.5px solid rgba(0, 0, 0, 0.15); border: 0.5px solid rgba(0, 0, 0, 0.15);
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -51,7 +51,7 @@ function close() {
.dot { .dot {
width: 8px; width: 8px;
height: 8px; height: 8px;
border-radius: 50%; border-radius: var(--radius-sm);
background: var(--color-accent-gradient); background: var(--color-accent-gradient);
} }
} }

View File

@ -336,6 +336,7 @@ onMounted(() => {
box-shadow: var(--shadow-card); box-shadow: var(--shadow-card);
cursor: pointer; cursor: pointer;
transition: color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; transition: color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
margin-right: 10px;
&:hover { &:hover {
color: var(--color-accent); color: var(--color-accent);