Add a real user profile page with multi-address CRUD, localize business profile, fix RTL category tree and login/sidebar logo fallbacks, and keep pagination controls centered with aligned page meta. Co-authored-by: Cursor <cursoragent@cursor.com>
162 lines
2.8 KiB
CSS
162 lines
2.8 KiB
CSS
.tablePanel {
|
|
margin-top: 12px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tableWrap {
|
|
background: var(--glass-bg);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--glass-shadow);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tableHeader {
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.tableHeaderTitle {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.meta {
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tableScroll {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
min-width: 760px;
|
|
}
|
|
|
|
.th,
|
|
.td {
|
|
padding: 10px 14px;
|
|
text-align: left;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.th {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
background: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.td {
|
|
font-size: 13px;
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.clickableRow {
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.clickableRow:hover,
|
|
.clickableRow:focus-visible {
|
|
background: rgba(var(--primary-rgb) / 0.06);
|
|
outline: none;
|
|
}
|
|
|
|
.errorBanner {
|
|
margin: 12px 16px 0;
|
|
padding: 10px 12px;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border: 1px solid rgba(239, 68, 68, 0.22);
|
|
color: #b91c1c;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.pagination {
|
|
padding: 12px 16px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
font-size: 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pagination > nav {
|
|
grid-column: 2;
|
|
justify-self: center;
|
|
height: 38px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.pagination > div:first-child {
|
|
grid-column: 1;
|
|
justify-self: start;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 38px;
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 38px;
|
|
font-family: var(--font-ui);
|
|
transform: translateY(2px);
|
|
}
|
|
|
|
.pagerBtns {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pageBtn {
|
|
min-width: 34px;
|
|
height: 34px;
|
|
padding: 0 10px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
background: rgba(255, 255, 255, 0.55);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.pageBtn:hover:not(:disabled) {
|
|
background: rgba(var(--primary-rgb) / 0.08);
|
|
color: var(--primary);
|
|
border-color: rgba(var(--primary-rgb) / 0.25);
|
|
}
|
|
|
|
.pageBtn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pageBtnActive {
|
|
color: white;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary-glow) 0%,
|
|
var(--primary) 55%,
|
|
var(--primary-dark) 100%
|
|
);
|
|
border-color: transparent;
|
|
}
|