Some CSS cleanup, props Simek, see #7967

git-svn-id: http://svn.automattic.com/wordpress/trunk@9370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-27 20:55:25 +00:00
parent 17083f0ce8
commit 9f72344f5a
9 changed files with 132 additions and 108 deletions

View File

@ -2,20 +2,22 @@
border-right-color: transparent; border-right-color: transparent;
border-left-color: #99d; border-left-color: #99d;
} }
.post-com-count {
}
#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins { #adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
background-image: url(../images/comment-stalk-rtl.gif); background-image: url(../images/comment-stalk-rtl.gif);
background-position:right bottom; background-position: right bottom;
} }
#footer { #footer {
background-position:99% 10px; background-position: 99% 10px;
} }
.plugins .togl { .plugins .togl {
border-right-color: transparent; border-right-color: transparent;
border-left-color: #ccc; border-left-color: #ccc;
} }
#upload-menu li.current { #upload-menu li.current {
border-right-color:transparent; border-right-color: transparent;
border-left-color: #448abd; border-left-color: #448abd;
} }

View File

@ -10,25 +10,25 @@ form .input-text-wrap {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
padding: 2px 3px; padding: 2px 3px;
border-color: #CCCCCC; border-color: #ccc;
} }
form .input-text-wrap input { form .input-text-wrap input {
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: 99%; width: 99%;
border-style: solid; border-style: solid;
color: #333333; color: #333;
} }
form .textarea-wrap { form .textarea-wrap {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
padding: 2px; padding: 2px;
border-color: #CCCCCC; border-color: #ccc;
} }
form .textarea-wrap textarea { form .textarea-wrap textarea {
@ -137,10 +137,7 @@ div.postbox div.inside {
list-style: none; list-style: none;
} }
.rss-widget a.rsswidget { .rss-widget a.rsswidget,
font-size: 14px;
}
.rss-widget span.rss-date { .rss-widget span.rss-date {
font-size: 14px; font-size: 14px;
} }

View File

@ -1,31 +1,35 @@
body, td { body, td, textarea, input, select {
font-family: Tahoma;
}
textarea, input, select {
font-family: Tahoma; font-family: Tahoma;
} }
h1, h2, h3 { h1, h2, h3 {
font-family:arial; font-family: arial;
} }
.widefat td { .widefat td {
padding: 7px 10px 9px 15px; padding: 7px 10px 9px 15px;
} }
.widefat th { .widefat th {
padding: 9px 10px 6px 15px; padding: 9px 10px 6px 15px;
text-align: right; text-align: right;
} }
.widefat th input { .widefat th input {
margin: 0 8px 0 0; margin: 0 8px 0 0;
} }
.widefat .check-column { .widefat .check-column {
text-align: left; text-align: left;
} }
.wrap h2 { .wrap h2 {
font-family:arial; font-family: arial;
margin: 5px -4px 0 0; margin: 5px -4px 0 0;
padding-right:0; padding-right: 0;
padding-left: 280px; padding-left: 280px;
} }
.wrap h2.long-header { .wrap h2.long-header {
padding-left: 0; padding-left: 0;
} }

View File

@ -1,6 +1,7 @@
body { body {
font-family: Tahoma; font-family: Tahoma;
} }
/* Half the page disapears on IE6 */ /* Half the page disapears on IE6 */
* html body { * html body {
width: 700px; width: 700px;
@ -8,20 +9,21 @@ body {
left: 50%; left: 50%;
margin-right: 350px; margin-right: 350px;
} }
ul, ol { ul, ol {
padding: 5px 22px 5px 5px; padding: 5px 22px 5px 5px;
} }
.step, th {
text-align:right; .step, th, .form-table th {
text-align: right;
} }
.submit input, .button, .button-secondary { .submit input, .button, .button-secondary {
font-family: Tahoma; font-family: Tahoma;
margin-right:0; margin-right: 0;
}
.form-table th {
text-align:right;
} }
h1 { h1 {
font-family:arial; font-family: arial;
margin: 5px -4px 0 0; margin: 5px -4px 0 0;
} }

View File

@ -17,10 +17,14 @@ a { color: #2583ad; text-decoration: none; }
a:hover { color: #d54e21; } a:hover { color: #d54e21; }
h1 { h1 {
font-size: 18px; border-bottom: 1px solid #dadada;
margin-bottom: 0; clear: both;
color: #666;
font: 24px Georgia, "Times New Roman", Times, serif;
margin: 5px 0 0 -4px;
padding: 0;
padding-bottom: 7px;
} }
h2 { font-size: 16px; } h2 { font-size: 16px; }
@ -31,23 +35,17 @@ p, li {
line-height: 18px; line-height: 18px;
} }
code { code { font-size: 13px; }
font-size: 13px;
}
ul, ol { padding: 5px 5px 5px 22px; } ul, ol { padding: 5px 5px 5px 22px; }
#logo { margin: 6px 0 14px 0px; border-bottom: none;} #logo { margin: 6px 0 14px 0; border-bottom: none;}
.step { .step {
margin: 20px 0 15px; margin: 20px 0 15px;
} }
.step input { .step input, a.button {
font-size: 18px;
}
a.button {
font-size: 18px; font-size: 18px;
} }
@ -117,19 +115,7 @@ a.button {
padding: 2px; padding: 2px;
} }
h1 { #error-page { margin-top: 50px; }
border-bottom: 1px solid #dadada;
clear: both;
color: #666666;
font: 24px Georgia, "Times New Roman", Times, serif;
margin: 5px 0 0 -4px;
padding: 0;
padding-bottom: 7px;
}
#error-page {
margin-top: 50px;
}
#error-page p { #error-page p {
font-size: 14px; font-size: 14px;
@ -137,6 +123,4 @@ h1 {
margin: 25px 0 20px; margin: 25px 0 20px;
} }
#error-page code { #error-page code { font-size: 15px; }
font-size: 15px;
}

View File

@ -1,37 +1,35 @@
body { body , #login form .submit input {
font-family: Tahoma; font-family: Tahoma;
} }
form { form {
margin-left:0; margin-left:0;
margin-right: 8px; margin-right: 8px;
} }
form .forgetmenot {
float:right; form .forgetmenot { float: right; }
}
#login form .submit input { form .submit { float: left; }
font-family: Tahoma;
}
form .submit {
float:left;
}
#backtoblog a { #backtoblog a {
left:auto; left: auto;
right:15px; right: 15px;
} }
#login_error, .message { #login_error, .message {
margin: 0 8px 16px 0; margin: 0 8px 16px 0;
} }
#nav {
margin:0 8px 0 0; #nav { margin: 0 8px 0 0; }
}
#user_pass, #user_login, #user_email { #user_pass, #user_login, #user_email {
margin-right:0; margin-right: 0;
margin-left: 6px; margin-left: 6px;
} }
h1 a {
text-decoration:none; h1 a { text-decoration: none; }
}
/* ltr input */ /* ltr input */
#user_login, #user_pass { #user_login, #user_pass {
direction:ltr; direction: ltr;
} }

View File

@ -1,66 +1,83 @@
body#media-upload ul#sidemenu { body#media-upload ul#sidemenu {
left:auto; left: auto;
right:0; right: 0;
width: 620px; width: 620px;
} }
#search-filter { #search-filter {
text-align:left; text-align: left;
} }
.align .field label { .align .field label {
padding: 0 28px 0 0; padding: 0 28px 0 0;
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label {
background-position:center right; .image-align-none-label, .image-align-left-label,
.image-align-center-label, .image-align-right-label {
background-position: center right;
} }
tr.image-size label { tr.image-size label {
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
.filename.original { .filename.original {
float: right; float: right;
} }
.crunching { .crunching {
text-align: left; text-align: left;
margin-right:0; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
button.dismiss { button.dismiss {
right:auto; right: auto;
left:5px; left: 5px;
} }
.file-error { .file-error {
margin: 0 50px 5px 0; margin: 0 50px 5px 0;
} }
.progress { .progress {
left:auto; left: auto;
right:0; right: 0;
} }
.bar { .bar {
border-right-width:0; border-right-width: 0;
border-left-width: 3px; border-left-width: 3px;
border-left-style: solid; border-left-style: solid;
} }
.media-item .pinkynail { .media-item .pinkynail {
float:right; float: right;
} }
.describe-toggle-on, .describe-toggle-off { .describe-toggle-on, .describe-toggle-off {
float: left; float: left;
margin-right:0; margin-right: 0;
margin-left: 20px; margin-left: 20px;
} }
/* Specific to Uploader */ /* Specific to Uploader */
#media-upload .media-upload-form p { #media-upload .media-upload-form p {
margin: 0 0 1em 1em; margin: 0 0 1em 1em;
} }
.filename { .filename {
float: right; float: right;
margin-left:0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
#media-upload .describe th.label { #media-upload .describe th.label {
text-align:right; text-align: right;
} }
.menu_order { .menu_order {
float:left; float: left;
} }

View File

@ -63,6 +63,7 @@ th { position: relative; }
padding: 0 0 0 28px; padding: 0 0 0 28px;
margin: 0 1em 0 0; margin: 0 1em 0 0;
} }
.image-align-none-label { .image-align-none-label {
background: url(../images/align-none.png) no-repeat center left; background: url(../images/align-none.png) no-repeat center left;
} }
@ -86,15 +87,18 @@ th { position: relative; }
tr.image-size td { tr.image-size td {
width: 460px; width: 460px;
} }
tr.image-size div.image-size-item { tr.image-size div.image-size-item {
float: left; float: left;
width: 25%; width: 25%;
margin: 0; margin: 0;
} }
tr.image-size label { tr.image-size label {
display: inline; display: inline;
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
.pinkynail { .pinkynail {
max-width: 40px; max-width: 40px;
max-height: 40px; max-height: 40px;
@ -103,18 +107,21 @@ tr.image-size label {
.filename.original { .filename.original {
float: left; float: left;
} }
.crunching { .crunching {
display: block; display: block;
line-height: 32px; line-height: 32px;
text-align: right; text-align: right;
margin-right: 5px; margin-right: 5px;
} }
button.dismiss { button.dismiss {
position: absolute; position: absolute;
top: 5px; top: 5px;
right: 5px; right: 5px;
z-index: 4; z-index: 4;
} }
.file-error { .file-error {
margin: 0 0 5px 50px; margin: 0 0 5px 50px;
font-weight: bold; font-weight: bold;
@ -122,13 +129,14 @@ button.dismiss {
.progress { .progress {
position: absolute; position: absolute;
top: 0px; top: 0;
left: 0px; left: 0;
width: 623px; width: 623px;
height: 36px; height: 36px;
} }
.bar { .bar {
width: 0px; width: 0;
height: 100%; height: 100%;
border-right-width: 3px; border-right-width: 3px;
border-right-style: solid; border-right-style: solid;
@ -142,6 +150,7 @@ button.dismiss {
max-width: 128px; max-width: 128px;
max-height: 128px; max-height: 128px;
} }
.media-item .pinkynail { .media-item .pinkynail {
float: left; float: left;
margin: 2px; margin: 2px;
@ -152,6 +161,7 @@ button.dismiss {
thead.media-item-info tr { thead.media-item-info tr {
background-color: transparent; background-color: transparent;
} }
thead.media-item-info th, thead.media-item-info td { thead.media-item-info th, thead.media-item-info td {
border: none; border: none;
margin: 0; margin: 0;
@ -164,35 +174,39 @@ thead.media-item-info th, thead.media-item-info td {
.describe.startopen, .describe.startclosed { .describe.startopen, .describe.startclosed {
display: none; display: none;
} }
abbr.required { abbr.required {
text-decoration: none; text-decoration: none;
border: none; border: none;
} }
.describe label { .describe label {
display: inline; display: inline;
} }
.describe td { .describe td {
vertical-align: middle; vertical-align: middle;
} }
.describe td.A1 { .describe td.A1 {
width: 132px; width: 132px;
} }
.describe input[type="text"], .describe textarea { .describe input[type="text"], .describe textarea {
width: 460px; width: 460px;
} }
.describe-toggle-on, .describe-toggle-off { .describe-toggle-on, .describe-toggle-off {
display: block; display: block;
line-height: 36px; line-height: 36px;
float: right; float: right;
margin-right: 20px; margin-right: 20px;
} }
.describe-toggle-off { .describe-toggle-off {
display: none; display: none;
} }
.clickmask {
}
.hidden { .hidden {
height: 0px; height: 0px;
width: 0px; width: 0px;
@ -214,9 +228,11 @@ abbr.required {
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
} }
#media-upload tr.image-size td.field { #media-upload tr.image-size td.field {
text-align: center; text-align: center;
} }
#media-upload #media-items { #media-upload #media-items {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
@ -243,6 +259,7 @@ abbr.required {
overflow: hidden; overflow: hidden;
max-width: 430px; max-width: 430px;
} }
#media-upload .describe { #media-upload .describe {
border-top-width: 1px; border-top-width: 1px;
border-top-style: solid; border-top-style: solid;
@ -251,13 +268,16 @@ abbr.required {
clear: both; clear: both;
cursor: default; cursor: default;
} }
#media-upload .describe th.label { #media-upload .describe th.label {
padding-top: .5em; padding-top: .5em;
text-align: left; text-align: left;
} }
#media-upload tr.align td.field { #media-upload tr.align td.field {
text-align: center; text-align: center;
} }
#media-upload tr.image-size { #media-upload tr.image-size {
margin-bottom: 1em; margin-bottom: 1em;
height: 3em; height: 3em;
@ -272,10 +292,10 @@ abbr.required {
} }
#filter .tablenav select { #filter .tablenav select {
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
padding:2px; padding: 2px;
vertical-align:top; vertical-align: top;
} }
#media-upload a.delete, #media-upload a.delete,
@ -295,7 +315,7 @@ abbr.required {
} }
.menu_order_input { .menu_order_input {
border: 1px solid #DDDDDD; border: 1px solid #ddd;
font-size: 10px; font-size: 10px;
padding: 1px; padding: 1px;
width: 23px; width: 23px;
@ -309,8 +329,8 @@ abbr.required {
} }
#media-upload th.order-head { #media-upload th.order-head {
width: 25%; width: 25%;
text-align: center; text-align: center;
} }
#media-upload .widefat { #media-upload .widefat {

View File

@ -23,7 +23,7 @@ h3#bordertitle {
} }
#templateside h4 { #templateside h4 {
margin-bottom: 0px; margin-bottom: 0;
} }
#templateside ol, #templateside ul { #templateside ol, #templateside ul {
@ -33,7 +33,7 @@ h3#bordertitle {
} }
#templateside ol li, #templateside ul li { #templateside ol li, #templateside ul li {
margin: 1px 0px; margin: 1px 0;
} }
#themeselector { #themeselector {
@ -58,7 +58,7 @@ h3#bordertitle {
div.bordertitle h2 { div.bordertitle h2 {
border: none; border: none;
padding-bottom: 0px; padding-bottom: 0;
} }
div.tablenav { div.tablenav {