Fixed #13649 -- Extended admin stylesheets to also cover disabled buttons in the admin. Thanks, Sebastian Noack.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2c2209b473
commit
966d3562d4
|
@ -376,6 +376,12 @@ input[type=text], input[type=password], textarea, select, .vTextField {
|
||||||
background-position: top;
|
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 {
|
.button.default, input[type=submit].default, .submit-row input.default {
|
||||||
border: 2px solid #5b80b2;
|
border: 2px solid #5b80b2;
|
||||||
background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
|
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;
|
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 */
|
/* MODULES */
|
||||||
|
|
||||||
.module {
|
.module {
|
||||||
|
|
Loading…
Reference in New Issue