timeline.scss 1000 Bytes
Newer Older
1
.timeline {
2
  @include basic-list;
3

4 5
  margin: 0;
  padding: 0;
6

7
  .timeline-entry {
Fatih Acet's avatar
Fatih Acet committed
8
    padding: $gl-padding $gl-btn-padding 11px;
Douwe Maan's avatar
Douwe Maan committed
9
    border-color: $table-border-color;
10
    color: $gl-gray;
11
    border-bottom: 1px solid $border-white-light;
12

13
    &:target {
14
      background: $line-target-blue;
15 16
    }

17 18
    .avatar {
      margin-right: 15px;
19 20
    }

21 22 23 24 25
    .controls {
      padding-top: 10px;
      float: right;
    }
  }
26

27 28 29
  .note-text {
    p:last-child {
      margin-bottom: 0;
30 31
    }
  }
Drew Blessing's avatar
Drew Blessing committed
32

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
33 34 35
  .system-note {
    .note-text {
      color: $gl-gray !important;
Drew Blessing's avatar
Drew Blessing committed
36 37
    }
  }
38 39 40 41

  .diff-file {
    border: 1px solid $border-color;
    border-bottom: none;
Phil Hughes's avatar
Phil Hughes committed
42
    margin: 0;
43
  }
44
}
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

@media (max-width: $screen-xs-max) {
  .timeline {
    &:before {
      background: none;
    }
    .timeline-entry .timeline-entry-inner {
      .timeline-icon {
        display: none;
      }

      .timeline-content {
        margin-left: 0;
      }
    }
  }
}
62 63 64 65 66

.discussion .timeline-entry {
  margin: 0;
  border-right: none;
}