WordPress.org

Make WordPress Core

Ticket #6998: 6998-css.diff

File 6998-css.diff, 1.6 KB (added by mdawaffe, 7 years ago)

more specific selectors

  • wp-admin/press-this.php

     
    326326         
    327327 
    328328</head> 
    329 <body> 
     329<body class="press-this"> 
    330330<div id="wphead"> 
    331331<h1><span id="viewsite"><a href="<?php echo get_option('home'); ?>/"><?php _e('Visit:') ?> <?php bloginfo('name'); ?></a></span></h1> 
    332332</div> 
  • wp-admin/css/colors-fresh.css

     
    284284} 
    285285 
    286286/* Because we don't want visited on these links */ 
    287 #adminmenu a.current, #sidemenu a.current, .ui-tabs-selected a, .ui-tabs-selected a:hover { 
     287#adminmenu a.current, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover { 
    288288        background-color: #fff; 
    289289        border-color: #c6d9e9; 
    290290        border-bottom-color: #fff; 
  • wp-admin/css/colors-classic.css

     
    304304        color: #2782af 
    305305} 
    306306/* Because we don't want visited on these links */ 
    307 #adminmenu a.current, #sidemenu a.current, .ui-tabs-selected a, .ui-tabs-selected a:hover { 
     307#adminmenu a.current, #sidemenu a.current, body.press-this .ui-tabs-selected a, body.press-this .ui-tabs-selected a:hover { 
    308308        background-color: #fff; 
    309309        border-color: #07273e; 
    310310        border-bottom-color: #fff;