Small style changes

This commit is contained in:
Bernd Bestel 2018-04-19 21:12:01 +02:00
parent eae5b8bad9
commit 7be35a90c1
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 26 additions and 0 deletions

View File

@ -169,3 +169,22 @@ a.discrete-link:focus {
.well {
background-color: #e5e5e5;
}
.nav > li.disabled > a,
.navbar-default .navbar-nav > .disabled > a
{
color: #a7a7a7;
}
#toast-container > div {
opacity: 1;
filter: alpha(opacity=100);
}
.toast-success {
background-color: #4c994c;
}
#toast-container > div {
box-shadow: none;
}

View File

@ -28,6 +28,13 @@ if (!Grocy.ActiveNav.isEmpty())
$.timeago.settings.allowFuture = true;
$('time.timeago').timeago();
toastr.options = {
toastClass: 'alert',
closeButton: true,
timeOut: 20000,
extendedTimeOut: 5000
};
Grocy.Api = { };
Grocy.Api.Get = function(apiFunction, success, error)
{