summaryrefslogtreecommitdiff
path: root/Redcore-nighttime/gtk-3.20/scss/widgets/_calendar.scss
blob: c2243b9f2765d65f4c3bf4e0e4b05545aadb72ea (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
/**********
 ! Calendar
***********/

@include exports("calendar") {
    calendar {
        padding: 1px 3px;
        outline-offset: -1px;

        color: $text_color;

        &.view {
            &, &:backdrop { @extend %undecorated_button; }
        }

        &:selected {
            @extend %selected_items;

            border-radius: $roundness;
        }

        &.header {
            border-bottom: 1px solid transparentize($black, .9);
            border-radius: 0;

            &:backdrop { border-color: transparentize($black, .9); }
        }

        &.button {
            @extend %undecorated_button;

            color: alpha($fg_color, .55);

            &:hover {
                @extend %undecorated_button;

                color: $fg_color;
            }

            &:backdrop {
                @extend %undecorated_button;

                color: alpha($backdrop_fg_color, .55);
            }

            &:disabled {
                @extend %undecorated_button;

                color: alpha($insensitive_fg_color, .55);
            }
        }

        &:indeterminate,
        &:indeterminate:backdrop { color: mix($fg_color, $bg_color, .5); }

        &.highlight,
        &.highlight:backdrop {
            font-size: smaller;
            color: mix($selected_bg_color, $fg_color, .5);
        }

        &:backdrop {
            color: $backdrop_text_color;
        }
    }

    /* gnome-calendar */
    .calendar-view {
        background-color: $base_color;
        color: $text_color;
    }
}