summaryrefslogtreecommitdiff
path: root/scss/session.scss
blob: b34d2e55ea159f2888332a018fa43069540ea68e (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
@use "sass:color";
@use "scheme";
@use "lib";
@use "font";

.session {
    background-color: #0000009e;

    .inner {
        @include lib.rounded(8);
        @include lib.border(scheme.$overlay0, 0.1);
        @include lib.shadow;
        @include font.mono;

        background-color: scheme.$mantle;
        color: scheme.$text;
        padding: lib.s(18) lib.s(20);

        @include lib.spacing(10, true);

        & > * {
            @include lib.spacing(20);
        }

        .item {
            font-size: lib.s(14);

            @include lib.spacing($vertical: true);

            button {
                @include lib.rounded(100);
                @include lib.element-decel(300ms);

                background-color: scheme.$base;
                min-width: lib.s(100);
                min-height: lib.s(100);
                font-size: lib.s(32);

                &:hover {
                    background-color: scheme.$surface0;
                }

                &:focus {
                    background-color: color.mix(scheme.$flamingo, scheme.$base, 70%);
                    color: scheme.$base;
                }

                &:active {
                    background-color: color.mix(scheme.$flamingo, scheme.$base, 50%);
                }
            }

            .label {
                font-weight: 500;
            }
        }
    }
}