mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Working on time tracker
This commit is contained in:
parent
2bb56a1611
commit
f7c8518cd0
@ -20,6 +20,14 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.fade-color {
|
||||
animation-name: fadeToYellow;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
animation-duration: .5s;
|
||||
}
|
||||
|
||||
.list-group-item.active {
|
||||
background-color: #f8f8f8 !important;
|
||||
color: black !important;
|
||||
@ -29,6 +37,15 @@
|
||||
border-color: #fff !important;
|
||||
}
|
||||
|
||||
.list-group-item.changed {
|
||||
background-color: #ffffaa !important;
|
||||
}
|
||||
|
||||
@keyframes fadeToYellow {
|
||||
from {background-color: #f8f8f8}
|
||||
to {background-color: #ffffaa}
|
||||
}
|
||||
|
||||
.list-group-item.active .list-group-item-text,
|
||||
.list-group-item.active:focus .list-group-item-text,
|
||||
.list-group-item.active:hover .list-group-item-text {
|
||||
|
@ -198,7 +198,7 @@
|
||||
}
|
||||
|
||||
self.filterStyle = ko.computed(function() {
|
||||
return 'background-color: ' + (self.filter() ? '#fff68f' : 'white') + ' !important';
|
||||
return 'background-color: ' + (self.filter() ? '#ffffaa' : 'white') + ' !important';
|
||||
});
|
||||
|
||||
self.statistics = ko.computed(function() {
|
||||
@ -432,7 +432,6 @@
|
||||
} else {
|
||||
data += '&is_running=0';
|
||||
}
|
||||
console.log(data);
|
||||
$.ajax({
|
||||
dataType: 'json',
|
||||
type: method,
|
||||
@ -590,6 +589,10 @@
|
||||
var str = '';
|
||||
if (self == model.selectedTask()) {
|
||||
str = 'active';
|
||||
|
||||
if (! self.public_id() || model.formChanged()) {
|
||||
str += ' changed fade-color';
|
||||
}
|
||||
}
|
||||
if (! self.project()) {
|
||||
return str;
|
||||
|
Loading…
Reference in New Issue
Block a user