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