Better UI for doing "Page on Front".

Props SergeyBiryukov, lessbloat, nacin.

see #16379


git-svn-id: https://develop.svn.wordpress.org/trunk@22127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-10-06 15:19:29 +00:00
parent a165bdfb83
commit 3368f400e6
7 changed files with 292 additions and 118 deletions

View File

@@ -2929,6 +2929,10 @@ input#link_url {
font-size: 11px;
}
#front-static-pages #edit-slug-box {
padding: 0;
}
#editable-post-name-full {
display: none;
}
@@ -3414,8 +3418,7 @@ div.tabs-panel-inactive {
margin: 0;
}
#front-page-warning,
#front-static-pages ul,
#front-static-pages .sub-option,
ul.export-filters,
.inline-editor ul.cat-checklist ul,
.categorydiv ul.categorychecklist ul,
@@ -4988,6 +4991,19 @@ h2 .nav-tab {
margin: -3px 3px;
}
.js.options-reading-php .if-page-on-front,
.js.options-reading-php .if-page-for-posts,
.options-reading-php .if-new-front-page {
display: none;
}
.options-reading-php .page-on-front .if-page-on-front,
.options-reading-php .page-for-posts .if-page-for-posts {
display: block;
}
.options-reading-php .new-front-page .if-new-front-page {
display: inline;
}
/*------------------------------------------------------------------------------
21.0 - Admin Footer
------------------------------------------------------------------------------*/