aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/Timeline.css
blob: 01a6acd681721943a6293215ba5a8071a3521f07 (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
.timeline-container {
  --timeline-background-color: hsl(0, 0%, 95%);
  --timeline-shadow-color: hsla(0, 0%, 0%, 0.5);
  --timeline-card-shadow: 2px 1px 10px -2px var(--timeline-shadow-color);
  --timeline-post-card-background-color: hsl(0, 0%, 100%);
  --timeline-post-card-shadow: 0px 0px 11px -2px var(--timeline-shadow-color);
  --timeline-post-card-border-radius: 10px;
  --timeline-post-text-color: hsl(0, 0%, 0%);
  --timeline-datetime-label-background-color: hsl(0, 0%, 30%);
}

@media (prefers-color-scheme: dark) {
  .timeline-container {
    --timeline-background-color: hsl(0, 0%, 0%);
    --timeline-post-card-background-color: hsl(0, 0%, 15%);
    --timeline-post-card-shadow: none;
  }
}

.timeline {
  z-index: 0;
  position: relative;
  width: 100%;
  padding-top: 10px;
  background: var(--timeline-background-color);
}

.timeline-post-item-options-mask {
  background: hsla(0, 0%, 100%, 0.85);
  z-index: 100;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  display: flex;
  justify-content: space-around;
  align-items: center;

  border-radius: var(--cru-card-border-radius);
}

.timeline-sync-state-badge {
  font-size: 0.8em;
  padding: 3px 8px;
  border-radius: 5px;
  background: #e8fbff;
}

.timeline-sync-state-badge-pin {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.6em;
}