Lose super admin bar css. No longer used. see #14772

git-svn-id: http://svn.automattic.com/wordpress/trunk@16162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-03 14:22:54 +00:00
parent 8804523ad7
commit e98d6bd25a
4 changed files with 0 additions and 228 deletions

View File

@ -41,10 +41,6 @@ class WP_Admin_Bar {
wp_enqueue_script( 'admin-bar' );
wp_enqueue_style( 'admin-bar' );
if ( is_super_admin() ) {
wp_enqueue_style( 'super-admin-bar' );
}
do_action( 'admin_bar_init' );
}

View File

@ -1 +0,0 @@
#querylist{font-family:Arial,Tahoma,sans-serif;display:none;position:absolute;top:50px;left:50px;right:50px;background:#fff;padding:20px;-moz-box-shadow:0 0 15px #888;-webkit-box-shadow:0 0 15px #888;box-shadow:0 0 15px #888;z-index:99999;border:10px solid #f0f0f0;color:#000;line-height:150%!important;}#querylist pre{font-size:12px;padding:10px;}#querylist h1{font-family:georgia,times,serif;text-align:center;font-size:24px;padding:20px 5px;background:#eee;color:#555;margin:0;}#querylist div#debug-status{background:#ccc;color:#fff;overflow:hidden;height:21px;font-size:14px;font-family:georgia,times,serif;padding:7px 15px;}#querylist .left{float:left;}#querylist .right{float:right;}#querylist h1,#querylist h2,#querylist h3{font-weight:normal;}#querylist ul.debug-menu-links{clear:left;background:#ccc;padding:10px 15px 0;overflow:hidden;list-style:none;margin:0;padding:0 0 0 15px;}#querylist ul.debug-menu-links li{float:left;margin-right:10px;margin-bottom:0!important;}#querylist ul.debug-menu-links li a{outline:none;display:block;padding:5px 9px;margin-right:0;background:#bbb;color:#fff!important;text-decoration:none!important;font-weight:normal;font-size:12px;color:#555;-webkit-border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px;}#querylist ul.debug-menu-links li.current a{background:#fff;color:#555!important;}#querylist h2{float:left;min-width:150px;border:1px solid #eee;padding:5px 10px 15px;clear:none;important;text-align:center;font-family:georgia,times,serif;font-size:28px;margin:15px 10px 15px 0!important;}#querylist h2 span{font-size:12px;color:#888;text-transform:uppercase;white-space:nowrap;display:block;margin-bottom:5px;}#object-cache-stats h2{border:none;float:none;text-align:left;font-size:22px;margin-bottom:0;}#object-cache-stats ul.debug-menu-links{padding:0;margin:0;background:none;}#object-cache-stats ul.debug-menu-links li{float:left;margin-bottom:10px!important;background:none!important;border:1px solid #eee!important;color:#555!important;}#object-cache-stats ul.debug-menu-links li.current a{background:#ccc!important;color:#fff!important;-webkit-border-top-right-radius:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:0;-moz-border-radius-topleft:0;}#object-cache-stats ul.debug-menu-links li a{background:none;color:#555!important;overflow:hidden;}#querylist h3{margin-bottom:15px;}#querylist ol#wpd-queries{padding:0!important;margin:0!important;list-style:none;clear:left;}#querylist ol#wpd-queries li{padding:10px;background:#f0f0f0;margin:0 0 10px 0;}#querylist ol#wpd-queries li div.qdebug{background:#e8e8e8;margin:10px -10px -10px -10px;padding:5px 150px 5px 5px;font-size:11px;position:relative;min-height:20px;}#querylist ol#wpd-queries li div.qdebug span{position:absolute;right:10px;top:5px;white-space:nowrap;}#querylist a{text-decoration:underline!important;color:blue!important;}#querylist a:hover{text-decoration:none!important;}#querylist .debug-menu-target{display:none;}#querylist ol{font:12px Monaco,"Courier New",Courier,Fixed!important;line-height:180%!important;}#wpadminbar #admin-bar-micro ul li{list-style-type:none;position:relative;margin:0;padding:0;}#wpadminbar #admin-bar-micro ul ul,#wpadminbar #admin-bar-micro #awaiting-mod,#wpadminbar .ab-sadmin .count-0{display:none!important;}#wpadminbar #admin-bar-micro ul li:hover>ul{display:block;position:absolute;top:-1px;left:100%;}#wpadminbar #admin-bar-micro li a{display:block;text-decoration:none;}#wpadminbar #admin-bar-micro li li a{background:#ddd;}#wpadminbar #admin-bar-micro li li li a{background:#fff;}

View File

@ -1,222 +0,0 @@
/**
* Super admin styling
*/
#querylist {
font-family: Arial, Tahoma, sans-serif;
display: none;
position: absolute;
top: 50px;
left: 50px;
right: 50px;
background: #fff;
padding: 20px;
-moz-box-shadow: 0 0 15px #888;
-webkit-box-shadow: 0 0 15px #888;
box-shadow: 0 0 15px #888;
z-index: 99999;
border: 10px solid #f0f0f0;
color: #000;
line-height: 150% !important;
}
#querylist pre {
font-size: 12px;
padding: 10px;
}
#querylist h1 {
font-family: georgia, times, serif;
text-align: center;
font-size: 24px;
padding: 20px 5px;
background: #eee;
color: #555;
margin: 0;
}
#querylist div#debug-status {
background: #ccc;
color: #fff;
overflow: hidden;
height: 21px;
font-size: 14px;
font-family: georgia, times, serif;
padding: 7px 15px;
}
#querylist .left {
float: left;
}
#querylist .right {
float: right;
}
#querylist h1, #querylist h2, #querylist h3 {
font-weight: normal;
}
#querylist ul.debug-menu-links {
clear: left;
background: #ccc;
padding: 10px 15px 0;
overflow: hidden;
list-style: none;
margin: 0;
padding: 0 0 0 15px;
}
#querylist ul.debug-menu-links li {
float: left;
margin-right: 10px;
margin-bottom: 0 !important;
}
#querylist ul.debug-menu-links li a {
outline: none;
display: block;
padding: 5px 9px;
margin-right: 0;
background: #bbb;
color: #fff !important;
text-decoration: none !important;
font-weight: normal;
font-size: 12px;
color: #555;
-webkit-border-top-right-radius: 4px;
-webkit-border-top-left-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-topleft: 4px;
}
#querylist ul.debug-menu-links li.current a {
background: #fff;
color: #555 !important;
}
#querylist h2 {
float: left;
min-width: 150px;
border: 1px solid #eee;
padding: 5px 10px 15px;
clear: none;
important;
text-align: center;
font-family: georgia, times, serif;
font-size: 28px;
margin: 15px 10px 15px 0 !important;
}
#querylist h2 span {
font-size: 12px;
color: #888;
text-transform: uppercase;
white-space: nowrap;
display: block;
margin-bottom: 5px;
}
#object-cache-stats h2 {
border: none;
float: none;
text-align: left;
font-size: 22px;
margin-bottom: 0;
}
#object-cache-stats ul.debug-menu-links {
padding: 0;
margin: 0;
background: none;
}
#object-cache-stats ul.debug-menu-links li {
float: left;
margin-bottom: 10px !important;
background: none !important;
border: 1px solid #eee !important;
color: #555 !important;
}
#object-cache-stats ul.debug-menu-links li.current a {
background: #ccc !important;
color: #fff !important;
-webkit-border-top-right-radius: 0;
-webkit-border-top-left-radius: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-topleft: 0;
}
#object-cache-stats ul.debug-menu-links li a {
background: none;
color: #555 !important;
overflow: hidden;
}
#querylist h3 {
margin-bottom: 15px;
}
#querylist ol#wpd-queries {
padding: 0 !important;
margin: 0 !important;
list-style: none;
clear: left;
}
#querylist ol#wpd-queries li {
padding: 10px;
background: #f0f0f0;
margin: 0 0 10px 0;
}
#querylist ol#wpd-queries li div.qdebug {
background: #e8e8e8;
margin: 10px -10px -10px -10px;
padding: 5px 150px 5px 5px;
font-size: 11px;
position: relative;
min-height: 20px;
}
#querylist ol#wpd-queries li div.qdebug span {
position: absolute;
right: 10px;
top: 5px;
white-space: nowrap;
}
#querylist a {
text-decoration: underline !important;
color: blue !important;
}
#querylist a:hover {
text-decoration: none !important;
}
#querylist .debug-menu-target {
display: none;
}
#querylist ol {
font: 12px Monaco, "Courier New", Courier, Fixed !important;
line-height: 180% !important;
}
#wpadminbar #admin-bar-micro ul li {
list-style-type: none;
position: relative;
margin: 0;
padding: 0;
}
#wpadminbar #admin-bar-micro ul ul, #wpadminbar #admin-bar-micro #awaiting-mod, #wpadminbar .ab-sadmin .count-0 {
display: none !important;
}
#wpadminbar #admin-bar-micro ul li:hover > ul {
display: block;
position: absolute;
top: -1px;
left: 100%;
}
#wpadminbar #admin-bar-micro li a {
display: block;
text-decoration: none;
}
#wpadminbar #admin-bar-micro li li a {
background: #ddd;
}
#wpadminbar #admin-bar-micro li li li a {
background: #fff;
}
/**
* End super admin styling
*/

View File

@ -501,7 +501,6 @@ function wp_default_styles( &$styles ) {
// Admin bar
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101029' );
$styles->add( 'super-admin-bar', "/wp-includes/css/super-admin-bar$suffix.css", array(), '20101028' );
foreach ( $rtl_styles as $rtl_style ) {
$styles->add_data( $rtl_style, 'rtl', true );