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

69 lines
1.1 KiB
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;
2018-12-13 13:39:08 +05:30
background-color: $white-light;
2017-08-17 22:00:37 +05:30
.timeline-entry-inner {
position: relative;
2017-09-10 17:25:29 +05:30
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
.timeline-icon {
display: none;
}
.timeline-content {
margin-left: 0;
}
}
2017-08-17 22:00:37 +05:30
}
&: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
}
.avatar {
margin-right: 15px;
}
.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;
2015-09-25 12:07:36 +05:30
}