Ticket #19910: 19910.rtl-support.2.patch

File 19910.rtl-support.2.patch, 9.4 KB (added by ocean90, 13 months ago)

Refresh

  • wp-includes/css/customize-controls-rtl.dev.css

     
     1.control-section .customize-section-title:hover { 
     2        box-shadow: inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ); 
     3} 
     4 
     5.customize-section-title:after { 
     6        right: auto; 
     7        left: 20px; 
     8} 
     9 
     10.customize-control { 
     11        float: right; 
     12} 
     13 
     14.customize-control-title { 
     15        clear: rigt; 
     16        float: right; 
     17        margin-right: 0; 
     18        margin-left: 10px; 
     19} 
     20 
     21.customize-control-text input, 
     22.customize-control-select select, 
     23.customize-control-checkbox input, 
     24.customize-control-color .color-picker, 
     25.customize-control-upload div { 
     26        float: right; 
     27        clear: left; 
     28} 
     29 
     30.customize-control-radio label { 
     31        float: right; 
     32        clear: both; 
     33} 
     34 
     35.customize-control-radio input { 
     36        margin-right: 0; 
     37        margin-left: 5px; 
     38} 
     39 
     40#customize-preview { 
     41        left: 0; 
     42        right: 300px; 
     43} 
     44 
     45/* 
     46 * Color Picker 
     47 */ 
     48.customize-section .color-picker-hex span { 
     49        float: right; 
     50        margin: 1px 0 0 -2px; 
     51        padding: 3px 8px 3px 0; 
     52        text-align: left; 
     53} 
     54 
     55/* 
     56 * Image Picker 
     57 */ 
     58.customize-section .customize-image-picker { 
     59        float: right; 
     60} 
     61 
     62.customize-section .customize-image-picker .thumbnail { 
     63        float: right; 
     64        clear: right; 
     65        margin-right: 0; 
     66        margin-left: 20px; 
     67} 
     68 
     69.customize-section .customize-image-picker .actions { 
     70        float: right; 
     71} 
     72 
     73.customize-section .customize-image-picker .library ul { 
     74        float: right; 
     75} 
     76 
     77.customize-section .customize-image-picker .library li { 
     78        float: right; 
     79} 
     80 
     81.customize-section .customize-image-picker .library div { 
     82        float: right; 
     83} 
  • wp-includes/css/customize-controls.dev.css

     
    136136        margin-right: 10px; 
    137137        line-height: 28px; 
    138138} 
     139 
    139140.customize-control-text input, 
    140141.customize-control-select select, 
    141142.customize-control-checkbox input, 
     
    176177        clear: both; 
    177178        line-height: 20px; 
    178179} 
     180 
    179181.customize-control-radio input { 
    180182        margin-right: 5px; 
    181183} 
     
    193195        height: 100%; 
    194196} 
    195197 
    196 .customize-loader { 
    197         background: transparent; 
    198         border: 4px solid #666; 
    199         border-radius: 50%; 
    200         display: block; 
    201         margin: 10px auto; 
    202         text-indent: -9999px; 
    203  
    204         height: 12px; 
    205         width: 12px; 
    206  
    207         /* Animation */ 
    208         -webkit-animation: customize-loader 1s infinite ease-out; 
    209         -moz-animation: customize-loader 1s infinite ease-out; 
    210         animation: customize-loader 1s infinite ease-out; 
    211 } 
    212 @-moz-keyframes customize-loader { 
    213         0% { 
    214                 opacity: 0; 
    215                 -moz-transform: scale(0.7); 
    216         } 
    217         40% { 
    218                 opacity: 1; 
    219         } 
    220         100% { 
    221                 opacity: 0; 
    222                 -moz-transform: scale(1); 
    223         } 
    224 } 
    225 @-webkit-keyframes customize-loader { 
    226         0% { 
    227                 opacity: 0; 
    228                 -webkit-transform: scale(0.7); 
    229         } 
    230         40% { 
    231                 opacity: 1; 
    232         } 
    233         100% { 
    234                 opacity: 0; 
    235                 -webkit-transform: scale(1); 
    236         } 
    237 } 
    238 @keyframes customize-loader { 
    239         0% { 
    240                 opacity: 0; 
    241                 transform: scale(0.7); 
    242         } 
    243         40% { 
    244                 opacity: 1; 
    245         } 
    246         100% { 
    247                 opacity: 0; 
    248                 transform: scale(1); 
    249         } 
    250 } 
    251  
    252  
    253198/* 
    254199 * Style for custom settings 
    255200 */ 
     
    260205/* 
    261206 * Color Picker 
    262207 */ 
    263  
    264208.customize-section .color-picker a { 
    265209        display: block; 
    266210        height: 20px; 
     
    276220        display: none; 
    277221} 
    278222 
    279  
    280223.customize-section .color-picker .farbtastic-placeholder { 
    281224        height: 195px; 
    282225        width: 195px; 
     
    287230        border-radius: 50%; 
    288231} 
    289232 
    290  
    291233.customize-section .color-picker-hex { 
    292234        background-color: #fff; 
    293235        border: 1px solid #dfdfdf; 
     
    324266.customize-section .customize-image-picker { 
    325267        float: left; 
    326268} 
     269 
    327270.customize-section .customize-image-picker .thumbnail { 
    328271        float: left; 
    329272        clear: left; 
     
    331274        margin-right: 20px; 
    332275        min-height: 1em; 
    333276} 
     277 
    334278.customize-section .customize-image-picker .thumbnail img { 
    335279        max-width: 98px; 
    336280        max-height: 98px; 
    337281        border: 1px solid #ccc; 
    338282} 
     283 
    339284.customize-section .customize-image-picker .actions { 
    340285        width: 140px; 
    341286        float: left; 
    342287} 
     288 
    343289.customize-section .customize-image-picker .actions a { 
    344290        display: block; 
    345291} 
     292 
    346293.customize-section .customize-image-picker .library { 
    347294        display: none; 
    348295/*      float: left;*/ 
    349296} 
     297 
    350298/*.customize-section .customize-image-picker .library label { 
    351299        display: block; 
    352300        position: relative; 
     
    363311/*.customize-section .customize-image-picker .library .wp-tab-panel { 
    364312        padding: 10px 10px 5px 8px; 
    365313}*/ 
     314 
    366315.customize-section .customize-image-picker .library ul { 
    367316        border-bottom: 1px solid #dfdfdf; 
    368317        float: left; 
    369318        width: 100%; 
    370319        margin: 5px 0; 
    371320} 
     321 
    372322.customize-section .customize-image-picker .library li { 
    373323        color: #999; 
    374324        float: left; 
     
    378328        border-color: transparent; 
    379329        border-width: 1px 1px 0 1px; 
    380330} 
     331 
    381332.customize-section .customize-image-picker .library li.library-selected { 
    382333        color: #777; 
    383334        border-color: #dfdfdf; 
     
    385336        margin-bottom: -1px; 
    386337        padding-bottom: 5px; 
    387338} 
     339 
    388340.customize-section .customize-image-picker .library div { 
    389341        width: 100%; 
    390342        float: left; 
    391343} 
     344 
    392345.customize-section .customize-image-picker .library a { 
    393346        display: block; 
    394347        max-width: 220px; 
     
    398351        background: #fff; 
    399352        border: 1px solid #dfdfdf; 
    400353} 
     354 
    401355.customize-section .customize-image-picker .library a:hover { 
    402356        border-color: #21759b; 
    403357} 
     358 
    404359.customize-section .customize-image-picker .library img { 
    405360        display: block; 
    406361        max-width: 220px; 
    407362        max-height: 80px; 
    408363} 
     364 
    409365.customize-section .customize-image-picker .library-content { 
    410366        display: none; 
    411 } 
    412  No newline at end of file 
     367} 
  • wp-includes/script-loader.php

     
    454454 
    455455        $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : ''; 
    456456 
    457         $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'wplink' ); 
     457        $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'wplink', 'customize-controls' ); 
    458458        // Any rtl stylesheets that don't have a .dev version for ltr 
    459459        $no_suffix = array( 'farbtastic' ); 
    460460 
  • wp-admin/css/wp-admin-rtl.dev.css

     
    414123.0 - Misc 
    424224.0 - Dead 
    434325.0 - TinyMCE tweaks 
     4426.0 - Full Overlay w/ Sidebar 
    4445 
    4546 
    4647------------------------------------------------------------------------------*/ 
     
    14711472        float: left; 
    14721473} 
    14731474 
     1475/*------------------------------------------------------------------------------ 
     1476  26.0 - Full Overlay w/ Sidebar 
     1477------------------------------------------------------------------------------*/ 
     1478.wp-full-overlay.collapsed, 
     1479.wp-full-overlay.collapsed div.wp-full-overlay-header, 
     1480.wp-full-overlay.collapsed div.wp-full-overlay-footer { 
     1481        left: 0; 
     1482        right: -302px; 
     1483} 
    14741484 
     1485.wp-full-overlay-sidebar { 
     1486        box-shadow: inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ); 
     1487        border-right: 0; 
     1488        border-left: 1px solid rgba( 0, 0, 0, 0.2 ); 
     1489} 
     1490 
     1491.wp-full-overlay-main { 
     1492        left: 0; 
     1493        right: 300px; 
     1494} 
     1495 
     1496.wp-full-overlay.collapsed .wp-full-overlay-main { 
     1497        left: auto; 
     1498        right: 0; 
     1499} 
     1500 
     1501.wp-full-overlay-sidebar div.wp-full-overlay-header, 
     1502.wp-full-overlay-sidebar div.wp-full-overlay-footer { 
     1503        left: auto; 
     1504        right: 0; 
     1505} 
     1506 
     1507.wp-full-overlay-sidebar div.wp-full-overlay-header { 
     1508        box-shadow: 
     1509                inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ), 
     1510                inset 0 -1px 0 0px #dfdfdf; 
     1511} 
     1512 
     1513.wp-full-overlay-sidebar div.wp-full-overlay-footer { 
     1514        box-shadow: 
     1515                inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ), 
     1516                inset 0 1px 0 0px #fff; 
     1517} 
     1518 
     1519/* Return and close buttons. */ 
     1520.wp-full-overlay .close-full-overlay { 
     1521        left: auto; 
     1522        right: 20px; 
     1523} 
     1524 
     1525/* Collapse Button */ 
     1526.wp-full-overlay .collapse-sidebar { 
     1527        left: auto; 
     1528        right: 265px; 
     1529} 
     1530 
     1531.wp-full-overlay.collapsed .collapse-sidebar { 
     1532        left: auto; 
     1533        right: 315px; 
     1534} 
     1535 
     1536.wp-full-overlay .collapse-sidebar-arrow { 
     1537        margin-left: 9; 
     1538        margin-right: 2px; 
     1539        background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -108px; 
     1540} 
     1541 
     1542.wp-full-overlay.collapsed .collapse-sidebar-arrow { 
     1543        background-position: 0 -72px; 
     1544} 
     1545 
     1546.wp-full-overlay .collapse-sidebar-label { 
     1547        text-align: left; 
     1548        position: absolute; 
     1549        right: auto; 
     1550        left: 100%; 
     1551        margin-right: 0; 
     1552        margin-left: 10px; 
     1553} 
     1554 
     1555.wp-full-overlay.collapsed .collapse-sidebar-label { 
     1556        display: none; 
     1557} 
     1558 
     1559 
    14751560/* MERGED */ 
    14761561 
    14771562/* global */ 
  • wp-admin/css/wp-admin.dev.css

     
    51355135        top: 0; 
    51365136        bottom: 0; 
    51375137} 
     5138 
    51385139.wp-full-overlay.collapsed .wp-full-overlay-main { 
    51395140        left: 0; 
    51405141} 
     
    51945195        padding: 0; 
    51955196        border-radius: 50%; 
    51965197} 
     5198 
    51975199.wp-full-overlay.collapsed .collapse-sidebar { 
    51985200        position: absolute; 
    51995201        left: 315px; 
    52005202} 
     5203 
    52015204.wp-full-overlay .collapse-sidebar-arrow { 
    52025205        margin-top: 2px; 
    52035206        margin-left: 2px; 
     
    52065209        height: 15px; 
    52075210        background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -72px; 
    52085211} 
     5212 
    52095213.wp-full-overlay.collapsed .collapse-sidebar-arrow { 
    52105214        background-position: 0 -108px; 
    52115215} 
     
    52185222        line-height: 20px; 
    52195223        margin-right: 10px; 
    52205224} 
     5225 
    52215226.wp-full-overlay.collapsed .collapse-sidebar-label { 
    52225227        display: none; 
    52235228} 
     5229 
    52245230.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-label { 
    52255231        color: #999; 
    52265232}