add styles for messagebox icons

fix the style for the login box
This commit is contained in:
Damien Churchill 2009-03-20 18:25:23 +00:00
parent bccb7ca66e
commit 73d0023ef5
2 changed files with 10 additions and 1 deletions

View File

@ -160,4 +160,13 @@ input {
.x-deluge-filters .x-deluge-filter {
background-repeat: no-repeat;
padding-left: 20px;
}
/* MessageBox icon styles */
.x-deluge-warning {
background: url('/icons/16/warning.png') no-repeat 2px;
}
.x-deluge-error {
background: url('/icons/16/error.png') no-repeat 2px;
}

View File

@ -38,7 +38,7 @@ Deluge.Login = {
buttons: Ext.MessageBox.OK,
modal: false,
icon: Ext.MessageBox.WARNING,
iconCls: '.x-deluge-warning'
iconCls: 'x-deluge-warning'
});
}
}