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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.4 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
// [dark-theme]: only give background color to actual notes
// in the timeline, the note form textarea has a background
// of it's own
&:not(.note-form) {
background-color: $white;
}
2017-08-17 22:00:37 +05:30
2022-08-27 11:52:29 +05:30
&:not(.note-form).internal-note {
background-color: $orange-50;
}
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 {
2022-07-23 23:45:48 +05:30
margin-right: $gl-padding-12;
2021-06-08 01:23:25 +05:30
@include media-breakpoint-down(sm) {
width: $gl-spacing-scale-6;
height: $gl-spacing-scale-6;
margin-right: $gl-padding-8;
}
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
}