Business dashboard can manage credit methods and preview plans; cropper and module flags support the new flow. Co-authored-by: Cursor <cursoragent@cursor.com>
212 lines
3.6 KiB
CSS
212 lines
3.6 KiB
CSS
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 18px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.row:hover {
|
|
background: rgba(var(--primary-rgb) / 0.04);
|
|
}
|
|
|
|
.logo {
|
|
height: 44px;
|
|
width: auto;
|
|
max-width: 88px;
|
|
flex-shrink: 0;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(45deg, rgba(148, 163, 184, 0.12) 25%, transparent 25%),
|
|
linear-gradient(-45deg, rgba(148, 163, 184, 0.12) 25%, transparent 25%),
|
|
linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, 0.12) 75%),
|
|
linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, 0.12) 75%);
|
|
background-size: 12px 12px;
|
|
background-position: 0 0, 0 6px, 6px -6px, -6px 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.titleBlock {
|
|
flex: 0 1 180px;
|
|
min-width: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.names {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.namePrimary {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.nameSecondary {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.nameEn {
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
font-family: var(--font-en), var(--font-ui);
|
|
}
|
|
|
|
.description {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
color: var(--text-secondary);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metrics {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
max-width: 100%;
|
|
min-height: 32px;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
}
|
|
|
|
.chipLabel {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.chipValue {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 3px 5px;
|
|
min-width: 0;
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: 'tnum' 1;
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
font-family: var(--font-en), var(--font-ui);
|
|
}
|
|
|
|
.chipNumber {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.chipSep {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.chipUnit {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.chipHint {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
margin-inline-start: auto;
|
|
}
|
|
|
|
.controlBtn {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.controlBtn:hover {
|
|
background: rgba(var(--primary-rgb) / 0.1);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.useBtn {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.useBtn:hover {
|
|
background: rgba(var(--primary-rgb) / 0.14);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.danger:hover {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
color: #ef4444;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.row {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.titleBlock {
|
|
flex: 1 1 160px;
|
|
}
|
|
|
|
.metrics {
|
|
flex: 1 1 100%;
|
|
order: 3;
|
|
}
|
|
|
|
.controls {
|
|
margin-inline-start: 0;
|
|
}
|
|
}
|