mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466.
git-svn-id: http://core.svn.wordpress.org/trunk@21878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b443373e8e
commit
290d479e79
@ -15,7 +15,7 @@ if ( !defined('ABSPATH') )
|
||||
<div class="clear"></div></div><!-- wpbody -->
|
||||
<div class="clear"></div></div><!-- wpcontent -->
|
||||
|
||||
<div id="footer">
|
||||
<div id="wpfooter">
|
||||
<?php do_action( 'in_admin_footer' ); ?>
|
||||
<p id="footer-left" class="alignleft"><?php
|
||||
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
|
||||
|
@ -777,7 +777,7 @@ input.readonly, textarea.readonly {
|
||||
color: #d54e21 !important;
|
||||
}
|
||||
|
||||
#footer {
|
||||
#wpfooter {
|
||||
color: #777;
|
||||
border-color: #b0c8d7;
|
||||
}
|
||||
@ -933,12 +933,12 @@ table.widefat span.spam a,
|
||||
color: #174f69;
|
||||
}
|
||||
|
||||
#footer a:link,
|
||||
#footer a:visited {
|
||||
#wpfooter a:link,
|
||||
#wpfooter a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#footer a:hover {
|
||||
#wpfooter a:hover {
|
||||
color: #000;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
@ -771,7 +771,7 @@ input.readonly, textarea.readonly {
|
||||
color: #d54e21 !important;
|
||||
}
|
||||
|
||||
#footer {
|
||||
#wpfooter {
|
||||
color: #777;
|
||||
border-color: #dfdfdf;
|
||||
}
|
||||
@ -991,12 +991,12 @@ table.widefat span.spam a,
|
||||
color: #464646;
|
||||
}
|
||||
|
||||
#footer a:link,
|
||||
#footer a:visited {
|
||||
#wpfooter a:link,
|
||||
#wpfooter a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#footer a:hover {
|
||||
#wpfooter a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
@ -553,7 +553,7 @@ table.ie-fixed {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
* html #footer {
|
||||
* html #wpfooter {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
@ -347,7 +347,7 @@ form.upgrade .hint {
|
||||
margin-right: 52px;
|
||||
}
|
||||
|
||||
.folded.wp-admin #footer {
|
||||
.folded.wp-admin #wpfooter {
|
||||
margin-left: 15px;
|
||||
margin-right: 52px;
|
||||
}
|
||||
@ -481,7 +481,7 @@ form.upgrade .hint {
|
||||
margin-right: 52px;
|
||||
}
|
||||
|
||||
.auto-fold.wp-admin #footer {
|
||||
.auto-fold.wp-admin #wpfooter {
|
||||
margin-left: 15px;
|
||||
margin-right: 52px;
|
||||
}
|
||||
@ -1335,12 +1335,12 @@ h2 .nav-tab {
|
||||
21.0 - Admin Footer
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#footer {
|
||||
#wpfooter {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#wpcontent,
|
||||
#footer {
|
||||
#wpfooter {
|
||||
margin-right: 165px;
|
||||
}
|
||||
|
||||
|
@ -59,12 +59,12 @@ TABLE OF CONTENTS:
|
||||
}
|
||||
|
||||
#wpcontent,
|
||||
#footer {
|
||||
#wpfooter {
|
||||
margin-left: 165px;
|
||||
}
|
||||
|
||||
.folded #wpcontent,
|
||||
.folded #footer {
|
||||
.folded #wpfooter {
|
||||
margin-left: 52px;
|
||||
}
|
||||
|
||||
@ -1685,7 +1685,7 @@ form.upgrade .hint {
|
||||
/* Auto-folding of the admin menu */
|
||||
@media only screen and (max-width: 900px) {
|
||||
.auto-fold #wpcontent,
|
||||
.auto-fold #footer {
|
||||
.auto-fold #wpfooter {
|
||||
margin-left: 52px;
|
||||
}
|
||||
|
||||
@ -4878,7 +4878,7 @@ h2 .nav-tab {
|
||||
21.0 - Admin Footer
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#footer {
|
||||
#wpfooter {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
@ -4889,16 +4889,16 @@ h2 .nav-tab {
|
||||
border-top-style: solid;
|
||||
}
|
||||
|
||||
#footer p {
|
||||
#wpfooter p {
|
||||
margin: 0;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
#wpfooter a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#footer a:hover {
|
||||
#wpfooter a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user