WordPress.org

Make WordPress Core

Ticket #16726: admin-css.diff

File admin-css.diff, 5.1 KB (added by cyberskull, 7 years ago)

Admin Bar CSS adjustments.

  • admin-bar-rtl.dev.css

     
    11#wpadminbar {
    22        direction: rtl;
    3         font-family: Tahoma, Arial ,sans-serif;
     3        font-family: Tahoma, Arial, sans-serif;
    44        right: 0;
    55        left: auto;
    66}
     
    2828        border-left-color: #686868;
    2929}
    3030
    31 #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a img  {
     31#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a img {
    3232        margin: -2px -5px 0 23px;
    3333}
    3434
     
    4444}
    4545
    4646#wpadminbar .quicklinks .menupop a > span {
    47         background: url(../images/admin-bar-sprite-rtl.png?d=11122010) left -58px no-repeat;
     47        background: url("../images/admin-bar-sprite-rtl.png?d=11122010") left -58px no-repeat;
    4848        padding-right: 0;
    4949        padding-left: .8em;
    5050}
    5151
    5252#wpadminbar .quicklinks .menupop ul li a > span {
    53         background: url(../images/admin-bar-sprite-rtl.png?d=11122010) left -29px no-repeat;
     53        background: url("../images/admin-bar-sprite-rtl.png?d=11122010") left -29px no-repeat;
    5454        padding-right: 0;
    5555        padding-left: 1.5em;
    5656}
     
    6565}
    6666
    6767#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a {
    68         background: url(../images/admin-bar-sprite-rtl.png?d=11122010) top right no-repeat;
     68        background: url("../images/admin-bar-sprite-rtl.png?d=11122010") top right no-repeat;
    6969}
    7070
    7171#wpadminbar .quicklinks li#wp-admin-bar-my-account > a,
  • admin-bar.dev.css

     
    2727#wpadminbar {
    2828        direction: ltr;
    2929        background-color: #777;
    30         background-image: -moz-linear-gradient(bottom,  #666,  #7f7f7f);
    3130        background-image: -webkit-gradient(linear, left bottom, left top, from(#666), to(#7f7f7f));
     31        background-image: -webkit-linear-gradient(bottom, #666, #7f7f7f);
     32        background-image: -moz-linear-gradient(bottom, #666, #7f7f7f);
     33        background-image: linear-gradient(bottom, #666, #7f7f7f);
    3234        color: #ddd;
    3335        font: normal 12px/28px Arial, Helvetica, sans-serif;
    3436        height: 28px;
     
    139141#wpadminbar .quicklinks li:hover,
    140142#wpadminbar .quicklinks .selected {
    141143        background: #555;
    142         background: -moz-linear-gradient(bottom,  #555,  #3e3e3e);
    143144        background: -webkit-gradient(linear, left bottom, left top, from(#555), to(#3e3e3e));
     145        background: -webkit-linear-gradient(bottom, #555, #3e3e3e);
     146        background: -moz-linear-gradient(bottom, #555, #3e3e3e);
     147        background: linear-gradient(bottom, #555, #3e3e3e);
    144148}
    145149
    146150#wpadminbar .quicklinks .menupop li:hover {
    147151        background: #888;
    148         background: -moz-linear-gradient(bottom,  #888,  #9d9d9d);
    149152        background: -webkit-gradient(linear, left bottom, left top, from(#888), to(#9d9d9d));
     153        background: -webkit-linear-gradient(bottom, #888, #9d9d9d);
     154        background: -moz-linear-gradient(bottom, #888, #9d9d9d);
     155        background: linear-gradient(bottom, #888, #9d9d9d);
    150156}
    151157
    152158#wpadminbar .quicklinks .menupop a > span {
    153159        display: inline;
    154         background: url(../images/admin-bar-sprite.png?d=11122010) right -58px no-repeat;
     160        background: url("../images/admin-bar-sprite.png?d=11122010") right -58px no-repeat;
    155161        padding-right: .8em;
    156162}
    157163
    158164#wpadminbar .quicklinks .menupop ul li a > span {
    159165        display: block;
    160         background: url(../images/admin-bar-sprite.png?d=11122010) right -29px no-repeat;
     166        background: url("../images/admin-bar-sprite.png?d=11122010") right -29px no-repeat;
    161167        padding-right: 1.5em;
    162168}
    163169
     
    177183}
    178184
    179185#wpadminbar .quicklinks a:hover span#ab-awaiting-mod,
    180 #wpadminbar .quicklinks a:hover span#ab-updates  {
     186#wpadminbar .quicklinks a:hover span#ab-updates {
    181187        background: #fff;
    182188        color: #000;
    183189}
     
    188194
    189195#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a {
    190196        border-left: none;
    191         background: url(../images/admin-bar-sprite.png?d=11122010) top left no-repeat;
     197        background: url("../images/admin-bar-sprite.png?d=11122010") top left no-repeat;
    192198}
    193199
    194200#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a img {
     
    250256        cursor: pointer;
    251257        float: left;
    252258        background: #aaa;
    253         background: -moz-linear-gradient(bottom,  #aaa,  #cecece);
    254259        background: -webkit-gradient(linear, left bottom, left top, from(#aaa), to(#cecece));
     260        background: -webkit-linear-gradient(bottom, #aaa, #cecece);
     261        background: -moz-linear-gradient(bottom, #aaa, #cecece);
     262        background: linear-gradient(bottom, #aaa, #cecece);
    255263        -webkit-border-radius: 10px;
    256264        -khtml-border-radius: 10px;
    257265        -moz-border-radius: 10px;
     
    265273
    266274#wpadminbar #adminbarsearch .adminbar-button:active {
    267275        background: #a0a0a0;
    268         background:-moz-linear-gradient(bottom,  #a0a0a0,  #c1c1c1);
    269         background:-webkit-gradient(linear, left bottom, left top, from(#a0a0a0), to(#c1c1c1));
     276        background: -webkit-gradient(linear, left bottom, left top, from(#a0a0a0), to(#c1c1c1));
     277        background: -webkit-linear-gradient(bottom, #a0a0a0, #c1c1c1);
     278        background: -moz-linear-gradient(bottom, #a0a0a0, #c1c1c1);
     279        background: linear-gradient(bottom, #a0a0a0, #c1c1c1);
    270280        -moz-box-shadow: inset 1px 1px 1px #9b9b9b;
    271281        -webkit-box-shadow: inset 1px 1px 1px #9b9b9b;
    272282        box-shadow: inset 1px 1px 1px #9b9b9b;