media.css and rtl.css cleanup, props Simek, fixes #7967

git-svn-id: https://develop.svn.wordpress.org/trunk@9383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-10-28 10:13:24 +00:00
parent d778294d33
commit 1ef94e3195
2 changed files with 212 additions and 117 deletions

View File

@ -29,15 +29,18 @@ form {
text-align: right; text-align: right;
} }
.media-upload-form label, .media-upload-form legend { .media-upload-form label,
display:block; .media-upload-form legend {
display: block;
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: 13px;
margin-bottom: 0.5em; margin-bottom: 0.5em;
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
} }
th { position: relative; } th {
position: relative;
}
.media-upload-form label.form-help, td.help { .media-upload-form label.form-help, td.help {
font-style: italic; font-style: italic;
@ -80,10 +83,6 @@ th { position: relative; }
background: url(../images/align-right.png) no-repeat center left; background: url(../images/align-right.png) no-repeat center left;
} }
#flash-upload-ui, .insert-gallery {
display: none;
}
tr.image-size td { tr.image-size td {
width: 460px; width: 460px;
} }
@ -142,7 +141,12 @@ button.dismiss {
border-right-style: solid; border-right-style: solid;
} }
#library-form .progress, #gallery-form .progress { #library-form .progress,
#gallery-form .progress,
#flash-upload-ui,
.insert-gallery,
.describe.startopen,
.describe.startclosed {
display: none; display: none;
} }
@ -162,7 +166,8 @@ 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;
} }
@ -171,10 +176,6 @@ thead.media-item-info th, thead.media-item-info td {
border: 8px solid #fff; border: 8px solid #fff;
} }
.describe.startopen, .describe.startclosed {
display: none;
}
abbr.required { abbr.required {
text-decoration: none; text-decoration: none;
border: none; border: none;
@ -192,11 +193,13 @@ abbr.required {
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;
@ -208,8 +211,8 @@ abbr.required {
} }
.hidden { .hidden {
height: 0px; height: 0;
width: 0px; width: 0;
overflow: hidden; overflow: hidden;
border: none; border: none;
} }
@ -224,7 +227,8 @@ abbr.required {
padding: 1em 0; padding: 1em 0;
} }
#media-upload p.help, #media-upload label.help { #media-upload p.help,
#media-upload label.help {
font-style: italic; font-style: italic;
font-weight: normal; font-weight: normal;
} }

View File

@ -1,119 +1,148 @@
a:link, a:visited { a:link,
text-decoration:none; a:visited {
text-decoration: none;
} }
a:hover { a:hover {
text-decoration:underline; text-decoration: underline;
} }
.plugins .togl { .plugins .togl {
border-right-width: 0; border-right-width: 0;
border-left-width: 1px; border-left-width: 1px;
border-left-style: solid; border-left-style: solid;
} }
form#upload th { form#upload th {
text-align:left; text-align: left;
} }
td.available-theme { td.available-theme {
text-align:right; text-align: right;
} }
#current-theme img { #current-theme img {
float: right; float: right;
margin-right:0; margin-right: 0;
margin-left: 1em; margin-left: 1em;
} }
.quicktags, .search { .quicktags, .search {
font-family: Tahoma; font-family: Tahoma;
} }
/* 201 - 403 /* 201 - 403
=================================== */ =================================== */
.side-info ul { .side-info ul {
padding-left:0; padding-left: 0;
padding-right:18px; padding-right: 18px;
} }
.submit input, .button, .button-secondary, .button-highlighted {
font-family: Tahoma; .submit input,
} .button,
#wpcontent select { .button-secondary,
font-family: Tahoma; .button-highlighted ,
} #wpcontent select,
/* #postdiv, #titlediv, #guiddiv, #poststuff .stuffbox {
margin:0 0 0 8px;
} */
#quicktags #ed_code { #quicktags #ed_code {
font-family: Tahoma; font-family: Tahoma;
} }
/* #postdiv, #titlediv, #guiddiv, #poststuff .stuffbox {
margin: 0 0 0 8px;
} */
#searchform fieldset { #searchform fieldset {
float:right; float: right;
margin: 0 0 1em 1.5ex; margin: 0 0 1em 1.5ex;
} }
#searchform fieldset legend { #searchform fieldset legend {
padding: 0 1px .2em 0; padding: 0 1px .2em 0;
} }
#searchform #post-query-submit { #searchform #post-query-submit {
float:right; float: right;
} }
/* 404 - 804 /* 404 - 804
=================================== */ =================================== */
#template div { #template div {
margin-right:0; margin-right: 0;
margin-left: 190px; margin-left: 190px;
} }
* html #template div { * html #template div {
margin-left: 0; margin-left: 0;
} }
#your-profile legend { #your-profile legend {
font-family:arial; font-family: arial;
} }
#ajax-response.alignleft { #ajax-response.alignleft {
margin-left:0; margin-left: 0;
margin-right: 2em; margin-right: 2em;
} }
.page-numbers { .page-numbers {
margin-right:0; margin-right: 0;
margin-left:3px; margin-left: 3px;
} }
.comment-column { .comment-column {
margin-left:0; margin-left: 0;
margin-right: 5px; margin-right: 5px;
} }
.tablenav a.button-secondary { .tablenav a.button-secondary {
margin: 1px 0 0 8px; margin: 1px 0 0 8px;
} }
#update-nag, .plugin-update { #update-nag, .plugin-update {
clear:both; clear: both;
} }
/* .tablenav .tablenav-pages { /* .tablenav .tablenav-pages {
float:left; float:left;
} */ } */
#user_info { #user_info {
right:auto; right: auto;
left:15px; left: 15px;
} }
#wphead #viewsite { #wphead #viewsite {
margin-left:0; margin-left: 0;
margin-right:10px; margin-right: 10px;
} }
#wphead #viewsite a { #wphead #viewsite a {
font-family: Tahoma; font-family: Tahoma;
} }
#wphead h1 { #wphead h1 {
font-family:arial; font-family: arial;
margin-right:0; margin-right: 0;
margin-left:15%; margin-left: 15%;
padding: 11px 12px 16px 170px; padding: 11px 12px 16px 170px;
} }
#adminmenu { #adminmenu {
padding-left:0; padding-left: 0;
padding-right:11px; padding-right: 11px;
} }
#adminmenu a { #adminmenu a {
font-family:arial; font-family: arial;
font-weight:bold; font-weight: bold;
padding:6px 7px; padding: 6px 7px;
} }
#adminmenu a.current, #sidemenu a.current {
font-weight:bold; #adminmenu a.current,
#sidemenu a.current {
font-weight: bold;
} }
#sidemenu { #sidemenu {
margin: -30px 0 0 15px; margin: -30px 0 0 15px;
float: left; float: left;
@ -121,211 +150,273 @@ td.available-theme {
padding-right: 10px; padding-right: 10px;
height: 1%; /* Peek-a-boo in IE6 */ height: 1%; /* Peek-a-boo in IE6 */
} }
#sidemenu a { #sidemenu a {
float:right; float: right;
} }
#submenu li { #submenu li {
padding: 0 17px 8px 0; padding: 0 17px 8px 0;
font-size:13px; font-size: 13px;
} }
#adminmenu li a #awaiting-mod span, #sidemenu li a #update-plugins span {
right:auto; #adminmenu li a #awaiting-mod span,
left:0; #sidemenu li a #update-plugins span {
right: auto;
left: 0;
} }
#adminmenu li a:hover #awaiting-mod, #sidemenu li a:hover #update-plugins {
#adminmenu li a:hover #awaiting-mod,
#sidemenu li a:hover #update-plugins {
background-position: -160px top; background-position: -160px top;
} }
/* 804 - 1004 /* 804 - 1004
=================================== */ =================================== */
#footer { #footer {
padding: 10px 60px 0 0; padding: 10px 60px 0 0;
} }
.form-table th { .form-table th {
text-align:right; text-align: right;
} }
.form-table input.tog { .form-table input.tog {
margin-right:0; margin-right: 0;
margin-left: 2px; margin-left: 2px;
float: right; float: right;
} }
.form-table table.color-palette { .form-table table.color-palette {
float:right; float: right;
} }
#pass-strength-result { #pass-strength-result {
float:right; float: right;
margin-right:0; margin-right: 0;
margin-left: 5px;
}
#profile-page .form-table #rich_editing {
margin-right:0;
margin-left: 5px; margin-left: 5px;
} }
#profile-page .form-table #rich_editing,
#tagsdiv #newtag { #tagsdiv #newtag {
margin-right:0; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
#tagchecklist { #tagchecklist {
margin-left:0; margin-left: 0;
margin-right: 10px; margin-right: 10px;
} }
#tagchecklist strong { #tagchecklist strong {
margin-left:0; margin-left: 0;
margin-right: -8px; margin-right: -8px;
} }
#tagchecklist span { #tagchecklist span {
margin-right:0; margin-right: 0;
margin-left: 25px; margin-left: 25px;
float: right; float: right;
} }
#tagchecklist span a { #tagchecklist span a {
margin: 6px -9px 0 0; margin: 6px -9px 0 0;
float: right; float: right;
} }
/* 1005 - 1304 /* 1005 - 1304
=================================== */ =================================== */
.ac_results li { .ac_results li {
text-align:right; text-align: right;
} }
#poststuff h2 { #poststuff h2 {
clear:right; clear: right;
} }
#poststuff .postbox, #poststuff .stuffbox, #titlediv, #poststuff .postarea {
#poststuff .postbox,
#poststuff .stuffbox,
#poststuff .postarea,
#titlediv {
margin-left: 8px; margin-left: 8px;
margin-right: 20px; margin-right: 20px;
} }
#edit-slug-buttons a.save { #edit-slug-buttons a.save {
margin-right:0; margin-right: 0;
margin-left:4px; margin-left: 4px;
} }
#poststuff #edButtonPreview, #poststuff #edButtonHTML {
#poststuff #edButtonPreview,
#poststuff #edButtonHTML {
margin: 5px 0 0 8px; margin: 5px 0 0 8px;
float: left; float: left;
} }
#poststuff #media-buttons { #poststuff #media-buttons {
float: left; float: left;
margin-right:0; margin-right: 0;
margin-left: 20px; margin-left: 20px;
} }
#poststuff #media-buttons a { #poststuff #media-buttons a {
padding: 0 2px 2px 5px; padding: 0 2px 2px 5px;
} }
.submitbox .submitdelete { .submitbox .submitdelete {
margin-left:0; margin-left: 0;
margin-right:8px; margin-right: 8px;
} }
.submitbox .submit { .submitbox .submit {
text-align:right; text-align: right;
} }
.submitbox .submit input { .submitbox .submit input {
margin-right:0; margin-right: 0;
margin-left:3px; margin-left: 3px;
} }
#categorydiv #category-adder { #categorydiv #category-adder {
margin-left:0; margin-left: 0;
margin-right: 120px; margin-right: 120px;
} }
#categorydiv ul#category-tabs { #categorydiv ul#category-tabs {
float: right; float: right;
text-align: left; text-align: left;
margin: 0 0 0 -120px; margin: 0 0 0 -120px;
} }
ul#category-tabs li.ui-tabs-selected { ul#category-tabs li.ui-tabs-selected {
-moz-border-radius-topleft:0; -moz-border-radius: 0 3px 3px 0;
-khtml-border-top-left-radius:0; -khtml-border-top-left-radius: 0;
-webkit-border-top-left-radius:0; -webkit-border-top-left-radius: 0;
border-top-left-radius:0; border-top-left-radius: 0;
-moz-border-radius-bottomleft:0; -khtml-border-bottom-left-radius: 0;
-khtml-border-bottom-left-radius:0; -webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-left-radius:0; border-bottom-left-radius: 0;
border-bottom-left-radius:0;
-moz-border-radius-topright: 3px;
-khtml-border-top-right-radius: 3px; -khtml-border-top-right-radius: 3px;
-webkit-border-top-right-radius: 3px; -webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px; border-top-right-radius: 3px;
-moz-border-radius-bottomright: 3px;
-khtml-border-bottom-right-radius: 3px; -khtml-border-bottom-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px; -webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px; border-bottom-right-radius: 3px;
} }
div.ui-tabs-panel { div.ui-tabs-panel {
margin: 0 120px 0 5px; margin: 0 120px 0 5px;
} }
/* 1305 - elakh! :-) /* 1305 - elakh! :-)
=================================== */ =================================== */
#categorydiv ul.categorychecklist ul { #categorydiv ul.categorychecklist ul {
margin-left:0; margin-left: 0;
margin-right: 18px; margin-right: 18px;
} }
#linkcategorydiv #category-adder { #linkcategorydiv #category-adder {
margin-left:0; margin-left: 0;
margin-right: 120px; margin-right: 120px;
} }
#linkcategorydiv ul#category-tabs { #linkcategorydiv ul#category-tabs {
float: right; float: right;
text-align: left; text-align: left;
margin: 0 0 0 -120px; margin: 0 0 0 -120px;
} }
#linkcategorydiv ul.categorychecklist ul { #linkcategorydiv ul.categorychecklist ul {
margin-left:0; margin-left: 0;
margin-right: 18px; margin-right: 18px;
} }
p#tag-search, p.search-box { p#tag-search, p.search-box {
right:auto; right: auto;
left:0; left: 0;
} }
#posts-filter fieldset { #posts-filter fieldset {
float: right; float: right;
margin: 0 0 1em 1.5ex; margin: 0 0 1em 1.5ex;
} }
#posts-filter fieldset legend { #posts-filter fieldset legend {
padding: 0 1px .2em 0; padding: 0 1px .2em 0;
} }
.view-switch { .view-switch {
float: left; float: left;
} }
#the-comment-list td.comment p.comment-author { #the-comment-list td.comment p.comment-author {
margin-right: 0 ; margin-right: 0;
} }
#the-comment-list p.comment-author img { #the-comment-list p.comment-author img {
float: right; float: right;
margin-right:0; margin-right: 0;
margin-left: 8px; margin-left: 8px;
} }
#the-comment-list td.comment p { #the-comment-list td.comment p {
margin-left:0; margin-left: 0;
margin-right: 8px; margin-right: 8px;
} }
.curtime { .curtime {
background-position: right 2px; background-position: right 2px;
padding-left:0; padding-left: 0;
padding-right: 18px; padding-right: 18px;
} }
.tablenav .delete { .tablenav .delete {
margin-right:0; margin-right: 0;
margin-left: 20px; margin-left: 20px;
} }
#tTips {
}
td.action-links, th.action-links { td.action-links, th.action-links {
text-align:left; text-align: left;
} }
.info-box { .info-box {
left:auto; left: auto;
right: 50%; right: 50%;
margin-left: 0; margin-left: 0;
margin-right: -225px; margin-right: -225px;
} }
.info-box .gears-img { .info-box .gears-img {
float: left; float: left;
} }
/* LTR /* LTR
=================================== */ =================================== */
#edit-slug-box, #trackback, #metakeyinput, #post_password, #link_url, #link_image, #rss_uri, #category_nicename, #slug, #dbuser, #dbpass, #dbname, #dbprefix, #dccharset, #gmpath, #archivespath, #lastentry, #dbhost, #pages-exclude, #newcontent, #email, #newcomment_author_url, #siteurl, #home, #admin_email, #date_format, #time_format, #gmt_offset, #mailserver_url, #mailserver_port, #mailserver_login, #mailserver_pass, #ping_sites, #posts_per_page, #posts_per_rss, #blog_charset, #moderation_keys, #blacklist_keys, #comment_max_links, #permalink_structure, #category_base, #tag_base, #upload_path, #upload_url_path, #thumbnail_size_w, #thumbnail_size_h, #medium_size_w, #medium_size_h, #user_login, #url, #pass1, #pass2, #aim, #yim, #jabber, #key, #src, #hostname, #username, #password, #rules { #edit-slug-box, #trackback, #metakeyinput,
direction:ltr; #post_password, #link_url, #link_image,
#rss_uri, #category_nicename, #slug,
#dbuser, #dbpass, #dbname, #dbprefix,
#dccharset, #gmpath, #archivespath,
#lastentry, #dbhost, #pages-exclude,
#newcontent, #email, #newcomment_author_url,
#siteurl, #home, #admin_email, #date_format,
#time_format, #gmt_offset, #mailserver_url,
#mailserver_port, #mailserver_login,
#mailserver_pass, #ping_sites, #posts_per_page,
#posts_per_rss, #blog_charset, #moderation_keys,
#blacklist_keys, #comment_max_links,
#permalink_structure, #category_base,
#tag_base, #upload_path, #upload_url_path,
#thumbnail_size_w, #thumbnail_size_h,
#medium_size_w, #medium_size_h, #user_login,
#url, #pass1, #pass2, #aim, #yim, #jabber,
#key, #src, #hostname, #username, #password,
#rules {
direction: ltr;
} }
/* TinyMCE /* TinyMCE
=================================== */ =================================== */
.clearlooks2 .mceTop .mceLeft { .clearlooks2 .mceTop .mceLeft {
width:100% !important; width: 100% !important;
} }