Fix glass styles

This commit is contained in:
RainLoop Team 2016-09-03 02:51:17 +03:00
parent 1526130bfc
commit 4ee1712fac
4 changed files with 14 additions and 1 deletions

1
dev/External/ko.js vendored
View file

@ -131,6 +131,7 @@ ko.bindingHandlers.pikaday = {
ko.bindingHandlers.visibleAnimated = {
init: (element, fValueAccessor) => {
const $el = $(element);
$el.addClass('rl-animated-inited');
if (ko.unwrap(fValueAccessor())) {
$el.show();
} else {

View file

@ -73,7 +73,7 @@ html {
html.rl-anim {
.rl-animated-visible {
.rl-animated-inited {
opacity: 1;
.transition(opacity 0.5s linear);

View file

@ -256,6 +256,7 @@ html.glass {
@glass-color: #fff !important;
@glass-p-color: #aaa !important;
@glass-error-color: #f76260 !important;
@glass-m-color: rgba(255, 255, 255, .8) !important;
.thm-login {
@ -330,6 +331,17 @@ html.glass {
border-color: @glass-color;
}
}
&.error {
.input-append .add-on i {
color: @glass-error-color;
}
input {
color: @glass-error-color;
border-color: @glass-error-color;
}
}
}
}