WordPress.org

Make WordPress Core

Ticket #18382: 18382.colors-classic.patch

File 18382.colors-classic.patch, 2.6 KB (added by ocean90, 3 years ago)

Add blue style to admin menu

  • wp-admin/css/colors-classic.dev.css

     
    12801280        border-color: #d1e5ee; 
    12811281} 
    12821282 
     1283#adminmenu li.menu-top:hover > a { 
     1284        background-color: #e8eff4; 
     1285        text-shadow: 0 1px 0 rgba( 255, 255, 255, 0.4 ); 
     1286} 
     1287 
    12831288#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 
    12841289#adminmenu li.current a.menu-top, 
    12851290.folded #adminmenu li.wp-has-current-submenu, 
     
    12951300        background-image: linear-gradient(bottom, #5589AA, #5A8FAD); /* proposed W3C Markup */ 
    12961301} 
    12971302 
     1303#adminmenu .wp-menu-arrow div { 
     1304        background-color: #5589AA; /* Fallback */ 
     1305        background-image: -ms-linear-gradient(right bottom, #5589AA, #5A8FAD); /* IE10 */ 
     1306        background-image: -moz-linear-gradient(right bottom, #5589AA, #5A8FAD); /* Firefox */ 
     1307        background-image: -o-linear-gradient(right bottom, #5589AA, #5A8FAD); /* Opera */ 
     1308        background-image: -webkit-gradient(linear, right bottom, left top, from(#5589AA), to(#5A8FAD)); /* old Webkit */ 
     1309        background-image: -webkit-linear-gradient(right bottom, #5589AA, #5A8FAD); /* new Webkit */ 
     1310        background-image: linear-gradient(right bottom, #5589AA, #5A8FAD); /* proposed W3C Markup */ 
     1311} 
     1312 
     1313#adminmenu li.wp-not-current-submenu .wp-menu-arrow { 
     1314        border-top-color: #fff; 
     1315        border-bottom-color: #D1E5EE; 
     1316        background: #e8eff4; 
     1317} 
     1318 
     1319#adminmenu li.wp-not-current-submenu .wp-menu-arrow div { 
     1320        background: #e8eff4; 
     1321        border-color: #D1E5EE; 
     1322} 
     1323 
     1324.folded #adminmenu li.menu-top li:hover a { 
     1325        background-image: none; 
     1326} 
     1327 
    12981328#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 
    12991329#adminmenu li.current a.menu-top, 
    13001330#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { 
     
    13111341} 
    13121342 
    13131343#adminmenu .wp-submenu a:hover { 
    1314         background-color: #EAF2FA !important; 
    1315         color: #333 !important; 
     1344        background-color: #EAF2FA; 
     1345        color: #333; 
    13161346} 
    13171347 
    13181348#adminmenu .wp-submenu li.current, 
     
    13251355        background-color: #fff; 
    13261356} 
    13271357 
    1328 .folded #adminmenu .wp-submenu-wrap, 
    1329 .folded #adminmenu .wp-submenu ul { 
     1358#adminmenu .wp-submenu-wrap, 
     1359#adminmenu .wp-submenu ul { 
    13301360        border-color: #d0dfe9; 
    13311361} 
    13321362 
    1333 .folded #adminmenu .wp-submenu-wrap { 
     1363#adminmenu .wp-submenu-wrap, 
     1364.folded #adminmenu .wp-has-current-submenu .wp-submenu-wrap { 
    13341365        -moz-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); 
    13351366        -webkit-box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); 
    13361367        box-shadow: 2px 2px 5px rgba( 0, 0, 0, 0.4 ); 
    13371368} 
    13381369 
    13391370#adminmenu .wp-submenu .wp-submenu-head { 
    1340         border-right-color: #d0dfe9; 
     1371        border-right-color: #e8eff4; 
    13411372        background-color: #EFF8FF; 
    13421373} 
    13431374