Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jannis Leidel authored December 12, 2010

Showing 1 changed file with 13 additions and 0 deletions. Show diff stats Hide diff stats

  1. 13  django/contrib/admin/media/css/base.css
13  django/contrib/admin/media/css/base.css
@@ -376,6 +376,12 @@ input[type=text], input[type=password], textarea, select, .vTextField {
376 376
     background-position: top;
377 377
 }
378 378
 
  379
+.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
  380
+	background-image: url(../img/admin/nav-bg.gif);
  381
+	background-position: bottom;
  382
+	opacity: 0.4;
  383
+}
  384
+
379 385
 .button.default, input[type=submit].default, .submit-row input.default {
380 386
     border: 2px solid #5b80b2;
381 387
     background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
@@ -389,6 +395,13 @@ input[type=text], input[type=password], textarea, select, .vTextField {
389 395
     background-position: top;
390 396
 }
391 397
 
  398
+.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
  399
+	background-image: url(../img/admin/default-bg.gif);
  400
+	background-position: bottom;
  401
+	opacity: 0.4;
  402
+}
  403
+
  404
+
392 405
 /* MODULES */
393 406
 
394 407
 .module {

0 notes on commit 966d356

Please sign in to comment.
Something went wrong with that request. Please try again.