mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Add two less variables
This commit is contained in:
parent
7233b9a908
commit
4a756405d4
@ -68,11 +68,11 @@
|
||||
|
||||
// size
|
||||
&-lg > .@{btnClassName} {
|
||||
.button-size(@btn-padding-lg; @btn-font-size-lg; @border-radius-base);
|
||||
.button-size(@btn-padding-lg; @btn-font-size-lg; @btn-border-radius-base);
|
||||
}
|
||||
|
||||
&-sm > .@{btnClassName} {
|
||||
.button-size(@btn-padding-sm; @font-size-base; @border-radius-sm);
|
||||
.button-size(@btn-padding-sm; @font-size-base; @btn-border-radius-sm);
|
||||
> .@{iconfont-css-prefix} {
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
@ -94,7 +94,7 @@
|
||||
// outline: none;
|
||||
white-space: nowrap;
|
||||
line-height: @line-height-base;
|
||||
.button-size(@btn-padding-base; @font-size-base; @border-radius-base);
|
||||
.button-size(@btn-padding-base; @font-size-base; @btn-border-radius-base);
|
||||
user-select: none;
|
||||
transition: all .3s @ease-in-out;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
@ -71,6 +71,8 @@
|
||||
|
||||
// Buttons
|
||||
@btn-font-weight : 500;
|
||||
@btn-border-radius-base : @border-radius-base;
|
||||
@btn-border-radius-sm : @border-radius-sm;
|
||||
|
||||
@btn-primary-color : #fff;
|
||||
@btn-primary-bg : @primary-color;
|
||||
|
Loading…
Reference in New Issue
Block a user