mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Fix glass styles
This commit is contained in:
parent
1526130bfc
commit
4ee1712fac
4 changed files with 14 additions and 1 deletions
1
dev/External/ko.js
vendored
1
dev/External/ko.js
vendored
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ html {
|
|||
|
||||
html.rl-anim {
|
||||
|
||||
.rl-animated-visible {
|
||||
.rl-animated-inited {
|
||||
opacity: 1;
|
||||
.transition(opacity 0.5s linear);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue