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

62 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;
2020-07-28 23:09:34 +05:30
2022-11-25 23:54:43 +05:30
&:not(.note-form).internal-note .timeline-content,
&:not(.note-form).draft-note .timeline-content {
background-color: $orange-50 !important;
2022-08-27 11:52:29 +05:30
}
2017-08-17 22:00:37 +05:30
.timeline-entry-inner {
position: relative;
}
&:target,
&.target {
2022-11-25 23:54:43 +05:30
.timeline-content {
background: $line-target-blue !important;
}
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
}
.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
}