#adminmenu li.wp-menu-open {border-width:0px;} #adminmenu li.wp-menu-separator {margin:0; height:9px;} #adminmenu #collapse-menu {margin-top:0;} #adminmenu li.menu-top,#adminmenu li.wp-menu-separator,#adminmenu #collapse-menu {border-top-color:rgba(255,255,255,'.$lightopacity.'); border-top-style:none;} #adminmenu li.menu-top,#wpadminbar,#adminmenu li.wp-menu-separator {border-bottom-color:rgba(0,0,0,'.$darkopacity.'); border-bottom-style:none;} #adminmenu {border-top-color:rgba(0,0,0,'.$darkopacity.'); border-top-style:none;} '; if ($options['bordertype'] == 'light') {echo ' /* Light Borders */ #adminmenu li.menu-top,#adminmenu li.wp-menu-separator,#adminmenu #collapse-menu {border-top-width:1px; border-top-style:solid;} ';} elseif ($options['bordertype'] == 'dark') {echo ' /* Dark Borders */ #adminmenu li.menu-top,#wpadminbar,#adminmenu li.wp-menu-separator {border-bottom-width:1px; border-bottom-style:solid;} #adminmenu {border-top-width:1px; border-top-style:solid;} ';} elseif ($options['bordertype'] == '3D') {echo ' /* 3D Borders */ #adminmenu li.menu-top,#adminmenu li.wp-menu-separator,#adminmenu #collapse-menu {border-top-width:1px; border-top-style:solid;} #adminmenu li.menu-top,#wpadminbar,#adminmenu li.wp-menu-separator {border-bottom-width:1px; border-bottom-style:solid;} #adminmenu {border-top-width:1px; border-top-style:solid;} ';} echo ' /* Breaking up the left-side border on activated plugins */ .widefat {border-spacing:0px 1px;} '; echo ' /* Restoring borders between rows in non-plugins tables */ .widefat th, .widefat td {border-bottom:1px solid rgb(225, 225, 225);} .widefat th, .widefat td {box-shadow:none !important;} .form-table td, .form-table th {border-color:rgb(200,200,200);} '; if ($options['showrowhovereffect'] == 'yes') {echo ' /* Creating a hover affect for rows */ #the-list tr:hover, #the-comment-list tr:hover {background-color:'.$options['rowhovercolor'].';} ';} } } add_action('admin_head', 'admin_classic_borders');