WordPress.org

Make WordPress Core

Ticket #31345: 31345.3.patch

File 31345.3.patch, 2.8 KB (added by afercia, 5 years ago)
  • src/wp-admin/css/admin-menu.css

     
    359359}
    360360
    361361div.wp-menu-image:before {
    362         color: #999;
     362        color: #a0a5aa;
     363        color: rgba(240,245,250,0.6);
    363364        padding: 7px 0;
    364365        -webkit-transition: all .1s ease-in-out;
    365366        transition: all .1s ease-in-out;
     
    366367}
    367368
    368369#adminmenu div.wp-menu-image:before {
    369         color: #00b9eb;
     370        color: #a0a5aa;
    370371        color: rgba(240,245,250,0.6);
    371372}
    372373
     
    374375#adminmenu .wp-has-current-submenu div.wp-menu-image:before,
    375376#adminmenu .current div.wp-menu-image:before,
    376377#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,
    377 #adminmenu a.current:hover div.wp-menu-image:before {
     378#adminmenu a.current:hover div.wp-menu-image:before,
     379#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
     380#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before {
    378381        color: #fff;
    379382}
    380383
    381 #adminmenu li:hover div.wp-menu-image:before {
     384#adminmenu li:hover div.wp-menu-image:before,
     385#adminmenu li a:focus div.wp-menu-image:before,
     386#adminmenu li.opensub div.wp-menu-image:before {
    382387        color: #00b9eb;
    383388}
    384389
     390/* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
     391.ie8 #adminmenu li.opensub div.wp-menu-image:before {
     392        color: #a0a5aa;
     393}
     394
    385395.folded #adminmenu div.wp-menu-image {
    386396        width: 35px;
    387397        height: 30px;
     
    537547        font-size: 13px;
    538548        line-height: 34px;
    539549        margin-top: 10px;
    540         color: #00b9eb;
     550        color: #a0a5aa;
    541551        color: rgba(240,245,250,0.6);
    542552        -webkit-transition: all .1s ease-in-out;
    543553        transition: all .1s ease-in-out;
     
    577587        line-height: 15px;
    578588        left: -3px;
    579589        top: -3px;
    580         color: #00b9eb;
     590        color: #a0a5aa;
    581591        color: rgba(240,245,250,0.6);
    582592        font: normal 20px/1 'dashicons' !important;
    583593        speak: none;
  • src/wp-admin/css/colors/_admin.scss

     
    211211        background: $menu-current-background;
    212212}
    213213
    214 #adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
     214#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
     215#adminmenu a.current:hover div.wp-menu-image:before,
     216#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
     217#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
     218#adminmenu li:hover div.wp-menu-image:before,
     219#adminmenu li a:focus div.wp-menu-image:before,
     220#adminmenu li.opensub div.wp-menu-image:before,
     221.ie8 #adminmenu li.opensub div.wp-menu-image:before {
    215222        color: $menu-current-icon;
    216223}
    217224