2026-04-29 00:14:49 +08:00

562 lines
9.0 KiB
CSS

.hosts-bill-page {
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.hosts-bill-content {
gap: 12px;
padding-top: 8px;
}
.bill-summary-card {
display: grid;
grid-template-columns: 54px minmax(0, 1fr);
align-items: center;
gap: 14px;
min-height: 112px;
padding: 18px;
}
.bill-summary-icon {
display: flex;
align-items: center;
justify-content: center;
width: 54px;
height: 54px;
border-radius: 50%;
background: #e7fbf8;
color: #12a99c;
}
.bill-summary-icon svg {
width: 30px;
height: 30px;
}
.bill-summary-icon path {
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.25;
}
.bill-summary-copy {
min-width: 0;
}
.bill-summary-head {
display: flex;
align-items: center;
gap: 7px;
color: #24282e;
font-size: 16px;
font-weight: 900;
line-height: 1.2;
}
.bill-help-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
flex: 0 0 24px;
color: #30343a;
}
.bill-help-button svg {
width: 18px;
height: 18px;
}
.bill-help-button circle,
.bill-help-button path {
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.8;
}
.bill-summary-value {
margin-top: 11px;
overflow-wrap: anywhere;
color: #23272d;
font-size: 32px;
font-weight: 950;
line-height: 1.05;
}
.bill-stat-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.bill-stat-card {
display: grid;
gap: 8px;
min-height: 76px;
padding: 15px 16px;
}
.bill-stat-card span {
color: #8f9196;
font-size: 13px;
font-weight: 850;
line-height: 1.15;
}
.bill-stat-card strong {
color: #24282e;
font-size: 24px;
font-weight: 950;
line-height: 1;
}
.work-report-head {
display: flex;
align-items: center;
justify-content: space-between;
margin: 4px 2px -2px;
}
.work-report-head h2 {
margin: 0;
color: #24282e;
font-size: 16px;
font-weight: 950;
line-height: 1.2;
}
.bill-list {
display: grid;
gap: 10px;
}
.bill-card {
position: relative;
display: grid;
gap: 13px;
padding: 15px 16px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.96);
box-shadow: var(--shadow);
}
.bill-card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.bill-date {
min-width: 0;
overflow: hidden;
color: #24282e;
font-size: 17px;
font-weight: 950;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-status-badge {
display: inline-flex;
align-items: center;
justify-content: center;
max-width: 128px;
min-height: 24px;
padding: 0 8px;
border-radius: 5px;
color: #3d73ff;
background: #ebf1fd;
font-size: 12px;
font-weight: 950;
line-height: 1.1;
text-align: center;
}
.bill-status-badge.status-completed {
color: #13a046;
background: #e8faed;
}
.bill-status-badge.status-out-of-account {
color: #7a7d83;
background: #e9e9e9;
}
.bill-status-badge.status-pending {
color: #ff3d40;
background: #feebef;
}
.bill-money-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.bill-money-item {
min-width: 0;
}
.bill-money-item span {
display: block;
overflow: hidden;
color: #8f9196;
font-size: 12px;
font-weight: 850;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-money-item strong {
display: block;
margin-top: 5px;
overflow: hidden;
color: #24282e;
font-size: 15px;
font-weight: 950;
line-height: 1.15;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-more-button {
display: inline-flex;
align-items: center;
justify-content: center;
justify-self: end;
min-height: 34px;
padding: 0 13px;
border-radius: 8px;
background: #f2fbf9;
color: #10a890;
font-size: 13px;
font-weight: 950;
}
.bill-list-status {
display: flex;
align-items: center;
justify-content: center;
min-height: 52px;
color: #8f9196;
font-size: 13px;
font-weight: 850;
text-align: center;
}
.bill-list-status:empty {
display: none;
}
.bill-detail-sheet {
gap: 10px;
padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.bill-detail-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 0 18px;
}
.bill-detail-meta div {
display: grid;
gap: 5px;
min-width: 0;
}
.bill-detail-meta span:first-child {
overflow: hidden;
color: #777c84;
font-size: 15px;
font-weight: 850;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-detail-meta strong {
color: #24282e;
font-size: 20px;
font-weight: 950;
line-height: 1;
}
.bill-search-form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
gap: 8px;
padding: 0 18px;
}
.bill-search-control {
display: flex;
align-items: center;
min-width: 0;
height: 42px;
padding: 0 12px;
border: 1px solid #edf0f1;
border-radius: 8px;
background: #f8faf9;
}
.bill-search-control svg {
width: 20px;
height: 20px;
flex: 0 0 20px;
margin-right: 9px;
color: #7f858b;
}
.bill-search-control path {
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2.2;
}
.bill-search-control input {
width: 100%;
min-width: 0;
border: 0;
outline: 0;
background: transparent;
color: #25282e;
font: inherit;
font-size: 14px;
font-weight: 800;
}
.bill-search-control input::placeholder {
color: #a7aab0;
}
.bill-search-button,
.bill-cancel-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 64px;
height: 42px;
padding: 0 12px;
border-radius: 8px;
font-size: 13px;
font-weight: 950;
white-space: nowrap;
}
.bill-search-button {
background: var(--green);
color: #fff;
box-shadow: 0 6px 14px rgba(37, 216, 120, 0.18);
}
.bill-cancel-button {
background: #f2f4f5;
color: #4d525a;
}
.bill-member-list {
display: grid;
gap: 9px;
overflow-y: auto;
padding: 0 18px;
}
.bill-member-card {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
min-height: 76px;
padding: 12px;
border-radius: 10px;
background: #fff;
box-shadow: 0 2px 10px rgba(28, 38, 50, 0.08);
}
.bill-member-user {
display: flex;
align-items: center;
min-width: 0;
}
.bill-member-avatar {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
flex: 0 0 48px;
overflow: hidden;
border-radius: 50%;
background: linear-gradient(145deg, #55f2df 0%, #d9fff5 100%);
color: #13745f;
font-size: 19px;
font-weight: 950;
}
.bill-member-avatar img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.bill-member-copy {
min-width: 0;
margin-left: 11px;
}
.bill-member-name {
overflow: hidden;
color: #24282e;
font-size: 15px;
font-weight: 950;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-member-account {
margin-top: 5px;
overflow: hidden;
color: #8f9196;
font-size: 12px;
font-weight: 800;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-member-side {
display: grid;
justify-items: end;
gap: 5px;
min-width: 88px;
}
.bill-member-target {
display: inline-flex;
max-width: 118px;
min-height: 23px;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 0 7px;
border-radius: 5px;
background: linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%);
color: #fff;
font-size: 12px;
font-weight: 900;
line-height: 1.1;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-member-gift {
max-width: 118px;
overflow: hidden;
color: #ffb627;
font-size: 13px;
font-weight: 950;
line-height: 1.15;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.bill-member-days {
color: #8f9196;
font-size: 11px;
font-weight: 850;
line-height: 1.1;
}
.bill-member-status {
min-height: 42px;
padding: 0 18px;
}
.bill-help-sheet {
max-height: 80vh;
max-height: 80dvh;
}
.bill-help-content {
overflow-y: auto;
padding: 0 20px 22px;
color: #555a62;
font-size: 14px;
font-weight: 800;
line-height: 1.45;
}
.bill-help-content p {
margin: 0 0 12px;
}
html[dir="rtl"] .bill-search-control svg {
margin-right: 0;
margin-left: 9px;
}
html[dir="rtl"] .bill-member-copy {
margin-right: 11px;
margin-left: 0;
}
@media (max-width: 370px) {
.bill-summary-card {
grid-template-columns: 48px minmax(0, 1fr);
padding: 16px;
}
.bill-summary-icon {
width: 48px;
height: 48px;
}
.bill-money-grid {
grid-template-columns: 1fr;
}
.bill-search-form {
grid-template-columns: minmax(0, 1fr) auto;
}
.bill-cancel-button {
grid-column: 2;
}
.bill-member-card {
grid-template-columns: 1fr;
}
.bill-member-side {
justify-items: start;
min-width: 0;
margin-left: 59px;
}
html[dir="rtl"] .bill-member-side {
margin-right: 59px;
margin-left: 0;
}
}