抽取变量

This commit is contained in:
ahua52 2017-01-07 15:52:00 +08:00
parent 74941228c6
commit 88fc28989a
2 changed files with 58 additions and 42 deletions

View File

@ -597,7 +597,8 @@
margin-bottom: (($navbar-height - $element-height) / 2);
}
@-webkit-keyframes antSlideUpIn {
/* keyframes 定义 */
@-webkit-keyframes uSlideUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
@ -613,7 +614,7 @@
transform: scaleY(1);
}
}
@keyframes antSlideUpIn {
@keyframes uSlideUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
@ -629,7 +630,7 @@
transform: scaleY(1);
}
}
@-webkit-keyframes antSlideUpOut {
@-webkit-keyframes uSlideUpOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
@ -645,7 +646,7 @@
transform: scaleY(0.8);
}
}
@keyframes antSlideUpOut {
@keyframes uSlideUpOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
@ -661,7 +662,7 @@
transform: scaleY(0.8);
}
}
@-webkit-keyframes antSlideDownIn {
@-webkit-keyframes uSlideDownIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 100%;
@ -677,7 +678,7 @@
transform: scaleY(1);
}
}
@keyframes antSlideDownIn {
@keyframes uSlideDownIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 100%;
@ -693,7 +694,7 @@
transform: scaleY(1);
}
}
@-webkit-keyframes antSlideDownOut {
@-webkit-keyframes uSlideDownOut {
0% {
opacity: 1;
-webkit-transform-origin: 100% 100%;
@ -709,7 +710,7 @@
transform: scaleY(0.8);
}
}
@keyframes antSlideDownOut {
@keyframes uSlideDownOut {
0% {
opacity: 1;
-webkit-transform-origin: 100% 100%;
@ -725,7 +726,7 @@
transform: scaleY(0.8);
}
}
@-webkit-keyframes antSlideLeftIn {
@-webkit-keyframes uSlideLeftIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
@ -741,7 +742,7 @@
transform: scaleX(1);
}
}
@keyframes antSlideLeftIn {
@keyframes uSlideLeftIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
@ -757,7 +758,7 @@
transform: scaleX(1);
}
}
@-webkit-keyframes antSlideLeftOut {
@-webkit-keyframes uSlideLeftOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
@ -773,7 +774,7 @@
transform: scaleX(0.8);
}
}
@keyframes antSlideLeftOut {
@keyframes uSlideLeftOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
@ -789,7 +790,7 @@
transform: scaleX(0.8);
}
}
@-webkit-keyframes antSlideRightIn {
@-webkit-keyframes uSlideRightIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 0%;
@ -805,7 +806,7 @@
transform: scaleX(1);
}
}
@keyframes antSlideRightIn {
@keyframes uSlideRightIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 0%;
@ -821,7 +822,7 @@
transform: scaleX(1);
}
}
@-webkit-keyframes antSlideRightOut {
@-webkit-keyframes uSlideRightOut {
0% {
opacity: 1;
-webkit-transform-origin: 100% 0%;
@ -837,7 +838,7 @@
transform: scaleX(0.8);
}
}
@keyframes antSlideRightOut {
@keyframes uSlideRightOut {
0% {
opacity: 1;
-webkit-transform-origin: 100% 0%;
@ -853,7 +854,7 @@
transform: scaleX(0.8);
}
}
@-webkit-keyframes antSwingIn {
@-webkit-keyframes uSwingIn {
0%,
100% {
-webkit-transform: translateX(0px);
@ -876,7 +877,7 @@
transform: translateX(5px);
}
}
@keyframes antSwingIn {
@keyframes uSwingIn {
0%,
100% {
-webkit-transform: translateX(0px);
@ -899,7 +900,7 @@
transform: translateX(5px);
}
}
@-webkit-keyframes antZoomIn {
@-webkit-keyframes uZoomIn {
0% {
opacity: 0;
-webkit-transform: scale(0.2);
@ -911,7 +912,7 @@
transform: scale(1);
}
}
@keyframes antZoomIn {
@keyframes uZoomIn {
0% {
opacity: 0;
-webkit-transform: scale(0.2);
@ -923,7 +924,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomOut {
@-webkit-keyframes uZoomOut {
0% {
-webkit-transform: scale(1);
transform: scale(1);
@ -934,7 +935,7 @@
transform: scale(0.2);
}
}
@keyframes antZoomOut {
@keyframes uZoomOut {
0% {
-webkit-transform: scale(1);
transform: scale(1);
@ -945,7 +946,7 @@
transform: scale(0.2);
}
}
@-webkit-keyframes antZoomBigIn {
@-webkit-keyframes uZoomBigIn {
0% {
opacity: 0;
-webkit-transform: scale(0.8);
@ -956,7 +957,7 @@
transform: scale(1);
}
}
@keyframes antZoomBigIn {
@keyframes uZoomBigIn {
0% {
opacity: 0;
-webkit-transform: scale(0.8);
@ -967,7 +968,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomBigOut {
@-webkit-keyframes uZoomBigOut {
0% {
-webkit-transform: scale(1);
transform: scale(1);
@ -978,7 +979,7 @@
transform: scale(0.8);
}
}
@keyframes antZoomBigOut {
@keyframes uZoomBigOut {
0% {
-webkit-transform: scale(1);
transform: scale(1);
@ -989,7 +990,7 @@
transform: scale(0.8);
}
}
@-webkit-keyframes antZoomUpIn {
@-webkit-keyframes uZoomUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 50% 0%;
@ -1004,7 +1005,7 @@
transform: scale(1);
}
}
@keyframes antZoomUpIn {
@keyframes uZoomUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 50% 0%;
@ -1019,7 +1020,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomUpOut {
@-webkit-keyframes uZoomUpOut {
0% {
-webkit-transform-origin: 50% 0%;
transform-origin: 50% 0%;
@ -1034,7 +1035,7 @@
transform: scale(0.8);
}
}
@keyframes antZoomUpOut {
@keyframes uZoomUpOut {
0% {
-webkit-transform-origin: 50% 0%;
transform-origin: 50% 0%;
@ -1049,7 +1050,7 @@
transform: scale(0.8);
}
}
@-webkit-keyframes antZoomLeftIn {
@-webkit-keyframes uZoomLeftIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 50%;
@ -1064,7 +1065,7 @@
transform: scale(1);
}
}
@keyframes antZoomLeftIn {
@keyframes uZoomLeftIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 50%;
@ -1079,7 +1080,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomLeftOut {
@-webkit-keyframes uZoomLeftOut {
0% {
-webkit-transform-origin: 0% 50%;
transform-origin: 0% 50%;
@ -1094,7 +1095,7 @@
transform: scale(0.8);
}
}
@keyframes antZoomLeftOut {
@keyframes uZoomLeftOut {
0% {
-webkit-transform-origin: 0% 50%;
transform-origin: 0% 50%;
@ -1109,7 +1110,7 @@
transform: scale(0.8);
}
}
@-webkit-keyframes antZoomRightIn {
@-webkit-keyframes uZoomRightIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 50%;
@ -1124,7 +1125,7 @@
transform: scale(1);
}
}
@keyframes antZoomRightIn {
@keyframes uZoomRightIn {
0% {
opacity: 0;
-webkit-transform-origin: 100% 50%;
@ -1139,7 +1140,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomRightOut {
@-webkit-keyframes uZoomRightOut {
0% {
-webkit-transform-origin: 100% 50%;
transform-origin: 100% 50%;
@ -1154,7 +1155,7 @@
transform: scale(0.8);
}
}
@keyframes antZoomRightOut {
@keyframes uZoomRightOut {
0% {
-webkit-transform-origin: 100% 50%;
transform-origin: 100% 50%;
@ -1169,7 +1170,7 @@
transform: scale(0.8);
}
}
@-webkit-keyframes antZoomDownIn {
@-webkit-keyframes uZoomDownIn {
0% {
opacity: 0;
-webkit-transform-origin: 50% 100%;
@ -1184,7 +1185,7 @@
transform: scale(1);
}
}
@keyframes antZoomDownIn {
@keyframes uZoomDownIn {
0% {
opacity: 0;
-webkit-transform-origin: 50% 100%;
@ -1199,7 +1200,7 @@
transform: scale(1);
}
}
@-webkit-keyframes antZoomDownOut {
@-webkit-keyframes uZoomDownOut {
0% {
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
@ -1214,7 +1215,7 @@
transform: scale(0.8);
}
}
@keyframes antZoomDownOut {
@keyframes uZoomDownOut {
0% {
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;

View File

@ -1269,7 +1269,22 @@ $popconfirm-arrow-outer-color: $border-color-base;
$popconfirm-border-right-color: $border-color-base;
$popconfirm-fallback-border-color: #fff;
//select
$select-bg-color: #fff;
$select-border-color: #d9d9d9;
$select-border-radius: 4px;
$select-color: #666;
$select-font-size: 12px;
$select-dropdown-color: #666;
$select-dropdown-bg-color: #fff;
$select-dropdown-hover-bg: #e7f4fd;
$select-dropdown-selected-bg: #f7f7f7;
$select-dropdown-selected-color: #666;
$select-dropwdown-item-padding: 7px 16px;
$select-disabled-color: #ccc;
$select-disabled-bg: #f7f7f7;
$select-disabled-border-color: #d9d9d9;
//dropdown
$dropdown-item-hover-bg-color: unquote("rgb(#{$palette-grey-100})");