wp-admin.css cleanup, props Simek fixes #7584

git-svn-id: http://svn.automattic.com/wordpress/trunk@8723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-08-24 15:29:21 +00:00
parent f2dd6dd861
commit 4771eabf6e
1 changed files with 71 additions and 97 deletions

View File

@ -59,6 +59,7 @@ table#availablethemes {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
margin: 10px auto; margin: 10px auto;
} }
td.available-theme { td.available-theme {
vertical-align: top; vertical-align: top;
width: 240px; width: 240px;
@ -66,24 +67,25 @@ td.available-theme {
padding: 20px; padding: 20px;
text-align: left; text-align: left;
} }
table#availablethemes td { table#availablethemes td {
border: 1px solid #eee; border: 1px solid #eee;
border-top: none; border-top: none;
} }
table#availablethemes td.top { table#availablethemes td.top {
border-top: none; border-top: none;
} }
table#availablethemes td.right {
table#availablethemes td.right,
table#availablethemes td.left {
border-right: none; border-right: none;
border-left: none; border-left: none;
} }
table#availablethemes td.bottom { table#availablethemes td.bottom {
border-bottom: none; border-bottom: none;
} }
table#availablethemes td.left {
border-right: none;
border-left: none;
}
.available-theme a.screenshot { .available-theme a.screenshot {
width: 240px; width: 240px;
@ -93,9 +95,11 @@ table#availablethemes td.left {
margin-bottom: 10px; margin-bottom: 10px;
overflow: hidden; overflow: hidden;
} }
.available-theme img { .available-theme img {
width: 240px; width: 240px;
} }
.available-theme h3 { .available-theme h3 {
margin: 15px 0 5px; margin: 15px 0 5px;
} }
@ -183,14 +187,10 @@ table#availablethemes td.left {
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
padding: 1.5em 0 0 0; padding: 1.5em 0 0 0;
margin: 10px 0 0 0; margin: 10px 0 0 0;
-moz-border-radius-bottomleft: 3px; -moz-border-radius: 0 0 3px 3px;
-khtml-border-bottom-left-radius: 3px; -khtml-border-radius: 0 0 3px 3px;
-webkit-border-bottom-left-radius: 3px; -webkit-border-radius: 0 0 3px 3px;
border-bottom-left-radius: 3px; border-radius: 0 0 3px 3px;
-moz-border-radius-bottomright: 3px;
-khtml-border-bottom-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
} }
.side-info { .side-info {
@ -235,7 +235,6 @@ table#availablethemes td.left {
#wpcontent select { #wpcontent select {
font: 12px/20px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; font: 12px/20px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 2px; padding: 2px;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
height: 2em; height: 2em;
@ -255,7 +254,6 @@ table#availablethemes td.left {
border-bottom-style: solid; border-bottom-style: solid;
} }
.unapproved .unapprove { .unapproved .unapprove {
display: none; display: none;
} }
@ -355,7 +353,6 @@ textarea.all-options, input.all-options {
vertical-align: top; vertical-align: top;
} }
#attachmentlinks textarea { #attachmentlinks textarea {
width: 100%; width: 100%;
height: 2.5em; height: 2.5em;
@ -468,7 +465,6 @@ set display:none; */
margin-left: 2em; margin-left: 2em;
} }
div.nav { div.nav {
height: 2em; height: 2em;
padding: 7px 10px; padding: 7px 10px;
@ -516,10 +512,7 @@ p.pagenav {
width: 50%; width: 50%;
} }
.author-column { .author-column,
width: 20%;
}
.response-column { .response-column {
width: 20%; width: 20%;
} }
@ -710,7 +703,7 @@ ul#adminmenu li.write-new-button a {
#dashmenu li.highlighted { #dashmenu li.highlighted {
margin-left: 6px; margin-left: 6px;
text-align: center; text-align: center;
padding: 1 px 0; padding: 1px 0;
} }
#dashmenu li.highlighted a { #dashmenu li.highlighted a {
@ -718,6 +711,7 @@ ul#adminmenu li.write-new-button a {
border: 1px solid #888; border: 1px solid #888;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-khtml-border-radius: 3px;
-border-radius: 3px; -border-radius: 3px;
color: #ddd; color: #ddd;
margin-top: 4px; margin-top: 4px;
@ -751,11 +745,10 @@ ul#adminmenu li.write-new-button a {
#dashmenu ul { #dashmenu ul {
background: #fff; background: #fff;
border: 1px solid #c6d9e9; border: 1px solid #c6d9e9;
-webkit-border-bottom-left-radius:7px; -webkit-border-radius: 0 0 7px 7px;
-webkit-border-bottom-right-radius:7px; -moz-border-radius: 0 0 7px 7px;
border-radius: 0 0 7px 7px;
-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2); -webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);
-moz-border-radius-bottomleft: 7px;
-moz-border-radius-bottomright: 7px;
-moz-box-shadow:0 2px 6px rgba(0,0,0,0.2); -moz-box-shadow:0 2px 6px rgba(0,0,0,0.2);
} }
@ -1143,7 +1136,6 @@ table.form-table td .updated {
#tagchecklist { #tagchecklist {
margin-left: 10px; margin-left: 10px;
font-size: 12px; font-size: 12px;
overflow: auto; overflow: auto;
} }
@ -1228,8 +1220,8 @@ table.form-table td .updated {
} }
#poststuff .inside { #poststuff .inside {
font-size:11px; font-size: 11px;
margin:0 12px 12px; margin: 0 12px 12px;
} }
#titlediv, #poststuff .postarea { #titlediv, #poststuff .postarea {
@ -1274,9 +1266,9 @@ table.form-table td .updated {
margin-top: 8px; margin-top: 8px;
} }
#editable-post-name-full {display: none;} #editable-post-name-full { display: none; }
#editable-post-name input {width: 16em;} #editable-post-name input { width: 16em; }
#edit-slug-buttons a.save { #edit-slug-buttons a.save {
padding: 6px 4px; padding: 6px 4px;
@ -1323,14 +1315,10 @@ table.form-table td .updated {
#poststuff #editor-toolbar .active { #poststuff #editor-toolbar .active {
font-weight: bold; font-weight: bold;
-moz-border-radius-bottomright: 3px; -moz-border-radius: 0 0 3px 3px;
-khtml-border-top-bottom-radius: 3px; -khtml-border-radius: 0 0 3px 3px;
-webkit-border-bottom-right-radius: 3px; -webkit-border-radius: 0 0 3px 3px;
border-bottom-right-radius: 3px; border-radius: 0 0 3px 3px;
-moz-border-radius-bottomleft: 3px;
-khtml-border-bottom-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
} }
#poststuff #media-buttons { #poststuff #media-buttons {
@ -1362,14 +1350,10 @@ table.form-table td .updated {
position: absolute; position: absolute;
text-indent: -9999px; text-indent: -9999px;
width: 12px; width: 12px;
-moz-border-radius-topleft: 3px; -moz-border-radius: 3px 0 0 3px;
-khtml-border-top-left-radius: 3px; -khtml-border-radius: 3px 0 0 3px;
-webkit-border-top-left-radius: 3px; -webkit-border-radius: 3px 0 0 3px;
border-top-left-radius: 3px; border-radius: 3px 0 0 3px;
-moz-border-radius-bottomleft: 3px;
-khtml-border-bottom-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
} }
#poststuff .closed .inside { #poststuff .closed .inside {
@ -1452,14 +1436,10 @@ table.form-table td .updated {
} }
#post-body ul#category-tabs li.ui-tabs-selected { #post-body ul#category-tabs li.ui-tabs-selected {
-moz-border-radius-topleft: 3px; -moz-border-radius: 3px 0 0 3px;
-khtml-border-top-left-radius: 3px; -khtml-border-radius: 3px 0 0 3px;
-webkit-border-top-left-radius: 3px; -webkit-border-radius: 3px 0 0 3px;
border-top-left-radius: 3px; border-radius: 3px 0 0 3px;
-moz-border-radius-bottomleft: 3px;
-khtml-border-bottom-left-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
} }
#post-body ul#category-tabs li.ui-tabs-selected a { #post-body ul#category-tabs li.ui-tabs-selected a {
@ -1501,26 +1481,27 @@ ul.categorychecklist li {
} }
/* positioning etc. */ /* positioning etc. */
form#tags-filter { form#tags-filter {
position: relative; position: relative;
} }
p#tag-search { p#tag-search {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
margin: 0; margin: 0;
} }
form#posts-filter { form#posts-filter {
position: relative; position: relative;
} }
p#big-add-button { p#big-add-button {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
margin: 0; margin: 0;
} }
p#big-add-button .button { p#big-add-button .button {
@ -1529,10 +1510,10 @@ p#big-add-button .button {
} }
p#post-search { p#post-search {
position: absolute; position: absolute;
right: 0; right: 0;
top: -64px; top: -64px;
margin: 0; margin: 0;
} }
#post-search .button, #widget-search .button { #post-search .button, #widget-search .button {
@ -1574,6 +1555,7 @@ td.post-title p {
} }
/* Global classes */ /* Global classes */
.wp-hidden-children .wp-hidden-child { display: none; } .wp-hidden-children .wp-hidden-child { display: none; }
.ui-tabs-hide { display: none; } .ui-tabs-hide { display: none; }
@ -1611,14 +1593,10 @@ ul.view-switch a {
ul.view-switch li.current { ul.view-switch li.current {
border: none; border: none;
-moz-border-radius-topleft: 3px; -moz-border-radius: 3px 3px 0 0;
-khtml-border-top-left-radius: 3px; -khtml-border-radius: 3px 3px 0 0;
-webkit-border-top-left-radius: 3px; -webkit-border-radius: 3px 3px 0 0;
border-top-left-radius: 3px; border-radius: 3px 3px 0 0;
-moz-border-radius-topright: 3px;
-khtml-border-top-right-radius: 3px;
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
} }
@ -1632,7 +1610,7 @@ ul.view-switch li.current {
#the-comment-list td.comment p.comment-author { #the-comment-list td.comment p.comment-author {
margin-top: 0; margin-top: 0;
margin-left: 0 ; margin-left: 0;
} }
#the-comment-list p.comment-author img { #the-comment-list p.comment-author img {
@ -1849,7 +1827,7 @@ p#post-search-prep {
position: relative; position: relative;
float: right; float: right;
padding-left: 10px; padding-left: 10px;
font-size:12px; font-size: 12px;
} }
#sidemenu a { #sidemenu a {
@ -1877,14 +1855,10 @@ p#post-search-prep {
font-weight: normal; font-weight: normal;
padding-left: 6px; padding-left: 6px;
padding-right: 6px; padding-right: 6px;
-moz-border-radius-topleft: 4px; -moz-border-radius: 4px 4px 0 0;
-khtml-border-top-left-radius: 4px; -khtml-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px; -webkit-border-radius: 4px 4px 0 0;
border-top-left-radius: 4px; border-radius: 4px 4px 0 0;
-moz-border-radius-topright: 4px;
-khtml-border-top-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
@ -1914,24 +1888,24 @@ p#post-search-prep {
} }
#previewview { #previewview {
float:right; float: right;
margin-top:-53px; margin-top: -53px;
} }
#previewview a { #previewview a {
display:block; display: block;
font-size:16px; font-size: 16px;
font-weight:normal; font-weight: normal;
padding:4px 8px; padding: 4px 8px;
text-align:center; text-align: center;
text-decoration:none; text-decoration: none;
width:200px; width: 200px;
} }
/* reply to comments */ /* reply to comments */
#replydiv { #replydiv {
width: 700px; width: 700px;
border-color: #EBEBEB #CCCCCC #CCCCCC #EBEBEB; border-color: #EBEBEB #CCC #CCC #EBEBEB;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
padding: 2px; padding: 2px;