feat: Update icon components for consistency; refactor SVG attributes and styles

This commit is contained in:
2025-05-03 17:21:37 +05:30
parent f8abd71116
commit 2711702efa
4 changed files with 306 additions and 278 deletions

View File

@@ -11,19 +11,12 @@
width: 100%;
height: 100vh;
pointer-events: none;
padding: 10px;
z-index: 2;
.analysis-wrapper {
display: flex;
flex-direction: column;
gap: 12px;
}
.analysis-card {
min-width: 333px;
border-radius: 20px;
padding: 8px;
margin: 8px;
pointer-events: all;
.analysis-card-wrapper {
@@ -50,6 +43,7 @@
}
.sub-header {
font-weight: 300;
font-size: var(--font-size-tiny);
color: var(--text-button-color);
}
@@ -170,12 +164,13 @@
.footer-card {
width: 100%;
background: var(--background-color-gray);
background: var(--background-color);
border-radius: 6px;
padding: 8px;
display: flex;
flex-direction: column;
gap: 12px;
outline: 1px solid var(--border-color);
&:first-child {
width: 85%;
@@ -326,10 +321,11 @@
flex-direction: column;
gap: 3px;
align-items: center;
font-weight: 300;
.key {
font-size: var(--font-size-xlarge);
color: #28B9F3;
font-weight: 500;
font-size: var(--font-size-large);
color: #28b9f3;
}
}
}
@@ -376,8 +372,9 @@
gap: 6px;
.metric-item {
padding: 8px;
border-radius: #{$border-radius-large};
background-color: var(--background-color);
background: var(--background-color);
border: 1px solid var(--border-color);
}
}
@@ -385,10 +382,12 @@
}
.cost-breakdown {
background-color: var(--background-color);
background: var(--background-color);
border: 1px solid var(--border-color);
border-radius: #{$border-radius-extra-large};
border-radius: #{$border-radius-large};
max-height: 20vh;
padding: 16px;
overflow: auto;
.breakdown-header {
display: flex;
@@ -448,7 +447,7 @@
}
.tips-section {
background-color: var(--background-color);
background: var(--background-color);
border-radius: #{$border-radius-large};
outline: 1px solid var(--border-color);
display: flex;
@@ -510,18 +509,17 @@
.label-wrapper {
width: 100%;
position: absolute;
bottom: 0px;
bottom: 2px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.label {
font-size: var(--font-size-xlarge);
font-size: var(--font-size-xxlarge);
}
}
}
}
.breakdown-table-wrapper {
@@ -547,4 +545,4 @@
}
}
// Breakdown Table Open/Close Logic
// Breakdown Table Open/Close Logic