mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
move css code into new css method of class.Timeline.php
This commit is contained in:
parent
0fd0af5854
commit
71cc4da3a2
|
@ -140,34 +140,6 @@ div.help h3 {
|
|||
margin-right: auto;
|
||||
}
|
||||
|
||||
#timeline {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
div.timeline-event-content {
|
||||
margin: 3px 5px;
|
||||
}
|
||||
div.timeline-frame {
|
||||
border-radius: 4px;
|
||||
border-color: #e3e3e3;
|
||||
}
|
||||
|
||||
div.status_change_2 {
|
||||
background-color: #DAF6D5;
|
||||
border-color: #AAF897;
|
||||
}
|
||||
|
||||
div.status_change_-1 {
|
||||
background-color: #F6D5D5;
|
||||
border-color: #F89797;
|
||||
}
|
||||
|
||||
div.timeline-event-selected {
|
||||
background-color: #fff785;
|
||||
border-color: #ffc200;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
div.splash {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -163,6 +163,39 @@ $(document).ready(function () {
|
|||
$this->printTimelineJs($timelineurl, 550, ''/*date('Y-m-d', $from)*/, ''/*date('Y-m-d', $to+1)*/, $skip);
|
||||
} /* }}} */
|
||||
|
||||
function css() { /* {{{ */
|
||||
?>
|
||||
#timeline {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
div.timeline-event-content {
|
||||
margin: 3px 5px;
|
||||
}
|
||||
div.timeline-frame {
|
||||
border-radius: 4px;
|
||||
border-color: #e3e3e3;
|
||||
}
|
||||
|
||||
div.status_change_2 {
|
||||
background-color: #DAF6D5;
|
||||
border-color: #AAF897;
|
||||
}
|
||||
|
||||
div.status_change_-1 {
|
||||
background-color: #F6D5D5;
|
||||
border-color: #F89797;
|
||||
}
|
||||
|
||||
div.timeline-event-selected {
|
||||
background-color: #fff785;
|
||||
border-color: #ffc200;
|
||||
z-index: 999;
|
||||
}
|
||||
<?php
|
||||
header('Content-Type: text/css');
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user