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:
@@ -467,7 +467,7 @@ const getInsightText = (idx) => {
|
||||
margin-top: 15px;
|
||||
background: var(--vp-c-yellow-dimm);
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: flex-start;
|
||||
|
||||
@@ -174,7 +174,7 @@ const isCalculatingLoss = computed(() => step.value === 2)
|
||||
justify-content: center;
|
||||
background: var(--vp-c-bg);
|
||||
border: 1px dashed var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 20px 10px;
|
||||
overflow: hidden;
|
||||
gap: 10px;
|
||||
@@ -233,7 +233,7 @@ const isCalculatingLoss = computed(() => step.value === 2)
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1.5px solid;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 10px;
|
||||
min-width: 70px;
|
||||
position: relative;
|
||||
|
||||
@@ -61,7 +61,7 @@ const getPixelColor = (n) => {
|
||||
.linear-projection-demo {
|
||||
padding: 20px;
|
||||
background: var(--vp-c-bg-soft);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
margin: 20px 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
+2
-2
@@ -253,7 +253,7 @@ const toggleMode = () => {
|
||||
.diagram-stage {
|
||||
background: var(--vp-c-bg);
|
||||
border: 1px dashed var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
@@ -465,7 +465,7 @@ const toggleMode = () => {
|
||||
.info-card {
|
||||
background: var(--vp-c-bg-mute);
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.info-card h3 {
|
||||
|
||||
@@ -144,7 +144,7 @@ const getMiniPatchStyle = (n) => {
|
||||
<style scoped>
|
||||
.patchify-demo {
|
||||
border: 1px solid var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
background: var(--vp-c-bg-soft);
|
||||
margin: 20px 0;
|
||||
@@ -293,7 +293,7 @@ const getMiniPatchStyle = (n) => {
|
||||
width: 100%;
|
||||
background: var(--vp-c-bg);
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--vp-c-divider);
|
||||
animation: slideUp 0.5s ease;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
.pos-demo {
|
||||
padding: 20px;
|
||||
background: var(--vp-c-bg-soft);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
margin: 20px 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ const mode = ref('linear')
|
||||
<style scoped>
|
||||
.projector-demo {
|
||||
border: 1px solid var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
background: var(--vp-c-bg-soft);
|
||||
margin: 20px 0;
|
||||
@@ -178,7 +178,7 @@ const mode = ref('linear')
|
||||
.projector-box {
|
||||
background: var(--vp-c-bg-mute);
|
||||
border: 2px solid var(--vp-c-brand);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
min-width: 100px;
|
||||
|
||||
@@ -86,7 +86,7 @@ const stage = ref(1)
|
||||
.pipeline-demo {
|
||||
padding: 20px;
|
||||
background: var(--vp-c-bg-soft);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ const stage = ref(1)
|
||||
|
||||
.component-box {
|
||||
border: 2px solid var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
min-width: 100px;
|
||||
@@ -184,7 +184,7 @@ const stage = ref(1)
|
||||
.data-example {
|
||||
background: var(--vp-c-bg);
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--vp-c-divider);
|
||||
}
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ const typeText = () => {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: #e2e8f0;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@@ -225,7 +225,7 @@ const items = [
|
||||
gap: 6px;
|
||||
background: #fff;
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.dark .grid-container {
|
||||
@@ -278,7 +278,7 @@ const items = [
|
||||
gap: 4px;
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
|
||||
overflow-x: auto;
|
||||
max-width: 100%;
|
||||
@@ -329,7 +329,7 @@ const items = [
|
||||
margin-top: 24px;
|
||||
background: #fff;
|
||||
border: 1px solid #e9ecef;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 16px;
|
||||
min-height: 120px;
|
||||
display: flex;
|
||||
@@ -371,7 +371,7 @@ const items = [
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.dark .large-icon {
|
||||
background: #343a40;
|
||||
|
||||
@@ -391,7 +391,7 @@ const scrollToBottom = () => {
|
||||
flex: 1;
|
||||
background: var(--vp-c-bg);
|
||||
border: 1px dashed var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
@@ -460,7 +460,7 @@ const scrollToBottom = () => {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(to bottom, #87ceeb 50%, #e0e0e0 50%);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -527,7 +527,7 @@ const scrollToBottom = () => {
|
||||
.factory-image {
|
||||
background: #f8f9fa;
|
||||
border: 2px solid #e9ecef;
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
width: 260px;
|
||||
height: 180px;
|
||||
@@ -662,13 +662,13 @@ const scrollToBottom = () => {
|
||||
flex-direction: column;
|
||||
background: var(--vp-c-bg);
|
||||
border: 1px solid var(--vp-c-divider);
|
||||
border-radius: 8px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.messages {
|
||||
flex: 1;
|
||||
padding: 15px;
|
||||
overflow-y: auto;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
Reference in New Issue
Block a user