fix the style for ...
Content-type: text/plain
Author: damoxc
Revision: 4896
Log:
add styles for messagebox icons
fix the style for the login box
Diff:
Modified: trunk/deluge/ui/web/css/deluge.css
===================================================================
--- trunk/deluge/ui/web/css/deluge.css 2009-03-20 17:26:24 UTC (rev 4895)
+++ trunk/deluge/ui/web/css/deluge.css 2009-03-20 18:25:23 UTC (rev 4896)
@@ -160,4 +160,13 @@
.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;
}
\ No newline at end of file
Modified: trunk/deluge/ui/web/js/deluge-login.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-login.js 2009-03-20 17:26:24 UTC (rev
4895)
+++ trunk/deluge/ui/web/js/deluge-login.js 2009-03-20 18:25:23 UTC (rev
4896)
@@ -38,7 +38,7 @@
buttons: Ext.MessageBox.OK,
modal: false,
icon: Ext.MessageBox.WARNING,
- iconCls: '.x-deluge-warning'
+ iconCls: 'x-deluge-warning'
});
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---