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

71 lines
1.2 KiB
SCSS
Raw Normal View History

.timeline {
@include basic-list;
margin: 0;
padding: 0;
&::before {
2018-04-09 11:26:28 -04:00
@include notes-media('max', map-get($grid-breakpoints, xs)) {
background: none;
}
}
.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;
margin: 0;
}
2017-10-07 00:25:17 -04:00
&.text-file .diff-file {
2017-11-02 19:59:51 -04:00
border-bottom: 0;
2017-10-07 00:25:17 -04:00
}
}
.timeline-entry {
border-color: $white-normal;
color: $gl-text-color;
border-bottom: 1px solid $border-white-light;
2017-10-07 00:25:17 -04:00
background: $white-light;
.timeline-entry-inner {
position: relative;
2018-04-09 11:26:28 -04:00
@include notes-media('max', map-get($grid-breakpoints, xs)) {
.timeline-icon {
display: none;
}
.timeline-content {
margin-left: 0;
}
}
}
&:target,
&.target {
background: $line-target-blue;
&.system-note .note-body .note-text.system-note-commit-list::after {
background: linear-gradient(rgba($line-target-blue, 0.1) -100px, $line-target-blue 100%);
}
}
.avatar {
margin-right: 15px;
}
.controls {
padding-top: 10px;
float: right;
}
}
.discussion .timeline-entry {
margin: 0;
2017-11-02 19:59:51 -04:00
border-right: 0;
}