Browse Source

fix less

pull/44/head
yiminghe 10 years ago
parent
commit
c7436301e8
  1. 6
      style/components/pagination.less
  2. 10
      style/components/tabs.less
  3. 1
      style/core/motion/zoom.less

6
style/components/pagination.less

@ -1,6 +1,6 @@
@prefixClass: ant-pagination;
@paginationPrefixClass: ant-pagination;
.@{prefixClass} {
.@{paginationPrefixClass} {
user-select: none;
font-size: 12px;
font-family: 'Arial';
@ -194,7 +194,7 @@
}
}
.@{prefixClass} {
.@{paginationPrefixClass} {
&.mini &-item {
border: none;

10
style/components/tabs.less

@ -1,10 +1,10 @@
@prefixClass: ant-tabs;
@tabPrefixClass: ant-tabs;
@easing-in-out: cubic-bezier(0.35, 0, 0.25, 1);
@effect-duration: .3s;
.@{prefixClass} {
.@{tabPrefixClass} {
outline: none;
box-sizing: border-box;
position: relative;
@ -128,7 +128,7 @@
clear: both;
}
div.@{prefixClass}-tab-active {
div.@{tabPrefixClass}-tab-active {
> a, > a:hover, > a:focus {
color: tint(@primary-color, 20%);
cursor: pointer;
@ -136,7 +136,7 @@
}
}
div.@{prefixClass}-tab-disabled {
div.@{tabPrefixClass}-tab-disabled {
pointer-events: none;
cursor: default;
@ -145,7 +145,7 @@
}
}
.@{prefixClass}-tab {
.@{tabPrefixClass}-tab {
float: left;
height: 100%;
margin-right: 28px;

1
style/core/motion/zoom.less

@ -2,6 +2,7 @@
.make-motion(@className, @keyframeName);
.@{className}-enter {
opacity: 0;
transform: scale(0, 0); // need this by yiminghe
animation-timing-function: @ease-out-circ;
}
.@{className}-leave {

Loading…
Cancel
Save