gitlab-org--gitlab-foss/app/assets/stylesheets/framework/timeline.scss

71 lines
1 KiB
SCSS
Raw Normal View History

.timeline {
@include basic-list;
margin: 0;
padding: 0;
.timeline-entry {
padding: $gl-padding $gl-btn-padding 0;
2016-12-12 17:26:21 -05:00
border-color: $white-normal;
2016-12-30 15:18:27 -05:00
color: $gl-text-color;
border-bottom: 1px solid $border-white-light;
2017-04-06 14:41:30 -04:00
.timeline-entry-inner {
position: relative;
}
&:target {
background: $line-target-blue;
}
.avatar {
margin-right: 15px;
}
.controls {
padding-top: 10px;
float: right;
}
}
.note-text {
p:last-child {
margin-bottom: 0;
}
}
2014-12-20 15:55:55 -05:00
.system-note {
.note-text {
2016-12-30 15:18:27 -05:00
color: $gl-text-color !important;
2014-12-20 15:55:55 -05:00
}
}
.diff-file {
border: 1px solid $border-color;
border-bottom: none;
margin: 0;
}
}
@media (max-width: $screen-xs-max) {
.timeline {
2016-10-24 16:58:50 -04:00
&::before {
background: none;
}
.timeline-entry .timeline-entry-inner {
.timeline-icon {
display: none;
}
.timeline-content {
margin-left: 0;
}
}
}
}
.discussion .timeline-entry {
margin: 0;
border-right: none;
}