Reduced popups animation

This commit is contained in:
RainLoop Team 2013-12-23 18:31:43 +04:00
parent 2f8b9efbac
commit 1c50b8df07
5 changed files with 45 additions and 15 deletions

View file

@ -508,7 +508,7 @@ ko.bindingHandlers.command = {
jqElement.toggleClass('command-can-not-be-execute', !bResult);
}
jqElement.toggleClass('command-disabled disable disabled', !bResult);
jqElement.toggleClass('command-disabled disable disabled', !bResult).toggleClass('no-disabled', !!bResult);
if (jqElement.is('input') || jqElement.is('button'))
{

View file

@ -136,8 +136,9 @@
-o-transform-origin: 50% 50%;
transform-origin: 50% 50%;
.transition(~"0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940)");
.scale(0.9);
/*.transition(~"0.3s all cubic-bezier(0.250, 0.460, 0.450, 0.940)");*/
.transition(0.1s all linear);
.scale(0.95);
}
.modal-open .popups .popup-active.modal {

View file

@ -310,6 +310,19 @@
.box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075));
border-color: #999;
}
&::-webkit-input-placeholder {
color: #ddd;
}
&::-moz-placeholder {
color: #ddd;
}
&:-moz-placeholder {
color: #ddd;
}
&:-ms-input-placeholder {
color: #ddd;
}
}
.hasError {
@ -344,8 +357,9 @@
top: 20px;
right: 20px;
&.dirty {
&.no-disabled.dirty {
color: #51a351;
font-weight: bold;
}
}