WordPress.org

Make WordPress Core

Ticket #18382: 18382.rtl.patch

File 18382.rtl.patch, 2.6 KB (added by SergeyBiryukov, 7 years ago)
  • wp-admin/css/colors-fresh.dev.css

     
    18501850        background: transparent url(../images/arrows.png) no-repeat 8px 6px;
    18511851}
    18521852
     1853.rtl .expanded #adminmenu li.wp-not-current-submenu li:hover a {
     1854        background-color: #eaf2fa; /* Fallback */
     1855        background-image: -ms-linear-gradient(right, #fff, #eaf2fa 30px); /* IE10 */
     1856        background-image: -moz-linear-gradient(right, #fff, #eaf2fa 30px); /* Firefox */
     1857        background-image: -o-linear-gradient(right, #fff, #eaf2fa 30px); /* Opera */
     1858        background-image: -webkit-gradient(linear, right bottom, left bottom, from(#fff), color-stop(0.1, #eaf2fa)); /* old Webkit */
     1859        background-image: -webkit-linear-gradient(right, #fff, #eaf2fa 30px); /* new Webkit */
     1860        background-image: linear-gradient(right, #fff, #eaf2fa 30px); /* proposed W3C Markup */
     1861}
     1862
    18531863.rtl #adminmenu .wp-submenu .wp-submenu-head {
    18541864        border-right-color: none;
    18551865        border-left-color: #dfdfdf;
  • wp-admin/css/wp-admin-rtl.dev.css

     
    428428        left: 0;
    429429}
    430430
     431#adminmenu .wp-not-current-submenu .wp-submenu,
     432.folded #adminmenu .wp-has-current-submenu .wp-submenu {
     433        left: auto;
     434        right: 146px;
     435}
     436
     437.js.folded #adminmenu .wp-submenu {
     438        left: auto;
     439        right: 26px;
     440}
     441.js #adminmenu .wp-submenu.sub-open {
     442        padding: 0 0 8px 8px;
     443}
     444
    431445#adminmenu div.wp-menu-image {
    432446        float: right;
    433447}
     
    437451        padding-right: 12px;
    438452}
    439453
     454.expanded #adminmenu li.wp-not-current-submenu li {
     455        margin-left: 0;
     456        margin-right: 8px;
     457}
     458
     459.expanded #adminmenu li.wp-not-current-submenu li a {
     460        padding-left: 0;
     461        padding-right: 12px;
     462}
     463
    440464#adminmenu li.wp-has-current-submenu .wp-menu-arrow,
    441 #adminmenu li.menu-top.current .wp-menu-arrow {
     465#adminmenu li.menu-top.current .wp-menu-arrow,
     466.expanded #adminmenu li.wp-has-submenu:hover .wp-menu-arrow {
    442467        right: auto;
    443468        left: -9px;
    444469}
     
    464489        padding: 6px 10px 5px 4px;
    465490}
    466491
    467 .js.folded #adminmenu .wp-submenu-wrap {
     492.js #adminmenu .wp-not-current-submenu .wp-submenu-wrap {
     493        border-width: 1px 0 1px 1px;
    468494        -webkit-border-bottom-right-radius: 0;
    469495        -webkit-border-bottom-left-radius: 3px;
    470496        -webkit-border-top-right-radius: 0;
     
    481507        border-bottom-left-radius: 3px;
    482508        border-top-right-radius: 0;
    483509        border-top-left-radius: 3px;
     510}
     511
     512.js.folded #adminmenu .wp-submenu .wp-submenu-wrap {
    484513        border-width: 0 0 1px 1px;
    485514}
    486515