@@ -11,22 +11,25 @@ body {
1111
1212.panel {
1313 width : 320px ;
14- padding : 16px ;
14+ padding : 14 px 16px 8 px ;
1515}
1616
1717.title {
18- margin : 0 0 4 px ;
18+ margin : 0 0 6 px ;
1919 font-size : 18px ;
20+ display : flex;
21+ align-items : center;
22+ gap : 8px ;
2023}
2124
2225.subtitle {
23- margin : 0 0 16 px ;
26+ margin : 0 0 12 px ;
2427 font-size : 12px ;
2528 color : # 596273 ;
2629}
2730
2831.section {
29- margin-bottom : 16 px ;
32+ margin-bottom : 12 px ;
3033}
3134
3235.group {
3639}
3740
3841.legend {
42+ display : inline-flex;
43+ align-items : center;
44+ gap : 6px ;
3945 font-size : 12px ;
4046 color : # 596273 ;
4147 padding : 0 6px ;
@@ -44,23 +50,43 @@ body {
4450.option {
4551 display : flex;
4652 align-items : center;
47- gap : 8 px ;
48- margin-bottom : 8 px ;
53+ gap : 10 px ;
54+ margin-bottom : 6 px ;
4955 font-size : 13px ;
5056}
5157
52- .count-row {
53- display : flex;
58+ .option-radio {
59+ padding : 6px 8px ;
60+ border-radius : 8px ;
61+ transition : background 0.15s ease, border-color 0.15s ease;
62+ }
63+
64+ .option-radio : has (input [type = "radio" ]: checked ) {
65+ background : rgba (26 , 115 , 232 , 0.08 );
66+ }
67+
68+ .option-radio : has (input [type = "radio" ]: focus-visible ) {
69+ background : rgba (26 , 115 , 232 , 0.12 );
70+ }
71+
72+ .option-inline {
73+ flex-wrap : wrap;
74+ gap : 8px 10px ;
75+ }
76+
77+ .inline-count {
78+ display : inline-flex;
5479 align-items : center;
55- gap : 8 px ;
56- margin-left : 24 px ;
80+ gap : 6 px ;
81+ margin-left : 4 px ;
5782}
5883
5984# count {
60- width : 72 px ;
61- padding : 4px 6 px ;
62- border-radius : 6 px ;
85+ width : 64 px ;
86+ padding : 4px 10 px ;
87+ border-radius : 999 px ;
6388 border : 1px solid # c5c9d3 ;
89+ background : # ffffff ;
6490}
6591
6692.count-label {
@@ -75,8 +101,61 @@ body {
75101 font-size : 13px ;
76102}
77103
104+ input [type = "radio" ],
105+ input [type = "checkbox" ] {
106+ appearance : none;
107+ width : 16px ;
108+ height : 16px ;
109+ border : 1.5px solid # b8c0cc ;
110+ border-radius : 50% ;
111+ display : grid;
112+ place-content : center;
113+ margin : 0 ;
114+ background : # ffffff ;
115+ transition : border-color 0.15s ease, box-shadow 0.15s ease,
116+ background 0.15s ease;
117+ }
118+
119+ input [type = "checkbox" ] {
120+ border-radius : 4px ;
121+ }
122+
123+ input [type = "radio" ]::before ,
124+ input [type = "checkbox" ]::before {
125+ content : "" ;
126+ width : 8px ;
127+ height : 8px ;
128+ transform : scale (0 );
129+ transition : transform 0.12s ease;
130+ background : # 1a73e8 ;
131+ border-radius : 50% ;
132+ }
133+
134+ input [type = "checkbox" ]::before {
135+ width : 10px ;
136+ height : 10px ;
137+ border-radius : 2px ;
138+ }
139+
140+ input [type = "radio" ]: checked ::before ,
141+ input [type = "checkbox" ]: checked ::before {
142+ transform : scale (1 );
143+ }
144+
145+ input [type = "radio" ]: focus-visible ,
146+ input [type = "checkbox" ]: focus-visible {
147+ outline : none;
148+ box-shadow : 0 0 0 3px rgba (26 , 115 , 232 , 0.25 );
149+ border-color : # 1a73e8 ;
150+ }
151+
152+ label : hover input [type = "radio" ],
153+ label : hover input [type = "checkbox" ] {
154+ border-color : # 8fa3bf ;
155+ }
156+
78157.actions {
79- margin-top : 8 px ;
158+ margin-top : 6 px ;
80159}
81160
82161.primary {
@@ -88,6 +167,10 @@ body {
88167 color : # ffffff ;
89168 font-size : 14px ;
90169 cursor : pointer;
170+ display : flex;
171+ align-items : center;
172+ justify-content : center;
173+ gap : 8px ;
91174}
92175
93176.primary : disabled {
@@ -96,8 +179,33 @@ body {
96179}
97180
98181.status {
99- margin : 8 px 0 0 ;
100- min-height : 16 px ;
182+ margin : 4 px 0 0 ;
183+ min-height : 0 ;
101184 font-size : 12px ;
102185 color : # 374151 ;
103186}
187+
188+ .status : empty {
189+ display : none;
190+ }
191+
192+ .icon {
193+ width : 16px ;
194+ height : 16px ;
195+ stroke : currentColor;
196+ fill : none;
197+ stroke-width : 2 ;
198+ stroke-linecap : round;
199+ stroke-linejoin : round;
200+ color : # 52607a ;
201+ }
202+
203+ .title .icon {
204+ color : # 1a73e8 ;
205+ width : 18px ;
206+ height : 18px ;
207+ }
208+
209+ .primary .icon {
210+ color : # ffffff ;
211+ }
0 commit comments