"event page timeline"
Bootstrap 3.2.0 Snippet by samvel33651

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'> <ul class="timeline col-sm-6 col-md-4 col-lg-4 col-xs-12"> <li> <div class="timeline-badge success"> <i class="fa fa-arrow-up"></i> </div> <div class="timeline-panel"> <div class="timeline-heading"> <span class="shock-detail"> <h5><strong>Afacted industry name</strong> impact is <strong class="text-danger">12.24445544Usd</strong> <span class="badge">AR</span></h5> </span> <p> Will have <span class="text-success">higher </span> profit by <strong class="text-success">0.0003%</strong> </p> </div> <div class="panel panel-default panel-ic" > <div class="panel-heading text-center "> <h4 class="panel-title"> <a class="read-details" data-toggle="modal" data-target="#chain-modal" > Show impacts </a> </h4> </div> </div> </div> </li> <li class="timeline-inverted"> <div class="timeline-badge danger"><i class="fa fa-arrow-down"></i></div> <div class="timeline-panel"> <div class="timeline-heading"> <span class="shock-detail"> <h5><strong>Afacted industry name</strong> impact is <strong class="text-danger">12.24445544Usd</strong> <span class="badge">AR</span></h5> </span> <p> Will have <span class="text-danger">lower </span> profit by <strong class="text-danger">0.0003%</strong> </p> </div> <div class="panel panel-default panel-ic"> <div class="panel-heading text-center "> <h4 class="panel-title"> <a class="read-details" data-toggle="modal" data-target="#chain-modal" > Show impacts </a> </h4> </div> </div> </div> </li> </ul> <div id="chain-modal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-body"> <div class="impacts-holder"> <div class="impacts"> <ul class="list-unstyled list-inline"> <li> <span data-toggle="popover" data-content="Sales -0.00028512361645916326%" data-original-title="" title=""> Utilities </span> <a data-toggle="popover" title="" data-content="Some content inside the popover" data-original-title="Popover Header"> <i class="fa fa-chevron-circle-right"></i> </a> </li> <li> <span data-toggle="popover" data-content="Sales -5.429552090066632e-7%" data-original-title="" title=""> Public administration </span> <a data-toggle="popover" title="" data-content="Some content inside the popover" data-original-title="Popover Header"> <i class="fa fa-chevron-circle-right"></i> </a> </li> </ul> </div> <div class="text-center"> <a>Show More Impacts</a> </div> </div> </div> </div> </div> </div>
.read-details:hover { cursor: pointer; text-decoration: none; } .panel-ic { margin:0px; } .timeline-heading{ padding: 15px; } .timeline { list-style: none; padding: 20px 0 20px; position: relative; } .timeline:before { top: 0; bottom: 0; position: absolute; content: " "; width: 3px; background-color: #eeeeee; left: 50%; 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; } .show-impacts{ margin-bottom: 0px; } .timeline > li:after { clear: both; } .timeline > li > .timeline-panel { width: 46%; float: left; border: 1px solid #d4d4d4; border-radius: 2px; padding: 0px; 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; right: -15px; display: inline-block; border-top: 15px solid transparent; border-left: 15px solid #ccc; border-right: 0 solid #ccc; border-bottom: 15px solid transparent; content: " "; } .timeline > li > .timeline-panel:after { position: absolute; top: 27px; right: -14px; display: inline-block; border-top: 14px solid transparent; border-left: 14px solid #fff; border-right: 0 solid #fff; border-bottom: 14px solid transparent; content: " "; } .timeline > li > .timeline-badge { color: #fff; width: 50px; height: 50px; line-height: 50px; font-size: 1.4em; text-align: center; position: absolute; top: 16px; left: 50%; margin-left: -25px; background-color: #999999; 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: right; } .timeline > li.timeline-inverted > .timeline-panel:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; } .timeline > li.timeline-inverted > .timeline-panel:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; } .timeline-badge.primary { background-color: #2e6da4 !important; } .timeline-badge.success { background-color: #3f903f !important; } .timeline-badge.warning { background-color: #f0ad4e !important; } .timeline-badge.danger { background-color: #d9534f !important; } .timeline-badge.info { background-color: #5bc0de !important; } .timeline-title { margin-top: 0; color: inherit; } .timeline-body > p, .timeline-body > ul { margin-bottom: 0; } .timeline-body > p + p { margin-top: 5px; } ul.timeline:before { left: 40px; } ul.timeline > li > .timeline-panel { width: calc(100% - 90px); width: -moz-calc(100% - 90px); width: -webkit-calc(100% - 90px); } ul.timeline > li > .timeline-badge { left: 15px; margin-left: 0; top: 16px; } ul.timeline > li > .timeline-panel { float: right; } ul.timeline > li > .timeline-panel:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; } ul.timeline > li > .timeline-panel:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; }
$(document).ready(function(){ $('.impacts-holder li span').popover({ container: 'body', placement: 'bottom', trigger: 'hover' }); $('.impacts-holder li a').popover({ placement: 'top', }); });

Related: See More


Questions / Comments: