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

67 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
@include basic-list;
margin: 0;
padding: 0;
2015-04-26 12:48:37 +05:30
2017-09-10 17:25:29 +05:30
&::before {
@include notes-media('max', $screen-xs-min) {
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;
border-bottom: none;
2016-06-02 11:05:42 +05:30
margin: 0;
2015-09-25 12:07:36 +05:30
}
2015-04-26 12:48:37 +05:30
}
2017-08-17 22:00:37 +05:30
.timeline-entry {
border-color: $white-normal;
color: $gl-text-color;
border-bottom: 1px solid $border-white-light;
.timeline-entry-inner {
position: relative;
2017-09-10 17:25:29 +05:30
@include notes-media('max', $screen-xs-min) {
.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;
border-right: none;
}