-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.widget.notification.styl
70 lines (59 loc) · 1.39 KB
/
theme.widget.notification.styl
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
/**
* Stylesheet
*
* @namespace Lungo.Theme
* @class Layout
*
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/
/* -------------------------- NOTIFICATION -------------------------- */
.notification
color: #fff
&:not(.push)
background-color: rgba(0,0,0,0.5)
& .window
box-shadow 0 0 0 3px rgba(0,0,0,0.1)
&.growl
background-color: rgba(0,0,0,0.8)
& strong
color: darken(#fff, 25%)
font-weight: 700
&.confirm, &.html
& button
background-color: #fff
color: darken(COLOR, 75%)
font-weight: 400
&[data-callback=cancel], &[data-action=close]
color: DANGER
&.html, &.confirm
background-color: COLOR
color: TEXT
&.confirm
& > small, > .icon
color: lighten(TEXT, 50%)
& > button
&:nth-child(1)
color: DANGER !important
&.error, &.success
background-color: rgba(0,0,0,0.8)
border-bottom: solid 0.4em
color: #fff
& small
color: darken(#fff, 25%)
&.error
border-bottom-color: DANGER
& > .icon
color: DANGER
&.success
border-bottom-color: SUCCESS
& > .icon
color: SUCCESS
&.html
& .title
background-color: THEME
color: #fff
&.push
background-color: COLOR
box-shadow: inset 0 -0.1em #000
& small
font-weight: 300