dolibarr/htdocs/theme/eldy/timeline.inc.php

214 lines
3.9 KiB
PHP
Raw Normal View History

2019-09-11 23:30:09 +02:00
<?php
/*!
2021-02-26 13:31:09 +01:00
Source :
2019-09-11 23:30:09 +02:00
* AdminLTE v2.4.8
* Author: Almsaeed Studio
* Website: Almsaeed Studio <https://adminlte.io>
* License: Open source - MIT
* Please visit http://opensource.org/licenses/MIT for more information
*/
2021-02-26 13:31:09 +01:00
if (!defined('ISLOADEDBYSTEELSHEET')) {
die('Must be call by steelsheet');
} ?>
2019-09-11 23:30:09 +02:00
/* <style type="text/css" > */
/*
* Component: Timeline
* -------------------
*/
.timeline {
2021-02-26 13:31:09 +01:00
position: relative;
margin: 0 0 30px 0;
padding: 0;
list-style: none;
2019-09-11 23:30:09 +02:00
}
.timeline:before {
2021-02-26 13:31:09 +01:00
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 4px;
background: #ddd;
left: 31px;
margin: 0;
border-radius: 2px;
2019-09-11 23:30:09 +02:00
}
.timeline > li {
2021-02-26 13:31:09 +01:00
position: relative;
margin-right: 0;
margin-bottom: 15px;
2019-09-11 23:30:09 +02:00
}
.timeline > li:before,
.timeline > li:after {
2021-02-26 13:31:09 +01:00
content: " ";
display: table;
2019-09-11 23:30:09 +02:00
}
.timeline > li:after {
2021-02-26 13:31:09 +01:00
clear: both;
2019-09-11 23:30:09 +02:00
}
.timeline > li > .timeline-item {
2021-02-26 13:31:09 +01:00
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
border:1px solid #d2d2d2;
border-radius: 3px;
margin-top: 0;
background: #fff;
color: #444;
margin-left: 60px;
margin-right: 0px;
padding: 0;
position: relative;
2019-09-11 23:30:09 +02:00
}
2019-09-12 18:39:29 +02:00
.timeline > li.timeline-code-ticket_msg_private > .timeline-item {
background: #fffbe5;
2021-02-26 13:31:09 +01:00
border-color: #d0cfc0;
2019-09-12 18:39:29 +02:00
}
2019-09-12 21:17:48 +02:00
2019-09-12 00:37:36 +02:00
.timeline > li > .timeline-item > .time{
2021-02-26 13:31:09 +01:00
color: #6f6f6f;
float: right;
padding: 10px;
font-size: 12px;
2019-09-11 23:30:09 +02:00
}
2019-09-12 00:37:36 +02:00
.timeline > li > .timeline-item > .timeline-header-action{
2021-02-26 13:31:09 +01:00
color: #6f6f6f;
float: right;
padding: 7px;
font-size: 12px;
2019-09-12 00:37:36 +02:00
}
a.timeline-btn:link,
a.timeline-btn:visited,
a.timeline-btn:hover,
a.timeline-btn:active
{
2021-02-26 13:31:09 +01:00
display: inline-block;
margin-bottom: 0;
font-weight: 400;
border-radius: 0;
box-shadow: none;
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
user-select: none;
background-image: none;
text-decoration: none;
background-color: #f4f4f4;
color: #444;
border: 1px solid #ddd;
2019-09-12 00:37:36 +02:00
}
a.timeline-btn:hover
{
2021-02-26 13:31:09 +01:00
background-color: #e7e7e7;
color: #333;
border-color: #adadad;
2019-09-12 00:37:36 +02:00
}
2019-09-11 23:30:09 +02:00
.timeline > li > .timeline-item > .timeline-header {
2021-02-26 13:31:09 +01:00
margin: 0;
color: #333;
border-bottom: 1px solid #f4f4f4;
padding: 10px;
font-size: 14px;
font-weight: normal;
line-height: 1.1;
2019-09-11 23:30:09 +02:00
}
2019-10-30 17:46:18 +01:00
.timeline > li > .timeline-item > .timeline-footer {
border-top: 1px solid #f4f4f4;
}
.timeline > li.timeline-code-ticket_msg_private > .timeline-item > .timeline-header, .timeline > li.timeline-code-ticket_msg_private > .timeline-item > .timeline-footer {
2021-02-26 13:31:09 +01:00
border-color: #ecebda;
2019-09-12 21:17:48 +02:00
}
2019-09-11 23:30:09 +02:00
.timeline > li > .timeline-item > .timeline-header > a {
2021-02-26 13:31:09 +01:00
font-weight: 600;
2019-09-11 23:30:09 +02:00
}
.timeline > li > .timeline-item > .timeline-body,
.timeline > li > .timeline-item > .timeline-footer {
2021-02-26 13:31:09 +01:00
padding: 10px;
2019-09-11 23:30:09 +02:00
}
.timeline > li > .fa,
.timeline > li > .glyphicon,
.timeline > li > .ion {
2021-02-26 13:31:09 +01:00
width: 30px;
height: 30px;
font-size: 15px;
line-height: 30px;
position: absolute;
color: #666;
background: #d2d6de;
border-radius: 50%;
text-align: center;
left: 18px;
top: 5px;
2019-09-11 23:30:09 +02:00
}
.timeline > .time-label > span {
2021-02-26 13:31:09 +01:00
font-weight: 600;
padding: 5px;
display: inline-block;
background-color: #fff;
border-radius: 4px;
2019-09-11 23:30:09 +02:00
}
.timeline-inverse > li > .timeline-item {
2021-02-26 13:31:09 +01:00
background: #f0f0f0;
border: 1px solid #ddd;
-webkit-box-shadow: none;
box-shadow: none;
2019-09-11 23:30:09 +02:00
}
.timeline-inverse > li > .timeline-item > .timeline-header {
2021-02-26 13:31:09 +01:00
border-bottom-color: #ddd;
2019-09-11 23:30:09 +02:00
}
.timeline-icon-todo,
.timeline-icon-in-progress,
.timeline-icon-done{
2021-02-26 13:31:09 +01:00
color: #fff !important;
2019-09-11 23:30:09 +02:00
}
.timeline-icon-not-applicble{
2021-02-26 13:31:09 +01:00
color: #000;
background-color: #f7f7f7;
2019-09-11 23:30:09 +02:00
}
.timeline-icon-todo{
2021-02-26 13:31:09 +01:00
background-color: #dd4b39 !important;
2019-09-11 23:30:09 +02:00
}
.timeline-icon-in-progress{
2021-02-26 13:31:09 +01:00
background-color: #00c0ef !important;
2019-09-11 23:30:09 +02:00
}
.timeline-icon-done{
2021-02-26 13:31:09 +01:00
background-color: #00a65a !important;
2019-09-11 23:30:09 +02:00
}
.timeline-badge-date{
2021-02-26 13:31:09 +01:00
background-color: #0073b7 !important;
color: #fff !important;
2019-09-12 18:39:29 +02:00
}
2019-10-30 17:46:18 +01:00
.timeline-documents-container{
}
.timeline-documents{
margin-right: 5px;
}