-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.alertable.css
97 lines (87 loc) · 1.68 KB
/
jquery.alertable.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
86
87
88
89
90
91
92
93
94
95
96
97
/*
//
// Tip: to integrate this plugin seamlessly into your application, use these styles as a starting
// point to build your own stylish alerts and confirmations!
//
*/
/* Modal */
.alertable {
position: fixed;
z-index: 9999;
top: 38vh;
left: calc(50% - 150px);
width: 300px;
background: white;
border-radius: 4px;
padding: 20px;
margin: 0 auto;
}
/* Overlay */
.alertable-overlay {
position: fixed;
z-index: 9998;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, .5);
}
/* Message */
.alertable-message {
margin-bottom: 20px;
}
/* Prompt */
.alertable-prompt {
margin-bottom: 20px;
}
.alertable-input {
width: 100%;
border-radius: 4px;
box-shadow: none;
border: solid 1px #ccc;
font-family: inherit;
font-size: inherit;
color: inherit;
padding: 6px 12px;
display: block;
box-sizing: border-box;
margin-bottom: 10px;
}
/* Button group */
.alertable-buttons {
text-align: right;
}
/* OK button */
.alertable-ok {
background: #09d;
border: solid 1px #09d;
font-family: inherit;
font-size: inherit;
color: white;
border-radius: 4px;
padding: 6px 12px;
margin-left: 4px;
cursor: pointer;
}
.alertable-ok:hover,
.alertable-ok:focus.
.alertable-ok:active {
background-color: #08c;
}
/* Cancel button */
.alertable-cancel {
border: solid 1px #ddd;
background: white;
font-family: inherit;
font-size: inherit;
color: #888;
border-radius: 4px;
padding: 6px 12px;
margin-left: 4px;
cursor: pointer;
}
.alertable-cancel:hover,
.alertable-cancel:focus,
.alertable-cancel:active {
background-color: #f2f2f2;
}