311 lines
7.6 KiB
SCSS
311 lines
7.6 KiB
SCSS
.roiSummary-container {
|
|
.roiSummary-wrapper {
|
|
background-color: var(--background-color);
|
|
|
|
.product-info {
|
|
display: flex;
|
|
}
|
|
|
|
.playBack {
|
|
display: flex;
|
|
background-color: var(--background-color);
|
|
border-radius: 12px;
|
|
padding: 6px;
|
|
|
|
.info {
|
|
span {
|
|
font-size: var(--font-size-xlarge);
|
|
|
|
&:first-child {
|
|
color: #31C756;
|
|
}
|
|
|
|
&:last-child {
|
|
color: var(--text-color);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.roi-details {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
|
|
.progress-wrapper {
|
|
width: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
align-items: center;
|
|
|
|
.key {
|
|
font-size: var(--font-size-xlarge);
|
|
color: var(--accent-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.roi-progress {
|
|
width: 100%;
|
|
}
|
|
|
|
.metrics {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
|
|
.metric-item {
|
|
width: 100%;
|
|
border-radius: 6px;
|
|
border: 1px solid #00FF56;
|
|
background: #436D51;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4px 6px;
|
|
|
|
&:last-child {
|
|
align-items: center;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 10px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.metric-value {
|
|
text-align: center;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
.metric-wrapper {
|
|
display: flex;
|
|
gap: 6px;
|
|
|
|
.metric-item {
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--Grays-Gray-6, #F2F2F7);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.cost-breakdown {
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--text-disabled);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
|
|
.breakdown-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
|
|
.section-wrapper {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-number {
|
|
font-size: 20px;
|
|
color: #00aaff;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: var(--font-size-regular);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.expand-icon {
|
|
font-size: 16px;
|
|
color: var(--text-color);
|
|
cursor: pointer;
|
|
transform: rotate(90deg);
|
|
transition: transform 0.2s linear;
|
|
}
|
|
|
|
.expand-icon.open {
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
}
|
|
|
|
.breakdown-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-radius: 8px;
|
|
|
|
th,
|
|
td {
|
|
padding: 8px;
|
|
text-align: left;
|
|
border-top: 1px solid var(--text-disabled);
|
|
border-bottom: 1px solid var(--text-disabled);
|
|
}
|
|
|
|
th:first-child,
|
|
td:first-child {
|
|
border-left: 1px solid var(--text-disabled);
|
|
}
|
|
|
|
th:last-child,
|
|
td:last-child {
|
|
border-right: 1px solid var(--text-disabled);
|
|
}
|
|
|
|
th {
|
|
background-color: var(--background-color);
|
|
color: #333;
|
|
}
|
|
|
|
.total-row,
|
|
.net-profit-row {
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tips-section {
|
|
background-color: var(--background-color);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 12px;
|
|
|
|
.tip-header {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.tip-title {
|
|
color: var(--text-color);
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.tip-description {
|
|
span {
|
|
font-size: var(--font-size-xlarge);
|
|
color: #34C759;
|
|
|
|
&:first-child {
|
|
color: #34C759;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
color: #488EF6;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.get-tips-button {
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
margin-top: 8px;
|
|
display: inline-block;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
background: none;
|
|
|
|
.btn {
|
|
background-color: var(--accent-color);
|
|
color: var(--background-color);
|
|
padding: 4px 6px;
|
|
border-radius: 5px;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
.semi-circle-wrapper {
|
|
width: 100%;
|
|
height: 125px;
|
|
overflow-y: hidden;
|
|
position: relative;
|
|
.semi-circle {
|
|
width: 100%;
|
|
height: 250px;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
transition: background 0.5s ease;
|
|
}
|
|
.progress-cover {
|
|
position: absolute;
|
|
width: 75%;
|
|
height: 75%;
|
|
top: 12.5%;
|
|
left: 12.5%;
|
|
background: #000000cc;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.label-wrapper {
|
|
.label {
|
|
font-size: var(--font-size-xxxlarge);
|
|
}
|
|
|
|
position: absolute;
|
|
bottom: 0%;
|
|
left: 50%;
|
|
transform: translate(-50%, 0%);
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
color: #333;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
// Breakdown Table Open/Close Logic
|
|
|
|
.breakdown-table-wrapper {
|
|
&.closed {
|
|
max-height: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
&.open {
|
|
max-height: 500px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.breakdown-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
|
|
th,
|
|
td {
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
text-align: left;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |