@@ -13,8 +13,8 @@ button.primary {
1313 ),
1414 # 2d2d31 !important ;
1515 --button-box-shadow :
16- 0 3 px 0 0 rgba (255 , 255 , 255 , 0.16 ) inset, 0 -2px 0 0 # 000 inset , 0 1 px 0 0 # 000 inset,
17- 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.16 );
16+ 0 2 px 0 0 rgba (255 , 255 , 255 , 0.08 ) inset, 0 -2px 0 0 rgba ( 0 , 0 , 0 , 0.24 ) inset,
17+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.08 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.16 );
1818}
1919
2020a .primary : hover ,
@@ -29,8 +29,8 @@ button.primary:hover {
2929 ),
3030 # 2d2d31 !important ;
3131 --button-box-shadow :
32- 0 3 px 0 0 rgba (255 , 255 , 255 , 0.16 ) inset, 0 -2px 0 0 # 000 inset , 0 1 px 0 0 # 000 inset,
33- 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.12 );
32+ 0 2 px 0 0 rgba (255 , 255 , 255 , 0.08 ) inset, 0 -2px 0 0 rgba ( 0 , 0 , 0 , 0.24 ) inset,
33+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.08 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.16 );
3434}
3535
3636a .primary : active : not (: disabled ),
@@ -55,9 +55,8 @@ button.primary:active:not(:disabled) {
5555 ),
5656 # f4f4f7 !important ;
5757 --button-box-shadow :
58- 0 -2px 0 0 rgba (0 , 0 , 0 , 0.12 ) inset, 0 1px 0 0 rgba (237 , 237 , 240 , 0.8 ) inset,
59- 0 3px 0 0 rgba (255 , 255 , 255 , 1 ) inset, 0 1px 1px 0 rgba (0 , 0 , 0 , 0.2 ),
60- 0 2px 5px 0 rgba (0 , 0 , 0 , 0.24 );
58+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.12 ) inset, 0 2px 0 0 rgba (255 , 255 , 255 , 1 ) inset,
59+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.2 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.24 );
6160}
6261
6362.theme-dark a .primary : hover ,
@@ -72,9 +71,8 @@ button.primary:active:not(:disabled) {
7271 ),
7372 # f4f4f7 !important ;
7473 --button-box-shadow :
75- 0 -2px 0 0 rgba (0 , 0 , 0 , 0.16 ) inset, 0 1px 0 0 rgba (237 , 237 , 240 , 0.8 ) inset,
76- 0 3px 0 0 rgba (255 , 255 , 255 , 1 ) inset, 0 1px 1px 0 rgba (0 , 0 , 0 , 0.16 ),
77- 0 2px 5px 0 rgba (0 , 0 , 0 , 0.2 );
74+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.12 ) inset, 0 2px 0 0 rgba (255 , 255 , 255 , 1 ) inset,
75+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.2 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.24 );
7876}
7977
8078.theme-dark a .primary : active : not (: disabled ),
@@ -93,8 +91,8 @@ button.primary:active:not(:disabled) {
9391 0 1px 1px 0 rgba (0 , 0 , 0 , 0.2 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.24 );
9492}
9593
96- a .secondary ,
97- button .secondary {
94+ . theme-light a .secondary ,
95+ . theme-light button .secondary {
9896 --border-width-s : 0px ;
9997 background :
10098 linear-gradient (
@@ -105,12 +103,11 @@ button.secondary {
105103 ),
106104 # f4f4f7 !important ;
107105 --button-box-shadow :
108- 0 -2px 0 0 rgba (0 , 0 , 0 , 0.04 ) inset, 0 1px 0 0 rgba (237 , 237 , 240 , 0.8 ) inset,
109- 0 3px 0 0 rgba (255 , 255 , 255 , 0.5 ) inset, 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ),
110- 0 2px 5px 0 rgba (0 , 0 , 0 , 0.12 );
106+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.04 ) inset, 0 2px 0 0 rgba (255 , 255 , 255 , 0.5 ) inset,
107+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.08 );
111108}
112- a .secondary : hover ,
113- button .secondary : hover {
109+ . theme-light a .secondary : hover ,
110+ . theme-light button .secondary : hover {
114111 background :
115112 linear-gradient (0deg , rgba (255 , 255 , 255 , 0 ) -16.18% , rgba (255 , 255 , 255 , 0.4 ) 100% ),
116113 linear-gradient (
@@ -121,13 +118,12 @@ button.secondary:hover {
121118 ),
122119 # f4f4f7 !important ;
123120 --button-box-shadow :
124- 0 -2px 0 0 rgba (0 , 0 , 0 , 0.04 ) inset, 0 1px 0 0 rgba (237 , 237 , 240 , 0.8 ) inset,
125- 0 3px 0 0 rgba (255 , 255 , 255 , 0.5 ) inset, 0 1px 1px 0 rgba (0 , 0 , 0 , 0.09 ),
126- 0 2px 5px 0 rgba (0 , 0 , 0 , 0.1 );
121+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.04 ) inset, 0 2px 0 0 rgba (255 , 255 , 255 , 0.5 ) inset,
122+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.12 );
127123}
128124
129- a .secondary : active : not (: disabled ),
130- button .secondary : active : not (: disabled ) {
125+ . theme-light a .secondary : active : not (: disabled ),
126+ . theme-light button .secondary : active : not (: disabled ) {
131127 background :
132128 linear-gradient (
133129 180deg ,
@@ -147,14 +143,14 @@ button.secondary:active:not(:disabled) {
147143 background :
148144 linear-gradient (
149145 180deg ,
150- rgba (255 , 255 , 255 , 0.08 ) 0% ,
146+ rgba (255 , 255 , 255 , 0.04 ) 0% ,
151147 rgba (0 , 0 , 0 , 0 ) 40.87% ,
152148 # 2d2d31 100%
153149 ),
154150 # 2d2d31 !important ;
155151 --button-color : oklch (0.985 0 0 );
156152 --button-box-shadow :
157- 0 3 px 0 0 rgba (255 , 255 , 255 , 0.1 ) inset, 0 -2px 0 0 # 000 inset , 0 1 px 0 0 # 000 inset,
153+ 0 2 px 0 0 rgba (255 , 255 , 255 , 0.04 ) inset, 0 -2px 0 0 rgba ( 0 , 0 , 0 , 0.24 ) inset,
158154 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.16 );
159155}
160156
@@ -169,10 +165,6 @@ button.secondary:active:not(:disabled) {
169165 # 2d2d31 100%
170166 ),
171167 # 2d2d31 !important ;
172- --button-box-shadow :
173- 0 3px 0 0 rgba (255 , 255 , 255 , 0.1 ) inset, 0 -2px 0 0 # 000 inset, 0 1px 0 0 # 000 inset,
174- 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ), 0 2px 5px 0 rgba (0 , 0 , 0 , 0.12 );
175-
176168 --button-color : oklch (0.985 0 0 );
177169}
178170
@@ -194,3 +186,69 @@ button.secondary:active:not(:disabled) {
194186button .danger {
195187 --button-color : var (--neutral-0 );
196188}
189+
190+ .tab-primary {
191+ transition : none !important ;
192+ background : none !important ;
193+ border : none !important ;
194+ margin : none !important ;
195+ }
196+
197+ .theme-dark .tabs-primary {
198+ background : rgba (45 , 45 , 49 , 0.5 ) !important ;
199+ box-shadow :
200+ 0 4px 4px 0 rgba (0 , 0 , 0 , 0.02 ) inset,
201+ 0 -3px 4px 0 rgba (255 , 255 , 255 , 0.04 ) inset,
202+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.25 ) !important ;
203+ }
204+ .theme-dark .tab-primary .active {
205+ background :
206+ linear-gradient (
207+ 180deg ,
208+ rgba (255 , 255 , 255 , 0.01 ) 0% ,
209+ rgba (0 , 0 , 0 , 0 ) 40.87% ,
210+ rgba (0 , 0 , 0 , 0.12 ) 100%
211+ ),
212+ linear-gradient (0deg , # 2d2d31 0% , # 2d2d31 100% ), # 19191c !important ;
213+ background-blend-mode : normal, normal, normal;
214+ box-shadow :
215+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.04 ),
216+ -6px 1px 5.2px 1px rgba (0 , 0 , 0 , 0.04 ),
217+ 0 2px 5px 0 rgba (0 , 0 , 0 , 0.04 ),
218+ 0 2px 0 0 rgba (255 , 255 , 255 , 0.04 ) inset,
219+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.24 ) inset,
220+ 0 1px 0 0 var (--border-neutral-strong , # 414146 ) inset !important ;
221+ }
222+ .theme-dark .tab-primary : not (.active ): hover {
223+ color : var (--fgcolor-neutral-primary );
224+ }
225+
226+ .theme-light .tabs-primary {
227+ background : # f4f4f7 !important ;
228+ box-shadow :
229+ 0 1px 1px 0 rgba (0 , 0 , 0 , 0.12 ),
230+ 0 4px 4px 0 rgba (0 , 0 , 0 , 0.02 ) inset,
231+ 0 -3px 4px 0 rgba (255 , 255 , 255 , 0.5 ) inset !important ;
232+ }
233+
234+ .theme-light .tab-primary .active {
235+ background : # fafafb !important ;
236+ box-shadow :
237+ 0 2px 5px 0 rgba (0 , 0 , 0 , 0.12 ),
238+ 0 -2px 0 0 rgba (0 , 0 , 0 , 0.08 ) inset,
239+ 0 1px 0 0 rgba (237 , 237 , 240 , 0.8 ) inset,
240+ 0 2px 0 0 # fff inset !important ;
241+ }
242+ .theme-light .tab-primary : not (.active ): hover {
243+ color : var (--fgcolor-neutral-primary );
244+ }
245+
246+ .theme-light .top-cover-console ,
247+ .theme-light .main-content {
248+ background : var (--bgcolor-neutral-default );
249+ }
250+
251+ .theme-dark .top-cover-console ,
252+ .theme-dark .main-content {
253+ background : var (--bgcolor-neutral-default );
254+ }
0 commit comments