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; user-select: none;
font-size: 12px; font-size: 12px;
font-family: 'Arial'; font-family: 'Arial';
@ -194,7 +194,7 @@
} }
} }
.@{prefixClass} { .@{paginationPrefixClass} {
&.mini &-item { &.mini &-item {
border: none; 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); @easing-in-out: cubic-bezier(0.35, 0, 0.25, 1);
@effect-duration: .3s; @effect-duration: .3s;
.@{prefixClass} { .@{tabPrefixClass} {
outline: none; outline: none;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
@ -128,7 +128,7 @@
clear: both; clear: both;
} }
div.@{prefixClass}-tab-active { div.@{tabPrefixClass}-tab-active {
> a, > a:hover, > a:focus { > a, > a:hover, > a:focus {
color: tint(@primary-color, 20%); color: tint(@primary-color, 20%);
cursor: pointer; cursor: pointer;
@ -136,7 +136,7 @@
} }
} }
div.@{prefixClass}-tab-disabled { div.@{tabPrefixClass}-tab-disabled {
pointer-events: none; pointer-events: none;
cursor: default; cursor: default;
@ -145,7 +145,7 @@
} }
} }
.@{prefixClass}-tab { .@{tabPrefixClass}-tab {
float: left; float: left;
height: 100%; height: 100%;
margin-right: 28px; margin-right: 28px;

1
style/core/motion/zoom.less

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

Loading…
Cancel
Save