mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
228 lines
3.8 KiB
CSS
228 lines
3.8 KiB
CSS
.ds-page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.ds-page-header h1 {
|
|
margin: 0;
|
|
color: var(--text-heading);
|
|
font-size: 28px;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.ds-page-header p {
|
|
max-width: 760px;
|
|
margin: 8px 0 0;
|
|
color: var(--text-tertiary);
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.ds-eyebrow {
|
|
margin-bottom: 8px;
|
|
color: var(--primary);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ds-section {
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.ds-section-heading {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ds-section-heading h2 {
|
|
margin: 0;
|
|
color: var(--text-heading);
|
|
font-size: 19px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.ds-section-heading p {
|
|
margin: 4px 0 0;
|
|
color: var(--text-tertiary);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.ds-source {
|
|
color: var(--text-disabled);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ds-grid {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.ds-grid.cols-2 {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.ds-grid.cols-3 {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.ds-grid.cols-4 {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.ds-card,
|
|
.ds-specimen {
|
|
background: #fff;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-2xl);
|
|
box-shadow: var(--shadow-xs);
|
|
}
|
|
|
|
.ds-card {
|
|
padding: 18px;
|
|
}
|
|
|
|
.ds-card h3 {
|
|
margin: 0 0 7px;
|
|
color: var(--text-heading);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ds-card p {
|
|
margin: 0;
|
|
color: var(--text-tertiary);
|
|
font-size: 12.5px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.ds-card-link {
|
|
min-height: 144px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.ds-card-link:hover {
|
|
border-color: var(--primary-border);
|
|
box-shadow: 0 4px 14px rgba(22, 119, 255, 0.08);
|
|
}
|
|
|
|
.ds-card-link .ds-card-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
color: var(--primary);
|
|
background: var(--primary-bg);
|
|
border-radius: var(--radius-xl);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.ds-card-link .ds-arrow {
|
|
margin-top: auto;
|
|
padding-top: 18px;
|
|
color: var(--primary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ds-specimen-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-default);
|
|
}
|
|
|
|
.ds-specimen-header strong {
|
|
color: var(--text-heading);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ds-specimen-header code,
|
|
.ds-code {
|
|
color: var(--text-tertiary);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ds-specimen-body {
|
|
min-height: 96px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
padding: 22px;
|
|
background: #fff;
|
|
border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
|
|
}
|
|
|
|
.ds-specimen-body.is-column {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ds-note {
|
|
padding: 13px 15px;
|
|
color: var(--text-secondary);
|
|
background: var(--primary-bg);
|
|
border: 1px solid var(--primary-border);
|
|
border-radius: var(--radius-xl);
|
|
font-size: 12.5px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.ds-note strong {
|
|
color: var(--primary-hover);
|
|
}
|
|
|
|
.ds-meta-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 14px 0 0;
|
|
}
|
|
|
|
.ds-meta-row {
|
|
display: grid;
|
|
grid-template-columns: 130px minmax(0, 1fr);
|
|
gap: 14px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--n-9);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ds-meta-row span {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.ds-meta-row code {
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.ds-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 8px;
|
|
color: var(--text-secondary);
|
|
background: var(--n-9);
|
|
border: 1px solid var(--n-8);
|
|
border-radius: 6px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
}
|