Press This CSS cleanup, props Simek, fixes #7967

git-svn-id: http://svn.automattic.com/wordpress/trunk@9371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-27 21:00:26 +00:00
parent 9f72344f5a
commit 04ffb66e61

View File

@ -1,16 +1,38 @@
body { body {
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
color: #333; color: #333;
margin: 0px; margin: 0;
padding: 0px; padding: 0;
} }
img { border: 0; } img {
border: none;
}
/* Header */ /* Header */
#wphead{border-top:none;padding-top:8px; background: #444 !important;} #wphead {
border-top: none;
padding-top: 8px;
background: #444 !important;
}
#poststuff #edButtonPreview, #poststuff #edButtonHTML, .button{font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;padding:3px 5px;font-size:12px;line-height:1.5em;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;margin-left:5px;text-decoration:none;} .button,
#poststuff #edButtonPreview,
#poststuff #edButtonHTML {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 3px 5px;
font-size: 12px;
line-height: 1.5em;
border-width: 1px;
border-style: solid;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
margin-left: 5px;
text-decoration: none;
}
.howto { .howto {
font-size: 11px; font-size: 11px;
@ -19,51 +41,55 @@ img { border: 0; }
} }
input.text { input.text {
border: 0pt none; border: none;
outline-color: -moz-use-text-color; outline-color: -moz-use-text-color;
outline-style: none; outline-style: none;
outline-width: medium; outline-width: medium;
padding: 0pt; padding: 0;
width: 100%; width: 100%;
border-style: solid; border-style: solid;
color: #333333; color: #333;
} }
/* Editor/Main Column */ /* Editor/Main Column */
div#poststuff { div#poststuff {
padding-left: 10px; padding-left: 10px;
margin-top: 10px; margin-top: 10px;
} }
div.zerosize { div.zerosize {
border:0 none; border: 0 none;
height:0; height: 0;
margin:0; margin: 0;
overflow:hidden; overflow: hidden;
padding:0; padding: 0;
position:absolute; position: absolute;
width:0; width: 0;
} }
#poststuff #edButtonPreview.active,
#poststuff #edButtonPreview.active, #poststuff #edButtonHTML.active { display: none; } #poststuff #edButtonHTML.active {
display: none;
}
.posting { .posting {
margin-right: 228px; margin-right: 228px;
} }
#side-info-column { #side-info-column {
float: right; float: right;
width: 218px; width: 218px;
position: relative; position: relative;
margin-right: 10px; margin-right: 10px;
} }
#side-info-column .sleeve { padding-left: 10px; }
#side-info-column .sleeve {
padding-left: 10px;
}
#poststuff .inside { #poststuff .inside {
font-size:11px; font-size: 11px;
margin:0 12px 12px; margin: 0 12px 12px;
} }
#post_title { #post_title {
@ -74,25 +100,27 @@ margin:0 12px 12px;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
padding: 2px 3px; padding: 2px 3px;
border-color: #CCCCCC; border-color: #ccc;
}
.titlewrap input {
font-size: 1.2em;
} }
.titlewrap input { font-size: 1.2em; }
#poststuff h2, #poststuff h3 { #poststuff h2, #poststuff h3 {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
padding: 7px; padding: 7px;
margin: 0 0 10px; margin: 0 0 10px;
background-color: #EAF3FA; background-color: #eaf3fa;
} }
#poststuff .stuffbox { #poststuff .stuffbox {
border: 1px solid white; border: 1px solid white;
border-color:#EBEBEB #CCCCCC #CCCCCC #EBEBEB; border-color: #EBEBEB #ccc #ccc #EBEBEB;
padding: 2px; padding: 2px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.editor-container { .editor-container {
border-width: 1px; border-width: 1px;
border-color: #ccc; border-color: #ccc;
@ -101,31 +129,110 @@ margin:0 12px 12px;
margin-top: -10px; margin-top: -10px;
} }
.postdivrich { position: relative; margin-top: 10px;} .postdivrich {
#actions { clear: both; position: absolute; right: 4px; top: 6px; margin: 0;} position: relative;
#actions li { float: left; list-style: none; } margin-top: 10px;
}
#actions {
clear: both;
position: absolute;
right: 4px;
top: 6px;
margin: 0;
}
#actions li {
float: left;
list-style: none;
}
/* Photo Styles */ /* Photo Styles */
.photolist { margin-top: -10px; } .photolist {
#photo_saving{margin:0 8px 8px;vertical-align:middle;} margin-top: -10px;
#img_container{background-color:#fff;height:101px;width:100%; } }
#extra_fields{ margin-top:10px;position:relative;}
#extra_fields .titlewrap{padding:0;overflow:auto;height:100px;}
#img_container{position:relative;}
#img_container a{display:block;width:71px;height:71px;float:left;overflow:hidden;vertical-align:center;}
#img_container img{width:71px;height:71px;border:0px;background-color:#f4f4f4;cursor:pointer;}
#img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block; position: relative;}
#img_container a:hover,#img_container a:active{border-color:#000; z-index: 1000; border-width: 2px; margin: -1px;}
#photo_saving {
margin: 0 8px 8px;
vertical-align: middle;
}
#img_container {
background-color: #fff;
height: 101px;
width: 100%;
}
#extra_fields {
margin-top: 10px;
position: relative;
}
#extra_fields .titlewrap {
padding: 0;
overflow: auto;
height: 100px;
}
#img_container {
position: relative;
}
#img_container a {
display: block;
width: 71px;
height: 71px;
float: left;
overflow: hidden;
vertical-align: center;
}
#img_container img {
width: 71px;
height: 71px;
border: none;
background-color: #f4f4f4;
cursor: pointer;
}
#img_container a,
#img_container a:link,
#img_container a:visited {
border: 1px solid #ccc;
display: block;
position: relative;
}
#img_container a:hover,
#img_container a:active {
border-color: #000;
z-index: 1000;
border-width: 2px;
margin: -1px;
}
/* Video */ /* Video */
#embed-code {
width: 100%;
border: 0;
height: 98px;
}
#embed-code { width: 100%; border: 0; height: 98px;} /* Submit Column */
#viewsite {
padding: 0;
margin: 0;
}
/*** Submit Column ***/ #viewsite .button {
#viewsite { padding: 0; margin: 0; } width: 196px;
#viewsite .button { width: 196px; margin: 0 0 10px 0; display: block; } margin: 0 0 10px 0;
.wp-hidden-children .wp-hidden-child { display: none; } display: block;
}
.wp-hidden-children .wp-hidden-child {
display: none;
}
#category-adder { #category-adder {
padding: 4px 0; padding: 4px 0;
@ -137,25 +244,24 @@ margin:0 12px 12px;
#category-add input { #category-add input {
width: 94%; width: 94%;
font-family:Verdana,Arial,Helvetica,sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:13px; font-size: 13px;
margin:1px; margin: 1px;
padding:3px; padding: 3px;
} }
#category-add select { #category-add select {
width: 70%; width: 70%;
-x-system-font:none; -x-system-font: none;
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size:12px; font-size: 12px;
height:2em; height: 2em;
line-height:20px; line-height: 20px;
padding:2px; padding: 2px;
margin: 1px; margin: 1px;
vertical-align:top; vertical-align: top;
} }
#category-add input#category-add-sumbit { #category-add input#category-add-sumbit {
@ -163,8 +269,9 @@ margin:0 12px 12px;
} }
#categorydiv { #categorydiv {
padding: 0.5em 0.9em; padding: 0.5em 0.9em;
} }
/* Categories */ /* Categories */
#categorydiv ul, #linkcategorydiv ul { #categorydiv ul, #linkcategorydiv ul {
list-style: none; list-style: none;
@ -176,11 +283,10 @@ padding: 0.5em 0.9em;
margin-left: 18px; margin-left: 18px;
} }
#categorydiv div.ui-tabs-panel { #categorydiv div.ui-tabs-panel {
height:150px; height: 150px;
overflow:auto; overflow: auto;
padding:0.5em 0.9em; padding: 0.5em 0.9em;
} }
ul.categorychecklist li { ul.categorychecklist li {
@ -189,49 +295,171 @@ ul.categorychecklist li {
line-height: 19px; line-height: 19px;
} }
/* Tags */ /* Tags */
#tagsdiv #newtag{padding:3px;margin-right:5px;width:16em;} #tagsdiv #newtag {
#jaxtag{clear:both;margin:0;} padding: 3px;
#tagchecklist{padding-left:1em;margin-bottom:1em;font-size:12px;overflow:auto;} margin-right: 5px;
#tagchecklist strong{position:absolute;font-size:.75em;} width: 16em;
#tagchecklist span{margin-right:.5em;margin-left:10px;display:block;float:left;font-size:11px;line-height:1.8em;white-space:nowrap;cursor:default;} }
#tagchecklist span a{margin:6px 0pt 0pt -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}
#jaxtag {
clear: both;
margin: 0;
}
#tagchecklist {
padding-left: 1em;
margin-bottom: 1em;
font-size: 12px;
overflow: auto;
}
#tagchecklist strong {
position: absolute;
font-size: .75em;
}
#tagchecklist span {
margin-right: .5em;
margin-left: 10px;
display: block;
float: left;
font-size: 11px;
line-height: 1.8em;
white-space: nowrap;
cursor: default;
}
#tagchecklist span a {
margin: 6px 0 0 -9px;
cursor: pointer;
width: 10px;
height: 10px;
display: block;
float: left;
text-indent: -9999px;
overflow: hidden;
position: absolute;
}
/* Submit */ /* Submit */
.submitbox { margin-top: -10px;} .submitbox {
margin-top: -10px;
}
.submitbox .submit { .submitbox .submit {
font-size:11px; font-size: 11px;
padding:12px 10px 10px; padding: 12px 10px 10px;
text-align:left; text-align: left;
} }
.submit { .submit {
-moz-border-radius-bottomleft:3px; border-top: 1px solid #ccc;
-moz-border-radius-bottomright:3px; margin: 10px 0 0;
-moz-border-radius-topleft:0; padding: 1.5em 0 0;
-moz-border-radius-topright:0; -moz-border-radius: 3px 3px 0 0;
border-top:1px solid #CCCCCC; -webkit-border-top-left-radius: 3px;
margin:10px 0 0; -webkit-border-top-right-radius: 3px;
padding:1.5em 0 0; -khtml-border-top-left-radius: 3px;
-khtml-border-top-right-radius: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
} }
.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;} .ac_results {
.ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;} padding: 0;
.ac_over{cursor:pointer;} margin: 0;
.ac_match{text-decoration:underline;} list-style: none;
position: absolute;
z-index: 10000;
display: none;
border-width: 1px;
border-style: solid;
}
.ac_results li {
padding: 2px 5px;
white-space: nowrap;
text-align: left;
}
.ac_over {
cursor: pointer;
}
.ac_match {
text-decoration: underline;
}
#TB_ajaxContent #options {
position: absolute;
top: 20px;
right: 25px;
padding: 5px;
}
#TB_ajaxContent h3 {
margin-bottom: .25em;
}
.updated {
margin: 10px 0;
padding: 0;
border-width: 1px;
border-style: solid;
width:99%;
}
.updated p,
.error p {
margin: 0.6em 0;
padding: 0 0.6em;
}
.error a {
text-decoration:underline;
}
.updated a {
text-decoration: none;
padding-bottom: 2px;
}
#post_status {
margin-left: 10px;
margin-bottom: 1em;
display: block;
}
#TB_ajaxContent #options{position:absolute;top:20px;right:25px;padding:5px;}
#TB_ajaxContent h3{margin-bottom:.25em;}
.updated{margin:10px 0;padding:0;border-width:1px;border-style:solid; width:99%;}
.updated p,.error p{margin:0.6em 0;padding:0 0.6em;}
.updated a,.error a{text-decoration:underline;}
.updated a{text-decoration:none;padding-bottom:2px;}
#post_status{margin-left:10px;margin-bottom:1em;display:block;}
/* Footer */ /* Footer */
#footer{height:65px;display:block;width:640px;padding:10px 0 0 60px;margin:0;position:absolute;bottom:0;font-size:12px;} #footer {
#footer p{margin:0;padding:7px 0;} height: 65px;
#footer p a{text-decoration:none;} display: block;
#footer p a:hover{text-decoration:underline;} width: 640px;
padding: 10px 0 0 60px;
margin: 0;
position: absolute;
bottom: 0;
font-size: 12px;
}
#footer p {
margin: 0;
padding: 7px 0;
}
#footer p a {
text-decoration: none;
}
#footer p a:hover {
text-decoration: underline;
}
/* Utility Classes */ /* Utility Classes */
.centered{text-align:center;} .centered {
.hidden{display:none;} text-align: center;
}
.hidden {
display: none;
}