mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
style: reduce some css code (#36904)
This commit is contained in:
parent
30d60fc05c
commit
8ed18fc239
@ -29,7 +29,6 @@
|
||||
&-button {
|
||||
.operation-unit();
|
||||
color: @page-header-back-color;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
.operation-unit() {
|
||||
color: @link-color;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s;
|
||||
|
@ -509,7 +509,6 @@
|
||||
background: @table-expand-icon-bg;
|
||||
border: @border-width-base @border-style-base @table-border-color;
|
||||
border-radius: @border-radius-base;
|
||||
outline: none;
|
||||
transform: scale((unit(@checkbox-size) / unit(@expand-icon-size)));
|
||||
transition: all 0.3s;
|
||||
user-select: none;
|
||||
|
@ -127,9 +127,14 @@
|
||||
}
|
||||
|
||||
&-remove {
|
||||
.operation-unit();
|
||||
position: relative;
|
||||
color: @border-color-base;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
|
||||
&:hover {
|
||||
color: @link-hover-color;
|
||||
}
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
@ -139,10 +144,6 @@
|
||||
left: -50%;
|
||||
content: '';
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @link-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user