mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
92 lines
1.8 KiB
CSS
92 lines
1.8 KiB
CSS
.container {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.divider {
|
|
height: 1px;
|
|
margin: var(--theme-spacing-xs) 0;
|
|
background: none;
|
|
border: none;
|
|
border-top: 1px solid var(--theme-colors-border);
|
|
}
|
|
|
|
.preview {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--theme-spacing-sm) var(--theme-spacing-md);
|
|
border-radius: var(--theme-radius-sm);
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
gap: var(--theme-spacing-sm);
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
overflow: hidden;
|
|
border-radius: var(--theme-radius-sm);
|
|
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.image-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: linear-gradient(135deg, rgb(255 255 255 / 10%) 0%, rgb(0 0 0 / 10%) 100%);
|
|
}
|
|
|
|
.icon-container {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--theme-colors-surface) 0%,
|
|
var(--theme-colors-background) 100%
|
|
);
|
|
border: 1px solid var(--theme-colors-border);
|
|
border-radius: var(--theme-radius-sm);
|
|
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
|
|
}
|
|
|
|
.text-container {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: var(--theme-font-size-sm);
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
color: var(--theme-colors-foreground);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.count {
|
|
font-size: var(--theme-font-size-xs);
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
color: var(--theme-colors-foreground-muted);
|
|
}
|