aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/side.css
blob: a0c85140ec0be77b3f37cfc33c1069641646b809 (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
/*
    This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2023 metamuffin <metamuffin.org>
*/

.side-ui {
    flex: 0;
    z-index: 99;
}
.side-ui .side-tray {
    height: 100%;
    padding: 1em;
    box-sizing: border-box;
    overflow-y: auto;
    background-color: var(--bg);
}
.side-ui > .animate-in {
    animation-name: side-slide-in;
    animation-duration: 0.2s;
}
.side-ui > .animate-out {
    animation-name: side-slide-out;
    animation-duration: 0.2s;
    transform: translateX(100%);
}

@keyframes side-slide-in {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0%);
    }
}
@keyframes side-slide-out {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(100%);
    }
}

.main {
    flex: 1;
    display: flex;
    flex-flow: row;
    overflow: hidden;
}
.control-bar {
    flex: 0;
}
.preferences {
    width: min(50em, 100vw);
    height: 100%;
}
.chat {
    width: min(30em, 100vw);
}
.room-watches {
    width: min(30em, 100vw);
}