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

View File

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

View File

@ -453,7 +453,7 @@ die;
<div class="photolist"></div>
<div id="categorydiv" class="stuffbox">
<h2><?php _e('Categories') ?></h2>
<h3><?php _e('Categories') ?></h3>
<div class="inside">
<div id="categories-all" class="ui-tabs-panel">
@ -475,7 +475,7 @@ die;
</div>
</div>
<div id="tagsdiv-post_tag" class="postbox" >
<div id="tagsdiv-post_tag" class="stuffbox" >
<h3><span><?php _e('Post Tags'); ?></span></h3>
<div class="inside">
<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>
</div>
</div>
<div id="submitdiv" class="postbox">
<h2><?php _e('Publish') ?></h2>
<div id="submitdiv" class="stuffbox">
<h3><?php _e('Publish') ?></h3>
<div class="inside">
<p>
<input class="button" type="submit" name="draft" value="<?php _e('Save Draft') ?>" id="save" />