File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818.resultHeader {
1919 flex-shrink : 0 ;
2020 overflow-x : scroll ;
21- background-color : var (--color-bg-elevated );
21+ background-color : var (--color-bg-base );
2222
2323 & ::-webkit-scrollbar {
2424 display : none ;
Original file line number Diff line number Diff line change 11@import ' ../../styles/var.less' ;
22
33.tab-focus () {
4- background-color : var (--color-bg-elevated ) !important ;
4+ background-color : var (--color-bg-elevated );
55 // 添加内阴影
66 border-bottom : 1px solid var (--color-primary );
7- .icon {
7+ .icon {
88 display : flex ;
99 }
1010}
1111
1212.tab-focus-line () {
1313 color : var (--color-primary );
14- background-color : var (--color-bg-base );
14+ background-color : var (--color-bg-elevated );
15+ .icon {
16+ display : flex ;
17+ }
1518}
1619
1720.tab {
1821 display : flex ;
1922 overflow : auto ;
20- & ::-webkit-scrollbar {display : none ;}
23+ & ::-webkit-scrollbar {
24+ display : none ;
25+ }
2126}
2227
2328.tabList {
3540 cursor : pointer ;
3641 user-select : none ;
3742 border-right : 1px solid var (--color-border );
38- .textBox {
43+ .textBox {
3944 flex : 1 ;
4045 display : flex ;
4146 align-items : center ;
4247 }
43- .text {
48+ .text {
4449 flex : 1 ;
4550 width : 0 ;
4651 .f-single-line ();
6065 }
6166 }
6267 & :hover {
63- .icon {
64- display : flex ;
65- }
66- background-color : var (--color-bg-hover );
68+ .tab-focus ();
6769 color : var (--color-primary );
6870 }
6971}
7880 width : 100px ;
7981 cursor : pointer ;
8082 border-right : 1px solid var (--color-border );
81- & :hover {
82- .tab-focus-line ();
83- .text {
84- color : var (--color-primary );
85- }
83+ .textBox {
84+ flex : 1 ;
85+ display : flex ;
86+ align-items : center ;
87+ }
88+ .text {
89+ flex : 1 ;
90+ width : 0 ;
91+ .f-single-line ();
8692 }
8793 .text {
8894 flex : 1 ;
8995 width : 0 ;
9096 .f-single-line ();
9197 }
9298 .icon {
93- display : flex ;
99+ display : none ;
94100 align-items : center ;
95101 flex-shrink : 0 ;
96102 height : 20px ;
103109 color : var (--color-primary );
104110 }
105111 }
112+ & :hover {
113+ .tab-focus-line ();
114+ color : var (--color-primary );
115+ }
106116}
107117
108118.activeTab {
129139 }
130140}
131141
132- .input {
142+ .input {
133143 border : 0 ;
134144 width : 86px ;
135145 flex : 1 ;
136146 height : 20px ;
137147 outline : none ;
138148 font-size : 12px ;
139149 font-weight : 400 ;
140- input :focus {
150+ input :focus {
141151 outline : none ;
142152 }
143153}
144154
145- .prefixIcon {
155+ .prefixIcon {
146156 flex-shrink : 0 ;
147157 margin-right : 4px ;
148158}
Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ import { v4 as uuidv4 } from 'uuid';
77import { getAntdThemeConfig } from '@/theme' ;
88import { IVersionResponse } from '@/typings' ;
99import miscService from '@/service/misc' ;
10-
1110import antdEnUS from 'antd/locale/en_US' ;
1211import antdZhCN from 'antd/locale/zh_CN' ;
1312import { useTheme } from '@/hooks' ;
14- import { isEn } from '@/utils/check ' ;
13+ import { isEn } from '@/i18n ' ;
1514import { ThemeType , PrimaryColorType , LangType } from '@/constants/' ;
1615import { InjectThemeVar } from '@/theme' ;
1716import styles from './index.less' ;
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments