summaryrefslogtreecommitdiff
path: root/scss/updates.scss
blob: 11f9a3e97c4a8e0d453ba20308d12a5c11e7b0e1 (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
64
65
66
67
68
69
70
71
72
73
74
@use "sass:color";
@use "scheme";
@use "lib";
@use "font";

.updates {
    @include lib.rounded(8);
    @include lib.border(scheme.$blue, 0.4, 2);
    @include lib.shadow;
    @include font.mono;

    min-width: lib.s(600);
    min-height: lib.s(400);
    background-color: scheme.$base;
    color: scheme.$blue;
    padding: lib.s(10) lib.s(12);
    font-size: lib.s(14);

    .wrapper {
        @include lib.element-decel;

        &:hover,
        &:focus {
            color: color.mix(scheme.$blue, scheme.$base, 80%);
        }

        &:active {
            color: color.mix(scheme.$blue, scheme.$base, 60%);
        }
    }

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

        padding: 0 lib.s(5);
        margin-bottom: lib.s(8);
        font-size: lib.s(15);

        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;
            }
        }
    }

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

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

        .repo {
            .header {
                font-size: lib.s(16);
            }

            .list {
                color: scheme.$text;
                margin-left: lib.s(12);
            }
        }
    }
}