Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #13649 -- Extended admin stylesheets to also cover disabled but…

…tons in the admin. Thanks, Sebastian Noack.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 966d3562d484ddea7f9c4d08e03c255d48e5c85e 1 parent 2c2209b
@jezdez jezdez authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 django/contrib/admin/media/css/base.css
View
13 django/contrib/admin/media/css/base.css
@@ -376,6 +376,12 @@ input[type=text], input[type=password], textarea, select, .vTextField {
background-position: top;
}
+.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
+ background-image: url(../img/admin/nav-bg.gif);
+ background-position: bottom;
+ opacity: 0.4;
+}
+
.button.default, input[type=submit].default, .submit-row input.default {
border: 2px solid #5b80b2;
background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
@@ -389,6 +395,13 @@ input[type=text], input[type=password], textarea, select, .vTextField {
background-position: top;
}
+.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
+ background-image: url(../img/admin/default-bg.gif);
+ background-position: bottom;
+ opacity: 0.4;
+}
+
+
/* MODULES */
.module {
Please sign in to comment.
Something went wrong with that request. Please try again.