Files
tms/extensions/ki_export/css/tables.css.php
TMS eb299c9131 Initial commit: Kimai TMS
Kimai time management system (PHP 5.6 / MySQL) with custom extensions:
- Budget tracking (ki_budget)
- Change request form (ki_changerequest)
- Invoice generation (ki_invoice)
- Expense tracking (ki_expenses)
- Flexi time (ki_flexitime)
- Export, admin panel, timesheets, tasks, summary

Database: ~900K time entries, 2,000+ users, 439 projects.
Config: includes/autoconf.php — localhost/kimai/kimai
2026-06-18 21:20:26 +00:00

291 lines
4.2 KiB
PHP

<?php
header('Content-type: text/css');
$table_header = "../../../skins/standard/grfx/g3_table_header.png";
$schraff3 = "../../../skins/standard/grfx/schraff3.png";
?>
div.ki_export table {
border-collapse: collapse;
font-size: 11px;
color: #363636;
border-bottom:1px solid #888;
}
div.ki_export table a.preselect_lnk {
color: #363636;
text-decoration:none;
border-bottom:1px dotted #bbb;
}
div.ki_export table a:hover {
color: #0F9E00;
border-bottom:none;
}
div.ki_export table thead {
height:25px;
text-align:left;
color:#FFF;
}
div.ki_export table thead th {
background-image: url('<?php echo $table_header; ?>');
}
div.ki_export tr.even td,
div.ki_export tr.odd td
{
border-bottom: none;
border-left: none;
border-right: 1px dotted #CCC;
/* border-top: 1px solid #DDD;*/
padding: 3px 4px 4px 5px;
}
#xp_head td {
overflow:hidden;
padding: 3px 4px 4px 6px;
}
div.ki_export tr.hover td {
background: #FFC !important;
/* border-top: 1px solid #666 !important;
border-bottom: 1px solid #666 !important;*/
}
div.ki_export tr.even td {
background: #FFF;
}
div.ki_export tr.odd td {
background: #EEE;
}
div#xptable tr.odd td.comment,
div#xptable tr.odd td.trackingnr,
div#xptable tr.odd td.location {
background: #CFE3F5;
}
div#xptable tr.even td.comment,
div#xptable tr.even td.trackingnr,
div#xptable tr.even td.location {
background: #ECF7FD;
}
div#xptable tr.even.expense td {
background: #E5FFBF;
}
div#xptable tr.odd.expense td {
background: #DCF4B7;
}
div#xptable tr.odd.expense td.comment,
div#xptable tr.odd.expense td.trackingnr,
div#xptable tr.odd.expense td.location {
background: #A3F1A6;
}
div#xptable tr.even.expense td.comment,
div#xptable tr.even.expense td.trackingnr,
div#xptable tr.even.expense td.location {
background: #C8F1CC;
}
div#xptable tr.odd td.cleared {
background: #6E7882;
}
div#xptable tr.even td.cleared {
background: #86939F;
}
div#xptable tr td.time {
border-bottom:1px dotted white;;
}
div#xptable tr.even td.time {
background: #A4E7A5;
}
div#xptable tr.odd td.time {
background: #64BF61;
}
div#xptable tr.active td.time {
background: #F00;
}
div#xptable tr.expense td.time {
background-image:url('<?php echo $schraff3; ?>');
}
div.ki_export tr td.option,
div.ki_export tr td.date,
div.ki_export tr td.from,
div.ki_export tr td.to,
div.ki_export tr td.time,
div.ki_export tr td.wage {
text-align:center;
}
div.ki_export>div#xp>div#xptable>table>tbody>tr>td.cleared {
border-right: none;
}
#xp_head table {
width:100%;
}
#xp_head td.option,
#xp td.option
{
width:70px;
}
#xp_head td.date,
#xp td.date
{
width:50px;
}
#xp_head td.time,
#xp td.time
{
width:40px;
}
#xp_head td.dec_time,
#xp td.dec_time
{
width:40px;
}
#xp_head td.cash
{
width: 90px;
}
#xp td.rate
{
width:40px;
}
#xp td.wage
{
width:40px;
}
#xp_head td { white-space:nowrap; }
#xp_head td.from,
#xp_head td.to,
#xp td.from,
#xp td.to
{
width:50px;
}
#xp td.knd {
min-width:50px;
}
#xp td.pct {
min-width:50px;
}
#xp td.evt {
min-width:60px;
}
#xp td.comment {
width:80px;
}
#xp td.location {
width:30px;
}
#xp td.trackingnr {
width:120px;
}
div.ki_export table tr.odd td.disabled {
background-color:#FFC7BB !important;
}
div.ki_export table tr.even td.disabled {
background-color:#FFE1DB !important;
}
div.ki_export table td.user
{
width:50px;
text-align:left;
}
#xp_head td.user
{
width:100px;
}
div.ki_export table td.cleared
{
width:20px;
}
div.ki_export table td.cleared a
{
width:13px;
height:13px;
display:block;
float:left;
}
div.ki_export table td.cleared a.is_cleared
{
background:url('../grfx/cleared.png') 0 -13px no-repeat;
}
div.ki_export table td.cleared a.isnt_cleared
{
background:url('../grfx/cleared.png') no-repeat;
}
div#xp_head div.right
{
position:absolute;
overflow:hidden;
width:32px;
height:20px;
top:3px;
right:3px;
}
div#xp_head div.right a
{
background-image: url('../grfx/invert.png');
overflow:hidden;
display:block;
width:22px;
height:16px;
text-indent:-500px;
}
div#xp_head td {padding: 3px 4px 4px 6px;}