style(canvas): 工具栏按钮去青色改紫色主题,统一高度和悬浮细节
This commit is contained in:
@@ -1067,8 +1067,13 @@ const saveLabel = computed(() => ({
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
/* ===== 画布:玻璃拟态全屏工作台(随站点明暗主题走变量) ===== */
|
/* ===== 画布:玻璃拟态全屏工作台(随站点明暗主题走变量) ===== */
|
||||||
.cv-btn {
|
.cv-btn {
|
||||||
padding: 5px 11px;
|
display: inline-flex;
|
||||||
border-radius: 9px;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 5px;
|
||||||
|
height: 30px;
|
||||||
|
padding: 0 12px;
|
||||||
|
border-radius: 10px;
|
||||||
border: 1px solid var(--ink-soft);
|
border: 1px solid var(--ink-soft);
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
-webkit-backdrop-filter: blur(10px);
|
||||||
@@ -1076,6 +1081,7 @@ const saveLabel = computed(() => ({
|
|||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
line-height: 1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
box-shadow: var(--glass-shadow);
|
box-shadow: var(--glass-shadow);
|
||||||
@@ -1083,10 +1089,12 @@ const saveLabel = computed(() => ({
|
|||||||
}
|
}
|
||||||
.cv-btn:hover:not(:disabled) {
|
.cv-btn:hover:not(:disabled) {
|
||||||
background: var(--hover);
|
background: var(--hover);
|
||||||
border-color: rgb(124 92 252 / 0.4);
|
border-color: rgb(124 92 252 / 0.45);
|
||||||
|
box-shadow: 0 4px 14px var(--accent-glow);
|
||||||
|
transform: translateY(-1px);
|
||||||
}
|
}
|
||||||
.cv-btn:active:not(:disabled) {
|
.cv-btn:active:not(:disabled) {
|
||||||
transform: translateY(1px);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
.cv-btn:disabled {
|
.cv-btn:disabled {
|
||||||
opacity: 0.45;
|
opacity: 0.45;
|
||||||
@@ -1094,14 +1102,18 @@ const saveLabel = computed(() => ({
|
|||||||
}
|
}
|
||||||
.cv-btn--danger:hover:not(:disabled) {
|
.cv-btn--danger:hover:not(:disabled) {
|
||||||
background: #ffb4ab;
|
background: #ffb4ab;
|
||||||
|
border-color: #e5484d;
|
||||||
|
box-shadow: 0 4px 14px rgb(229 72 77 / 0.25);
|
||||||
}
|
}
|
||||||
.cv-btn--accent {
|
.cv-btn--accent {
|
||||||
background: rgb(34 211 238 / 0.16);
|
background: linear-gradient(120deg, rgb(124 92 252 / 0.16), rgb(168 85 247 / 0.14));
|
||||||
border-color: rgb(34 211 238 / 0.4);
|
border-color: rgb(124 92 252 / 0.42);
|
||||||
|
color: var(--m-orange);
|
||||||
}
|
}
|
||||||
.cv-btn--accent:hover:not(:disabled) {
|
.cv-btn--accent:hover:not(:disabled) {
|
||||||
background: rgb(52 211 153 / 0.16);
|
background: linear-gradient(120deg, rgb(124 92 252 / 0.26), rgb(168 85 247 / 0.22));
|
||||||
border-color: rgb(52 211 153 / 0.4);
|
border-color: rgb(124 92 252 / 0.62);
|
||||||
|
box-shadow: 0 4px 16px var(--accent-glow);
|
||||||
}
|
}
|
||||||
.cv-select,
|
.cv-select,
|
||||||
.cv-input {
|
.cv-input {
|
||||||
|
|||||||
Reference in New Issue
Block a user