@@ -24,6 +24,48 @@ html.dark .treeselect > .treeselect-input {
24
24
background : transparent;
25
25
}
26
26
27
+ .treeselect-list__empty-icon {
28
+ display : none;
29
+ }
30
+
31
+ .treeselect-input__edit ::placeholder , .treeselect-list__empty {
32
+ --tw-text-opacity : 1 ;
33
+ color : rgba (var (--gray-400 ), var (--tw-text-opacity ));
34
+ cursor : default;
35
+ }
36
+
37
+ .treeselect-input__clear svg {
38
+ display : none;
39
+ }
40
+
41
+ .treeselect-input__clear {
42
+ background-color : transparent;
43
+ background-image : url (data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMSI+PGcgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJtMi41OTIuMDQ0IDE4LjM2NCAxOC4zNjQtMi41NDggMi41NDhMLjA0NCAyLjU5MnoiLz48cGF0aCBkPSJNMCAxOC4zNjQgMTguMzY0IDBsMi41NDggMi41NDhMMi41NDggMjAuOTEyeiIvPjwvZz48L3N2Zz4=);
44
+ background-position : 50% ;
45
+ background-repeat : no-repeat;
46
+ background-size : .7142em .7142em ;
47
+ border-width : 0 ;
48
+ inset-inline-end : 0 ;
49
+ margin-inline-end : 2.25rem ;
50
+ opacity : .5 ;
51
+ outline : 2px solid transparent;
52
+ outline-offset : 2px ;
53
+ padding : 0 ;
54
+ position : absolute;
55
+ text-indent : -9999px ;
56
+ top : calc (50% - 0.38em );
57
+ transition-duration : 75ms ;
58
+ transition-property : opacity;
59
+ transition-timing-function : cubic-bezier (.4 , 0 , .2 , 1 );
60
+ width : 1rem ;
61
+ height : 10px ;
62
+ }
63
+
64
+ .treeselect-list__empty {
65
+ padding-top : 18px ;
66
+ padding-bottom : 18px ;
67
+ }
68
+
27
69
.treeselect-input__tags-count {
28
70
margin-left : 9px ;
29
71
}
@@ -259,3 +301,11 @@ html.dark
259
301
[dir = 'rtl' ] .treeselect-input {
260
302
padding : 2px 4px 2px 40px ;
261
303
}
304
+
305
+ .treeselect-input__arrow svg , .treeselect-input__arrow svg : hover {
306
+ stroke : # 6b7280 ;
307
+ height : 20px ;
308
+ min-width : 18px ;
309
+ width : 15px ;
310
+ cursor : auto;
311
+ }
0 commit comments