[wp-trac] [WordPress Trac] #12506: admin-color-scheme.css already loaded on wp-login.php. why?
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 3 21:55:22 UTC 2010
#12506: admin-color-scheme.css already loaded on wp-login.php. why?
-----------------------------+----------------------------------------------
Reporter: F J Kaiser | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Unassigned
Component: Administration | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
On wp-login.php we are already on admin, because wp is loading the whole
color-scheme for a user... which is wrong. It is senseless, because the
color-scheme the user selected for admin cannot be loaded without his
user-data. And that is not possible as long as he/she didn't enter any
login-data.
REQUEST: get the ~30kB color scheme out of the wp-login.php and add the
following to wp-admin/css/login.css:
{{{
body.login {
border-top-color:#464646;
}
body, #wpbody, .form-table .pre {
color:#333333;
}
a, /* All obsolete on wp-login.php - could here simply be h1 a */
#adminmenu a,
#poststuff #edButtonPreview,
#poststuff #edButtonHTML,
#the-comment-list p.comment-author strong a,
#media-upload a.del-link,
#media-items a.delete,
.plugins a.delete,
.ui-tabs-nav a {
color:#21759B;
}
.submit {
border-color:#DFDFDF;
}
textarea, /* All obsolete - could be #login #wp-submit */
input[type="text"],
input[type="password"],
input[type="file"],
input[type="button"],
input[type="submit"],
input[type="reset"],
select {
background-color:#FFFFFF;
border-color:#DFDFDF; /* Obsolete due to .submit-class above */
}
input.button-primary, button.button-primary, a.button-primary {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#21759B url(../images/button-grad.png) repeat-x scroll left
top;
border-color:#298CBA;
color:#FFFFFF;
font-weight:bold;
text-shadow:0 -1px 0 rgba(0, 0, 0, 0.3);
}
.submit {
border-color:#DFDFDF;
}
.login #nav a {
color:#21759B !important;
}
.login #backtoblog a {
color:#CCCCCC;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12506>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list