Press This fixes:

* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26433


git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-27 19:16:10 +00:00
parent f752cc6658
commit 01fdd027f0
9 changed files with 246 additions and 21 deletions

View File

@ -6904,6 +6904,22 @@ body.press-this {
min-height: 400px;
}
.press-this #titlediv #title {
font-size: 1.4em;
}
.press-this #site-heading:before {
top: 3px;
position: relative;
display: inline-block;
font: normal 18px/1 'dashicons';
speak: none;
color: #727272;
content: '\f120';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.pressthis {
margin: 20px 0;
}
@ -9825,8 +9841,7 @@ h3.tb {
#img_container a:active {
border-color: #000;
z-index: 1000;
border-width: 2px;
margin: -1px;
border-width: 1px;
}
/* Video */
@ -10989,7 +11004,7 @@ li#wp-admin-bar-menu-toggle {
margin: 7px;
line-height: 16px;
}
.wp-upload-form input[type=submit] {
margin-top: 10px;
}
@ -11237,6 +11252,10 @@ li#wp-admin-bar-menu-toggle {
ul.category-tabs li.tabs {
padding: 15px;
}
.press-this ul.category-tabs li.tabs {
padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */
}
ul#categorychecklist li {
margin-bottom: 15px;
@ -11332,15 +11351,11 @@ li#wp-admin-bar-menu-toggle {
top: 1px;
}
.press-this #wp-content-editor-tools {
top: 4px;
}
a.wp-switch-editor {
font-size: 16px;
line-height: 1em;
margin: 3px 7px 0 0;
padding: 12px 15px !important;
padding: 12px 15px;
}
#wp-content-media-buttons a {
@ -12136,6 +12151,93 @@ li#wp-admin-bar-menu-toggle {
#comments-form .checkforspam {
display: none;
}
/* Reset responsive styles in Press This */
.press-this a.wp-switch-editor {
font: 13px/19px "Open Sans", sans-serif;
margin: 5px 5px 0 0;
padding: 3px 8px 4px;
}
.press-this #wp-content-media-buttons a {
padding: 0;
line-height: normal;
height: auto;
}
.press-this #wp-content-editor-tools {
padding: 0;
top: 3px;
}
.press-this .category-tabs {
margin-top: 0;
}
.press-this .tagsdiv .newtag {
width: 120px;
padding: 3px 5px;
margin-bottom: 0;
}
.press-this .tagchecklist {
padding: 0;
margin-bottom: 0;
}
.press-this .wp_themeSkin a.mceButton {
width: 20px;
height: 20px;
}
.press-this .wp_themeSkin .mceButton .mceIcon {
margin: 0;
}
.press-this #poststuff h3,
.press-this .metabox-holder h3 {
padding: 7px 12px;
}
.press-this input[type=checkbox],
.press-this input[type=radio] {
height: 16px;
width: 16px;
}
.press-this input[type=checkbox]:checked:before {
width: 16px;
font: normal 21px/1 'dashicons';
margin: -3px -4px 0 0;
}
.press-this input[type=radio]:checked:before {
font: normal 21px/1 'dashicons';
width: 6px;
height: 6px;
margin: 4px;
}
.press-this ul#categorychecklist ul,
.press-this ul#categorychecklist li {
margin-top: 0;
margin-bottom: 0;
}
.press-this div.quicktags-toolbar input {
padding: 2px 4px;
}
.press-this textarea,
.press-this input {
font-size: 14px;
}
.press-this .tagchecklist span {
font-size: 13px;
line-height: 1.8em;
}
}
@media only screen and (max-width: 500px) {

File diff suppressed because one or more lines are too long

View File

@ -6904,6 +6904,22 @@ body.press-this {
min-height: 400px;
}
.press-this #titlediv #title {
font-size: 1.4em;
}
.press-this #site-heading:before {
top: 3px;
position: relative;
display: inline-block;
font: normal 18px/1 'dashicons';
speak: none;
color: #727272;
content: '\f120';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.pressthis {
margin: 20px 0;
}
@ -9825,8 +9841,7 @@ h3.tb {
#img_container a:active {
border-color: #000;
z-index: 1000;
border-width: 2px;
margin: -1px;
border-width: 1px;
}
/* Video */
@ -10989,7 +11004,7 @@ li#wp-admin-bar-menu-toggle {
margin: 7px;
line-height: 16px;
}
.wp-upload-form input[type=submit] {
margin-top: 10px;
}
@ -11237,6 +11252,10 @@ li#wp-admin-bar-menu-toggle {
ul.category-tabs li.tabs {
padding: 15px;
}
.press-this ul.category-tabs li.tabs {
padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */
}
ul#categorychecklist li {
margin-bottom: 15px;
@ -11332,15 +11351,11 @@ li#wp-admin-bar-menu-toggle {
top: 1px;
}
.press-this #wp-content-editor-tools {
top: 4px;
}
a.wp-switch-editor {
font-size: 16px;
line-height: 1em;
margin: 3px 0 0 7px;
padding: 12px 15px !important;
padding: 12px 15px;
}
#wp-content-media-buttons a {
@ -12136,6 +12151,93 @@ li#wp-admin-bar-menu-toggle {
#comments-form .checkforspam {
display: none;
}
/* Reset responsive styles in Press This */
.press-this a.wp-switch-editor {
font: 13px/19px "Open Sans", sans-serif;
margin: 5px 0 0 5px;
padding: 3px 8px 4px;
}
.press-this #wp-content-media-buttons a {
padding: 0;
line-height: normal;
height: auto;
}
.press-this #wp-content-editor-tools {
padding: 0;
top: 3px;
}
.press-this .category-tabs {
margin-top: 0;
}
.press-this .tagsdiv .newtag {
width: 120px;
padding: 3px 5px;
margin-bottom: 0;
}
.press-this .tagchecklist {
padding: 0;
margin-bottom: 0;
}
.press-this .wp_themeSkin a.mceButton {
width: 20px;
height: 20px;
}
.press-this .wp_themeSkin .mceButton .mceIcon {
margin: 0;
}
.press-this #poststuff h3,
.press-this .metabox-holder h3 {
padding: 7px 12px;
}
.press-this input[type=checkbox],
.press-this input[type=radio] {
height: 16px;
width: 16px;
}
.press-this input[type=checkbox]:checked:before {
width: 16px;
font: normal 21px/1 'dashicons';
margin: -3px 0 0 -4px;
}
.press-this input[type=radio]:checked:before {
font: normal 21px/1 'dashicons';
width: 6px;
height: 6px;
margin: 4px;
}
.press-this ul#categorychecklist ul,
.press-this ul#categorychecklist li {
margin-top: 0;
margin-bottom: 0;
}
.press-this div.quicktags-toolbar input {
padding: 2px 4px;
}
.press-this textarea,
.press-this input {
font-size: 14px;
}
.press-this .tagchecklist span {
font-size: 13px;
line-height: 1.8em;
}
}
@media only screen and (max-width: 500px) {

File diff suppressed because one or more lines are too long

View File

@ -583,7 +583,6 @@ $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace(
<div class="posting">
<div id="wphead">
<img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="16" height="16" />
<h1 id="site-heading">
<a href="<?php echo get_option('home'); ?>/" target="_blank">
<span id="site-title"><?php bloginfo('name'); ?></span>

View File

@ -304,5 +304,16 @@ TABLE OF CONTENTS:
margin: 0 10px 0 14px; /* 14px right margin to match all other buttons */
}
/* Reset responsive styles in Press This */
.press-this.wp-core-ui .button,
.press-this input#publish,
.press-this input#save-post,
.press-this a.preview {
padding: 0 10px 1px;
font-size: 13px;
line-height: 26px;
height: 28px;
margin: 0;
}
}

File diff suppressed because one or more lines are too long

View File

@ -304,5 +304,16 @@ TABLE OF CONTENTS:
margin: 0 14px 0 10px; /* 14px right margin to match all other buttons */
}
/* Reset responsive styles in Press This */
.press-this.wp-core-ui .button,
.press-this input#publish,
.press-this input#save-post,
.press-this a.preview {
padding: 0 10px 1px;
font-size: 13px;
line-height: 26px;
height: 28px;
margin: 0;
}
}

File diff suppressed because one or more lines are too long