BigW Consortium Gitlab

timeline.scss 1.13 KB
Newer Older
1
.timeline {
2 3 4
  @include basic-list;
  margin: 0;
  padding: 0;
5

6
  &::before {
7
    @include notes-media('max', $screen-xs-min) {
8 9 10 11
      background: none;
    }
  }

12 13
  .system-note {
    .note-text {
14
      color: $gl-text-color !important;
15 16
    }
  }
17 18 19

  .diff-file {
    border: 1px solid $border-color;
Phil Hughes committed
20
    margin: 0;
21
  }
22 23

  &.text-file .diff-file {
24
    border-bottom: 0;
25
  }
26
}
27

28 29 30 31
.timeline-entry {
  border-color: $white-normal;
  color: $gl-text-color;
  border-bottom: 1px solid $border-white-light;
32
  background: $white-light;
33 34 35

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

37
    @include notes-media('max', $screen-xs-min) {
38 39 40 41 42 43 44 45
      .timeline-icon {
        display: none;
      }

      .timeline-content {
        margin-left: 0;
      }
    }
46 47 48 49 50
  }

  &:target,
  &.target {
    background: $line-target-blue;
51 52 53 54

    &.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%);
    }
55 56 57 58 59 60 61 62 63 64 65 66
  }

  .avatar {
    margin-right: 15px;
  }

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

67 68
.discussion .timeline-entry {
  margin: 0;
69
  border-right: 0;
70
}