Press This CSS cleanup, props Simek, fixes #8773

git-svn-id: http://svn.automattic.com/wordpress/trunk@10290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-01-01 20:33:01 +00:00
parent 0e3e92e8b9
commit f5276b5416
3 changed files with 69 additions and 75 deletions

View File

@ -1,22 +1,26 @@
body { body {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#poststuff #edButtonPreview, #poststuff #edButtonPreview,
#poststuff #edButtonHTML { #poststuff #edButtonHTML {
margin: 0px 0 0 5px; margin: 0 0 0 5px;
float: right; float: right;
} }
/* Editor/Main Column */ /* Editor/Main Column */
div#poststuff { div#poststuff {
padding-left: 0; padding-left: 0;
padding-right: 10px; padding-right: 10px;
} }
.posting { .posting {
margin-right: 0; margin-right: 0;
margin-left: 228px; margin-left: 228px;
left:auto; left: auto;
right: 0; right: 0;
} }
#side-info-column { #side-info-column {
float: left; float: left;
right: auto; right: auto;
@ -24,50 +28,62 @@ div#poststuff {
margin-right: 0; margin-right: 0;
margin-left: 10px; margin-left: 10px;
} }
#side-info-column .sleeve { #side-info-column .sleeve {
padding-left: 0; padding-left: 0;
padding-right: 10px; padding-right: 10px;
} }
h3.tb { h3.tb {
margin-left: 0; margin-left: 0;
margin-right: 5px; margin-right: 5px;
} }
#actions { #actions {
float: left; float: left;
} }
#extra_fields #actions { #extra_fields #actions {
right: auto; right: auto;
left: 4px; left: 4px;
} }
#actions li { #actions li {
float: right; float: right;
margin-right: 0; margin-right: 0;
margin-left: 10px; margin-left: 10px;
} }
#extra_fields .button { #extra_fields .button {
margin-right: 0; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
/* Photo Styles */ /* Photo Styles */
#img_container a { #img_container a {
float: right; float: right;
} }
#category-add input, #category-add select { #category-add input, #category-add select {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#categorydiv ul.categorychecklist ul { #categorydiv ul.categorychecklist ul {
margin-left: 0; margin-left: 0;
margin-right: 18px; margin-right: 18px;
} }
/* Tags */ /* Tags */
#tagsdiv #newtag { #tagsdiv #newtag {
margin-right: 0; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
#tagadd { #tagadd {
margin-left: 0; margin-left: 0;
margin-right: 3px; margin-right: 3px;
} }
#tagchecklist span { #tagchecklist span {
margin-left: .5em; margin-left: .5em;
margin-right: 10px; margin-right: 10px;
@ -77,29 +93,35 @@ h3.tb {
margin: 6px -9px 0 0; margin: 6px -9px 0 0;
float: right; float: right;
} }
#content { #content {
margin-left: 0; margin-left: 0;
margin-right: 1%; margin-right: 1%;
} }
.submit input, .submit input,
.button, .button,
.button-primary, .button-primary,
.button-secondary, .button-secondary,
.button-highlighted, .button-highlighted,
#postcustomstuff .submit input { #postcustomstuff .submit input {
font-family: tahoma; font-family: Tahoma, Arial, sans-serif;
} }
.ac_results li { .ac_results li {
text-align: right; text-align: right;
} }
#TB_ajaxContent #options { #TB_ajaxContent #options {
right: auto; right: auto;
left: 25px; left: 25px;
} }
#post_status { #post_status {
margin-left: 0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
/* Footer */ /* Footer */
#footer { #footer {
padding: 10px 60px 0 0; padding: 10px 60px 0 0;

View File

@ -1,5 +1,5 @@
body { body {
font: 13px "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; font: 13px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
color: #333; color: #333;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -18,32 +18,20 @@ img {
#poststuff #edButtonPreview, #poststuff #edButtonPreview,
#poststuff #edButtonHTML { #poststuff #edButtonHTML {
-moz-border-radius-bottomleft: 0; -moz-border-radius: 3px 3px 0 0;
-moz-border-radius-bottomright: 0; -webkit-border-top-right-radius: 3px;
-moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px;
-moz-border-radius-topright: 3px; -khtml-border-top-right-radius: 3px;
-khtml-border-radius-bottomleft: 0; -khtml-border-top-left-radius: 3px;
-khtml-border-radius-bottomright: 0; border-top-right-radius: 3px;
-khtml-border-radius-topleft: 3px; border-top-left-radius: 3px;
-khtml-border-radius-topright: 3px;
-webkit-border-radius-bottomleft: 0;
-webkit-border-radius-bottomright: 0;
-webkit-border-radius-topleft: 3px;
-webkit-border-radius-topright: 3px;
border-radius-bottomleft: 0;
border-radius-bottomright: 0;
border-radius-topleft: 3px;
border-radius-topright: 3px;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
cursor: pointer; cursor: pointer;
display: block; display: block;
height: 18px; height: 18px;
margin: 0px 5px 0 0; margin: 0 5px 0 0;
padding: 0px 5px 0px; padding: 0 5px 0;
background-color: #E9E9E9;
border-bottom-color: #E9E9E9;
color: #333333;
font-size: 10px; font-size: 10px;
line-height: 18px; line-height: 18px;
float: left; float: left;
@ -116,21 +104,15 @@ div.zerosize {
} }
#poststuff h2, #poststuff h3 { #poststuff h2, #poststuff h3 {
font-size: 14px;
font-weight: bold;
padding: 7px;
margin: 0 0 10px;
background: #dfdfdf url("../images/gray-grad.png") repeat-x left top;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
line-height: 1; line-height: 1;
margin: 0 0 10px; margin: 0 0 10px;
padding: 7px 9px; padding: 7px 9px;
text-shadow: 0 1px 0 #FFFFFF;
} }
h3.tb { h3.tb {
text-shadow: 0 1px 0 #FFFFFF; text-shadow: 0 1px 0 #fff;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
margin-left: 5px; margin-left: 5px;
@ -144,7 +126,6 @@ h3.tb {
border-radius: 6px; border-radius: 6px;
} }
.metabox-holder .postbox,
.postbox, .postbox,
.stuffbox { .stuffbox {
margin-bottom: 10px; margin-bottom: 10px;
@ -155,14 +136,10 @@ h3.tb {
-khtml-border-radius: 6px; -khtml-border-radius: 6px;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
border-color: #DFDFDF;
} }
.titlediv { #title,
border-color: #DFDFDF; .tbtitle {
}
#title, .tbtitle {
-moz-border-radius: 6px; -moz-border-radius: 6px;
-khtml-border-radius: 6px; -khtml-border-radius: 6px;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
@ -172,7 +149,7 @@ h3.tb {
font-size: 1.7em; font-size: 1.7em;
outline: none; outline: none;
padding: 3px 4px; padding: 3px 4px;
border-color: #DFDFDF; border-color: #dfdfdf;
} }
.tbtitle { .tbtitle {
@ -184,22 +161,13 @@ h3.tb {
width: 98%; width: 98%;
} }
.postbox h2 {
background-image: url(../images/postbox-bg.gif);
background-position: left top;
background-repeat: repeat-x;
background-color: #DFDFDF;
}
.editor-container { .editor-container {
-moz-border-radius: 6px; -moz-border-radius: 6px;
-khtml-border-radius: 6px; -khtml-border-radius: 6px;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
border-collapse: separate; border: 1px solid #dfdfdf;
border-style: solid; background-color: #fff;
border-width: 1px;
border-color: #DFDFDF;
} }
.postdivrich { .postdivrich {
@ -213,6 +181,7 @@ h3.tb {
margin-top: -19px; margin-top: -19px;
position: relative; position: relative;
} }
#extra_fields #actions { #extra_fields #actions {
clear: both; clear: both;
position: absolute; position: absolute;
@ -226,6 +195,7 @@ h3.tb {
list-style: none; list-style: none;
margin-right: 10px; margin-right: 10px;
} }
#extra_fields .button { #extra_fields .button {
margin-right: 5px; margin-right: 5px;
} }
@ -272,14 +242,13 @@ h3.tb {
vertical-align: center; vertical-align: center;
} }
#img_container img, #img_container a { #img_container img,
#img_container a {
width: 68px; width: 68px;
height: 68px; height: 68px;
} }
#img_container img { #img_container img {
width: 68px;
height: 68px;
border: none; border: none;
background-color: #f4f4f4; background-color: #f4f4f4;
cursor: pointer; cursor: pointer;
@ -316,11 +285,12 @@ h3.tb {
} }
#viewsite .button { #viewsite .button {
margin: 0 0 0px 0; margin: 0;
display: block; display: block;
} }
.wp-hidden-children .wp-hidden-child { .wp-hidden-children
.wp-hidden-child {
display: none; display: none;
} }
@ -354,12 +324,14 @@ h3.tb {
vertical-align: top; vertical-align: top;
} }
#category-add input#category-add-sumbit { #category-add input,
#category-add-sumbit {
width: auto; width: auto;
} }
/* Categories */ /* Categories */
#categorydiv ul, #linkcategorydiv ul { #categorydiv ul,
#linkcategorydiv ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
@ -381,34 +353,32 @@ ul.categorychecklist li {
} }
/* Tags */ /* Tags */
#tagsdiv #newtag { .tagsdiv .newtag {
padding: 3px;
margin-right: 5px; margin-right: 5px;
width: 16em;
} }
#jaxtag { .jaxtag {
clear: both; clear: both;
margin: 0; margin: 0;
} }
#tagadd { .tagadd {
margin-left: 3px; margin-left: 3px;
} }
#tagchecklist { .tagchecklist {
margin-top: 3px; margin-top: 3px;
margin-bottom: 1em; margin-bottom: 1em;
font-size: 12px; font-size: 12px;
overflow: auto; overflow: auto;
} }
#tagchecklist strong { .tagchecklist strong {
position: absolute; position: absolute;
font-size: .75em; font-size: .75em;
} }
#tagchecklist span { .tagchecklist span {
margin-right: .5em; margin-right: .5em;
margin-left: 10px; margin-left: 10px;
display: block; display: block;
@ -419,7 +389,7 @@ ul.categorychecklist li {
cursor: default; cursor: default;
} }
#tagchecklist span a { .tagchecklist span a {
margin: 6px 0 0 -9px; margin: 6px 0 0 -9px;
cursor: pointer; cursor: pointer;
width: 10px; width: 10px;
@ -435,7 +405,7 @@ ul.categorychecklist li {
width: 96% !important; width: 96% !important;
margin-left: 1%; margin-left: 1%;
margin-bottom: 10px; margin-bottom: 10px;
border: 1px solid #f1f1f1; border: 0 none;
} }
/* Submit */ /* Submit */
@ -450,7 +420,7 @@ ul.categorychecklist li {
.button-secondary, .button-secondary,
.button-highlighted, .button-highlighted,
#postcustomstuff .submit input { #postcustomstuff .submit input {
font-family: "Lucida Grande", "Bitstream Vera Sans", Verdana, Arial, sans-serif; font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
text-decoration: none; text-decoration: none;
font-size: 11px !important; font-size: 11px !important;
line-height: 16px; line-height: 16px;
@ -467,7 +437,7 @@ ul.categorychecklist li {
.button-primary { .button-primary {
background: #21759B url(../images/button-grad.png) repeat-x scroll left top; background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
border-color: #21759B; border-color: #21759B;
color: #FFFFFF; color: #fff;
} }
.ac_results { .ac_results {
@ -569,7 +539,9 @@ ul.categorychecklist li {
} }
.postbox input[type="text"], .postbox input[type="text"],
.postbox textarea { .postbox textarea,
.stuffbox input[type="text"],
.stuffbox textarea {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }

View File

@ -453,7 +453,7 @@ die;
<div class="photolist"></div> <div class="photolist"></div>
<div id="categorydiv" class="stuffbox"> <div id="categorydiv" class="stuffbox">
<h2><?php _e('Categories') ?></h2> <h3><?php _e('Categories') ?></h3>
<div class="inside"> <div class="inside">
<div id="categories-all" class="ui-tabs-panel"> <div id="categories-all" class="ui-tabs-panel">
@ -475,7 +475,7 @@ die;
</div> </div>
</div> </div>
<div id="tagsdiv-post_tag" class="postbox" > <div id="tagsdiv-post_tag" class="stuffbox" >
<h3><span><?php _e('Post Tags'); ?></span></h3> <h3><span><?php _e('Post Tags'); ?></span></h3>
<div class="inside"> <div class="inside">
<div class="tagsdiv" id="post_tag"> <div class="tagsdiv" id="post_tag">
@ -492,8 +492,8 @@ die;
<p class="tagcloud-link"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php _e('Choose from the most used tags in Post Tags'); ?></a></p> <p class="tagcloud-link"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php _e('Choose from the most used tags in Post Tags'); ?></a></p>
</div> </div>
</div> </div>
<div id="submitdiv" class="postbox"> <div id="submitdiv" class="stuffbox">
<h2><?php _e('Publish') ?></h2> <h3><?php _e('Publish') ?></h3>
<div class="inside"> <div class="inside">
<p> <p>
<input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" /> <input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" />