forked from dknight/jQuery-Notify-bar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.notifyBar.css
85 lines (80 loc) · 2.35 KB
/
jquery.notifyBar.css
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
/*
* Notify Bar - jQuery plugin
*
* Copyright (c) 2009-2013 Dmitri Smirnov
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Version: 1.4
*
* Project home:
* http://www.whoop.ee/posts/2013-04-05-the-resurrection-of-jquery-notify-bar/
*/
/* Default bars' style */
.jquery-notify-bar {
width:100%;
position:fixed;
top:0;
left:0;
z-index:32768;
background-color:#efefef;
font-size:18px;
color:#000;
text-align:center;
font-family: Arial, Verdana, sans-serif;
padding:20px 0px;
cursor: pointer;
border-bottom:1px solid #ddd;
-webkit-box-shadow: inset 0 -1px 0 0 #fff;
-moz-box-shadow: inset 0 -1px 0 0 #fff;
box-shadow: inset 0 -1px 0 0 #fff;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -o-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}
.jquery-notify-bar.bottom {
bottom:0;
top:auto;
border-top:1px solid #ddd;
border-bottom:0;
-webkit-box-shadow: inset 0 1px 0 0 #fff;
-moz-box-shadow: inset 0 1px 0 0 #fff;
box-shadow: inset 0 1px 0 0 #fff;
}
.jquery-notify-bar.top {}
/* Style for errors */
.jquery-notify-bar.error {
color:#f00;
background-color:#fdd;
}
.jquery-notify-bar.error .notify-bar-text-wrapper {
background: transparent url("cross.png") no-repeat center left;
padding-left:20px;
}
/* Style for warning */
.jquery-notify-bar.warning {
color:#000;
background-color:#fffaaa;
}
.jquery-notify-bar.warning .notify-bar-text-wrapper {
background: transparent url("error.png") no-repeat center left;
padding-left:20px;
}
/* Style for success (notice) */
.jquery-notify-bar.success {
color:#060;
background-color:#BBFFB6;
}
.jquery-notify-bar.success .notify-bar-text-wrapper {
background: transparent url("tick.png") no-repeat center left;
padding-left:20px;
}
/* Style for close button */
.notify-bar-close {
position:absolute;
left:95%;
font-size:11px;
}