Base css layout, fixes #7620

git-svn-id: http://svn.automattic.com/wordpress/trunk@8785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-08-31 13:51:52 +00:00
parent e2b4009e66
commit a58d2d4cf9
7 changed files with 48 additions and 28 deletions

View File

@ -9,8 +9,9 @@
<br class="clear" /></div><!-- wpbody-content -->
</div><!-- wpbody -->
</div><!-- wpcontent -->
<br class="clear" /></div><!-- wpwrap -->
<br class="clear" /></div><!-- wpcontent -->
</div><!-- wpwrap -->
<div id="footer">
<p><?php
do_action('in_admin_footer', '');

View File

@ -77,6 +77,7 @@ unset($hook_suffixes, $hook_suffix);
</head>
<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>">
<div id="wpwrap">
<div id="sidemenu-bg"><br /></div>
<div id="wpcontent">
<div id="wphead">
<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo '&nbsp;'; else echo get_bloginfo('name', 'display'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1>

View File

@ -1,9 +1,13 @@
#wpcontent, #wpbody {
#sidemenu-bg {
background-color: #14568A;
border-color: #c6d9e9;
}
#wpbody-content {
background-color: #fff;
border-color: #c6d9e9;
}
a.page-numbers:hover {
border-color: #999;
}

View File

@ -1,9 +1,13 @@
#wpcontent, #wpbody {
#sidemenu-bg {
background-color: #e4f2fd;
border-color: #c6d9e9;
}
#wpbody-content {
background-color: #fff;
border-color: #c6d9e9;
}
a.page-numbers:hover {
border-color: #999;
}

View File

@ -7,13 +7,23 @@ div#wpbody {
}
div#wpbody-content {
margin-left: 175px;
border-width: 1px 0 0 1px;
border-style: solid;
border-color: #c6d9e9;
margin-left: 177px;
border-top-width: 1px;
border-top-style: solid;
padding-top: 10px;
}
div#sidemenu-bg {
border-right-style: solid;
border-right-width: 1px;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 175px;
z-index: -1;
}
ul#adminmenu {
float: left;
clear: left;

View File

@ -16,15 +16,15 @@ jQuery(document).ready( function() {
return false;
} );
});
/*
(function($) {
$.fn.tTips = function() {
(function(JQ) {
JQ.fn.tTips = function() {
JQ('body').append('<div id="tTips"><p id="tTips_inside"></p></div>');
var TT = JQ('#tTips');
$('body').append('<div id="tTips"><p id="tTips_inside"></p></div>');
var TT = $('#tTips');
this.each(function() {
var el = JQ(this), txt;
var el = $(this), txt;
if ( txt = el.attr('title') ) el.attr('tip', txt).removeAttr('title');
else return;
@ -47,7 +47,7 @@ jQuery(document).ready( function() {
});
}
}(jQuery));
*/
jQuery( function($) {
var menuToggle = function(ul, effect) {
if ( !effect ) {
@ -65,11 +65,7 @@ jQuery( function($) {
if ( !$('#post-search, #widget-search').size() ) {
$('#wphead').append( '<p id="post-search-prep"><input id="post-search-input" type="text" /><input class="button" type="button" value="Search" /></p>' );
}
// Temp 2
var minH = $(window).height()-185+"px"
$('#wpbody-content').css("min-height", minH);
} );
jQuery(function(){jQuery('#media-buttons a').tTips();});
//jQuery(function(){jQuery('#media-buttons a').tTips();});

View File

@ -926,19 +926,23 @@ html, body {
position: relative;
min-height: 100%;
}
#wpcontent {
padding-bottom: 80px;
}
#footer {
clear: both;
height: 65px;
padding: 10px 0 0 60px;
margin: 0;
position: relative;
margin-top: -75px;
font-size: 12px;
height: 75px;
margin-top: -75px;
position: absolute;
width: 100%;
}
#footer p {
margin: 0;
padding: 7px 0;
padding: 17px 0 7px 60px;
}
#footer p a {