Skip to content

Commit 40d3e63

Browse files
committed
Add icons for shortcuts
add icons for alert/info/success/warning/error
1 parent 446f094 commit 40d3e63

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+80
-65
lines changed

themes/black/css/jquery.msgbox.css

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-moz-border-radius: 5px;
77
-o-border-radius: 5px;
88
border: 1px solid #111; }
9-
.jMsgbox-title { background-color: #111;
9+
.jMsgbox-title { background-color: #111; font-weight: bold;
1010
color:#fff; padding-left: 8px; }
1111
.jMsgbox-controls {right: 6px; top: 3px;}
1212
.jMsgbox-controls a { width: 14px;
@@ -31,16 +31,19 @@
3131
.jMsgbox-pause {background-position: -123px 0px}
3232
.jMsgbox-pause:hover {background-position: -123px -17px}
3333
.jMsgbox-content { background-color: #fff; }
34-
.jMsgbox-content.jMsgbox-alert { background:url(../img/info.png) 10px 10px no-repeat #d0eafa; padding-left: 60px; }
35-
.jMsgbox-content.jMsgbox-info { background:url(../img/info.png) 10px 10px no-repeat #d0eafa; padding-left: 60px; }
36-
.jMsgbox-content.jMsgbox-warning { background:url(../img/warning.png) 10px 10px no-repeat #fbf8d0; padding-left: 60px; }
37-
.jMsgbox-content.jMsgbox-error { background:url(../img/error.png) 10px 10px no-repeat #fbd1d0; padding-left: 60px;}
38-
.jMsgbox-content.jMsgbox-success { background:url(../img/success.png) 10px 10px no-repeat #d7fbd0; padding-left: 60px;}
34+
.jMsgbox-content .jMsgbox-shortcut { background-position: 10px 10px; background-repeat: no-repeat; background-color: transparent; padding: 24px 0px 12px 70px !important; }
35+
.jMsgbox-content .jMsgbox-alert { background-image:url(../img/warning.png); color: #ac5b02; }
36+
.jMsgbox-content .jMsgbox-info { background-image:url(../img/info.png); color: #004e9b;}
37+
.jMsgbox-content .jMsgbox-warning { background-image:url(../img/warning.png); color: #a89806; }
38+
.jMsgbox-content .jMsgbox-error { background-image:url(../img/error.png); color: #e30000;}
39+
.jMsgbox-content .jMsgbox-success { background-image:url(../img/success.png); color: #006400;}
40+
.jMsgbox-content .jMsgbox-confirm { background-image:url(../img/confirm.png); color: #000000;}
41+
.jMsgbox-content .jMsgbox-prompt { background-image:url(../img/prompt.png); color: #000000;}
42+
.jMsgbox-content .jMsgbox-prompt-input { border: 1px solid #333;
43+
background-color: #ddd;
44+
font-size: 12px; }
3945
.jMsgbox-loading { background:url(../img/loading.gif) center center no-repeat #fff; }
4046
.jMsgbox-loaded { padding: 12px; }
41-
.jMsgbox-prompt { border: 1px solid #333;
42-
background-color: #ddd;
43-
font-size: 12px; }
4447
.jMsgbox-foot { background-color: #c2c2c2;
4548
text-align: right; }
4649
.jMsgbox-foot input { margin-right: 10px;

themes/black/img/confirm.png

3.58 KB

themes/black/img/error.png

-2.64 KB

themes/black/img/info.png

-2.16 KB

themes/black/img/prompt.png

3 KB

themes/black/img/success.png

-2.18 KB

themes/black/img/warning.png

-2.24 KB

themes/bootstrap/css/jquery.msgbox.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@
3535
.jMsgbox-pause {background-position: -157px -25px}
3636
.jMsgbox-pause:hover {background-position: -157px -1px}
3737
.jMsgbox-content { background-color: #fff; }
38-
.jMsgbox-content.jMsgbox-alert { color:#006DCC; }
39-
.jMsgbox-content.jMsgbox-info { color:#49AFCD; }
40-
.jMsgbox-content.jMsgbox-warning { color:#FAA732; }
41-
.jMsgbox-content.jMsgbox-error { color: #B94A48; }
42-
.jMsgbox-content.jMsgbox-success { color: #5BB75B;}
43-
.jMsgbox-loading { background:url(../img/loading.gif) center center no-repeat transparent; }
44-
.jMsgbox-loaded { padding: 15px; }
45-
.jMsgbox-prompt { display: inline-block;
38+
.jMsgbox-content .jMsgbox-shortcut { background-position: 20px 20px; background-repeat: no-repeat; background-color: transparent; padding: 36px 0px 0px 78px !important; }
39+
.jMsgbox-content .jMsgbox-alert { background-image:url(../img/warning.png); color: #ac5b02; }
40+
.jMsgbox-content .jMsgbox-info { background-image:url(../img/info.png); color: #004e9b;}
41+
.jMsgbox-content .jMsgbox-warning { background-image:url(../img/warning.png); color: #a89806; }
42+
.jMsgbox-content .jMsgbox-error { background-image:url(../img/error.png); color: #e30000;}
43+
.jMsgbox-content .jMsgbox-success { background-image:url(../img/success.png); color: #006400;}
44+
.jMsgbox-content .jMsgbox-confirm { background-image:url(../img/confirm.png); color: #000000;}
45+
.jMsgbox-content .jMsgbox-prompt { background-image:url(../img/prompt.png); color: #000000; padding-top: 20px !important;}
46+
.jMsgbox-prompt-input { display: block;
4647
padding: 6px 6px;
4748
margin-bottom: 10px;
4849
color: #555;
@@ -60,6 +61,8 @@
6061
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
6162
transition: border linear 0.2s, box-shadow linear 0.2s;
6263
width: 206px;}
64+
.jMsgbox-loading { background:url(../img/loading.gif) center center no-repeat transparent; }
65+
.jMsgbox-loaded { padding: 15px; }
6366
.jMsgbox-foot {
6467
height: 60px !important;
6568
padding-right: 12px;

themes/bootstrap/img/confirm.png

3.39 KB

themes/bootstrap/img/error.png

3.17 KB

0 commit comments

Comments
 (0)