aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/Timeline.css
blob: 5bf0a7bb4dbc8f1fb2aee0843f55c3c2de225609 (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
.timeline-container {
  --timeline-shadow-color: hsla(0, 0%, 0%, 0.5);
  --timeline-card-shadow: 2px 1px 10px -2px var(--timeline-shadow-color);
  --timeline-post-line-color: hsl(56, 82%, 55%);
  --timeline-post-line-shadow: 2px 1px 10px -1px var(--timeline-shadow-color);
  --timeline-post-card-background-color: hsl(0, 0%, 100%);
  --timeline-post-card-shadow: 4px 2px 10px -2px var(--timeline-shadow-color);
  --timeline-post-card-border-radius: 10px;
  --timeline-post-text-color: hsl(0, 0%, 0%);
}

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

.timeline {
  z-index: 0;
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.timeline-content-image {
  max-width: 80%;
  max-height: 200px;
}

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