aboutsummaryrefslogtreecommitdiff
path: root/client-web/public/assets/style/chat.css
blob: 7f7f8dcc0c76e474309436256dfcce3b042afa78 (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
.chat {
    position: fixed;
    z-index: 70;

    right: 1em;
    bottom: 5em;

    width: min(30em, 50vw);
    height: min(50em, 70vh);

    background-color: var(--bg);
    border-radius: 1em;
    padding: 2em;
}

.chat .message {
    margin: 0.2em;
}
.chat .author {
    font-weight: bold;
}
.chat .text {
    color: white;
}
.chat .image {
    width: min(20em, 30vw);
    max-height: 50em; /* TODO squishes the image if too high */
}

.chat .messages {
    height: calc(100% - 3em);
    width: 100%;
    overflow: scroll;
}
.chat .controls {
    padding: 1em;
}
.chat input {
    font-size: x-large;
    width: 100%;
}