mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 07:20:27 +00:00
styling share
This commit is contained in:
parent
a22a2f0f37
commit
3d61cc5d2b
3 changed files with 148 additions and 21 deletions
|
|
@ -78,14 +78,29 @@
|
|||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
|
||||
span:last-child {
|
||||
&[data-placeholder] {
|
||||
span[data-placeholder] {
|
||||
color: var(--sl-color-text-dimmed);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-section="stats"][data-section-models] {
|
||||
gap: 0.5rem;
|
||||
|
||||
[data-stat-model-icon] {
|
||||
flex: 0 0 auto;
|
||||
color: var(--sl-color-text-dimmed);
|
||||
opacity: 0.85;
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
span[data-stat-model] {
|
||||
color: var(sl-color-text);
|
||||
}
|
||||
}
|
||||
|
||||
[data-section="date"] {
|
||||
span {
|
||||
font-size: 0.875rem;
|
||||
|
|
@ -139,16 +154,21 @@
|
|||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
|
||||
span:first-child {
|
||||
span[data-part-title] {
|
||||
padding-top: 2px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
span:last-child {
|
||||
span[data-part-footer] {
|
||||
align-self: flex-start;
|
||||
font-size: 0.75rem;
|
||||
color: var(--sl-color-text-dimmed);
|
||||
}
|
||||
|
||||
span[data-part-model] {
|
||||
line-height: 1.5;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue