Code

Ticket #1144: django_admin_css_fix_2.diff

File django_admin_css_fix_2.diff, 1.1 KB (added by django@…, 9 years ago)

right fix

Line 
1Index: django/contrib/admin/media/css/global.css
2===================================================================
3--- django/contrib/admin/media/css/global.css   (revision 1802)
4+++ django/contrib/admin/media/css/global.css   (working copy)
5@@ -133,7 +133,7 @@
6 input[type=checkbox], input[type=radio] { border:none; }
7 
8 /*  FORM BUTTONS  */
9-input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; }
10+input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; color:black; }
11 input[type=submit]:active, input[type=button]:active { background-image:url(../img/admin/nav-bg-reverse.gif); background-position:top; }
12 input[type=submit].default, .submit-row input.default { border:2px solid #5b80b2; background:#7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x; font-weight:bold; color:white; }
13 input[type=submit].default:active { background-image:url(../img/admin/default-bg-reverse.gif); background-position:top; }