Skip to content

Instantly share code, notes, and snippets.

@bulentsakarya
Created June 13, 2023 12:52
Show Gist options
  • Save bulentsakarya/6bb8c67f6cc346ae338fa04e357c2b0e to your computer and use it in GitHub Desktop.
Save bulentsakarya/6bb8c67f6cc346ae338fa04e357c2b0e to your computer and use it in GitHub Desktop.
activity html css
<div class="vertical-timeline vertical-timeline--animate vertical-timeline--one-column">
<div class="vertical-timeline-item vertical-timeline-element">
<div>
<span class="vertical-timeline-element-icon bounce-in">
<i class="badge badge-dot badge-dot-xl bg-success"> </i>
</span>
<div class="vertical-timeline-element-content border-bottom bounce-in">
<h4 class="timeline-title">Başarılı Ödeme</h4>
<p>Paket ödemesi başarılı bir şekilde gerçekleşti</p>
<span class="vertical-timeline-element-date">12 Ağustos 2022<br>15:30:45</span>
</div>
</div>
</div>
<div class="vertical-timeline-item vertical-timeline-element">
<div>
<span class="vertical-timeline-element-icon bounce-in">
<i class="badge badge-dot badge-dot-xl bg-warning"> </i>
</span>
<div class="vertical-timeline-element-content border-bottom bounce-in">
<h4 class="timeline-title">Başarısız Ödeme</h4>
<p>Paket ödemesi gerçekleşmedi</p>
<span class="vertical-timeline-element-date">07 Temmuz 2023<br>15:30:45</span>
</div>
</div>
</div>
<div class="vertical-timeline-item vertical-timeline-element">
<div>
<span class="vertical-timeline-element-icon bounce-in">
<i class="badge badge-dot badge-dot-xl bg-danger"> </i>
</span>
<div class="vertical-timeline-element-content border-bottom bounce-in">
<h4 class="timeline-title">Paket Değişimi</h4>
<p>Standart aylık paketten standart yıllık pakete geçiş gerçekleşti.</p>
<span class="vertical-timeline-element-date">27 Aralık 2023<br>15:30:45</span>
</div>
</div>
</div>
</div>
/*
* Activite
*/
.vertical-timeline {
width: 100%;
position: relative;
padding: 1.5rem 0 1rem;
}
.vertical-timeline::before {
content: '';
position: absolute;
top: 0;
left: 125px;
height: 100%;
width: 4px;
background: #e9ecef;
border-radius: .25rem;
}
.vertical-timeline-element {
position: relative;
margin: 0 0 1rem;
}
.vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
visibility: visible;
animation: cd-bounce-1 .8s;
}
.vertical-timeline-element-icon {
position: absolute;
top: 0;
left: 118px;
}
.vertical-timeline-element-icon .badge-dot-xl {
box-shadow: 0 0 0 5px #fff;
}
.badge-dot-xl {
width: 18px;
height: 18px;
position: relative;
}
.badge-dot-xl::before {
content: '';
width: 10px;
height: 10px;
border-radius: .25rem;
position: absolute;
left: 50%;
top: 50%;
margin: -5px 0 0 -5px;
background: #fff;
}
.vertical-timeline-element-content {
position: relative;
margin-left: 145px;
font-size: 1rem;
}
.vertical-timeline-element-content .timeline-title {
margin: 0 0 0.5rem;
padding: 0;
font-weight: bold;
line-height: 1;
}
.vertical-timeline-element-content .vertical-timeline-element-date {
display: block;
position: absolute;
left: -135px;
top: 0;
padding-right: 0;
text-align: right;
color: #adb5bd;
font-size: .85rem;
white-space: nowrap;
min-width: 100px;
}
.vertical-timeline-element-content:after {
content: "";
display: table;
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment