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

$-accent: scheme.$rosewater;

.networks {
    @include lib.popdown-window($-accent);

    min-width: lib.s(500);
    min-height: lib.s(400);

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

        color: scheme.$text;

        .network {
            @include lib.spacing(8);

            .icon {
                font-size: lib.s(18);
            }

            button {
                @include lib.rounded(5);
                @include lib.element-decel;

                padding: lib.s(3) lib.s(8);

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

                &:active {
                    background-color: scheme.$surface1;
                }
            }

            &.active {
                color: $-accent;
            }
        }
    }
}