goi-web/src/features/crm/Customer/Customer.css

150 lines
2.4 KiB
CSS

/* Customer list — co-located styles.
Mirrors the app's plain class-based CSS and green brand (#4CAF50). */
.cust-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.cust-title { margin: 0; font-size: 20px; }
.cust-sub {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 13px;
color: #6b7280;
}
.cust-badge {
font-size: 12px;
color: #2e7d32;
background: #eef5ef;
border: 1px solid #d5e6d7;
border-radius: 999px;
padding: 2px 10px;
}
.cust-card {
background: #fff;
border: 1px solid #eceef0;
border-radius: 10px;
overflow: hidden;
}
.cust-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.cust-table th {
text-align: left;
padding: 11px 14px;
background: #f7f8f9;
border-bottom: 1px solid #eceef0;
font-weight: 600;
color: #4b5563;
white-space: nowrap;
}
.cust-table td {
padding: 11px 14px;
border-bottom: 1px solid #f1f2f4;
color: #1f2937;
white-space: nowrap;
}
.cust-table tbody tr:last-child td { border-bottom: none; }
.cust-table tbody tr:hover { background: #fafbfc; }
.cust-status {
display: inline-block;
font-size: 12px;
color: #6b7280;
background: #f1f2f4;
border-radius: 4px;
padding: 2px 8px;
}
.cust-status.on {
color: #2e7d32;
background: #eef5ef;
}
.cust-state {
padding: 32px 14px;
text-align: center;
color: #9ca3af;
}
.cust-msg {
margin-bottom: 12px;
font-size: 14px;
padding: 10px 12px;
border-radius: 6px;
}
.cust-msg.error {
color: #b3261e;
background: #fdecea;
border: 1px solid #f6cdc8;
}
.cust-pager {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-top: 16px;
}
.cust-pageinfo { font-size: 14px; color: #4b5563; }
.cust-btn {
height: 34px;
padding: 0 14px;
font-size: 14px;
font-family: inherit;
border: 1px solid #4CAF50;
border-radius: 6px;
background: #4CAF50;
color: #fff;
cursor: pointer;
}
.cust-btn.ghost {
background: #fff;
color: #2e7d32;
border-color: #dcdfe3;
}
.cust-btn:disabled {
opacity: 0.5;
cursor: default;
}
.cust-link {
color: #1f2937;
text-decoration: none;
font-weight: 600;
}
.cust-link:hover {
color: #2e7d32;
text-decoration: underline;
}
.cust-ext {
margin-left: 4px;
font-size: 11px;
color: #9ca3af;
vertical-align: super;
}
.cust-link:hover .cust-ext { color: #2e7d32; }