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

60 lines
1,007 B
SCSS
Raw Normal View History

.timeline {
margin: 0;
padding: 0;
2018-11-08 02:58:45 -05:00
list-style: none;
&::before {
2018-06-08 10:27:49 -04:00
@include notes-media('max', map-get($grid-breakpoints, sm)) {
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 {
color: $gl-text-color;
2018-11-08 02:58:45 -05:00
background-color: $white-light;
.timeline-entry-inner {
position: relative;
}
&: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%);
}
}
img.avatar {
margin-right: $gl-padding;
}
.controls {
padding-top: 10px;
float: right;
}
}
.discussion .timeline-entry {
margin: 0;
2017-11-02 19:59:51 -04:00
border-right: 0;
2019-05-20 12:34:14 -04:00
border-radius: $border-radius-default $border-radius-default 0 0;
}