RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498. Partial patch for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
88f521011a
commit
f41858edcf
|
@ -1,3 +1,24 @@
|
|||
#poststuff .closed .togbox, #poststuff .togbox {
|
||||
background-image: url(../images/toggle-arrow-rtl.gif) !important;
|
||||
.post-com-count {
|
||||
}
|
||||
#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
|
||||
background-image: url(../images/comment-stalk-rtl.gif);
|
||||
background-position:right bottom;
|
||||
}
|
||||
#footer {
|
||||
background-position:99% 10px;
|
||||
}
|
||||
#poststuff .closed .togbox, #poststuff .togbox {
|
||||
background-image: url(../images/toggle-arrow-rtl.gif) !important;
|
||||
}
|
||||
.bar {
|
||||
border-right-color: transparent;
|
||||
border-left-color: #99d;
|
||||
}
|
||||
.plugins .togl {
|
||||
border-right-color: transparent;
|
||||
border-left-color: #ccc;
|
||||
}
|
||||
#upload-menu li.current {
|
||||
border-right-color: transparent;
|
||||
border-left-color: #448abd;
|
||||
}
|
|
@ -1,3 +1,24 @@
|
|||
#poststuff .closed .togbox, #poststuff .togbox {
|
||||
background-image: url(../images/toggle-arrow-rtl.gif) !important;
|
||||
.bar {
|
||||
border-right-color: transparent;
|
||||
border-left-color: #99d;
|
||||
}
|
||||
.post-com-count {
|
||||
}
|
||||
#adminmenu li a #awaiting-mod, #sidemenu li a #update-plugins {
|
||||
background-image: url(../images/comment-stalk-rtl.gif);
|
||||
background-position:right bottom;
|
||||
}
|
||||
#footer {
|
||||
background-position:99% 10px;
|
||||
}
|
||||
.plugins .togl {
|
||||
border-right-color: transparent;
|
||||
border-left-color: #ccc;
|
||||
}
|
||||
#poststuff .closed .togbox, #poststuff .togbox {
|
||||
background-image: url(../images/toggle-arrow-rtl.gif);
|
||||
}
|
||||
#upload-menu li.current {
|
||||
border-right-color:transparent;
|
||||
border-left-color: #448abd;
|
||||
}
|
|
@ -1,79 +1,62 @@
|
|||
/* Right Now */
|
||||
#rightnow {
|
||||
margin-left: 15px;
|
||||
margin-right:0;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
#rightnow .reallynow span {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#rightnow .reallynow a {
|
||||
text-align: left;
|
||||
float: left;
|
||||
margin: 1px 0 0 6px;
|
||||
}
|
||||
|
||||
div.dashboard-widget-holder {
|
||||
float: right;
|
||||
/* Widgets */
|
||||
div#dashboard-widgets-wrap {
|
||||
margin-right:0;
|
||||
margin-left:-13px;
|
||||
}
|
||||
div.dashboard-widget-holder {
|
||||
float:right;
|
||||
}
|
||||
div.dashboard-widget {
|
||||
margin-right:0;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
h3.dashboard-widget-title span {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.dashboard-widget-submit input {
|
||||
font-family: sans-serif !important;
|
||||
}
|
||||
|
||||
#dashboard-widgets .widget_rss ul li a {
|
||||
float:right;
|
||||
font-weight:bold;
|
||||
margin:0pt 0pt 0.2em 0.5em;
|
||||
}
|
||||
|
||||
#dashboard-widgets .widget_rss ul li span.rss-date {
|
||||
float: right;
|
||||
}
|
||||
|
||||
h3.dashboard-widget-title small {
|
||||
text-align: left;
|
||||
float: left;
|
||||
float:left;
|
||||
}
|
||||
div.dashboard-widget-content ul,
|
||||
div.dashboard-widget-content ol,
|
||||
div.dashboard-widget-content dl {
|
||||
div.dashboard-widget-submit input {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
div.dashboard-widget-content ul, div.dashboard-widget-content ol, div.dashboard-widget-content dl {
|
||||
padding-left:0;
|
||||
padding-right:15px;
|
||||
}
|
||||
div#dashboard-widgets-wrap
|
||||
{
|
||||
margin-right:0;
|
||||
margin-left:-10px;
|
||||
#dashboard_secondary div.dashboard-widget-content ul li {
|
||||
float:right;
|
||||
}
|
||||
|
||||
div.dashboard-widget {
|
||||
margin-right:0;
|
||||
margin-left:20px;
|
||||
#dashboard_secondary div.dashboard-widget-content ul li .post {
|
||||
font-family:arial;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li a {
|
||||
border-right:0 none;
|
||||
border-left: 1px solid #dadada;
|
||||
height:110px;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li a cite {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
|
||||
#dashboard-widgets .widget_rss ul li span.rss-date {
|
||||
float:right;
|
||||
}
|
||||
#dashboard-widgets .widget_rss ul li a {
|
||||
float:right;
|
||||
margin:0 0 0.2em 0.5em;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li {
|
||||
float: right;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li .post {
|
||||
font-family: sans-serif !important;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li a {
|
||||
border-right:0 none;
|
||||
border-left:1px solid #DADADA;
|
||||
}
|
||||
#dashboard_secondary div.dashboard-widget-content ul li a cite {
|
||||
font-family: sans-serif;
|
||||
margin: 0 0 .2em .5em;
|
||||
}
|
||||
|
|
|
@ -1,34 +1,31 @@
|
|||
//* styles for use by people extending the WordPress interface */
|
||||
body, td { font-family: sans-serif; }
|
||||
|
||||
textarea, input, select { font-family: sans-serif; }
|
||||
|
||||
.alignleft { float: right; }
|
||||
.alignright { float: left; }
|
||||
|
||||
.textleft { text-align: right; }
|
||||
.textright { text-align: left; }
|
||||
|
||||
.wrap h2 { font-family: sans-serif; }
|
||||
|
||||
body, td {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
textarea, input, select {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
h1, h2, h3 {
|
||||
font-family:arial;
|
||||
}
|
||||
.widefat td {
|
||||
padding: 7px 10px 9px 15px;
|
||||
}
|
||||
|
||||
.widefat th {
|
||||
padding: 9px 10px 6px 15px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.widefat th input {
|
||||
margin: 0 8px 0 0;
|
||||
}
|
||||
|
||||
.widefat .check-column {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wrap h2 {
|
||||
font-family:arial;
|
||||
margin: 5px -4px 0 0;
|
||||
padding: 0 0 7px 280px;
|
||||
padding-right:0;
|
||||
padding-left: 280px;
|
||||
}
|
||||
.wrap h2.long-header {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
|
|
@ -1,26 +1,27 @@
|
|||
body {
|
||||
font-size: 11px;
|
||||
font-family: sans-serif !important;
|
||||
font-family: Tahoma;
|
||||
}
|
||||
/* Half the page disapears on IE6 */
|
||||
* html body {
|
||||
width: 700px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-right: 350px;
|
||||
}
|
||||
ul, ol {
|
||||
padding: 5px 22px 5px 5px;
|
||||
}
|
||||
.form-table th {
|
||||
text-align: right;
|
||||
}
|
||||
input {
|
||||
padding: 1px
|
||||
}
|
||||
#logo {
|
||||
text-align: left;
|
||||
}
|
||||
#admin_email {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
.step, th {
|
||||
text-align:right;
|
||||
}
|
||||
.submit input, .button, .button-secondary {
|
||||
font-family: sans-serif !important;
|
||||
font-family: Tahoma;
|
||||
margin-right:0;
|
||||
}
|
||||
.form-table th {
|
||||
text-align:right;
|
||||
}
|
||||
h1 {
|
||||
font-family: sans-serif;
|
||||
font-family:arial;
|
||||
margin: 5px -4px 0 0;
|
||||
}
|
|
@ -1,35 +1,37 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
direction: rtl;
|
||||
}
|
||||
#login form .submit input {
|
||||
font-family: sans-serif !important;
|
||||
font-family: Tahoma;
|
||||
}
|
||||
form {
|
||||
margin-left:0;
|
||||
margin-right:8px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
form .forgetmenot {
|
||||
float:right;
|
||||
}
|
||||
#login form .submit input {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
form .submit {
|
||||
float:left;
|
||||
}
|
||||
#backtoblog a {
|
||||
left:auto;
|
||||
right:15px;
|
||||
}
|
||||
#login_error, .message {
|
||||
margin:0 8px 16px 0;
|
||||
margin: 0 8px 16px 0;
|
||||
}
|
||||
#nav {
|
||||
margin: 0 8px 0 0;
|
||||
margin:0 8px 0 0;
|
||||
}
|
||||
#user_pass, #user_login, #user_email {
|
||||
margin-right:0;
|
||||
margin-left: 6px;
|
||||
direction:ltr;
|
||||
}
|
||||
h1 a {
|
||||
text-decoration:none;
|
||||
}
|
||||
#backtoblog a {
|
||||
left: auto;
|
||||
right: 15px;
|
||||
/* ltr input */
|
||||
#user_login, #user_pass {
|
||||
direction:ltr;
|
||||
}
|
|
@ -1,21 +1,66 @@
|
|||
ul#sidemenu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
body#media-upload ul#sidemenu {
|
||||
left:auto;
|
||||
right:0;
|
||||
width: 620px;
|
||||
}
|
||||
#search-filter {
|
||||
text-align:left;
|
||||
}
|
||||
.align .field label {
|
||||
display: block;
|
||||
padding: 0 28px 0 0;
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
.image-align-none-label, .image-align-left-label, .image-align-center-label, .image-align-right-label {
|
||||
background-position:center right;
|
||||
}
|
||||
tr.image-size label {
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
.filename.original {
|
||||
float: right;
|
||||
padding: 0 25px 0 0;
|
||||
margin: 5px 3px 5px 5px;
|
||||
}
|
||||
.align .field input {
|
||||
display: block;
|
||||
.crunching {
|
||||
text-align: left;
|
||||
margin-right:0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
button.dismiss {
|
||||
right:auto;
|
||||
left:5px;
|
||||
}
|
||||
.file-error {
|
||||
margin: 0 50px 5px 0;
|
||||
}
|
||||
.progress {
|
||||
left:auto;
|
||||
right:0;
|
||||
}
|
||||
.bar {
|
||||
border-right-width:0;
|
||||
border-left-width: 3px;
|
||||
border-left-style: solid;
|
||||
}
|
||||
.media-item .pinkynail {
|
||||
float:right;
|
||||
}
|
||||
.describe-toggle-on, .describe-toggle-off {
|
||||
float: left;
|
||||
margin-right:0;
|
||||
margin-left: 20px;
|
||||
}
|
||||
/* Specific to Uploader */
|
||||
|
||||
#media-upload .media-upload-form p {
|
||||
margin: 0 0 1em 1em;
|
||||
}
|
||||
.filename {
|
||||
float: right;
|
||||
margin: 5px 15px 5px 0;
|
||||
margin-left:0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.image-align-none-label,
|
||||
.image-align-left-label,
|
||||
.image-align-center-label,
|
||||
.image-align-right-label {
|
||||
background-position: center right;
|
||||
#media-upload .describe th.label {
|
||||
text-align:right;
|
||||
}
|
||||
.menu_order {
|
||||
float:left;
|
||||
}
|
|
@ -1,7 +1,3 @@
|
|||
#menu { margin-right: 8px !important; }
|
||||
|
||||
p.submit input { text-align: right !important; }
|
||||
|
||||
li.ui-tabs-selected a { height: 25px; }
|
||||
|
||||
#photo_directions span { right: 200px; left: auto; height: 8px; }
|
||||
.ui-tabs-nav {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
|
|
@ -1,59 +1,98 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
font-family: Tahoma;
|
||||
}
|
||||
|
||||
#viewsite {
|
||||
right:auto; left: 8px;
|
||||
.ui-tabs-nav {
|
||||
padding-left:0;
|
||||
padding-right:8px;
|
||||
}
|
||||
|
||||
ul#menu {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.ui-tabs-nav li {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-family: Tahoma;
|
||||
margin-left:0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#wphead #viewsite {
|
||||
margin-left:0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#viewsite {
|
||||
right:auto;
|
||||
left: 8px;
|
||||
}
|
||||
#wphead #viewsite a {
|
||||
font-family: Tahoma;
|
||||
}
|
||||
h1 {
|
||||
right:auto;
|
||||
left:0;
|
||||
}
|
||||
div#posting {
|
||||
padding-right:16px; padding-left: 0;
|
||||
padding-left:0;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
div#categories {
|
||||
right: auto; left: 16px;
|
||||
}
|
||||
|
||||
div#categories h2 {
|
||||
margin:0.5em 1em 0.5em 0;
|
||||
}
|
||||
|
||||
#jaxtag {
|
||||
padding-right :1em; padding-left: 0;
|
||||
}
|
||||
|
||||
input#newtag {
|
||||
margin-left: 4px; width: 100px;
|
||||
}
|
||||
|
||||
#photo_directions span {
|
||||
right: auto; left: 3px
|
||||
right:auto;
|
||||
left:3px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent #options {
|
||||
right: auto; left: 25px;
|
||||
#img_container a {
|
||||
float:right;
|
||||
}
|
||||
|
||||
#TB_ajaxContent {
|
||||
text-align: right;
|
||||
#img_container a, #img_container a:link, #img_container a:visited {
|
||||
margin:0 0 4px 4px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent #this_photo {
|
||||
direction: ltr;
|
||||
div#categories {
|
||||
right:auto;
|
||||
left:16px;
|
||||
}
|
||||
|
||||
.video_split #extra_fields {
|
||||
div#categories h2 {
|
||||
margin: .5em 1em .5em 0;
|
||||
}
|
||||
#tagsdiv #newtag {
|
||||
margin-right:0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
#jaxtag {
|
||||
padding-left:0;
|
||||
padding-right: 1em;
|
||||
}
|
||||
#tagchecklist {
|
||||
padding-left:0;
|
||||
padding-right: 1em;
|
||||
}
|
||||
#tagchecklist span {
|
||||
margin-right: 10px;
|
||||
margin-left: .5em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#tagchecklist span a {
|
||||
margin: 6px -9px 0pt 0;
|
||||
float: right;
|
||||
}
|
||||
.submitbox {
|
||||
float: left;
|
||||
}
|
||||
.submitbox .submit input {
|
||||
text-align:right;
|
||||
}
|
||||
.video_split #extra_fields {
|
||||
float:right;
|
||||
}
|
||||
.video_split .editor_area {
|
||||
float: left;
|
||||
}
|
||||
.ac_results li {
|
||||
text-align:right;
|
||||
}
|
||||
#TB_ajaxContent #options {
|
||||
right:auto;
|
||||
left:25px;
|
||||
}
|
||||
#post_status {
|
||||
margin-left:0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#footer {
|
||||
padding: 10px 60px 0 0;
|
||||
}
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
#template textarea {
|
||||
font-family: monospace !important;
|
||||
font-family:monospace;
|
||||
}
|
||||
#templateside {
|
||||
float:left;
|
||||
}
|
||||
#themeselector {
|
||||
padding-right:0;
|
||||
padding-left:5px;
|
||||
padding-left: 5px;
|
||||
float: left;
|
||||
}
|
||||
div.tablenav {
|
||||
margin-left:210px;
|
||||
margin-right:0;
|
||||
margin-left: 210px;
|
||||
}
|
|
@ -1,51 +1,45 @@
|
|||
/* 2 column liquid layout */
|
||||
div.widget-liquid-left-holder {
|
||||
clear:right;
|
||||
float:right;
|
||||
float: right;
|
||||
clear: right;
|
||||
margin-right:0;
|
||||
margin-left:-310px;
|
||||
margin-left: -310px;
|
||||
}
|
||||
div.widget-liquid-left {
|
||||
margin-right:0;
|
||||
margin-left:310px;
|
||||
margin-left: 320px;
|
||||
}
|
||||
div.widget-liquid-right {
|
||||
clear:left;
|
||||
float:left;
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
p#widget-search {
|
||||
right:auto;
|
||||
left:0;
|
||||
right:auto
|
||||
}
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
float:right;
|
||||
text-align:right;
|
||||
}
|
||||
ul#widget-list li.widget-list-item div.widget-description {
|
||||
margin:0 200px 0 0;
|
||||
padding:0 4em 0 0;
|
||||
}
|
||||
.widget-control-save, .widget-control-remove {
|
||||
float:right;
|
||||
margin-right:0;
|
||||
margin-left:8px;
|
||||
}
|
||||
h4.widget-title span {
|
||||
float: right;
|
||||
}
|
||||
h4.widget-title a {
|
||||
float: left;
|
||||
margin: 0 1em 0 0;
|
||||
margin-left:0;
|
||||
margin-right: 1em;
|
||||
}
|
||||
li.widget-list-control-item h4.widget-title a, #dragHelper li.widget-list-control-item h4.widget-title a, #draghelper li.widget-list-control-item h4.widget-title a:visited {
|
||||
right:auto;
|
||||
left:1em;
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
float:right;
|
||||
}
|
||||
|
||||
ul.widget-control-list div.widget-control-actions {
|
||||
ul#widget-list li.widget-list-item div.widget-description {
|
||||
margin: 0 200px 0 0;
|
||||
padding: 0 4em 0 0;
|
||||
}
|
||||
.widget-control-save, .widget-control-remove {
|
||||
margin-right:0;
|
||||
margin-left:-10px;
|
||||
margin-left: 8px;
|
||||
float: right;
|
||||
}
|
||||
ul.widget-control-list h4.widget-title,
|
||||
#dragHelper h4.widget-title {
|
||||
text-align: right;
|
||||
li.widget-list-control-item h4.widget-title a,
|
||||
#dragHelper li.widget-list-control-item h4.widget-title a,
|
||||
#draghelper li.widget-list-control-item h4.widget-title a:visited {
|
||||
right:auto;
|
||||
left: 1em;
|
||||
}
|
Loading…
Reference in New Issue