aboutsummaryrefslogtreecommitdiff
path: root/.themes/MikunoNaka/cinnamon/scss/sections/_notifications.scss
blob: 9bd5097ed39eca78b016286ca1c38bb6ec44e511 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// notification system
#notification {
    @extend %bg-grad-to-right;

    border-radius: $roundness;
    border: 1px solid $exterior_border;
    padding: 8px;
    spacing-rows: 5px;
    spacing-columns: 10px;
    margin-from-right-edge-of-screen: 20px;
    width: 34em;
    color: $dark_fg_color;
    &.multi-line-notification {
        padding-bottom: 8px;
        color: $dark_fg_color;
    }
    StEntry {
        @extend %dialog-entry;

        &:focus {
            border: 1px solid $selected_border;
        }
    }
    .url-highlighter {
        link-color: $link_color;
    }
}
.notification-with-image {
    min-height: 159px;
    color: $dark_fg_color;
}
#notification-scrollview {
    max-height: 10em;
    > {
        .top-shadow {
            height: 1em;
        }
        .bottom-shadow {
            height: 1em;
        }
    }
    &:ltr > StScrollBar {
        padding-left: 6px;
    }
    &:rtl > StScrollBar {
        padding-right: 6px;
    }
}
#notification-body {
    spacing: 4px;
}
#notification-actions {
    spacing: 8px;
}
.notification-button {
    @extend %shared-button;

    border-radius: $roundness;
    min-width: 5em;
    min-height: 1em;
    padding: $spacing_plus2;
    &:hover {
        @extend %shared-button-hover;
    }
    &:focus {
        color: $selected_fg_color;
    }
    &:active {
        @extend %shared-button-active;
    }
}
.notification-icon-button {
    @extend %shared-button;

    border-radius: $roundness;
    min-width: 2em;
    min-height: 2em;
    padding: $spacing_plus2;
    &:hover {
        @extend %shared-button-hover;
    }
    &:focus {
        color: $selected_fg_color;
    }
    &:active {
        @extend %shared-button-active;
    }
    > StIcon {
        icon-size: 1.5em;
    }
}