Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,30 +47,30 @@
box-sizing: border-box;
}

body.ledger-page {
margin: 0;
background: var(--bg);
font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
.ledger-screen {
width: 100%;
color: var(--text-main);
display: flex;
justify-content: center;
}
flex-direction: column;
flex: 1;

.ledger-screen {
width: 100%;
max-width: 420px;
min-height: 100vh;
background: var(--card-bg);
border-left: 1px solid var(--border);
border-right: 1px solid var(--border);
padding: 20px 20px 32px;
}

.ledger-topbar {
display: flex;
align-items: center;
gap: 12px;
justify-content: space-between;
margin-bottom: 20px;
padding-top: 30px;
position: relative;
}

.ledger-title {
font-size: var(--fs-md);
font-weight: 700;
position: absolute;
left: 50%;
transform: translateX(-50%);
}

.ledger-back {
Expand Down Expand Up @@ -208,18 +208,19 @@ body.ledger-page {
.timer-circle-wrap {
display: flex;
justify-content: center;
margin-bottom: 28px;
margin-bottom: 20px;
}

.timer-circle {
width: 200px;
height: 200px;
width: 170px;
height: 170px;
border-radius: 50%;
border: 2px solid var(--border);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.timer-circle-time {
Expand All @@ -241,6 +242,17 @@ body.ledger-page {
margin-top: 12px;
}

#earn-form {
display: flex;
flex-direction: column;
flex: 1;
}

#result-panel {
flex-direction: column;
flex: 1;
}

.btn {
flex: 1;
padding: 15px 0;
Expand Down Expand Up @@ -302,15 +314,6 @@ body.ledger-page {
}
.manual-time-field input:focus { outline: none; }

.earn-preview {
background: var(--earn-bg);
color: var(--earn-accent-dark);
border-radius: var(--radius-sm);
padding: 10px 12px;
font-size: var(--fs-sm);
font-weight: 600;
margin-bottom: 20px;
}

/* 적립 결과 카드 (수입 종료 후 적립 화면) */
.result-summary {
Expand Down Expand Up @@ -344,33 +347,46 @@ body.ledger-page {
margin-bottom: 12px;
}

.field-block + .footer-actions {
margin-top: 70px;
}

.field-label {
font-size: var(--fs-sm);
color: var(--text-sub);
margin-bottom: 8px;
display: block;
}

.toggle-pair {
.field-block--readonly {
background: var(--bg); /* 카드 배경과 살짝 다르게 -> "조작 불가 영역"이라는 시각적 힌트 */
}

.readonly-badge-row {
display: flex;
gap: 8px;
}

.toggle-pill {
.readonly-badge {
flex: 1;
text-align: center;
padding: 8px 0;
border-radius: 999px;
font-size: var(--fs-sm);
font-weight: 700;
border: 1px solid var(--border);
color: var(--text-sub);
font-weight: 600;
border: 1px solid var(--text-faint);
color: var(--text-faint);
background: transparent;
/* 버튼처럼 안 보이게: 그림자·hover·cursor 전부 제거 */
cursor: default;
user-select: none;
}

.toggle-pill.is-selected {
.readonly-badge.is-selected {
background: var(--earn-accent);
border-color: var(--earn-accent);
color: #fff;
font-weight: 700;
}

.field-note {
Expand Down
Loading