upgrade and optimize css

This commit is contained in:
yiminghe 2015-11-04 23:14:49 +08:00
parent ebdca1e4b8
commit a62e4b0aae
5 changed files with 11 additions and 15 deletions

View File

@ -41,7 +41,7 @@
"rc-calendar": "4.0.0-alpha10",
"rc-checkbox": "~1.1.1",
"rc-collapse": "~1.4.0",
"rc-dialog": "~5.1.0",
"rc-dialog": "~5.2.0",
"rc-dropdown": "~1.4.3",
"rc-form-validation": "~2.4.7",
"rc-input-number": "~2.3.0",
@ -51,7 +51,7 @@
"rc-progress": "~1.0.0",
"rc-queue-anim": "~0.10.5",
"rc-radio": "~2.0.0",
"rc-select": "~5.0.0",
"rc-select": "~5.0.2",
"rc-slider": "~2.0.0",
"rc-steps": "~1.4.0",
"rc-switch": "~1.2.0",

View File

@ -11,7 +11,7 @@
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
&-wrap-hidden > & {
&-hidden {
display: none;
}

View File

@ -1,9 +1,4 @@
.@{dialog-prefix-cls} {
&-wrap-hidden > &-mask {
display: none;
}
&-mask {
position: fixed;
top: 0;
@ -15,6 +10,9 @@
height: 100%;
z-index: 1000;
filter: alpha(opacity=50);
}
&-hidden {
display: none;
}
}
}

View File

@ -12,6 +12,10 @@
color: @text-color;
background: #fff;
&-hidden {
display: none;
}
&-item-group-list {
margin: 0;
padding: 0;
@ -93,7 +97,6 @@
position: relative;
> .@{menu-prefix-cls} {
display: none;
background-color: #fff;
}
@ -128,14 +131,10 @@
}
&-open {
> .@{menu-prefix-cls} {
display: block;
}
&.@{menu-prefix-cls}-submenu-inline > .@{menu-prefix-cls}-submenu-title:after {
.ie-rotate(1);
transform: rotate(180deg) scale(0.75);
}
}
}

View File

@ -1,7 +1,6 @@
.motion-common() {
animation-duration: .3s;
animation-fill-mode: both;
display: block !important;
}
.make-motion(@className, @keyframeName) {