Files
shencaisuan/public/css/tixianlist.css
T

354 lines
5.6 KiB
CSS

.tl-hidden {
display: none;
}
#loggedInBox:not(.tl-hidden) {
display: flex;
}
.tl-card {
background: #fff;
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
padding: 24px 28px 28px;
margin-bottom: 42px;
}
.tl-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
padding-bottom: 18px;
border-bottom: 1px solid var(--border-light);
}
.tl-title {
position: relative;
color: var(--text-dark);
font-size: 20px;
font-weight: 800;
line-height: 1.3;
padding-left: 14px;
}
.tl-title::before {
content: "";
position: absolute;
left: 0;
top: 3px;
width: 4px;
height: 20px;
border-radius: 4px;
background: var(--orange);
}
.tl-desc {
margin-top: 8px;
color: var(--text-muted);
font-size: 13px;
}
.tl-back-link {
display: inline-flex;
align-items: center;
justify-content: center;
height: 38px;
padding: 0 18px;
border-radius: var(--radius-md);
background: var(--primary);
color: #fff;
font-size: 14px;
font-weight: 800;
}
.tl-back-link:hover {
color: #fff;
}
.tl-filter-bar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 14px 34px;
margin-top: 18px;
padding: 14px 16px;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
background: #f8fafd;
}
.tl-flow-tabs {
display: grid;
grid-template-columns: repeat(5, minmax(120px, 1fr));
gap: 10px;
width: 100%;
}
.tl-flow-tab {
min-height: 70px;
padding: 12px 14px;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
background: #fff;
text-align: left;
cursor: pointer;
transition: all 0.2s;
}
.tl-flow-tab span,
.tl-flow-tab em {
display: block;
}
.tl-flow-tab span {
color: var(--text-dark);
font-size: 14px;
font-weight: 800;
}
.tl-flow-tab em {
margin-top: 6px;
color: var(--text-muted);
font-size: 12px;
font-style: normal;
}
.tl-flow-tab.active,
.tl-flow-tab:hover {
border-color: var(--primary);
background: rgba(16, 43, 106, 0.06);
box-shadow: var(--shadow-sm);
}
.tl-filter-group {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.tl-filter-group > span {
color: var(--text-dark);
font-size: 14px;
font-weight: 800;
white-space: nowrap;
}
.tl-segment {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tl-segment-btn {
height: 34px;
padding: 0 14px;
border: 1px solid var(--border-light);
border-radius: 999px;
background: var(--bg-light);
color: var(--text-muted);
cursor: pointer;
font-size: 13px;
font-weight: 800;
transition: all 0.2s;
}
.tl-segment-btn.active,
.tl-segment-btn:hover {
border-color: var(--primary);
background: rgba(16, 43, 106, 0.08);
color: var(--primary);
}
.tl-summary {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-top: 14px;
}
.tl-summary-item {
padding: 13px 16px;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
background: var(--bg-light);
}
.tl-summary-item span {
display: block;
color: var(--text-muted);
font-size: 12px;
}
.tl-summary-item strong {
display: block;
margin-top: 5px;
color: var(--text-dark);
font-size: 16px;
font-weight: 800;
}
.tl-table-wrap {
margin-top: 16px;
overflow-x: auto;
}
.tl-table {
width: 100%;
min-width: 980px;
border-collapse: collapse;
overflow: hidden;
border-radius: var(--radius-md);
}
.tl-table th {
background: #f3f6fb;
color: var(--primary);
font-size: 13px;
font-weight: 800;
text-align: left;
padding: 14px 16px;
white-space: nowrap;
}
.tl-table td {
border-bottom: 1px solid var(--border-light);
color: var(--text-dark);
font-size: 13px;
padding: 15px 16px;
white-space: nowrap;
}
.tl-table tr:hover td {
background: rgba(16, 43, 106, 0.03);
}
.tl-table-hidden {
display: none;
}
.tl-amount {
color: #e04828;
font-weight: 800;
}
.tl-amount.income {
color: #15824a;
}
.tl-amount.outcome {
color: #e04828;
}
.tl-amount.neutral {
color: var(--text-dark);
}
.tl-status {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 58px;
height: 26px;
padding: 0 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
}
.tl-status.reviewing {
background: rgba(255, 185, 0, 0.15);
color: #b77900;
}
.tl-status.success {
background: rgba(35, 175, 92, 0.12);
color: #15824a;
}
.tl-status.failed {
background: rgba(224, 72, 40, 0.12);
color: #c4381d;
}
.tl-status.cancelled,
.tl-status.normal {
background: rgba(90, 105, 135, 0.12);
color: #5a6987;
}
.tl-empty {
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 220px;
border: 1px dashed var(--border-light);
border-radius: var(--radius-md);
background: #fbfcff;
color: var(--text-muted);
}
.tl-empty.show {
display: flex;
}
.tl-empty-icon {
width: 54px;
height: 54px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(16, 43, 106, 0.08);
color: var(--primary);
font-size: 24px;
font-weight: 800;
}
.tl-empty-title {
margin-top: 14px;
color: var(--text-dark);
font-size: 16px;
font-weight: 800;
}
.tl-empty-desc {
margin-top: 6px;
font-size: 13px;
}
.tl-pagination {
margin-top: 18px;
}
.tl-pagination.is-hidden,
.tl-summary.is-hidden {
display: none;
}
.tl-beian-link {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) {
.tl-card {
padding: 20px 16px;
}
.tl-header {
flex-direction: column;
}
.tl-summary {
grid-template-columns: 1fr;
}
.tl-flow-tabs {
grid-template-columns: 1fr;
}
}