aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/side.sass
blob: ba00d4923470583bcf0610bc9f4efce4215e4a91 (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
/*
 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-tray
        height: 100%
        padding: 1em
        box-sizing: border-box
        overflow-y: auto
        background-color: var(--bg)

    >.animate-in
        animation-name: side-slide-in
        animation-duration: 0.2s
    >.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)