debian-mirror-gitlab/app/assets/stylesheets/framework/timeline.scss

60 lines
1,001 B
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
.timeline {
2015-09-25 12:07:36 +05:30
margin: 0;
padding: 0;
2018-12-13 13:39:08 +05:30
list-style: none;
2015-04-26 12:48:37 +05:30
2017-09-10 17:25:29 +05:30
&::before {
2018-11-08 19:23:39 +05:30
@include notes-media('max', map-get($grid-breakpoints, sm)) {
2017-09-10 17:25:29 +05:30
background: none;
}
}
2015-09-25 12:07:36 +05:30
.system-note {
.note-text {
2017-08-17 22:00:37 +05:30
color: $gl-text-color !important;
2015-04-26 12:48:37 +05:30
}
}
2015-09-25 12:07:36 +05:30
.diff-file {
border: 1px solid $border-color;
2016-06-02 11:05:42 +05:30
margin: 0;
2015-09-25 12:07:36 +05:30
}
2018-03-17 18:26:18 +05:30
&.text-file .diff-file {
border-bottom: 0;
}
2015-04-26 12:48:37 +05:30
}
2017-08-17 22:00:37 +05:30
.timeline-entry {
color: $gl-text-color;
2020-04-22 19:07:51 +05:30
background-color: $white;
2017-08-17 22:00:37 +05:30
.timeline-entry-inner {
position: relative;
}
&:target,
&.target {
background: $line-target-blue;
2017-09-10 17:25:29 +05:30
&.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%);
}
2017-08-17 22:00:37 +05:30
}
2019-09-04 21:01:54 +05:30
img.avatar {
margin-right: $gl-padding;
2017-08-17 22:00:37 +05:30
}
.controls {
padding-top: 10px;
float: right;
}
}
2015-09-25 12:07:36 +05:30
.discussion .timeline-entry {
margin: 0;
2018-03-17 18:26:18 +05:30
border-right: 0;
2019-09-04 21:01:54 +05:30
border-radius: $border-radius-default $border-radius-default 0 0;
2015-09-25 12:07:36 +05:30
}