aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.scss
blob: 9d442a952c8325d95d6f16e2853f072752f200a3 (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
@import '../../_variables.scss';

.Timeline {
  .alert-dot {
    border-radius: 100%;
    height: 8px;
    width: 8px;
    position: absolute;
    left: calc(50% - 4px);
    top: calc(50% - 4px);
    margin-left: 6px;
    margin-top: -6px;
    background-color: var(--cBlue);
  }

  .loadmore-text {
    opacity: 1;
  }

  .loadmore-button {
    position: relative
  }

  &.-blocked {
    cursor: progress;
  }

  .conversation-heading {
    top: calc(var(--__panel-heading-height) * var(--currentPanelStack, 2));
    z-index: 2;
  }

  &.-nonpanel {
    .timeline-heading {
      text-align: center;
      line-height: 2.75em;
      padding: 0 0.5em;
    }

    .timeline-heading {
      .button-default, .alert {
        line-height: 2em;
        width: 100%;
      }
    }
  }
}