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

59 lines
929 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%);
}
}
.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;
}