diff --git a/django/contrib/admin/media/css/base.css b/django/contrib/admin/media/css/base.css index 9c1f71f810..57d6bfaba3 100644 --- a/django/contrib/admin/media/css/base.css +++ b/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 {