mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-21 08:29:18 +08:00
Merge pull request #15397 from searleb/independent-btn-styles
Independent btn styles
This commit is contained in:
commit
9b8126cc54
@ -156,7 +156,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
border: @border-width-base @border-style-base transparent;
|
border: @btn-border-width @btn-border-style transparent;
|
||||||
box-shadow: @btn-shadow;
|
box-shadow: @btn-shadow;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s @ease-in-out;
|
transition: all 0.3s @ease-in-out;
|
||||||
|
@ -139,6 +139,8 @@
|
|||||||
@btn-font-weight: 400;
|
@btn-font-weight: 400;
|
||||||
@btn-border-radius-base: @border-radius-base;
|
@btn-border-radius-base: @border-radius-base;
|
||||||
@btn-border-radius-sm: @border-radius-base;
|
@btn-border-radius-sm: @border-radius-base;
|
||||||
|
@btn-border-width: @border-width-base;
|
||||||
|
@btn-border-style: @border-style-base;
|
||||||
@btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
@btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
|
||||||
@btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
@btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
||||||
@btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
@btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
||||||
|
Loading…
Reference in New Issue
Block a user