Make WordPress Core

Changeset 21878


Ignore:
Timestamp:
09/16/2012 11:03:35 PM (12 years ago)
Author:
nacin
Message:

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.

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-footer.php

    r21366 r21878  
    1616<div class="clear"></div></div><!-- wpcontent -->
    1717
    18 <div id="footer">
     18<div id="wpfooter">
    1919<?php do_action( 'in_admin_footer' ); ?>
    2020<p id="footer-left" class="alignleft"><?php
  • trunk/wp-admin/css/colors-classic.css

    r21789 r21878  
    778778}
    779779
    780 #footer {
     780#wpfooter {
    781781    color: #777;
    782782    border-color: #b0c8d7;
     
    934934}
    935935
    936 #footer a:link,
    937 #footer a:visited {
     936#wpfooter a:link,
     937#wpfooter a:visited {
    938938    text-decoration: none;
    939939}
    940940
    941 #footer a:hover {
     941#wpfooter a:hover {
    942942    color: #000;
    943943    text-decoration: underline;
  • trunk/wp-admin/css/colors-fresh.css

    r21789 r21878  
    386386    background-image:   linear-gradient(to bottom, #fff, #eee);
    387387    border-color: #ccc;
    388     -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 
     388    -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
    389389    box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);
    390390    color: #464646;
     
    415415    background-image:   linear-gradient(to bottom, #fff, #eee);
    416416    border-color: #bbb;
    417     -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1); 
     417    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);
    418418    box-shadow: 0px 1px 1px rgba(0,0,0,.1);
    419419    color: #000;
     
    438438    border-color: #999 #ddd #ddd #999;
    439439    color: #555;
    440     -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 
    441     box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 
     440    -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
     441    box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);
    442442}
    443443
     
    465465    border-color: #21759b;
    466466    border-bottom-color: #1e6a8d;
    467     -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 
     467    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
    468468    box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
    469469    color: #fff;
     
    487487    background-image:   linear-gradient(to bottom, #2e9fd2, #21759b);
    488488    border-color: #1b607f;
    489     -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3); 
     489    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
    490490    box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3);
    491491    color: #fff;
     
    505505    border-color: #124560 #2382ae #2382ae #124560;
    506506    color: rgba(255,255,255,0.95);
    507     -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 
    508     box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 
     507    -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
     508    box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
    509509}
    510510
     
    772772}
    773773
    774 #footer {
     774#wpfooter {
    775775    color: #777;
    776776    border-color: #dfdfdf;
     
    992992}
    993993
    994 #footer a:link,
    995 #footer a:visited {
     994#wpfooter a:link,
     995#wpfooter a:visited {
    996996    text-decoration: none;
    997997}
    998998
    999 #footer a:hover {
     999#wpfooter a:hover {
    10001000    text-decoration: underline;
    10011001}
  • trunk/wp-admin/css/ie.css

    r21789 r21878  
    554554}
    555555
    556 * html #footer {
     556* html #wpfooter {
    557557    margin: 0;
    558558}
  • trunk/wp-admin/css/wp-admin-rtl.css

    r21789 r21878  
    348348}
    349349
    350 .folded.wp-admin #footer {
     350.folded.wp-admin #wpfooter {
    351351    margin-left: 15px;
    352352    margin-right: 52px;
     
    482482    }
    483483
    484     .auto-fold.wp-admin #footer {
     484    .auto-fold.wp-admin #wpfooter {
    485485        margin-left: 15px;
    486486        margin-right: 52px;
     
    13361336------------------------------------------------------------------------------*/
    13371337
    1338 #footer {
     1338#wpfooter {
    13391339    margin-left: 20px;
    13401340}
    13411341
    13421342#wpcontent,
    1343 #footer {
     1343#wpfooter {
    13441344    margin-right: 165px;
    13451345}
  • trunk/wp-admin/css/wp-admin.css

    r21832 r21878  
    6060
    6161#wpcontent,
    62 #footer {
     62#wpfooter {
    6363    margin-left: 165px;
    6464}
    6565
    6666.folded #wpcontent,
    67 .folded #footer {
     67.folded #wpfooter {
    6868    margin-left: 52px;
    6969}
     
    16861686@media only screen and (max-width: 900px) {
    16871687    .auto-fold #wpcontent,
    1688     .auto-fold #footer {
     1688    .auto-fold #wpfooter {
    16891689        margin-left: 52px;
    16901690    }
     
    48794879------------------------------------------------------------------------------*/
    48804880
    4881 #footer {
     4881#wpfooter {
    48824882    position: absolute;
    48834883    bottom: 0;
     
    48904890}
    48914891
    4892 #footer p {
     4892#wpfooter p {
    48934893    margin: 0;
    48944894    line-height: 20px;
    48954895}
    48964896
    4897 #footer a {
     4897#wpfooter a {
    48984898    text-decoration: none;
    48994899}
    49004900
    4901 #footer a:hover {
     4901#wpfooter a:hover {
    49024902    text-decoration: underline;
    49034903}
Note: See TracChangeset for help on using the changeset viewer.