mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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 = {
|
ko.bindingHandlers.visibleAnimated = {
|
||||||
init: (element, fValueAccessor) => {
|
init: (element, fValueAccessor) => {
|
||||||
const $el = $(element);
|
const $el = $(element);
|
||||||
|
$el.addClass('rl-animated-inited');
|
||||||
if (ko.unwrap(fValueAccessor())) {
|
if (ko.unwrap(fValueAccessor())) {
|
||||||
$el.show();
|
$el.show();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ html {
|
||||||
|
|
||||||
html.rl-anim {
|
html.rl-anim {
|
||||||
|
|
||||||
.rl-animated-visible {
|
.rl-animated-inited {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
.transition(opacity 0.5s linear);
|
.transition(opacity 0.5s linear);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,7 @@ html.glass {
|
||||||
|
|
||||||
@glass-color: #fff !important;
|
@glass-color: #fff !important;
|
||||||
@glass-p-color: #aaa !important;
|
@glass-p-color: #aaa !important;
|
||||||
|
@glass-error-color: #f76260 !important;
|
||||||
@glass-m-color: rgba(255, 255, 255, .8) !important;
|
@glass-m-color: rgba(255, 255, 255, .8) !important;
|
||||||
|
|
||||||
.thm-login {
|
.thm-login {
|
||||||
|
|
@ -330,6 +331,17 @@ html.glass {
|
||||||
border-color: @glass-color;
|
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