2014-08-15 08:14:58 +00:00
|
|
|
.timeline {
|
|
|
|
list-style: none;
|
|
|
|
padding: 20px 0 20px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
content: " ";
|
|
|
|
width: 3px;
|
|
|
|
background-color: #eeeeee;
|
2014-08-26 07:05:08 +00:00
|
|
|
margin-left: 29px;
|
2014-08-15 08:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-entry {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 30px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
|
2014-08-15 13:29:25 +00:00
|
|
|
&:target {
|
|
|
|
.timeline-entry-inner .timeline-content {
|
|
|
|
-webkit-animation:target-note 2s linear;
|
|
|
|
background: $hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-15 08:14:58 +00:00
|
|
|
.timeline-entry-inner {
|
|
|
|
position: relative;
|
|
|
|
margin-left: -20px;
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-icon {
|
|
|
|
margin-top: 2px;
|
|
|
|
background: #fff;
|
|
|
|
color: #737881;
|
|
|
|
float: left;
|
2015-01-23 18:39:23 +00:00
|
|
|
@include border-radius($avatar_radius);
|
2014-08-15 08:14:58 +00:00
|
|
|
@include box-shadow(0 0 0 3px #EEE);
|
2014-08-26 07:05:08 +00:00
|
|
|
overflow: hidden;
|
2014-08-15 13:29:25 +00:00
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin: 0;
|
2014-08-26 07:05:08 +00:00
|
|
|
padding: 0;
|
2014-08-15 13:29:25 +00:00
|
|
|
}
|
2014-08-15 08:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
position: relative;
|
2015-03-18 05:25:25 +00:00
|
|
|
background: $background-color;
|
2014-08-15 08:14:58 +00:00
|
|
|
padding: 10px 15px;
|
|
|
|
margin-left: 60px;
|
|
|
|
|
2015-01-22 19:24:05 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-08-15 08:14:58 +00:00
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 9px 9px 9px 0;
|
2015-03-18 05:25:25 +00:00
|
|
|
border-color: transparent $background-color transparent transparent;
|
2014-08-15 08:14:58 +00:00
|
|
|
left: 0;
|
|
|
|
top: 10px;
|
|
|
|
margin-left: -9px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-20 20:55:55 +00:00
|
|
|
|
|
|
|
.system-note .timeline-entry-inner {
|
|
|
|
.timeline-icon {
|
|
|
|
background: none;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-top: 0;
|
|
|
|
@include box-shadow(none);
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin: 0 2px;
|
|
|
|
font-size: 16px;
|
|
|
|
color: #eeeeee;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
background: none;
|
|
|
|
margin-left: 45px;
|
|
|
|
padding: 0px 15px;
|
|
|
|
|
|
|
|
&:after { border: 0; }
|
|
|
|
|
|
|
|
.note-header {
|
|
|
|
span { font-size: 12px; }
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-text {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-15 08:14:58 +00:00
|
|
|
}
|
2014-12-02 09:31:57 +00:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
.timeline {
|
|
|
|
&:before {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
.timeline-entry .timeline-entry-inner {
|
|
|
|
.timeline-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-content {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|