RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314

git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-10-15 07:33:01 +00:00
parent fca9f2e2e3
commit 0f2431e25a
18 changed files with 297 additions and 160 deletions

View File

@ -35,7 +35,7 @@ wp_user_settings();
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>
<head> <head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php echo $admin_title; ?></title> <title><?php echo $admin_title; ?></title>

File diff suppressed because one or more lines are too long

View File

@ -944,8 +944,7 @@ table.widefat .spam a:hover,
border-color: #dfdfdf; border-color: #dfdfdf;
} }
#adminmenu li.menu-top:hover > a, #adminmenu li.menu-top:hover > a {
#adminmenu li.menu-top:hover > .wp-menu-arrow {
background-color: #e4e4e4; background-color: #e4e4e4;
text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 ); text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 );
} }

View File

@ -1 +1 @@
html{direction:ltr;}body{direction:rtl;}* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle{background:url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -109px;}* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle{background:url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -206px;}* html #adminmenu{margin-left:0;margin-right:-80px;}* html div.folded #adminmenu{margin-left:0;margin-right:-22px;}#wpcontent #adminmenu .wp-submenu li.wp-submenu-head{padding:3px 10px 4px 4px;}.inline-edit-row fieldset label span.title{float:right;}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0;}p.search-box{float:left;}* html #poststuff h2{margin-right:0;}#bh{margin:7px 10px 0 0;float:left;}div#dashboard-widgets{padding-right:0;padding-left:1px;}.tagchecklist span a{margin:4px -9px 0 0;}.widefat th input{margin:0 5px 0 0;}#TB_window{width:670px;position:absolute;top:50%;left:50%;margin-right:335px!important;}#dashboard_plugins{direction:ltr;}#dashboard_plugins h3.hndle{direction:rtl;}#dashboard_incoming_links ul li,#dashboard_secondary ul li,#dashboard_primary ul li,p.row-actions{width:100%;}#favorite-inside{position:absolute;right:0;}#post-status-info{height:25px;}#screen-meta{position:static;}p.submit{height:22px;}.inner-sidebar{position:static;}form#widgets-filter{position:static;}* html .meta-box-sortables .postbox .handlediv{background:transparent url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -111px;}.menu-max-depth-0 #menu-management{width:460px;}.menu-max-depth-1 #menu-management{width:490px;}.menu-max-depth-2 #menu-management{width:520px;}.menu-max-depth-3 #menu-management{width:550px;}.menu-max-depth-4 #menu-management{width:580px;}.menu-max-depth-5 #menu-management{width:610px;}.menu-max-depth-6 #menu-management{width:640px;}.menu-max-depth-7 #menu-management{width:670px;}.menu-max-depth-8 #menu-management{width:700px;}.menu-max-depth-9 #menu-management{width:730px;}.menu-max-depth-10 #menu-management{width:760px;}.menu-max-depth-11 #menu-management{width:790px;}.menu-item-depth-0{margin-left:0;}.menu-item-depth-1{margin-left:-30px;}.menu-item-depth-2{margin-left:-60px;}.menu-item-depth-3{margin-left:-90px;}.menu-item-depth-4{margin-left:-120px;}.menu-item-depth-5{margin-left:-150px;}.menu-item-depth-6{margin-left:-180px;}.menu-item-depth-7{margin-left:-210px;}.menu-item-depth-8{margin-left:-240px;}.menu-item-depth-9{margin-left:-270px;}.menu-item-depth-10{margin-left:-300px;}.menu-item-depth-11{margin-left:-330px;}#menu-to-edit li dl{padding:0!important;margin:0!important;}.ui-sortable-helper .menu-item-transport{margin-top:13px;}.ui-sortable-helper .menu-item-transport .menu-item-transport{margin-top:0;}.sortable-placeholder{margin-top:0!important;margin-left:0!important;margin-bottom:13px!important;padding:0!important;}.auto-add-pages{clear:both;float:none;}#nav-menus-frame .open-label span{float:none;display:inline-block;}#nav-menus-frame .delete-action{float:none;} body{direction:rtl;width:99.5%;}.rtl #adminmenuback{left:auto;right:0;background-image:none;}.rtl #adminmenuback,.rtl #adminmenuwrap{border-width:0 0 0 1px;}#adminmenu .wp-submenu ul{width:99%;}#adminmenu .wp-submenu .wp-submenu .wp-submenu-wrap,#adminmenu .wp-menu-open .wp-submenu .wp-submenu-wrap{border:1px solid #dfdfdf;}.folded #adminmenu .wp-submenu{right:30px;top:-4px;}#adminmenu .wp-submenu .wp-submenu-head{padding:6px 10px 6px 4px;}#adminmenu .wp-menu-arrow{display:none!important;}#wpcontent #adminmenu .wp-submenu li.wp-submenu-head{padding:3px 10px 4px 4px;}div.quicktags-toolbar input{min-width:0;}.inline-edit-row fieldset label span.title{float:right;}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0;}p.search-box{float:left;}#bh{margin:7px 10px 0 0;float:left;}.postbox div.inside,.wp-editor-wrap .wp-editor-container .wp-editor-area,#nav-menu-theme-locations .howto select{width:97.5%;}div#dashboard-widgets{padding-right:0;padding-left:1px;}#dashboard_quick_press h4{text-align:right;}.tagchecklist span a{margin:4px -9px 0 0;}.widefat th input{margin:0 5px 0 0;}#TB_window{width:670px;position:absolute;top:50%;left:50%;margin-right:335px!important;}#dashboard_plugins{direction:ltr;}#dashboard_plugins h3.hndle{direction:rtl;}#dashboard_incoming_links ul li,#dashboard_secondary ul li,#dashboard_primary ul li,p.row-actions{width:100%;}#post-status-info{height:25px;}p.submit{height:22px;}.inner-sidebar{position:static;}form#widgets-filter{position:static;}.menu-item-depth-0{margin-left:0;}.menu-item-depth-1{margin-left:-30px;}.menu-item-depth-2{margin-left:-60px;}.menu-item-depth-3{margin-left:-90px;}.menu-item-depth-4{margin-left:-120px;}.menu-item-depth-5{margin-left:-150px;}.menu-item-depth-6{margin-left:-180px;}.menu-item-depth-7{margin-left:-210px;}.menu-item-depth-8{margin-left:-240px;}.menu-item-depth-9{margin-left:-270px;}.menu-item-depth-10{margin-left:-300px;}.menu-item-depth-11{margin-left:-330px;}#menu-management,.nav-menus-php .menu-edit,#nav-menu-header .submitbox{zoom:1;}.nav-menus-php label{max-width:90%!important;}p.button-controls,.nav-menus-php .tabs-panel{max-width:90%;}.nav-menus-php .major-publishing-actions .publishing-action{float:none;}#wpbody #nav-menu-header label{float:none;}#nav-menu-header{margin-top:-10px;}#nav-menu-footer{margin-bottom:-20px;}#update-nav-menu .publishing-action{max-width:200px;}#nav-menus-frame #update-nav-menu .delete-action{margin-top:-25px;float:left;}#menu-to-edit li{margin-top:-10px;margin-bottom:-10px;}.sortable-placeholder{margin-top:0!important;margin-left:0!important;margin-bottom:13px!important;padding:0!important;}.auto-add-pages{clear:both;float:none;}#nav-menus-frame .open-label span{float:none;display:inline-block;}#nav-menus-frame .delete-action{float:none;}

View File

@ -1,54 +1,91 @@
html {
direction: ltr;
}
body { body {
direction: rtl; direction: rtl;
} width: 99.5%;
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
background: url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -109px;
} }
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle { .rtl #adminmenuback {
background: url(../images/menu-bits-rtl.gif?ver=20100531) no-repeat scroll right -206px; left: auto;
right: 0;
background-image: none;
} }
* html #adminmenu {
margin-left:0; .rtl #adminmenuback,
margin-right: -80px; .rtl #adminmenuwrap {
border-width: 0 0 0 1px;
} }
* html div.folded #adminmenu {
margin-left: 0; #adminmenu .wp-submenu ul {
margin-right: -22px; width: 99%;
} }
#adminmenu .wp-submenu .wp-submenu .wp-submenu-wrap,
#adminmenu .wp-menu-open .wp-submenu .wp-submenu-wrap {
border: 1px solid #dfdfdf;
}
.folded #adminmenu .wp-submenu {
right: 30px;
top: -4px;
}
#adminmenu .wp-submenu .wp-submenu-head {
padding: 6px 10px 6px 4px;
}
#adminmenu .wp-menu-arrow {
display: none !important;
}
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head { #wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
padding: 3px 10px 4px 4px; padding: 3px 10px 4px 4px;
} }
div.quicktags-toolbar input {
min-width: 0;
}
.inline-edit-row fieldset label span.title { .inline-edit-row fieldset label span.title {
float: right; float: right;
} }
.inline-edit-row fieldset label span.input-text-wrap { .inline-edit-row fieldset label span.input-text-wrap {
margin-right: 0; margin-right: 0;
} }
p.search-box { p.search-box {
float: left; float: left;
} }
* html #poststuff h2 {
margin-right: 0;
}
#bh { #bh {
margin: 7px 10px 0 0; margin: 7px 10px 0 0;
float: left; float: left;
} }
.postbox div.inside,
.wp-editor-wrap .wp-editor-container .wp-editor-area,
#nav-menu-theme-locations .howto select {
width: 97.5%;
}
/* without this dashboard widgets appear in one column for some screen widths */ /* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets { div#dashboard-widgets {
padding-right: 0; padding-right: 0;
padding-left: 1px; padding-left: 1px;
} }
#dashboard_quick_press h4 {
text-align: right;
}
.tagchecklist span a { .tagchecklist span a {
margin: 4px -9px 0 0; margin: 4px -9px 0 0;
} }
.widefat th input { .widefat th input {
margin: 0 5px 0 0; margin: 0 5px 0 0;
} }
/* ---------- add by navid */ /* ---------- add by navid */
#TB_window { #TB_window {
width: 670px; width: 670px;
@ -57,43 +94,39 @@ div#dashboard-widgets {
left: 50%; left: 50%;
margin-right: 335px !important; margin-right: 335px !important;
} }
#dashboard_plugins { #dashboard_plugins {
direction: ltr; direction: ltr;
} }
#dashboard_plugins h3.hndle { #dashboard_plugins h3.hndle {
direction: rtl; direction: rtl;
} }
#dashboard_incoming_links ul li, #dashboard_incoming_links ul li,
#dashboard_secondary ul li, #dashboard_secondary ul li,
#dashboard_primary ul li, #dashboard_primary ul li,
p.row-actions { p.row-actions {
width: 100%; width: 100%;
} }
#favorite-inside {
position: absolute;
right:0;
}
#post-status-info { #post-status-info {
height: 25px; height: 25px;
} }
#screen-meta {
position: static;
}
p.submit { /* quick edit and reply in edit-comments.php */ p.submit { /* quick edit and reply in edit-comments.php */
height:22px; height:22px;
} }
.inner-sidebar { /* fix edit single comment */ .inner-sidebar { /* fix edit single comment */
position: static; position: static;
} }
form#widgets-filter { /* fix widget page */ form#widgets-filter { /* fix widget page */
position: static; position: static;
} }
* html .meta-box-sortables .postbox .handlediv { /* nav menus
background: transparent url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -111px;
}
/* nav menus */
.menu-max-depth-0 #menu-management { width: 460px; } .menu-max-depth-0 #menu-management { width: 460px; }
.menu-max-depth-1 #menu-management { width: 490px; } .menu-max-depth-1 #menu-management { width: 490px; }
.menu-max-depth-2 #menu-management { width: 520px; } .menu-max-depth-2 #menu-management { width: 520px; }
@ -106,7 +139,7 @@ form#widgets-filter { /* fix widget page */
.menu-max-depth-9 #menu-management { width: 730px; } .menu-max-depth-9 #menu-management { width: 730px; }
.menu-max-depth-10 #menu-management { width: 760px; } .menu-max-depth-10 #menu-management { width: 760px; }
.menu-max-depth-11 #menu-management { width: 790px; } .menu-max-depth-11 #menu-management { width: 790px; }
*/
.menu-item-depth-0 { margin-left: 0px; } .menu-item-depth-0 { margin-left: 0px; }
.menu-item-depth-1 { margin-left: -30px; } .menu-item-depth-1 { margin-left: -30px; }
.menu-item-depth-2 { margin-left: -60px; } .menu-item-depth-2 { margin-left: -60px; }
@ -120,30 +153,84 @@ form#widgets-filter { /* fix widget page */
.menu-item-depth-10 { margin-left: -300px; } .menu-item-depth-10 { margin-left: -300px; }
.menu-item-depth-11 { margin-left: -330px; } .menu-item-depth-11 { margin-left: -330px; }
/*
#menu-to-edit li dl { #menu-to-edit li dl {
padding: 0 !important; padding: 0 !important;
margin: 0 !important; margin: 0 !important;
} }
.ui-sortable-helper .menu-item-transport { .ui-sortable-helper .menu-item-transport {
margin-top: 13px; margin-top: 13px;
} }
.ui-sortable-helper .menu-item-transport .menu-item-transport {
.ui-sortable-helper .menu-item-transport .menu-item-transport {
margin-top: 0; margin-top: 0;
} }
*/
#menu-management,
.nav-menus-php .menu-edit,
#nav-menu-header .submitbox {
zoom: 1;
}
.nav-menus-php label {
max-width: 90% !important;
}
p.button-controls,
.nav-menus-php .tabs-panel {
max-width: 90%;
}
.nav-menus-php .major-publishing-actions .publishing-action {
float: none;
}
#wpbody #nav-menu-header label {
float: none;
}
#nav-menu-header {
margin-top: -10px;
}
#nav-menu-footer {
margin-bottom: -20px;
}
#update-nav-menu .publishing-action {
max-width: 200px;
}
#nav-menus-frame #update-nav-menu .delete-action {
margin-top: -25px;
float: left;
}
#menu-to-edit li {
margin-top: -10px;
margin-bottom: -10px;
}
.sortable-placeholder { .sortable-placeholder {
margin-top: 0 !important; margin-top: 0 !important;
margin-left: 0 !important; margin-left: 0 !important;
margin-bottom: 13px !important; margin-bottom: 13px !important;
padding: 0 !important; padding: 0 !important;
} }
.auto-add-pages { .auto-add-pages {
clear: both; clear: both;
float: none; float: none;
} }
#nav-menus-frame .open-label span { #nav-menus-frame .open-label span {
float: none; float: none;
display: inline-block; display: inline-block;
} }
#nav-menus-frame .delete-action { #nav-menus-frame .delete-action {
float: none; float: none;
} }

File diff suppressed because one or more lines are too long

View File

@ -104,6 +104,11 @@ ul#adminmenu {
padding-top: 7px; padding-top: 7px;
} }
table.fixed th,
table.fixed td {
border-top: 1px solid #ddd;
}
#wpbody-content input.button, #wpbody-content input.button,
#wpbody-content input.button-primary, #wpbody-content input.button-primary,
#wpbody-content input.button-secondary, #wpbody-content input.button-secondary,
@ -389,8 +394,6 @@ table.ie-fixed {
width: 300px; width: 300px;
} }
#nav-menu-header,
#nav-menus-frame, #nav-menus-frame,
#wpbody, #wpbody,
.menu li { .menu li {

File diff suppressed because one or more lines are too long

View File

@ -112,12 +112,10 @@ p.search-box {
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
#delete-action { #delete-action {
text-align: right;
float: right; float: right;
} }
#publishing-action { #publishing-action {
text-align: left;
float: left; float: left;
} }
@ -395,12 +393,12 @@ form.upgrade .hint {
float: right; float: right;
} }
.js.folded #adminmenu .wp-submenu { .folded #adminmenu .wp-submenu {
left: auto; left: auto;
right: 26px; right: 26px;
} }
.js.folded #adminmenu .wp-submenu.sub-open { .folded #adminmenu .wp-submenu.sub-open {
padding: 0 0 8px 8px; padding: 0 0 8px 8px;
} }
@ -408,20 +406,20 @@ form.upgrade .hint {
padding: 6px 10px 5px 4px; padding: 6px 10px 5px 4px;
} }
.js.folded #adminmenu .wp-submenu-wrap { .folded #adminmenu .wp-submenu-wrap {
border-width: 0 0 1px 1px; border-width: 0 0 1px 1px;
} }
.js.folded #adminmenu .wp-submenu ul { .folded #adminmenu .wp-submenu ul {
border-width: 0 1px 0 0; border-width: 0 1px 0 0;
} }
.js.folded #adminmenu .wp-submenu a { .folded #adminmenu .wp-submenu a {
padding-left: 0; padding-left: 0;
padding-right: 10px; padding-right: 10px;
} }
.js.folded #adminmenu a.wp-has-submenu { .folded #adminmenu a.wp-has-submenu {
margin-left: 0; margin-left: 0;
margin-right: 40px; margin-right: 40px;
} }
@ -452,7 +450,7 @@ form.upgrade .hint {
} }
#adminmenu li .wp-submenu-wrap, #adminmenu li .wp-submenu-wrap,
.js.folded #adminmenu .wp-submenu-wrap { .folded #adminmenu .wp-submenu-wrap {
-webkit-border-bottom-right-radius: 0; -webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-left-radius: 3px;
-webkit-border-top-right-radius: 0; -webkit-border-top-right-radius: 0;
@ -478,6 +476,10 @@ form.upgrade .hint {
right: 0; right: 0;
} }
.ie8 .wp-menu-arrow {
right: -20px;
}
#adminmenu .wp-not-current-submenu .wp-menu-arrow div { #adminmenu .wp-not-current-submenu .wp-menu-arrow div {
border-style: solid solid none none; border-style: solid solid none none;
border-width: 1px 1px 0 0; border-width: 1px 1px 0 0;
@ -1320,12 +1322,12 @@ table .column-rating {
margin-right: 165px; margin-right: 165px;
} }
.js.folded #wpcontent { .folded #wpcontent {
margin-left: 0; margin-left: 0;
margin-right: 52px; margin-right: 52px;
} }
.js.folded.wp-admin #footer { .folded.wp-admin #footer {
margin-left: 15px; margin-left: 15px;
margin-right: 52px; margin-right: 52px;
} }
@ -1479,86 +1481,117 @@ ol.ol-decimal {
margin-right: 0; margin-right: 0;
margin-left: -51%; margin-left: -51%;
} }
#dashboard-widgets-wrap .has-sidebar .has-sidebar-content { #dashboard-widgets-wrap .has-sidebar .has-sidebar-content {
margin-right: 0; margin-right: 0;
margin-left: 51%; margin-left: 51%;
} }
.view-all { .view-all {
right: auto; right: auto;
left: 0; left: 0;
} }
#dashboard_right_now p.sub, #dashboard-widgets h4, #dashboard_quick_press h4, a.rsswidget, #dashboard_plugins h4, #dashboard_plugins h5, #dashboard_recent_comments .comment-meta .approve {
#dashboard_right_now p.sub,
#dashboard-widgets h4,
a.rsswidget,
#dashboard_plugins h4,
#dashboard_plugins h5,
#dashboard_recent_comments .comment-meta .approve {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#dashboard_right_now p.sub { #dashboard_right_now p.sub {
left:auto; left:auto;
right:15px; right:15px;
} }
#dashboard_right_now td.b { #dashboard_right_now td.b {
padding-right: 0; padding-right: 0;
padding-left: 6px; padding-left: 6px;
text-align: left; text-align: left;
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#dashboard_right_now .t { #dashboard_right_now .t {
padding-right: 0; padding-right: 0;
padding-left: 12px; padding-left: 12px;
} }
#dashboard_right_now .table_content { #dashboard_right_now .table_content {
float:right; float:right;
} }
#dashboard_right_now .table_discussion { #dashboard_right_now .table_discussion {
float:left; float:left;
} }
#dashboard_right_now .versions a { #dashboard_right_now .versions a {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#dashboard_right_now a.button { #dashboard_right_now a.button {
float: left; float: left;
clear: left; clear: left;
} }
#dashboard_plugins .inside span { #dashboard_plugins .inside span {
padding-left: 0; padding-left: 0;
padding-right: 5px; padding-right: 5px;
} }
#dashboard-widgets h3 .postbox-title-action { #dashboard-widgets h3 .postbox-title-action {
right: auto; right: auto;
left: 30px; left: 30px;
} }
#the-comment-list .pingback { #the-comment-list .pingback {
padding-left: 0 !important; padding-left: 0 !important;
padding-right: 9px !important; padding-right: 9px !important;
} }
/* Recent Comments */ /* Recent Comments */
#the-comment-list .comment-item { #the-comment-list .comment-item {
padding: 1em 70px 1em 10px; padding: 1em 70px 1em 10px;
} }
#the-comment-list .comment-item .avatar { #the-comment-list .comment-item .avatar {
float: right; float: right;
margin-left: 0; margin-left: 0;
margin-right: -60px; margin-right: -60px;
} }
/* Feeds */ /* Feeds */
.rss-widget cite { .rss-widget cite {
text-align: left; text-align: left;
} }
.rss-widget span.rss-date { .rss-widget span.rss-date {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
margin-left: 0; margin-left: 0;
margin-right: 3px; margin-right: 3px;
} }
/* QuickPress */ /* QuickPress */
#dashboard_quick_press h4 { #dashboard_quick_press h4 {
float: right; float: right;
text-align: left; text-align: left;
} }
#dashboard_quick_press .wp-media-buttons {
margin: 0 5em 0.5em 0;
}
#dashboard_quick_press h4 label { #dashboard_quick_press h4 label {
margin-right: 0; margin-right: 0;
margin-left: 10px; margin-left: 10px;
} }
#dashboard_quick_press .input-text-wrap, #dashboard_quick_press .textarea-wrap {
#dashboard_quick_press .input-text-wrap,
#dashboard_quick_press .textarea-wrap {
margin: 0 5em 1em 0; margin: 0 5em 1em 0;
} }
#dashboard_quick_press #media-buttons { #dashboard_quick_press #media-buttons {
margin: 0 5em .5em 0; margin: 0 5em .5em 0;
padding: 0; padding: 0;
@ -1568,18 +1601,23 @@ ol.ol-decimal {
margin-left: 0; margin-left: 0;
margin-right: 4.6em; margin-right: 4.6em;
} }
#dashboard-widgets #dashboard_quick_press form p.submit input { #dashboard-widgets #dashboard_quick_press form p.submit input {
float: right; float: right;
} }
#dashboard-widgets #dashboard_quick_press form p.submit #save-post { #dashboard-widgets #dashboard_quick_press form p.submit #save-post {
margin: 0 10px 0 1em; margin: 0 10px 0 1em;
} }
#dashboard-widgets #dashboard_quick_press form p.submit #publish { #dashboard-widgets #dashboard_quick_press form p.submit #publish {
float: left; float: left;
} }
#dashboard-widgets #dashboard_quick_press form p.submit img.waiting { #dashboard-widgets #dashboard_quick_press form p.submit img.waiting {
margin: 4px 0 0 6px; margin: 4px 0 0 6px;
} }
/* Recent Drafts */ /* Recent Drafts */
#dashboard_recent_drafts h4 abbr { #dashboard_recent_drafts h4 abbr {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
@ -1587,34 +1625,40 @@ ol.ol-decimal {
margin-right: 3px; margin-right: 3px;
} }
/* login */ /* login */
body { body.login {
font-family: Tahoma, arial; font-family: Tahoma, arial;
} }
form {
.login form {
margin-right: 8px; margin-right: 8px;
margin-left: 0; margin-left: 0;
} }
form .forgetmenot {
.login form .forgetmenot {
float: right; float: right;
} }
#login form .submit input { #login form .submit input {
font-family: Tahoma, arial; font-family: Tahoma, arial;
} }
form .submit { float: left; } form .submit { float: left; }
#backtoblog a { #backtoblog a {
padding: 8px 15px 0 0; padding: 8px 15px 0 0;
} }
#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-left: 6px; margin-left: 6px;
margin-right: 0; margin-right: 0;
direction:ltr; direction:ltr;
} }
h1 a { h1 a {
text-decoration: none; text-decoration: none;
} }
@ -1639,37 +1683,35 @@ h1 a {
#menu-management-liquid { #menu-management-liquid {
float: right; float: right;
} }
#menu-management { #menu-management {
margin-left: 20px; margin-left: 20px;
margin-right: 0; margin-right: 0;
} }
.post-body-plain {
#post-body {
padding:0 10px 10px 0;
}
.post-body-plain {
padding: 10px 0 0 10px; padding: 10px 0 0 10px;
} }
/* Menu Tabs */ /* Menu Tabs */
#menu-management .nav-tabs-arrow-left { #menu-management .nav-tabs-arrow-left {
right: 0; right: 0;
left:auto; left:auto;
} }
#menu-management .nav-tabs-arrow-right {
#menu-management .nav-tabs-arrow-right {
left: 0; left: 0;
right:auto; right:auto;
text-align: left; text-align: left;
font-family: Tahoma, Arial, sans-serif; font-family: Tahoma, Arial, sans-serif;
} }
#menu-management .nav-tabs { #menu-management .nav-tabs {
padding-right: 20px; padding-right: 20px;
padding-left: 10px; padding-left: 10px;
} }
.js #menu-management .nav-tabs { .js #menu-management .nav-tabs {
float: right; float: right;
margin-right: 0px; margin-right: 0px;
@ -1689,10 +1731,10 @@ h1 a {
padding-right:0; padding-right:0;
} }
.js .input-with-default-title { .js .input-with-default-title {
font-style: normal; font-style: normal;
font-weight:bold; font-weight: bold;
} }
/* Add Menu Item Boxes */ /* Add Menu Item Boxes */
.postbox .howto input { .postbox .howto input {
@ -1705,9 +1747,8 @@ h1 a {
/* Button Primary Actions */ /* Button Primary Actions */
.meta-sep, .meta-sep,
.submitdelete,
.submitcancel { .submitcancel {
float:right; float: right;
} }
#cancel-save { #cancel-save {
@ -1774,9 +1815,20 @@ h1 a {
.menu-item-depth-11 .menu-item-transport { margin-right: -330px; margin-left:0;} .menu-item-depth-11 .menu-item-transport { margin-right: -330px; margin-left:0;}
/* Menu item controls */ /* Menu item controls */
.item-type { padding-left: 10px; padding-right:0;} .item-type {
.item-controls { left: 20px; right: auto;} padding-left: 10px;
.item-controls .item-order { padding-left: 10px; padding-right: 0;} padding-right:0;
}
.item-controls {
left: 20px;
right: auto;
}
.item-controls .item-order {
padding-left: 10px;
padding-right: 0;
}
.item-edit { .item-edit {
left: -20px; left: -20px;
@ -1814,97 +1866,92 @@ h1 a {
text-align: left; text-align: left;
float: left; float: left;
} }
.major-publishing-actions .delete-action { .major-publishing-actions .delete-action {
text-align: right; text-align: right;
float: right; float: right;
padding-left: 15px; padding-left: 15px;
padding-right:0; padding-right:0;
} }
.menu-name-label { .menu-name-label {
margin-left: 15px; margin-left: 15px;
margin-right:0; margin-right:0;
} }
.auto-add-pages { .auto-add-pages {
float: right; float: right;
} }
/* plugin-install */ /* plugin-install */
div.star { div.star {
left: auto; left: auto;
right: 0; right: 0;
letter-spacing: 0; letter-spacing: 0;
} }
.star img, div.star a, div.star a:hover, div.star a:visited { .star img, div.star a, div.star a:hover, div.star a:visited {
right: auto; right: auto;
left: 0; left: 0;
} }
#plugin-information ul#sidemenu { #plugin-information ul#sidemenu {
left: auto; left: auto;
right: 0; right: 0;
} }
#plugin-information h2 { #plugin-information h2 {
margin-right: 0; margin-right: 0;
margin-left: 200px; margin-left: 200px;
} }
#plugin-information .fyi { #plugin-information .fyi {
margin-left: 5px; margin-left: 5px;
margin-right: 20px; margin-right: 20px;
} }
#plugin-information .fyi h2 { #plugin-information .fyi h2 {
margin-left: 0; margin-left: 0;
} }
#plugin-information .fyi ul { #plugin-information .fyi ul {
padding: 10px 7px 10px 5px; padding: 10px 7px 10px 5px;
} }
#plugin-information #section-screenshots li p { #plugin-information #section-screenshots li p {
padding-left: 0; padding-left: 0;
padding-right: 20px; padding-right: 20px;
} }
#plugin-information .updated, #plugin-information .updated,
#plugin-information pre { #plugin-information pre {
margin-right: 0; margin-right: 0;
margin-left: 215px; margin-left: 215px;
} }
#plugin-information .updated, #plugin-information .error {
#plugin-information .updated,
#plugin-information .error {
clear: none; clear: none;
direction: rtl; direction: rtl;
} }
#section-description { #section-description {
direction: ltr; direction: ltr;
} }
/* press-this */ /* press-this */
body { body.press-this {
font-family: Tahoma, Arial; font-family: Tahoma, Arial;
} }
#poststuff #edButtonPreview,
#poststuff #edButtonHTML {
float: left;
}
#poststuff #edButtonHTML {
margin-left: 15px;
margin-right: 5px;
}
#header-logo, #header-logo,
#wphead h1 { #wphead h1 {
float: right; float: right;
} }
/* Editor/Main Column */ /* Editor/Main Column */
div#poststuff {
padding-left: 0;
padding-right: 10px;
}
.posting { .posting {
margin-left: 212px; margin-left: 212px;
margin-right: 0; margin-right: 0;
@ -1988,11 +2035,6 @@ h3.tb {
float: right; float: right;
} }
#content {
margin-left: 0;
margin-right: 1%;
}
.submit input, .submit input,
.button, .button,
.button-primary, .button-primary,
@ -2021,32 +2063,21 @@ h3.tb {
padding: 10px 60px 0 0; padding: 10px 60px 0 0;
} }
/* theme-editor */ /* theme-editor */
#templateside { #templateside {
float: left; float: left;
} }
/* theme-install */ /* theme-install */
div.star { div.star {
left:auto; left:auto;
right: 0; right: 0;
} }
.star img, div.star a, div.star a:hover, div.star a:visited { .star img,
div.star a,
div.star a:hover,
div.star a:visited {
right: auto; right: auto;
left: 0; left: 0;
} }
@ -2083,11 +2114,6 @@ div.star {
padding-left: 25px; padding-left: 25px;
} }
/* widgets */ /* widgets */
/* 2 column liquid layout */ /* 2 column liquid layout */
div.widget-liquid-left { div.widget-liquid-left {
@ -2131,7 +2157,6 @@ div.sidebar-name h3 {
padding: 0 0 0 8px; padding: 0 0 0 8px;
} }
.sidebar-name-arrow { .sidebar-name-arrow {
float: left; float: left;
} }

File diff suppressed because one or more lines are too long

View File

@ -140,15 +140,9 @@ TABLE OF CONTENTS:
} }
#post-body-content { #post-body-content {
max-width: 850px;
min-width: 465px; min-width: 465px;
} }
.columns-1 #post-body-content,
.columns-2 #post-body-content {
max-width: none;
}
#post-body-content #side-sortables.empty-container { #post-body-content #side-sortables.empty-container {
border: 0 none; border: 0 none;
height: 0; height: 0;
@ -762,7 +756,6 @@ p.install-help {
.wp-admin select { .wp-admin select {
padding: 2px; padding: 2px;
height: 2em; height: 2em;
max-width: 100%;
} }
.wp-admin select[multiple] { .wp-admin select[multiple] {
@ -1818,6 +1811,7 @@ body.no-js #adminmenu .wp-menu-toggle,
#adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow { #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
display: block; display: block;
} }
.folded #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow { .folded #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
display: none; display: none;
} }
@ -2180,6 +2174,11 @@ body.admin-bar #adminmenu {
line-height: 1.4em; line-height: 1.4em;
} }
.postbox .inside {
margin: 10px 0;
position: relative;
}
.postbox.closed h3 { .postbox.closed h3 {
border: none; border: none;
-moz-box-shadow: none; -moz-box-shadow: none;
@ -2909,10 +2908,6 @@ input#link_url {
min-height: 50px; min-height: 50px;
} }
#post-body #advanced-sortables {
min-height: 20px;
}
.postbox { .postbox {
position: relative; position: relative;
min-width: 255px; min-width: 255px;
@ -5109,11 +5104,6 @@ form .textarea-wrap {
min-width: 0; min-width: 0;
} }
div.postbox div.inside {
margin: 10px 0;
position: relative;
}
#dashboard-widgets a { #dashboard-widgets a {
text-decoration: none; text-decoration: none;
} }

View File

@ -311,7 +311,7 @@ function media_handle_sideload($file_array, $post_id, $desc = null, $post_data =
function wp_iframe($content_func /* ... */) { function wp_iframe($content_func /* ... */) {
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>
<head> <head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php _e('Uploads'); ?> &#8212; <?php _e('WordPress'); ?></title> <title><?php bloginfo('name') ?> &rsaquo; <?php _e('Uploads'); ?> &#8212; <?php _e('WordPress'); ?></title>

View File

@ -1353,7 +1353,7 @@ function iframe_header( $title = '', $limit_styles = false ) {
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
?><!DOCTYPE html> ?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>
<head> <head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php echo $title ?> &#8212; <?php _e('WordPress'); ?></title> <title><?php bloginfo('name') ?> &rsaquo; <?php echo $title ?> &#8212; <?php _e('WordPress'); ?></title>

View File

@ -282,7 +282,7 @@ die;
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>
<head> <head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php _e('Press This') ?></title> <title><?php _e('Press This') ?></title>

File diff suppressed because one or more lines are too long

View File

@ -984,7 +984,7 @@
.wp-editor-tools { .wp-editor-tools {
height: 30px; height: 30px;
padding-right: 15px; padding: 0 15px;
} }
.wp-editor-container { .wp-editor-container {
@ -1030,6 +1030,10 @@
color: #999; color: #999;
} }
html[dir="rtl"] .wp-switch-editor {
float: left;
}
.wp-switch-editor:hover { .wp-switch-editor:hover {
text-decoration: none !important; text-decoration: none !important;
} }
@ -1176,56 +1180,68 @@
border-bottom: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf;
margin: 0 6px 14px; margin: 0 6px 14px;
} }
#wp-link p.howto { #wp-link p.howto {
margin: 3px; margin: 3px;
} }
#wp-link #internal-toggle { #wp-link #internal-toggle {
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
padding-left: 18px; padding-left: 18px;
} }
#wp-link .toggle-arrow { #wp-link .toggle-arrow {
background: transparent url( '../images/toggle-arrow.png' ) top left no-repeat; background: transparent url( '../images/toggle-arrow.png' ) top left no-repeat;
height: 23px; height: 23px;
line-height: 23px; line-height: 23px;
} }
#wp-link .toggle-arrow-active { #wp-link .toggle-arrow-active {
background-position: center left; background-position: center left;
} }
#wp-link label input[type="text"] { #wp-link label input[type="text"] {
width: 360px; width: 360px;
margin-top: 5px; margin-top: 5px;
} }
#wp-link label span { #wp-link label span {
display: inline-block; display: inline-block;
width: 80px; width: 80px;
text-align: right; text-align: right;
padding-right: 5px; padding-right: 5px;
} }
#wp-link .link-search-wrapper { #wp-link .link-search-wrapper {
margin: 5px 6px 9px; margin: 5px 6px 9px;
display: block; display: block;
overflow: hidden; overflow: hidden;
} }
#wp-link .link-search-wrapper span { #wp-link .link-search-wrapper span {
float: left; float: left;
margin-top: 6px; margin-top: 6px;
} }
#wp-link .link-search-wrapper input[type="text"] { #wp-link .link-search-wrapper input[type="text"] {
float: left; float: left;
width: 220px; width: 220px;
} }
#wp-link .link-search-wrapper img.waiting { #wp-link .link-search-wrapper img.waiting {
margin: 8px 1px 0 4px; margin: 8px 1px 0 4px;
float: left; float: left;
display: none; display: none;
} }
#wp-link .link-target { #wp-link .link-target {
width: auto; width: auto;
padding: 3px 0 0; padding: 3px 0 0;
margin: 0 0 0 87px; margin: 0 0 0 87px;
font-size: 11px; font-size: 11px;
} }
#wp-link .query-results { #wp-link .query-results {
border: 1px #dfdfdf solid; border: 1px #dfdfdf solid;
margin: 0 5px 5px; margin: 0 5px 5px;
@ -1234,6 +1250,7 @@
overflow: auto; overflow: auto;
position: relative; position: relative;
} }
#wp-link li, #wp-link li,
#wp-link .query-notice { #wp-link .query-notice {
clear: both; clear: both;
@ -1244,29 +1261,36 @@
cursor: pointer; cursor: pointer;
position: relative; position: relative;
} }
#wp-link li:hover { #wp-link li:hover {
background: #eaf2fa; background: #eaf2fa;
color: #151515; color: #151515;
} }
#wp-link li.unselectable { #wp-link li.unselectable {
border-bottom: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf;
} }
#wp-link li.unselectable:hover { #wp-link li.unselectable:hover {
background: #fff; background: #fff;
cursor: auto; cursor: auto;
color: #333; color: #333;
} }
#wp-link li.selected { #wp-link li.selected {
background: #ddd; background: #ddd;
color: #333; color: #333;
} }
#wp-link li.selected .item-title { #wp-link li.selected .item-title {
font-weight: bold; font-weight: bold;
} }
#wp-link .item-title { #wp-link .item-title {
display: inline-block; display: inline-block;
width: 80%; width: 80%;
} }
#wp-link .item-info { #wp-link .item-info {
text-transform: uppercase; text-transform: uppercase;
color: #666; color: #666;
@ -1276,31 +1300,38 @@
top: 4px; top: 4px;
bottom: 0; bottom: 0;
} }
#wp-link #search-results { #wp-link #search-results {
display: none; display: none;
} }
#wp-link #search-panel { #wp-link #search-panel {
float: left; float: left;
width: 100%; width: 100%;
} }
#wp-link .river-waiting { #wp-link .river-waiting {
display: none; display: none;
padding: 10px 0; padding: 10px 0;
} }
#wp-link .river-waiting img.waiting { #wp-link .river-waiting img.waiting {
margin: 0 auto; margin: 0 auto;
display: block; display: block;
} }
#wp-link .submitbox { #wp-link .submitbox {
padding: 5px 10px; padding: 5px 10px;
font-size: 11px; font-size: 11px;
overflow: auto; overflow: auto;
height: 29px; height: 29px;
} }
#wp-link-cancel { #wp-link-cancel {
line-height: 25px; line-height: 25px;
float: left; float: left;
} }
#wp-link-update { #wp-link-update {
line-height: 23px; line-height: 23px;
float: right; float: right;

View File

@ -431,13 +431,13 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr // Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' ); $no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111012a' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111014' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111012' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111014' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20111011'; $colors_version = '20111014';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array('wp-admin'), $colors_version ); $styles->add( 'colors', true, array('wp-admin'), $colors_version );
@ -454,7 +454,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' ); $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111010' ); $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111010' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' ); $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
$styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111010' ); $styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111014' );
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111013a' ); $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111013a' );
foreach ( $rtl_styles as $rtl_style ) { foreach ( $rtl_styles as $rtl_style ) {

View File

@ -74,6 +74,8 @@ if ( $is_safari && stripos($_SERVER['HTTP_USER_AGENT'], 'mobile') !== false )
$is_IE = ( $is_macIE || $is_winIE ); $is_IE = ( $is_macIE || $is_winIE );
$wp_htmltag_class = strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8.') ? ' class="ie8"' : ''; // can't start with this
// Server detection // Server detection
/** /**