aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.scss
blob: c38ecfea320600169318af9353f6dbdba456de83 (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
72
73
@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(--cGreen);
  }

  .timeline-header-button {
    align-self: stretch;
    text-align: center;
    width: var(--__panel-heading-height);
    height: var(--__panel-heading-height);
    margin: calc(-1 * var(--panel-heading-height-padding));

    > button {
      box-sizing: border-box;
      padding: calc(1 * var(--panel-heading-height-padding));
      height: 100%;
      width: 100%;
      text-align: center;

      svg {
        font-size: 1.2em;
      }
    }
  }

  .timeline-header-icon {
    align-self: stretch;
    text-align: center;
    width: var(--__panel-heading-height);

    svg {
      font-size: 1.2em;
    }
  }

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