Merge pull request #15397 from searleb/independent-btn-styles

Independent btn styles
This commit is contained in:
偏右 2019-03-15 20:46:09 +08:00 committed by GitHub
commit 9b8126cc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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);