94 lines
2.0 KiB
CSS
94 lines
2.0 KiB
CSS
.timeline {
|
|
list-style: none;
|
|
padding: 20px 0 20px;
|
|
position: relative; }
|
|
|
|
.timeline:before {
|
|
top: 20px;
|
|
bottom: 0;
|
|
position: absolute;
|
|
content: " ";
|
|
width: 3px;
|
|
background-color: #e7e7e7;
|
|
left: 25px;
|
|
margin-right: -1.5px; }
|
|
|
|
.timeline > li {
|
|
margin-bottom: 5px;
|
|
position: relative; }
|
|
|
|
.timeline > li:before,
|
|
.timeline > li:after {
|
|
content: " ";
|
|
display: table; }
|
|
|
|
.timeline > li:after {
|
|
clear: both; }
|
|
|
|
.timeline > li > .timeline-panel {
|
|
width: calc(100% - 70px);
|
|
float: right;
|
|
border: 1px solid #e7e7e7;
|
|
border-radius: 2px;
|
|
padding: 5px 20px;
|
|
position: relative; }
|
|
|
|
.timeline > li > .timeline-panel:before {
|
|
position: absolute;
|
|
top: 26px;
|
|
left: -15px;
|
|
display: inline-block;
|
|
border-top: 15px solid transparent;
|
|
border-right: 15px solid #e7e7e7;
|
|
border-left: 0 solid #e7e7e7;
|
|
border-bottom: 15px solid transparent;
|
|
content: " "; }
|
|
|
|
.timeline > li > .timeline-panel:after {
|
|
position: absolute;
|
|
top: 27px;
|
|
left: -14px;
|
|
display: inline-block;
|
|
border-top: 14px solid transparent;
|
|
border-right: 14px solid #fff;
|
|
border-left: 0 solid #fff;
|
|
border-bottom: 14px solid transparent;
|
|
content: " "; }
|
|
|
|
.timeline > li > .timeline-badge {
|
|
color: #fff;
|
|
width: 35px;
|
|
height: 35px;
|
|
line-height: 35px;
|
|
font-size: 1.4em;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 25px;
|
|
left: 8px;
|
|
margin-right: -25px;
|
|
background-color: #e6a1f2;
|
|
z-index: 100;
|
|
border-top-right-radius: 50%;
|
|
border-top-left-radius: 50%;
|
|
border-bottom-right-radius: 50%;
|
|
border-bottom-left-radius: 50%; }
|
|
|
|
.timeline-body > p {
|
|
font-size: 12px; }
|
|
|
|
.timeline-badge.primary {
|
|
background-color: #f96332 !important; }
|
|
|
|
.timeline-badge.success {
|
|
background-color: #87de75 !important; }
|
|
|
|
.timeline-badge.warning {
|
|
background-color: #f39c12 !important; }
|
|
|
|
.timeline-badge.danger {
|
|
background-color: #e74c3c !important; }
|
|
|
|
.timeline-badge.info {
|
|
background-color: #03a9f4 !important; }
|
|
|
|
/*# sourceMappingURL=timeline.css.map */ |