aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.scss
blob: 4371947d46bd52870829b3ac2a9b02919f238ab0 (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
@import "../../variables";

.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(--badgeNeutral);
  }

  .alert-badge {
    font-size: 0.75em;
    line-height: 1;
    text-align: right;
    border-radius: var(--tooltipRadius);
    position: absolute;
    left: calc(50% - 0.5em);
    top: calc(50% - 0.4em);
    padding: 0.2em;
    margin-left: 0.7em;
    margin-top: -1em;
    background-color: var(--badgeNeutral);
    color: var(--badgeNeutralText);
  }

  .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;

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