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:
parent
fca9f2e2e3
commit
0f2431e25a
|
@ -35,7 +35,7 @@ wp_user_settings();
|
|||
|
||||
?>
|
||||
<!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>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php echo $admin_title; ?></title>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -944,8 +944,7 @@ table.widefat .spam a:hover,
|
|||
border-color: #dfdfdf;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover > a,
|
||||
#adminmenu li.menu-top:hover > .wp-menu-arrow {
|
||||
#adminmenu li.menu-top:hover > a {
|
||||
background-color: #e4e4e4;
|
||||
text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 );
|
||||
}
|
||||
|
|
|
@ -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;}
|
|
@ -1,54 +1,91 @@
|
|||
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;
|
||||
width: 99.5%;
|
||||
}
|
||||
|
||||
* 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;
|
||||
.rtl #adminmenuback {
|
||||
left: auto;
|
||||
right: 0;
|
||||
background-image: none;
|
||||
}
|
||||
* html #adminmenu {
|
||||
margin-left:0;
|
||||
margin-right: -80px;
|
||||
|
||||
.rtl #adminmenuback,
|
||||
.rtl #adminmenuwrap {
|
||||
border-width: 0 0 0 1px;
|
||||
}
|
||||
* html div.folded #adminmenu {
|
||||
margin-left: 0;
|
||||
margin-right: -22px;
|
||||
|
||||
#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;
|
||||
}
|
||||
* html #poststuff h2 {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#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%;
|
||||
}
|
||||
|
||||
/* without this dashboard widgets appear in one column for some screen widths */
|
||||
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;
|
||||
}
|
||||
|
||||
/* ---------- add by navid */
|
||||
#TB_window {
|
||||
width: 670px;
|
||||
|
@ -57,43 +94,39 @@ div#dashboard-widgets {
|
|||
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 { /* quick edit and reply in edit-comments.php */
|
||||
height:22px;
|
||||
}
|
||||
|
||||
.inner-sidebar { /* fix edit single comment */
|
||||
position: static;
|
||||
}
|
||||
|
||||
form#widgets-filter { /* fix widget page */
|
||||
position: static;
|
||||
}
|
||||
|
||||
* html .meta-box-sortables .postbox .handlediv {
|
||||
background: transparent url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -111px;
|
||||
}
|
||||
|
||||
/* nav menus */
|
||||
/* nav menus
|
||||
.menu-max-depth-0 #menu-management { width: 460px; }
|
||||
.menu-max-depth-1 #menu-management { width: 490px; }
|
||||
.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-10 #menu-management { width: 760px; }
|
||||
.menu-max-depth-11 #menu-management { width: 790px; }
|
||||
|
||||
*/
|
||||
.menu-item-depth-0 { margin-left: 0px; }
|
||||
.menu-item-depth-1 { margin-left: -30px; }
|
||||
.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-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;
|
||||
}
|
||||
|
||||
.ui-sortable-helper .menu-item-transport .menu-item-transport {
|
||||
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 {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -104,6 +104,11 @@ ul#adminmenu {
|
|||
padding-top: 7px;
|
||||
}
|
||||
|
||||
table.fixed th,
|
||||
table.fixed td {
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#wpbody-content input.button,
|
||||
#wpbody-content input.button-primary,
|
||||
#wpbody-content input.button-secondary,
|
||||
|
@ -389,8 +394,6 @@ table.ie-fixed {
|
|||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
#nav-menu-header,
|
||||
#nav-menus-frame,
|
||||
#wpbody,
|
||||
.menu li {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -112,12 +112,10 @@ p.search-box {
|
|||
------------------------------------------------------------------------------*/
|
||||
|
||||
#delete-action {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#publishing-action {
|
||||
text-align: left;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -395,12 +393,12 @@ form.upgrade .hint {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu .wp-submenu {
|
||||
.folded #adminmenu .wp-submenu {
|
||||
left: auto;
|
||||
right: 26px;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu .wp-submenu.sub-open {
|
||||
.folded #adminmenu .wp-submenu.sub-open {
|
||||
padding: 0 0 8px 8px;
|
||||
}
|
||||
|
||||
|
@ -408,20 +406,20 @@ form.upgrade .hint {
|
|||
padding: 6px 10px 5px 4px;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu .wp-submenu-wrap {
|
||||
.folded #adminmenu .wp-submenu-wrap {
|
||||
border-width: 0 0 1px 1px;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu .wp-submenu ul {
|
||||
.folded #adminmenu .wp-submenu ul {
|
||||
border-width: 0 1px 0 0;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu .wp-submenu a {
|
||||
.folded #adminmenu .wp-submenu a {
|
||||
padding-left: 0;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.js.folded #adminmenu a.wp-has-submenu {
|
||||
.folded #adminmenu a.wp-has-submenu {
|
||||
margin-left: 0;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
@ -452,7 +450,7 @@ form.upgrade .hint {
|
|||
}
|
||||
|
||||
#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-left-radius: 3px;
|
||||
-webkit-border-top-right-radius: 0;
|
||||
|
@ -478,6 +476,10 @@ form.upgrade .hint {
|
|||
right: 0;
|
||||
}
|
||||
|
||||
.ie8 .wp-menu-arrow {
|
||||
right: -20px;
|
||||
}
|
||||
|
||||
#adminmenu .wp-not-current-submenu .wp-menu-arrow div {
|
||||
border-style: solid solid none none;
|
||||
border-width: 1px 1px 0 0;
|
||||
|
@ -1320,12 +1322,12 @@ table .column-rating {
|
|||
margin-right: 165px;
|
||||
}
|
||||
|
||||
.js.folded #wpcontent {
|
||||
.folded #wpcontent {
|
||||
margin-left: 0;
|
||||
margin-right: 52px;
|
||||
}
|
||||
|
||||
.js.folded.wp-admin #footer {
|
||||
.folded.wp-admin #footer {
|
||||
margin-left: 15px;
|
||||
margin-right: 52px;
|
||||
}
|
||||
|
@ -1479,86 +1481,117 @@ ol.ol-decimal {
|
|||
margin-right: 0;
|
||||
margin-left: -51%;
|
||||
}
|
||||
|
||||
#dashboard-widgets-wrap .has-sidebar .has-sidebar-content {
|
||||
margin-right: 0;
|
||||
margin-left: 51%;
|
||||
}
|
||||
|
||||
.view-all {
|
||||
right: auto;
|
||||
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;
|
||||
}
|
||||
|
||||
#dashboard_right_now p.sub {
|
||||
left:auto;
|
||||
right:15px;
|
||||
}
|
||||
|
||||
#dashboard_right_now td.b {
|
||||
padding-right: 0;
|
||||
padding-left: 6px;
|
||||
text-align: left;
|
||||
font-family: Tahoma, Arial;
|
||||
}
|
||||
|
||||
#dashboard_right_now .t {
|
||||
padding-right: 0;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
#dashboard_right_now .table_content {
|
||||
float:right;
|
||||
}
|
||||
|
||||
#dashboard_right_now .table_discussion {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#dashboard_right_now .versions a {
|
||||
font-family: Tahoma, Arial;
|
||||
}
|
||||
|
||||
#dashboard_right_now a.button {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
#dashboard_plugins .inside span {
|
||||
padding-left: 0;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#dashboard-widgets h3 .postbox-title-action {
|
||||
right: auto;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
#the-comment-list .pingback {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 9px !important;
|
||||
}
|
||||
|
||||
/* Recent Comments */
|
||||
#the-comment-list .comment-item {
|
||||
padding: 1em 70px 1em 10px;
|
||||
}
|
||||
|
||||
#the-comment-list .comment-item .avatar {
|
||||
float: right;
|
||||
margin-left: 0;
|
||||
margin-right: -60px;
|
||||
}
|
||||
|
||||
/* Feeds */
|
||||
.rss-widget cite {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.rss-widget span.rss-date {
|
||||
font-family: Tahoma, Arial;
|
||||
margin-left: 0;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* QuickPress */
|
||||
#dashboard_quick_press h4 {
|
||||
float: right;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .wp-media-buttons {
|
||||
margin: 0 5em 0.5em 0;
|
||||
}
|
||||
|
||||
#dashboard_quick_press h4 label {
|
||||
margin-right: 0;
|
||||
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;
|
||||
}
|
||||
|
||||
#dashboard_quick_press #media-buttons {
|
||||
margin: 0 5em .5em 0;
|
||||
padding: 0;
|
||||
|
@ -1568,18 +1601,23 @@ ol.ol-decimal {
|
|||
margin-left: 0;
|
||||
margin-right: 4.6em;
|
||||
}
|
||||
|
||||
#dashboard-widgets #dashboard_quick_press form p.submit input {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#dashboard-widgets #dashboard_quick_press form p.submit #save-post {
|
||||
margin: 0 10px 0 1em;
|
||||
}
|
||||
|
||||
#dashboard-widgets #dashboard_quick_press form p.submit #publish {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#dashboard-widgets #dashboard_quick_press form p.submit img.waiting {
|
||||
margin: 4px 0 0 6px;
|
||||
}
|
||||
|
||||
/* Recent Drafts */
|
||||
#dashboard_recent_drafts h4 abbr {
|
||||
font-family: Tahoma, Arial;
|
||||
|
@ -1587,34 +1625,40 @@ ol.ol-decimal {
|
|||
margin-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
/* login */
|
||||
body {
|
||||
body.login {
|
||||
font-family: Tahoma, arial;
|
||||
}
|
||||
form {
|
||||
|
||||
.login form {
|
||||
margin-right: 8px;
|
||||
margin-left: 0;
|
||||
}
|
||||
form .forgetmenot {
|
||||
|
||||
.login form .forgetmenot {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#login form .submit input {
|
||||
font-family: Tahoma, arial;
|
||||
}
|
||||
|
||||
form .submit { float: left; }
|
||||
#backtoblog a {
|
||||
padding: 8px 15px 0 0;
|
||||
}
|
||||
|
||||
#login_error, .message {
|
||||
margin: 0 8px 16px 0;
|
||||
}
|
||||
|
||||
#nav { margin: 0 8px 0 0; }
|
||||
#user_pass, #user_login, #user_email {
|
||||
margin-left: 6px;
|
||||
margin-right: 0;
|
||||
direction:ltr;
|
||||
}
|
||||
|
||||
h1 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@ -1639,37 +1683,35 @@ h1 a {
|
|||
#menu-management-liquid {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#menu-management {
|
||||
margin-left: 20px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
|
||||
#post-body {
|
||||
padding:0 10px 10px 0;
|
||||
}
|
||||
|
||||
.post-body-plain {
|
||||
padding: 10px 0 0 10px;
|
||||
}
|
||||
.post-body-plain {
|
||||
padding: 10px 0 0 10px;
|
||||
}
|
||||
|
||||
/* Menu Tabs */
|
||||
|
||||
#menu-management .nav-tabs-arrow-left {
|
||||
right: 0;
|
||||
left:auto;
|
||||
}
|
||||
#menu-management .nav-tabs-arrow-right {
|
||||
left: 0;
|
||||
right:auto;
|
||||
text-align: left;
|
||||
font-family: Tahoma, Arial, sans-serif;
|
||||
}
|
||||
#menu-management .nav-tabs-arrow-left {
|
||||
right: 0;
|
||||
left:auto;
|
||||
}
|
||||
|
||||
#menu-management .nav-tabs-arrow-right {
|
||||
left: 0;
|
||||
right:auto;
|
||||
text-align: left;
|
||||
font-family: Tahoma, Arial, sans-serif;
|
||||
}
|
||||
|
||||
#menu-management .nav-tabs {
|
||||
padding-right: 20px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.js #menu-management .nav-tabs {
|
||||
float: right;
|
||||
margin-right: 0px;
|
||||
|
@ -1689,10 +1731,10 @@ h1 a {
|
|||
padding-right:0;
|
||||
}
|
||||
|
||||
.js .input-with-default-title {
|
||||
font-style: normal;
|
||||
font-weight:bold;
|
||||
}
|
||||
.js .input-with-default-title {
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Add Menu Item Boxes */
|
||||
.postbox .howto input {
|
||||
|
@ -1705,9 +1747,8 @@ h1 a {
|
|||
/* Button Primary Actions */
|
||||
|
||||
.meta-sep,
|
||||
.submitdelete,
|
||||
.submitcancel {
|
||||
float:right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#cancel-save {
|
||||
|
@ -1774,9 +1815,20 @@ h1 a {
|
|||
.menu-item-depth-11 .menu-item-transport { margin-right: -330px; margin-left:0;}
|
||||
|
||||
/* Menu item controls */
|
||||
.item-type { padding-left: 10px; padding-right:0;}
|
||||
.item-controls { left: 20px; right: auto;}
|
||||
.item-controls .item-order { padding-left: 10px; padding-right: 0;}
|
||||
.item-type {
|
||||
padding-left: 10px;
|
||||
padding-right:0;
|
||||
}
|
||||
|
||||
.item-controls {
|
||||
left: 20px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.item-controls .item-order {
|
||||
padding-left: 10px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.item-edit {
|
||||
left: -20px;
|
||||
|
@ -1814,97 +1866,92 @@ h1 a {
|
|||
text-align: left;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.major-publishing-actions .delete-action {
|
||||
text-align: right;
|
||||
float: right;
|
||||
padding-left: 15px;
|
||||
padding-right:0;
|
||||
}
|
||||
|
||||
.menu-name-label {
|
||||
margin-left: 15px;
|
||||
margin-right:0;
|
||||
}
|
||||
|
||||
.auto-add-pages {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* plugin-install */
|
||||
div.star {
|
||||
left: auto;
|
||||
right: 0;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.star img, div.star a, div.star a:hover, div.star a:visited {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#plugin-information ul#sidemenu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#plugin-information h2 {
|
||||
margin-right: 0;
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
#plugin-information .fyi {
|
||||
margin-left: 5px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#plugin-information .fyi h2 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#plugin-information .fyi ul {
|
||||
padding: 10px 7px 10px 5px;
|
||||
}
|
||||
|
||||
#plugin-information #section-screenshots li p {
|
||||
padding-left: 0;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
#plugin-information .updated,
|
||||
#plugin-information pre {
|
||||
margin-right: 0;
|
||||
margin-left: 215px;
|
||||
}
|
||||
#plugin-information .updated, #plugin-information .error {
|
||||
|
||||
#plugin-information .updated,
|
||||
#plugin-information .error {
|
||||
clear: none;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
#section-description {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* press-this */
|
||||
body {
|
||||
body.press-this {
|
||||
font-family: Tahoma, Arial;
|
||||
}
|
||||
|
||||
#poststuff #edButtonPreview,
|
||||
#poststuff #edButtonHTML {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#poststuff #edButtonHTML {
|
||||
margin-left: 15px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#header-logo,
|
||||
#wphead h1 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Editor/Main Column */
|
||||
div#poststuff {
|
||||
padding-left: 0;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.posting {
|
||||
margin-left: 212px;
|
||||
margin-right: 0;
|
||||
|
@ -1988,11 +2035,6 @@ h3.tb {
|
|||
float: right;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin-left: 0;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.submit input,
|
||||
.button,
|
||||
.button-primary,
|
||||
|
@ -2021,32 +2063,21 @@ h3.tb {
|
|||
padding: 10px 60px 0 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* theme-editor */
|
||||
#templateside {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* theme-install */
|
||||
div.star {
|
||||
left:auto;
|
||||
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;
|
||||
left: 0;
|
||||
}
|
||||
|
@ -2083,11 +2114,6 @@ div.star {
|
|||
padding-left: 25px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* widgets */
|
||||
/* 2 column liquid layout */
|
||||
div.widget-liquid-left {
|
||||
|
@ -2131,7 +2157,6 @@ div.sidebar-name h3 {
|
|||
padding: 0 0 0 8px;
|
||||
}
|
||||
|
||||
|
||||
.sidebar-name-arrow {
|
||||
float: left;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -140,15 +140,9 @@ TABLE OF CONTENTS:
|
|||
}
|
||||
|
||||
#post-body-content {
|
||||
max-width: 850px;
|
||||
min-width: 465px;
|
||||
}
|
||||
|
||||
.columns-1 #post-body-content,
|
||||
.columns-2 #post-body-content {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
#post-body-content #side-sortables.empty-container {
|
||||
border: 0 none;
|
||||
height: 0;
|
||||
|
@ -762,7 +756,6 @@ p.install-help {
|
|||
.wp-admin select {
|
||||
padding: 2px;
|
||||
height: 2em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.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 {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.folded #adminmenu li.wp-not-current-submenu:hover .wp-menu-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
@ -2180,6 +2174,11 @@ body.admin-bar #adminmenu {
|
|||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.postbox .inside {
|
||||
margin: 10px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.postbox.closed h3 {
|
||||
border: none;
|
||||
-moz-box-shadow: none;
|
||||
|
@ -2909,10 +2908,6 @@ input#link_url {
|
|||
min-height: 50px;
|
||||
}
|
||||
|
||||
#post-body #advanced-sortables {
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
.postbox {
|
||||
position: relative;
|
||||
min-width: 255px;
|
||||
|
@ -5109,11 +5104,6 @@ form .textarea-wrap {
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
div.postbox div.inside {
|
||||
margin: 10px 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dashboard-widgets a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
@ -311,7 +311,7 @@ function media_handle_sideload($file_array, $post_id, $desc = null, $post_data =
|
|||
function wp_iframe($content_func /* ... */) {
|
||||
?>
|
||||
<!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>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — <?php _e('WordPress'); ?></title>
|
||||
|
|
|
@ -1353,7 +1353,7 @@ function iframe_header( $title = '', $limit_styles = false ) {
|
|||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
|
||||
?><!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>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?></title>
|
||||
|
|
|
@ -282,7 +282,7 @@ die;
|
|||
|
||||
?>
|
||||
<!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>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php _e('Press This') ?></title>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -984,7 +984,7 @@
|
|||
|
||||
.wp-editor-tools {
|
||||
height: 30px;
|
||||
padding-right: 15px;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.wp-editor-container {
|
||||
|
@ -1030,6 +1030,10 @@
|
|||
color: #999;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .wp-switch-editor {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.wp-switch-editor:hover {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
@ -1176,56 +1180,68 @@
|
|||
border-bottom: 1px solid #dfdfdf;
|
||||
margin: 0 6px 14px;
|
||||
}
|
||||
|
||||
#wp-link p.howto {
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
#wp-link #internal-toggle {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
#wp-link .toggle-arrow {
|
||||
background: transparent url( '../images/toggle-arrow.png' ) top left no-repeat;
|
||||
height: 23px;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
#wp-link .toggle-arrow-active {
|
||||
background-position: center left;
|
||||
}
|
||||
|
||||
#wp-link label input[type="text"] {
|
||||
width: 360px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#wp-link label span {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#wp-link .link-search-wrapper {
|
||||
margin: 5px 6px 9px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wp-link .link-search-wrapper span {
|
||||
float: left;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
#wp-link .link-search-wrapper input[type="text"] {
|
||||
float: left;
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#wp-link .link-search-wrapper img.waiting {
|
||||
margin: 8px 1px 0 4px;
|
||||
float: left;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-link .link-target {
|
||||
width: auto;
|
||||
padding: 3px 0 0;
|
||||
margin: 0 0 0 87px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#wp-link .query-results {
|
||||
border: 1px #dfdfdf solid;
|
||||
margin: 0 5px 5px;
|
||||
|
@ -1234,6 +1250,7 @@
|
|||
overflow: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#wp-link li,
|
||||
#wp-link .query-notice {
|
||||
clear: both;
|
||||
|
@ -1244,29 +1261,36 @@
|
|||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#wp-link li:hover {
|
||||
background: #eaf2fa;
|
||||
color: #151515;
|
||||
}
|
||||
|
||||
#wp-link li.unselectable {
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
}
|
||||
|
||||
#wp-link li.unselectable:hover {
|
||||
background: #fff;
|
||||
cursor: auto;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#wp-link li.selected {
|
||||
background: #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#wp-link li.selected .item-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#wp-link .item-title {
|
||||
display: inline-block;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
#wp-link .item-info {
|
||||
text-transform: uppercase;
|
||||
color: #666;
|
||||
|
@ -1276,31 +1300,38 @@
|
|||
top: 4px;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
#wp-link #search-results {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-link #search-panel {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#wp-link .river-waiting {
|
||||
display: none;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
#wp-link .river-waiting img.waiting {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#wp-link .submitbox {
|
||||
padding: 5px 10px;
|
||||
font-size: 11px;
|
||||
overflow: auto;
|
||||
height: 29px;
|
||||
}
|
||||
|
||||
#wp-link-cancel {
|
||||
line-height: 25px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#wp-link-update {
|
||||
line-height: 23px;
|
||||
float: right;
|
||||
|
|
|
@ -431,13 +431,13 @@ function wp_default_styles( &$styles ) {
|
|||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$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' );
|
||||
|
||||
// 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.
|
||||
$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( '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( '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' );
|
||||
|
||||
foreach ( $rtl_styles as $rtl_style ) {
|
||||
|
|
|
@ -74,6 +74,8 @@ if ( $is_safari && stripos($_SERVER['HTTP_USER_AGENT'], 'mobile') !== false )
|
|||
|
||||
$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
|
||||
|
||||
/**
|
||||
|
@ -94,4 +96,4 @@ $is_IIS = !$is_apache && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !
|
|||
*/
|
||||
$is_iis7 = $is_IIS && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/7.') !== false);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue