WordPress.org

Make WordPress Core

Ticket #17324: 17324.publish-box-borders.diff

File 17324.publish-box-borders.diff, 1.4 KB (added by chexee, 3 years ago)

removes the borders between the minor publishing actions in the publish box, as they were too faint against the bg. also adds a 1px #fff shadow to the border above major publishing actions.

  • wp-admin/css/colors-fresh.dev.css

     
    16981698        color: #ccc; 
    16991699} 
    17001700 
    1701 .misc-pub-section { 
    1702         border-bottom-color: #eee; 
    1703 } 
    1704  
    17051701#minor-publishing { 
    1706         border-bottom-color: #ddd; 
     1702        border-bottom-color: #dfdfdf; 
    17071703} 
    17081704 
    17091705#post-body .misc-pub-section { 
  • wp-admin/css/wp-admin.dev.css

     
    270270------------------------------------------------------------------------------*/ 
    271271 
    272272#major-publishing-actions { 
    273         padding: 6px 0; 
     273        padding: 10px 0; 
    274274        clear: both; 
    275275        border-top: none; 
    276276} 
     
    310310} 
    311311 
    312312#misc-publishing-actions { 
    313         padding: 6px 0 16px 0; 
     313        padding: 6px 0 10px 0; 
    314314} 
    315315 
    316316.misc-pub-section { 
    317317        padding: 6px; 
    318         border-bottom-width: 1px; 
    319         border-bottom-style: solid; 
    320318} 
    321319 
    322320.misc-pub-section-last { 
     
    324322} 
    325323 
    326324#minor-publishing-actions { 
    327         padding: 6px 0; 
     325        padding: 12px 0 5px 0; 
    328326        text-align: right; 
    329327} 
    330328 
    331329#minor-publishing { 
    332330        border-bottom-width: 1px; 
    333331        border-bottom-style: solid; 
     332        -webkit-box-shadow: 0 1px 0 #fff; 
     333        -moz-box-shadow: 0 1px 0 #fff; 
     334        box-shadow: 0 1px 0 #fff; 
    334335} 
    335336 
    336337#save-post {