139 lines
2.5 KiB
CSS
139 lines
2.5 KiB
CSS
.timeline {
|
|
list-style: none;
|
|
padding: 20px 0 20px;
|
|
position: relative;
|
|
}
|
|
.timeline:before {
|
|
top: 0;
|
|
bottom: 0;
|
|
position: absolute;
|
|
content: " ";
|
|
width: 2px;
|
|
background-color: #CCCCCC;
|
|
left: 25px;
|
|
margin-left: -1.5px;
|
|
}
|
|
.timeline > li {
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
}
|
|
.timeline > li:before,
|
|
.timeline > li:after {
|
|
content: " ";
|
|
display: table;
|
|
}
|
|
.timeline > li:after {
|
|
clear: both;
|
|
}
|
|
.timeline > li:before,
|
|
.timeline > li:after {
|
|
content: " ";
|
|
display: table;
|
|
}
|
|
.timeline > li:after {
|
|
clear: both;
|
|
}
|
|
.timeline > li > .timeline-panel {
|
|
width: calc( 100% - 55px );
|
|
float: right;
|
|
border: 1px solid #d4d4d4;
|
|
border-radius: 22px;
|
|
padding: 10px;
|
|
position: relative;
|
|
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
|
|
}
|
|
.timeline > li > .timeline-panel:before {
|
|
position: absolute;
|
|
top: 26px;
|
|
left: -15px;
|
|
display: inline-block;
|
|
}
|
|
.timeline > li > .timeline-panel:after {
|
|
position: absolute;
|
|
top: 27px;
|
|
left: -14px;
|
|
display: inline-block;
|
|
}
|
|
.timeline > li > .timeline-badge {
|
|
|
|
width: 25px;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
font-size: 1.4em;
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 13px;
|
|
|
|
|
|
z-index: 100;
|
|
border-top-right-radius: 50%;
|
|
border-top-left-radius: 50%;
|
|
border-bottom-right-radius: 50%;
|
|
border-bottom-left-radius: 50%;
|
|
}
|
|
.timeline > li.timeline-inverted > .timeline-panel {
|
|
float: left;
|
|
}
|
|
.timeline > li.timeline-inverted > .timeline-panel:before {
|
|
border-left-width: 0;
|
|
border-right-width: 15px;
|
|
right: -15px;
|
|
right: auto;
|
|
}
|
|
.timeline > li.timeline-inverted > .timeline-panel:after {
|
|
border-left-width: 0;
|
|
border-right-width: 14px;
|
|
left: -14px;
|
|
right: auto;
|
|
}
|
|
|
|
.timeline-title {
|
|
margin-top: 0;
|
|
color: inherit;
|
|
}
|
|
.timeline-body > p,
|
|
.timeline-body > ul {
|
|
margin-bottom: 0;
|
|
}
|
|
.timeline-body > p + p {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
|
|
|
|
.timelineBar {
|
|
width: 2px;
|
|
background-color: #BDBDBD;
|
|
display: inline-block;
|
|
position: absolute;
|
|
height: 100%;
|
|
left: 34.5%;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
.shadowBox {
|
|
box-shadow: rgba(0, 0, 0, 0.796875) 0px 0px 2px;
|
|
-webkit-box-shadow: rgba(0, 0, 0, 0.796875) 0px 0px 2px;
|
|
border:2px solid white;
|
|
border-radius: 10px;
|
|
margin: 10px;
|
|
background-color: #FFFFFF;
|
|
}
|
|
.timelineDot{
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #BDBDBD;
|
|
opacity: 1;
|
|
display: inline-block;
|
|
position: static;
|
|
left: 34.5%;
|
|
|
|
margin-left: 6px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.right{
|
|
text-align: right;
|
|
} |