css: style activity-log table

This commit is contained in:
Thomas Gelf 2016-02-28 11:16:06 +01:00
parent 36cc3213f7
commit 57592368ac
2 changed files with 37 additions and 0 deletions

View File

@ -21,6 +21,11 @@ class ActivityLogTable extends QuickTable
); );
} }
protected function listTableClasses()
{
return array_merge(array('activity-log'), parent::listTableClasses());
}
protected function getActionUrl($row) protected function getActionUrl($row)
{ {
return $this->url( return $this->url(

View File

@ -546,6 +546,38 @@ table.deployment-log {
} }
} }
table.activity-log {
tr th:first-child {
padding-left: 2em;
}
tr td:first-child {
padding-left: 2em;
&::before {
font-family: 'ifont';
// icon-help:
content: '\e85b';
float: left;
font-weight: bold;
margin-left: -1.5em;
line-height: 1.5em;
}
}
tr.deployed td:first-child::before {
// icon-ok
color: @color-ok;
content: '\e803';
}
tr.undeployed td:first-child::before {
color: @gray;
// icon-clock
content: '\e833';
}
}
.tree li a { .tree li a {
display: inline-block; display: inline-block;
padding-left: 2.4em; padding-left: 2.4em;