Browse Source

Fix button style

pull/1177/head
afc163 9 years ago
parent
commit
827ac4b7e8
  1. 13
      style/components/button.less
  2. 4
      style/mixins/button.less

13
style/components/button.less

@ -106,9 +106,8 @@
bottom: 0;
right: 0;
border-radius: inherit;
z-index: -1;
border: 0 solid @primary-color;
opacity: 0.44;
opacity: 0.4;
animation: buttonEffect 0.36s ease forwards;
}
}
@ -116,10 +115,10 @@
@keyframes buttonEffect {
to {
opacity: 0;
top: -6px;
left: -6px;
bottom: -6px;
right: -6px;
border-width: 6px;
top: -5px;
left: -5px;
bottom: -5px;
right: -5px;
border-width: 5px;
}
}

4
style/mixins/button.less

@ -200,10 +200,10 @@
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: inline-block;
.opacity(0);
width: 100%;
height: 100%;
border-radius: 50% 50%;
content: " ";
.scale(0, 0);

Loading…
Cancel
Save