Welcome to mirror list, hosted at ThFree Co, Russian Federation.

timeline.scss « framework « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9b38e842635975308c759986cf47bde8470cfdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;

  &::before {
    @include notes-media('max', map-get($grid-breakpoints, sm)) {
      background: none;
    }
  }

  .system-note {
    .note-text {
      color: $gl-text-color !important;
    }
  }

  .diff-file {
    border: 1px solid $border-color;
    margin: 0;
  }

  &.text-file .diff-file {
    border-bottom: 0;
  }
}

.timeline-entry {
  color: $gl-text-color;

  // [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;
  }

  .timeline-entry-inner {
    position: relative;
  }

  &:target,
  &.target {
    background: $line-target-blue;

    &.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%);
    }
  }

  img.avatar {
    margin-right: $gl-padding;

    @include media-breakpoint-down(sm) {
      width: $gl-spacing-scale-6;
      height: $gl-spacing-scale-6;
      margin-right: $gl-padding-8;
    }
  }

  .controls {
    padding-top: 10px;
    float: right;
  }
}

.discussion .timeline-entry {
  margin: 0;
  border-right: 0;
  border-radius: $border-radius-default $border-radius-default 0 0;
}