Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 17fa8eb9
authored
Sep 26, 2024
by
Vben
Committed by
GitHub
Sep 26, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: improve ant design button icon style (#4520)
1 parent
8250894a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
15 deletions
packages/styles/src/antd/index.css
packages/styles/src/antd/index.css
View file @
17fa8eb
...
...
@@ -7,29 +7,38 @@
color
:
inherit
;
}
.ant-btn
{
.anticon
{
display
:
inline-flex
;
}
}
.ant-message-notice-content
,
.ant-notification-notice
{
@apply
dark
:
border-border
/
60
dark
:
border
;
}
/** select 选择器的样式 */
.form-valid-error
.ant-select
.ant-select-selector
{
border-color
:
hsl
(
var
(
--destructive
))
!important
;
}
.form-valid-error
{
/** select 选择器的样式 */
.form-valid-error
.ant-select-focused
.ant-select-selector
{
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
)
!important
;
}
.ant-select
.ant-select-selector
{
border-color
:
hsl
(
var
(
--destructive
)
)
!important
;
}
/** 数字输入框样式 */
.form-valid-error
.ant-input-number-focused
{
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
);
}
.ant-select-focused
.ant-select-selector
{
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
)
!important
;
}
/** 密码输入框样式 */
.form-valid-error
.ant-input-affix-wrapper
:hover
{
border-color
:
hsl
(
var
(
--destructive
));
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
);
/** 数字输入框样式 */
.ant-input-number-focused
{
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
);
}
/** 密码输入框样式 */
.ant-input-affix-wrapper
:hover
{
border-color
:
hsl
(
var
(
--destructive
));
box-shadow
:
0
0
0
2px
rgb
(
255
38
5
/
6%
);
}
}
/** 区间选择器下面来回切换时的样式 */
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment