File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
packages/styles/src/components Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ @layer components {
2+ .gecut-list-item {
3+ & .interactive {
4+ @apply focus-ring-inner state-onSurface;
5+ }
6+ & .multiline {
7+ .gecut-list-item-content {
8+ @apply min-h-12;
9+ }
10+ }
11+ & .supporting-text-two-line {
12+ .gecut-list-item-leading {
13+ @apply items-start;
14+ }
15+ .gecut-list-item-supporting-text {
16+ @apply line-clamp-2;
17+ }
18+ }
19+
20+ & & - body {
21+ @apply flex gap-4 py-3 px-4;
22+ }
23+
24+ & & - leading {
25+ @apply empty:hidden flex items-center shrink-0;
26+ }
27+ & & - content {
28+ @apply flex flex-col min-h-8 grow justify-center;
29+ }
30+ & & - trailing {
31+ @apply empty:hidden flex justify-center items-center shrink-0 gap-4;
32+ }
33+
34+ & & - headline {
35+ @apply text-onSurface text-bodyLarge text-start line-clamp-1;
36+ }
37+ & & - suppor ting- text {
38+ @apply text-onSurfaceVariant text-bodyMedium line-clamp-1 text-start;
39+ }
40+
41+ & & - trailing- suppor ting- text {
42+ @apply text-onSurfaceVariant text-labelSmall;
43+ }
44+
45+ & & - slot- avatar- character {
46+ @apply bg-tertiaryContainer text-onTertiaryContainer uppercase size-10 flex items-center justify-center text-bodyLarge rounded-full;
47+ }
48+ & & - slot- thumbnail {
49+ img {
50+ @apply w-full h-full object-cover;
51+ }
52+
53+ @apply size-14 rounded elevation-1;
54+ }
55+
56+ @apply relative flex flex-col shrink-0 select-none list-none w-full bg-transparent text-onSurface overflow-hidden rounded-lg disabled:cursor-default disabled:pointer-events-none;
57+ }
58+ }
You can’t perform that action at this time.
0 commit comments