Fix ghost button background to transparent, close #1126

pull/1146/head
afc163 9 years ago
parent 490f65925a
commit 50d8e22a1c

@ -153,11 +153,11 @@
&:hover, &:hover,
&:focus { &:focus {
.button-color(tint(@primary-color, 20%); white; tint(@primary-color, 20%)); .button-color(tint(@primary-color, 20%); @btn-ghost-bg; tint(@primary-color, 20%));
} }
&:active, &:active,
&.active { &.active {
.button-color(shade(@primary-color, 5%); white; shade(@primary-color, 5%)); .button-color(shade(@primary-color, 5%); @btn-ghost-bg; shade(@primary-color, 5%));
} }
} }
@ -168,11 +168,11 @@
&:hover, &:hover,
&:focus { &:focus {
.button-color(tint(@primary-color, 20%); white; tint(@primary-color, 20%)); .button-color(tint(@primary-color, 20%); @btn-ghost-bg; tint(@primary-color, 20%));
} }
&:active, &:active,
&.active { &.active {
.button-color(shade(@primary-color, 5%); white; shade(@primary-color, 5%)); .button-color(shade(@primary-color, 5%); @btn-ghost-bg; shade(@primary-color, 5%));
} }
} }

@ -63,7 +63,7 @@
@btn-default-border : @border-color-base; @btn-default-border : @border-color-base;
@btn-ghost-color : @text-color; @btn-ghost-color : @text-color;
@btn-ghost-bg : #fff; @btn-ghost-bg : transparent;
@btn-ghost-border : @border-color-base; @btn-ghost-border : @border-color-base;
@btn-disable-color : #ccc; @btn-disable-color : #ccc;

Loading…
Cancel
Save