style: update border-radius and padding values across components

- standardize border-radius from 8px to 6px for consistent styling
- adjust padding values from 1rem to 0.75rem for better visual hierarchy
- remove redundant overflow-y properties for cleaner code
This commit is contained in:
sanbuphy
2026-02-14 20:23:34 +08:00
parent 81e4284b87
commit d35211071a
373 changed files with 3441 additions and 5629 deletions
@@ -156,7 +156,7 @@ const current = ref(modules[0])
.icon {
width: 28px;
height: 28px;
border-radius: 8px;
border-radius: 6px;
display: grid;
place-items: center;
background: var(--vp-c-bg-soft);
@@ -261,7 +261,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
padding: 12px;
min-height: 120px;
max-height: 160px;
overflow-y: auto;
}
.msg-row {
@@ -421,7 +421,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
gap: 8px;
padding: 10px 14px;
background: #dcfce7;
border-radius: 8px;
border-radius: 6px;
margin-bottom: 16px;
font-size: 12px;
color: #166534;
@@ -433,7 +433,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
gap: 8px;
padding: 10px 14px;
background: var(--vp-c-brand-soft);
border-radius: 8px;
border-radius: 6px;
font-size: 12px;
color: var(--vp-c-text-1);
}
@@ -588,7 +588,7 @@ const truncate = (str, len) => str?.length > len ? str.slice(0, len) + '...' : s
/* 对话区 */
.chat-area {
background: var(--vp-c-bg-soft);
border-radius: 8px;
border-radius: 6px;
padding: 12px;
margin-bottom: 16px;
}
@@ -613,7 +613,7 @@ const truncate = (str, len) => str?.length > len ? str.slice(0, len) + '...' : s
.messages {
max-height: 200px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
@@ -732,7 +732,7 @@ const truncate = (str, len) => str?.length > len ? str.slice(0, len) + '...' : s
.memory-panel {
background: var(--vp-c-bg-soft);
border: 2px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
transition: all 0.3s;
@@ -778,7 +778,7 @@ const truncate = (str, len) => str?.length > len ? str.slice(0, len) + '...' : s
padding: 10px;
min-height: 80px;
max-height: 120px;
overflow-y: auto;
}
.empty {
@@ -1060,7 +1060,7 @@ const truncate = (str, len) => str?.length > len ? str.slice(0, len) + '...' : s
gap: 12px;
padding: 12px;
background: var(--vp-c-bg-soft);
border-radius: 8px;
border-radius: 6px;
}
.practice-icon {
@@ -435,7 +435,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
.phase {
margin-bottom: 12px;
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
opacity: 0.5;
transition: all 0.3s;
@@ -525,7 +525,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
gap: 12px;
padding: 12px;
background: var(--vp-c-bg-soft);
border-radius: 8px;
border-radius: 6px;
border: 2px solid transparent;
transition: all 0.3s;
position: relative;
@@ -685,7 +685,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
.final-output {
padding: 12px;
background: #dcfce7;
border-radius: 8px;
border-radius: 6px;
}
.output-bubble {
@@ -704,7 +704,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
.control-btn {
padding: 10px 24px;
border-radius: 8px;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
@@ -762,7 +762,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
.explanation-card {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
padding: 14px;
text-align: center;
}
@@ -788,7 +788,7 @@ const truncate = (str, len) => str.length > len ? str.slice(0, len) + '...' : st
.comparison-section {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
padding: 14px;
}
@@ -304,7 +304,7 @@ reset()
.goal-bar {
background: var(--vp-c-brand-soft);
border-left: 3px solid var(--vp-c-brand);
border-radius: 8px;
border-radius: 6px;
padding: 10px 14px;
margin-bottom: 16px;
font-size: 14px;
@@ -403,7 +403,7 @@ reset()
.log-box, .thought-box {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
}
@@ -431,7 +431,7 @@ reset()
padding: 10px 12px;
min-height: 100px;
max-height: 140px;
overflow-y: auto;
}
.empty {
@@ -534,7 +534,7 @@ reset()
gap: 8px;
padding: 10px 14px;
background: var(--vp-c-brand-soft);
border-radius: 8px;
border-radius: 6px;
font-size: 12px;
color: var(--vp-c-text-1);
}
@@ -476,7 +476,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
.thinking-section {
margin-bottom: 10px;
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
}
@@ -516,7 +516,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
.tools-section {
margin-bottom: 10px;
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
}
@@ -530,7 +530,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
gap: 10px;
padding: 10px;
background: var(--vp-c-bg-soft);
border-radius: 8px;
border-radius: 6px;
margin-bottom: 8px;
border: 1px solid var(--vp-c-divider);
transition: all 0.3s;
@@ -603,7 +603,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
padding: 12px;
background: #dcfce7;
border: 1px solid #86efac;
border-radius: 8px;
border-radius: 6px;
}
.response-header {
@@ -628,7 +628,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
background: var(--vp-c-brand);
color: white;
border: none;
border-radius: 8px;
border-radius: 6px;
font-size: 13px;
cursor: pointer;
transition: background 0.2s;
@@ -651,7 +651,7 @@ const wait = (ms) => new Promise(r => setTimeout(r, ms))
margin-top: 16px;
padding: 12px 16px;
background: var(--vp-c-brand-soft);
border-radius: 8px;
border-radius: 6px;
font-size: 13px;
}
@@ -163,7 +163,7 @@ const steps = [
.n {
width: 26px;
height: 26px;
border-radius: 8px;
border-radius: 6px;
display: grid;
place-items: center;
background: var(--vp-c-bg-soft);
@@ -266,7 +266,7 @@ const reset = () => { currentStep.value = 0 }
.user-input-bar {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
padding: 10px 14px;
margin-bottom: 16px;
font-size: 14px;
@@ -460,7 +460,7 @@ const reset = () => { currentStep.value = 0 }
.final-result {
background: var(--vp-c-brand-soft);
border-left: 3px solid var(--vp-c-brand);
border-radius: 8px;
border-radius: 6px;
padding: 12px 14px;
margin-bottom: 16px;
font-size: 13px;
@@ -513,7 +513,7 @@ const reset = () => { currentStep.value = 0 }
gap: 8px;
padding: 10px 14px;
background: var(--vp-c-brand-soft);
border-radius: 8px;
border-radius: 6px;
font-size: 12px;
color: var(--vp-c-text-1);
}
@@ -179,7 +179,7 @@ const reset = () => {
.icon {
width: 28px;
height: 28px;
border-radius: 8px;
border-radius: 6px;
display: grid;
place-items: center;
background: var(--vp-c-bg-soft);