~starkingdoms/starkingdoms

ref: 1cd44397d903f5ad5287a8a834d2148f3d714f1c starkingdoms/starkingdoms-client/src/css/chat.scss -rw-r--r-- 1.2 KiB
1cd44397 — ghostlyzsh Merge branch 'bevy_rewrite' of https://gitlab.com/starkingdoms.tk/starkingdoms.tk into bevy_rewrite 1 year, 11 months ago
                                                                                
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
@use "font";

.chat-container {
  @extend .font-2;

  position: absolute;
  top: 0.5em;
  right: 0.5em;
  width: 30vw;
  height: min-content;
  font-weight: 500;
}
.chat-container:hover {
  opacity: 100%;
}
.chat-container > h1 {
  margin: 2px 0 2px 0;
}
.chat-table {
  height: 23vh; /* explain this? */
  display: block;
  overflow: auto;
  margin: 1em 0 1em 0;
}
.chat-box {
  appearance: none;
  background: transparent;
  color: var(--text);
  padding: 0.675em 1em;
  border: 1px solid var(--links);
  border-radius: 0.25rem;
  cursor: text;
  width: 100%;
  max-width: 100%;
}
.chat-box:focus {
  outline: none;
  background-color: var(--links-ultratransparent);
}
.chat-minimax {
  cursor: pointer;
  position: absolute;
  width: 2rem;
  height: 2rem;
  right: 1em;
  top: 1em;
  border: 1px solid var(--links);
  border-radius: 0.25rem;
}
.chat-minimax-icon {
  position: absolute;
  /* Correct for 1px border on parent */
  top: 14px;
  left: 7px;
}
.message {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 1px;
  margin-bottom: 1px;
}
.server-message {
  color: #facb61;
}
.server-error {
  color: #ff2222;
}
.global-message {
  color: #4de640;
}
.direct-message {
  color: #599fbd;
}