blob: a531b873e456dec80e05ca6fb296f1b097d3006c (
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
|
//
// General notification style, used both in the control center as well as the notification area
//
notification {
& .content {
background: $foobar-color-background-primary;
border: $foobar-dim-border-light solid $foobar-color-border;
border-radius: $foobar-dim-radius-large;
padding: $foobar-dim-margin-medium-vertical $foobar-dim-margin-medium-horizontal;
}
& .icon {
-gtk-icon-size: 32px;
margin-right: $foobar-dim-spacing-large;
}
& .title {
font-weight: bold;
}
& .body {
font-size: $foobar-dim-font-small;
margin-top: $foobar-dim-spacing-small;
}
& .time {
font-size: $foobar-dim-font-small;
color: $foobar-color-foreground-secondary;
margin-left: $foobar-dim-spacing-medium;
}
& .close-button {
min-width: 24px;
min-height: 24px;
background: $foobar-color-background-secondary;
border: $foobar-dim-border-light solid $foobar-color-border;
border-radius: 100%;
&:hover {
background: $foobar-color-background-tertiary;
}
&:active {
background: $foobar-color-background-quaternary;
}
}
}
//
// Style for the notification area window presenting popup notifications
//
window.notification-area {
&, & listview {
// XXX: To prevent some glitches
background: rgba(0, 0, 0, 0.005);
}
& row,
& row:hover,
& row:active,
& row:focus ,
& row:selected {
background: transparent;
}
}
|