1.6.0 release

CardDav support.
New skin (Blurred).
Login animation.
Small fixes.
This commit is contained in:
RainLoop Team 2013-12-27 05:00:40 +04:00
parent bc6c320ecb
commit 011855bf8a
26 changed files with 386 additions and 337 deletions

View file

@ -34,8 +34,7 @@ window['__RLBOOT'] = function (fCall) {
window['rainloopTEMPLATES'] = {};
kn.setBoot(RL).bootstart();
$html.addClass('rl-started');
$html.removeClass('no-js rl-booted-trigger').addClass('rl-booted');
}, 50);
}

View file

@ -36,11 +36,6 @@ Knoin.prototype.oScreens = {};
Knoin.prototype.oBoot = null;
Knoin.prototype.oCurrentScreen = null;
Knoin.prototype.showLoading = function ()
{
$('#rl-loading').show();
};
Knoin.prototype.hideLoading = function ()
{
$('#rl-loading').hide();
@ -307,6 +302,10 @@ Knoin.prototype.screenOnRoute = function (sScreenName, sSubPart)
*/
Knoin.prototype.startScreens = function (aScreensClasses)
{
$('#rl-content').css({
'visibility': 'hidden'
});
_.each(aScreensClasses, function (CScreen) {
var
@ -345,6 +344,14 @@ Knoin.prototype.startScreens = function (aScreensClasses)
hasher.initialized.add(oCross.parse, oCross);
hasher.changed.add(oCross.parse, oCross);
hasher.init();
$('#rl-content').css({
'visibility': 'visible'
});
_.delay(function () {
$html.removeClass('rl-started-trigger').addClass('rl-started');
}, 50);
};
/**

View file

@ -51,8 +51,26 @@
0% {background-position: 0 0;} 100% {background-position: 60px 0;}
}
html.rl-started-trigger .b-login-content .loginFormWrapper {
-webkit-transform: translateY(-30px);
-moz-transform: translateY(-30px);
transform: translateY(-30px);
}
html.rl-started-trigger #rl-content {
.opacity(70);
}
.rl-anim {
&.csstransitions #rl-content {
.transition(~"0.4s opacity cubic-bezier(0.250, 0.460, 0.450, 0.940)");
}
&.csstransitions .b-login-content .loginFormWrapper {
.transition(~"0.4s all cubic-bezier(0.250, 0.460, 0.450, 0.940)");
}
&.rgba.cssanimations.backgroundsize .e-strip-animation {
-webkit-background-size: 60px 60px;
-moz-background-size: 60px 60px;

View file

@ -1,72 +0,0 @@
.select2-container-multi {
.select2-choices {
background-image: none;
border: @rlInputBorderSize solid @inputBorder;
.border-radius(@inputBorderRadius);
.select2-search-choice {
line-height: 15px;
font-size: 16px;
}
}
&.select2-container-active {
.select2-choices {
border: @rlInputBorderSize solid darken(@inputBorder, 20%);
.box-shadow(none);
}
}
}
.select2-drop {
.box-shadow(none);
.select2-subname {
color: #777;
}
.select2-highlighted .select2-subname {
color: #eee;
}
}
.select2-results {
margin: 0;
padding: 0;
max-height: 400px;
.select2-searching {
padding: 1px 4px;
}
}
.select2-icon {
line-height: 20px;
padding: 0 0 0 7px
}
.select2-icon-result {
line-height: 40px;
}
.select2-result-label {
margin: 0px !important;
padding: 5px !important;
font-size: 16px;
height: 40px;
line-height: 40px;
.select2-user-pic {
display: inline-block;
height: 40px;
width: 40px;
margin-right: 10px;
}
}