Make WordPress Core

Changeset 14997


Ignore:
Timestamp:
05/27/2010 04:27:13 PM (14 years ago)
Author:
nacin
Message:

RTL menu updates. props yoavf, see #13525.

Location:
trunk/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/nav-menu-rtl.css

    r14481 r14997  
    1 #nav-menus-frame{margin-right:300px;margin-left:0;}#wpbody-content #menu-settings-column{margin-right:-300px;margin-left:0;float:right;}#menu-settings-column .handlediv{background-position:100% -110px;}#menu-management-liquid{float:right;}#menu-management{margin-left:20px;margin-right:0;}}#nav-menu-header{background-position:right top;}#post-body{padding:0 10px 10px 0;}.post-body-plain{padding:10px 0 0 10px;}#menu-management .nav-tabs-arrow-left{right:0;left:auto;}#menu-management .nav-tabs-arrow-right{left:0;right:auto;text-align:left;}#menu-management .nav-tabs{padding-right:30px;padding-left:10px;}.js #menu-management .nav-tabs{float:right;margin-right:0;margin-left:-400px;}#select-nav-menu-container{padding:0 10px 3px 10px;}#menu-management #major-publishing-actions #delete-action{float:left;margin-left:10px;margin-right:0;}#wpbody .open-label span{padding-left:10px;padding-right:0;}.js .input-with-default-title{font-style:normal;}.postbox .howto input{float:left;}#side-sortables .potential-menu-item{margin-right:0;}#side-sortables .potential-menu-item ul{margin-right:0;}#cancel-save{margin-left:0;margin-right:20px;}.list-controls{float:right;}.add-to-menu{float:left;}#add-custom-link label span{float:right;padding-left:5px;padding-right:0;}.howto span{float:right;}.list li .menu-item-title input{margin-left:3px;margin-right:0;}.menu-item-handle{background-position:right top;padding-right:10px;padding-left:0;}.menu-item-handle .item-title{margin-left:13em;margin-right:0;}.menu-item-depth-0{margin-right:0;margin-left:0;}.menu-item-depth-1{margin-right:30px;margin-left:0;}.menu-item-depth-2{margin-right:60px;margin-left:0;}.menu-item-depth-3{margin-right:90px;margin-left:0;}.menu-item-depth-4{margin-right:120px;margin-left:0;}.menu-item-depth-5{margin-right:150px;margin-left:0;}.menu-item-depth-6{margin-right:180px;margin-left:0;}.menu-item-depth-7{margin-right:210px;margin-left:0;}.menu-item-depth-8{margin-right:240px;margin-left:0;}.menu-item-depth-9{margin-right:270px;margin-left:0;}.menu-item-depth-10{margin-right:300px;margin-left:0;}.menu-item-depth-11{margin-right:330px;margin-left:0;}.menu-item-depth-0 .menu-item-transport{margin-right:0;margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-right:-30px;margin-left:0;}.menu-item-depth-2 .menu-item-transport{margin-right:-60px;margin-left:0;}.menu-item-depth-3 .menu-item-transport{margin-right:-90px;margin-left:0;}.menu-item-depth-4 .menu-item-transport{margin-right:-120px;margin-left:0;}.menu-item-depth-5 .menu-item-transport{margin-right:-150px;margin-left:0;}.menu-item-depth-6 .menu-item-transport{margin-right:-180px;margin-left:0;}.menu-item-depth-7 .menu-item-transport{margin-right:-210px;margin-left:0;}.menu-item-depth-8 .menu-item-transport{margin-right:-240px;margin-left:0;}.menu-item-depth-9 .menu-item-transport{margin-right:-270px;margin-left:0;}.menu-item-depth-10 .menu-item-transport{margin-right:-300px;margin-left:0;}.menu-item-depth-11 .menu-item-transport{margin-right:-330px;margin-left:0;}.item-type{padding-right:0;padding-left:10px;}.item-controls{right:auto;left:20px;}.item-controls .item-order{padding-left:10px;padding-right:0;}.item-edit{background-position:100% -105px;left:-20px;right:auto;}.menu-item-settings{padding:10px 10px 10px 0;}.link-to-original a{padding-right:4px;padding-left:0;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;margin-right:0;float:right;}.save-menu-item{padding-right:10px;padding-left:0;float:left;}.major-publishing-actions .publishing-action{text-align:left;float:left;}.major-publishing-actions .delete-action{text-align:right;float:left;padding-left:15px;padding-right:0;}#menu-settings-column .handlediv{background:url("images/menu-bits-rtl.gif") no-repeat scroll -37px -110px transparent;}.item-edit{background:url("images/menu-bits-rtl.gif") no-repeat scroll -37px -105px transparent;}
     1#nav-menus-frame{margin-right:300px;margin-left:0;}#wpbody-content #menu-settings-column{margin-right:-300px;margin-left:0;float:right;}#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;}#menu-management .nav-tabs-arrow-left{right:0;left:auto;}#menu-management .nav-tabs-arrow-right{left:0;right:auto;text-align:left;}#menu-management .nav-tabs{padding-right:30px;padding-left:10px;}.js #menu-management .nav-tabs{float:right;margin-right:0;margin-left:-400px;}#select-nav-menu-container{text-align:left;}#wpbody .open-label{float:right;}#wpbody .open-label span{padding-left:10px;padding-right:0;}.js .input-with-default-title{font-style:normal;font-weight:bold;}.postbox .howto input{float:left;}#nav-menu-theme-locations .button-controls{text-align:left;}.meta-sep,.submitdelete,.submitcancel{float:right;}#cancel-save{margin-right:20px;margin-left:0;}.list-controls{float:right;}.add-to-menu{float:left;}#add-custom-link label span{float:right;padding-left:5px;padding-right:0;}.howto span{float:right;}.list li .menu-item-title input{margin-left:3px;margin-right:0;}.menu-item-handle{padding-right:10px;padding-left:0;}.menu-item-edit-active .menu-item-handle{-moz-border-radius:6px 0 0 6px;-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;}.menu-item-handle .item-title{margin-left:13em;margin-right:0;}.menu-item-depth-0{margin-right:0;margin-left:0;}.menu-item-depth-1{margin-right:30px;margin-left:0;}.menu-item-depth-2{margin-right:60px;margin-left:0;}.menu-item-depth-3{margin-right:90px;margin-left:0;}.menu-item-depth-4{margin-right:120px;margin-left:0;}.menu-item-depth-5{margin-right:150px;margin-left:0;}.menu-item-depth-6{margin-right:180px;margin-left:0;}.menu-item-depth-7{margin-right:210px;margin-left:0;}.menu-item-depth-8{margin-right:240px;margin-left:0;}.menu-item-depth-9{margin-right:270px;margin-left:0;}.menu-item-depth-10{margin-right:300px;margin-left:0;}.menu-item-depth-11{margin-right:330px;margin-left:0;}.menu-item-depth-0 .menu-item-transport{margin-right:0;margin-left:0;}.menu-item-depth-1 .menu-item-transport{margin-right:-30px;margin-left:0;}.menu-item-depth-2 .menu-item-transport{margin-right:-60px;margin-left:0;}.menu-item-depth-3 .menu-item-transport{margin-right:-90px;margin-left:0;}.menu-item-depth-4 .menu-item-transport{margin-right:-120px;margin-left:0;}.menu-item-depth-5 .menu-item-transport{margin-right:-150px;margin-left:0;}.menu-item-depth-6 .menu-item-transport{margin-right:-180px;margin-left:0;}.menu-item-depth-7 .menu-item-transport{margin-right:-210px;margin-left:0;}.menu-item-depth-8 .menu-item-transport{margin-right:-240px;margin-left:0;}.menu-item-depth-9 .menu-item-transport{margin-right:-270px;margin-left:0;}.menu-item-depth-10 .menu-item-transport{margin-right:-300px;margin-left:0;}.menu-item-depth-11 .menu-item-transport{margin-right:-330px;margin-left: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{background-image:url("../images/menu-bits-rtl.gif");background-position:100% -105px;left:-20px;right:auto;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:0;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-right-radius:3px;-khtml-border-bottom-left-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:0;}.menu-item-settings{padding:10px 10px 10px 0;border-width:0 1px 1px 1px;}.link-to-original{font-style:normal;font-weight:bold;}.link-to-original a{padding-right:4px;padding-left:0;}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;margin-right:0;float:right;}.major-publishing-actions .publishing-action{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;}
  • trunk/wp-admin/css/nav-menu-rtl.dev.css

    r14924 r14997  
    1010}
    1111
    12 #menu-settings-column .handlediv {
    13     background-position: 100% -110px;
    14 }
    15 
    1612/* Menu Container */
    1713#menu-management-liquid {
     
    2218    margin-right: 0;
    2319}
    24     }
    25 
    26     #nav-menu-header {
    27         background-position: right top;
    28     }
     20
    2921
    3022    #post-body {
     
    4436    #menu-management .nav-tabs-arrow-right {
    4537        left: 0;
    46         right: auto;
     38        right:auto;
    4739        text-align: left;
    4840    }
    49 
    5041
    5142#menu-management .nav-tabs {
     
    6051
    6152#select-nav-menu-container {
    62     padding: 0 10px 3px 10px;
    63 }
    64 
    65 /* Menu Toolbar */
    66 #menu-management #major-publishing-actions #delete-action {
    67     float: left;
    68     margin-left: 10px;
    69     margin-right: 0;
     53    text-align: left;
     54}
     55
     56#wpbody .open-label {
     57    float:right;
    7058}
    7159
    7260#wpbody .open-label span {
    7361    padding-left: 10px;
    74     padding-right: 0;
     62    padding-right:0;
    7563}
    7664
    7765    .js .input-with-default-title {
    7866        font-style: normal;
     67        font-weight:bold;
    7968    }
    8069
     
    8372    float: left;
    8473}
    85 
    86 #side-sortables .potential-menu-item {
    87     margin-right: 0;
    88 }
    89 #side-sortables .potential-menu-item ul {
    90     margin-right: 0;
    91 
     74#nav-menu-theme-locations .button-controls {
     75    text-align: left;
    9276}
    9377
    9478/* Button Primary Actions */
    95 #cancel-save { margin-left:0; margin-right: 20px; }
     79
     80.meta-sep,
     81.submitdelete,
     82.submitcancel {
     83    float:right;
     84}
     85
     86#cancel-save { margin-right: 20px; margin-left: 0; }
    9687
    9788/* Button Secondary Actions */
    98 .list-controls { float: right; }
     89.list-controls { float: right;  }
    9990.add-to-menu {
    10091    float: left;
     
    10596.howto span { float: right; }
    10697
    107 /* Listings */
    108 .list li .menu-item-title input { margin-left: 3px; margin-right: 0; }
     98.list li .menu-item-title input { margin-left: 3px; margin-right: 0 }
    10999
    110100/* Nav Menu */
    111101.menu-item-handle {
    112     background-position: right top;
    113102    padding-right: 10px;
    114103    padding-left: 0;
     104}
     105.menu-item-edit-active .menu-item-handle {
     106    -moz-border-radius: 6px 0 0 6px;
     107    -webkit-border-bottom-left-radius: 0;
     108    -webkit-border-bottom-right-radius: 0;
     109    -khtml-border-bottom-left-radius: 0;
     110    -khtml-border-bottom-right-radius: 0;
     111    border-bottom-left-radius: 0;
     112    border-bottom-right-radius: 0;
    115113}
    116114.menu-item-handle .item-title {
     
    118116    margin-right:0;
    119117}
     118
    120119
    121120/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
     
    147146
    148147/* Menu item controls */
    149 .item-type { padding-right:0; padding-left: 10px; }
    150 .item-controls { right:auto; left: 20px; }
    151 .item-controls .item-order { padding-left: 10px; padding-right:0;}
     148.item-type { padding-left: 10px;  padding-right:0;}
     149.item-controls { left: 20px; right: auto;}
     150.item-controls .item-order { padding-left: 10px; padding-right: 0;}
    152151
    153152.item-edit {
     153    background-image: url("../images/menu-bits-rtl.gif");
    154154    background-position: 100% -105px;
    155155    left: -20px;
    156     right: auto;
     156    right:auto;
     157    -moz-border-radius-bottomright: 3px;
     158    -moz-border-radius-bottomleft: 0;
     159    -webkit-border-bottom-right-radius: 3px;
     160    -webkit-border-bottom-left-radius: 0;
     161    -khtml-border-bottom-right-radius: 3px;
     162    -khtml-border-bottom-left-radius: 0;
     163    border-bottom-right-radius: 3px;
     164    border-bottom-left-radius: 0;
    157165}
    158166
     
    160168.menu-item-settings {
    161169    padding: 10px 10px 10px 0;
    162 }
    163 
     170    border-width: 0 1px 1px 1px;
     171}
     172
     173.link-to-original {
     174    font-style: normal;
     175    font-weight: bold;
     176}
    164177    .link-to-original a {
    165178        padding-right: 4px;
    166         padding-left: 0;
     179        padding-left:0;
    167180    }
    168181
     
    170183.menu-item-settings .description-wide {
    171184    margin-left: 10px;
    172     margin-right: 0;
    173     float: right;
    174 }
    175 .save-menu-item {
    176     padding-right: 10px;
    177     padding-left: 0;
    178     float: left;
    179 }
    180 
     185    margin-right:0;
     186    float: right;
     187}
     188
     189/* Major/minor publishing actions (classes) */
    181190.major-publishing-actions .publishing-action {
    182191    text-align: left;
     
    185194.major-publishing-actions .delete-action {
    186195    text-align: right;
    187     float: left;
     196    float: right;
    188197    padding-left: 15px;
    189     padding-right: 0;
    190 }
    191 
    192 /* Box controls */
    193 
    194 #menu-settings-column .handlediv {
    195     background:url("images/menu-bits-rtl.gif") no-repeat scroll -37px -110px transparent;
    196 }
    197 
    198 .item-edit {
    199     background:url("images/menu-bits-rtl.gif") no-repeat scroll -37px -105px transparent;
    200 }
     198    padding-right:0;
     199}
     200.menu-name-label {
     201    margin-left: 15px;
     202    margin-right:0;
     203}
     204.auto-add-pages {
     205    float: right;
     206}
Note: See TracChangeset for help on using the changeset viewer.