summaryrefslogtreecommitdiff
path: root/src/components/Logs.module.scss
blob: 2eb00226392a9dbfccab8c07a66ee812b6a98d1e (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
74
75
.logMeta {
  font-size: 0.8em;
  margin-bottom: 5px;
  display: block;
  line-height: 1.55em;
}

.logType {
  flex-shrink: 0;
  text-align: center;
  width: 66px;
  border-radius: 100px;
  padding: 3px 5px;
  margin: 0 8px;
}

.logTime {
  flex-shrink: 0;
  color: #fb923c;
}

.logText {
  flex-shrink: 0;
  color: #888;
  align-items: center;
  line-height: 1.35em;
  /* force wrap */
  width: 100%;
  @media (max-width: 768px) {
    display: inline-block;
  }
}

/*******************/

.logsWrapper {
  margin: 45px;
  padding: 10px;
  background-color: var(--bg-log-info-card);
  border-radius: 4px;
  color: var(--color-text);
  overflow-y: auto;
  @media (max-width: 768px) {
    margin: 25px;
  }
  :global {
    .log {
      margin-bottom: 10px;
      //background: var(--color-background);
    }
    .log.even {
      //background: var(--color-background);
    }
  }
}

/*******************/

.logPlaceholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2d2d30;

  div:nth-child(2) {
    color: var(--color-text-secondary);
    font-size: 1.4em;
    opacity: 0.6;
  }
}

.logPlaceholderIcon {
  opacity: 0.3;
}