mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
⌨️ Add less vars @link-focus-decoration and @link-focus-outline
This commit is contained in:
parent
b8109bd20e
commit
bd9be358e2
@ -245,6 +245,12 @@ a {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
// https://github.com/ant-design/ant-design/issues/22503
|
||||
&:focus {
|
||||
text-decoration: @link-focus-decoration;
|
||||
outline: @link-focus-outline;
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
color: @disabled-color;
|
||||
cursor: not-allowed;
|
||||
|
@ -98,6 +98,8 @@
|
||||
@link-active-color: color(~`colorPalette('@{link-color}', 7) `);
|
||||
@link-decoration: none;
|
||||
@link-hover-decoration: none;
|
||||
@link-focus-decoration: none;
|
||||
@link-focus-outline: 0;
|
||||
|
||||
// Animation
|
||||
@ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user