File tree Expand file tree Collapse file tree 2 files changed +476
-33
lines changed
packages/component-library/src/Select Expand file tree Collapse file tree 2 files changed +476
-33
lines changed Original file line number Diff line number Diff line change
1
+ @use " ../theme" ;
2
+
3
+ .storiesContainer {
4
+ display : flex ;
5
+ flex-direction : column ;
6
+ gap : theme .spacing (8 );
7
+ }
8
+
9
+ .grid {
10
+ display : grid ;
11
+ grid-template-columns : repeat (auto-fit , minmax (200px , 1fr ));
12
+ gap : theme .spacing (4 );
13
+ align-items : start ;
14
+ }
15
+
16
+ .row {
17
+ display : flex ;
18
+ align-items : center ;
19
+ gap : theme .spacing (4 );
20
+
21
+ > label {
22
+ min-width : 80px ;
23
+ font-size : theme .font-size (" xs" );
24
+ }
25
+ }
26
+
27
+ .placementGrid {
28
+ display : grid ;
29
+ grid-template-columns : repeat (3 , 1fr );
30
+ gap : theme .spacing (8 );
31
+ align-items : center ;
32
+ justify-items : center ;
33
+ min-height : 300px ;
34
+ }
35
+
36
+ .controlledContainer {
37
+ display : flex ;
38
+ flex-direction : column ;
39
+ gap : theme .spacing (4 );
40
+
41
+ > p {
42
+ font-size : theme .font-size (" xs" );
43
+ }
44
+ }
45
+
46
+ .iconsGrid {
47
+ display : grid ;
48
+ grid-template-columns : repeat (auto-fit , minmax (250px , 1fr ));
49
+ gap : theme .spacing (4 );
50
+ }
51
+
52
+ .iconLabel {
53
+ display : flex ;
54
+ align-items : center ;
55
+ gap : theme .spacing (2 );
56
+ }
57
+
58
+ .statusIndicator {
59
+ width : 8px ;
60
+ height : 8px ;
61
+ border-radius : 50% ;
62
+
63
+ & [data-status = " active" ] {
64
+ background-color : #10b981 ;
65
+ }
66
+
67
+ & [data-status = " inactive" ] {
68
+ background-color : #ef4444 ;
69
+ }
70
+
71
+ & [data-status = " pending" ] {
72
+ background-color : #f59e0b ;
73
+ }
74
+
75
+ & [data-status = " archived" ] {
76
+ background-color : #6b7280 ;
77
+ }
78
+ }
You can’t perform that action at this time.
0 commit comments