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 --> <br class="clear" /></div><!-- wpbody-content -->
</div><!-- wpbody --> </div><!-- wpbody -->
</div><!-- wpcontent --> <br class="clear" /></div><!-- wpcontent -->
<br class="clear" /></div><!-- wpwrap --> </div><!-- wpwrap -->
<div id="footer"> <div id="footer">
<p><?php <p><?php
do_action('in_admin_footer', ''); do_action('in_admin_footer', '');

View File

@ -77,6 +77,7 @@ unset($hook_suffixes, $hook_suffix);
</head> </head>
<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>"> <body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>">
<div id="wpwrap"> <div id="wpwrap">
<div id="sidemenu-bg"><br /></div>
<div id="wpcontent"> <div id="wpcontent">
<div id="wphead"> <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> <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; background-color: #14568A;
border-color: #c6d9e9;
} }
#wpbody-content { #wpbody-content {
background-color: #fff; border-color: #c6d9e9;
} }
a.page-numbers:hover { a.page-numbers:hover {
border-color: #999; border-color: #999;
} }

View File

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

View File

@ -7,13 +7,23 @@ div#wpbody {
} }
div#wpbody-content { div#wpbody-content {
margin-left: 175px; margin-left: 177px;
border-width: 1px 0 0 1px; border-top-width: 1px;
border-style: solid; border-top-style: solid;
border-color: #c6d9e9;
padding-top: 10px; 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 { ul#adminmenu {
float: left; float: left;
clear: left; clear: left;

View File

@ -16,15 +16,15 @@ jQuery(document).ready( function() {
return false; return false;
} ); } );
}); });
/*
(function($) {
$.fn.tTips = function() {
(function(JQ) { $('body').append('<div id="tTips"><p id="tTips_inside"></p></div>');
JQ.fn.tTips = function() { var TT = $('#tTips');
JQ('body').append('<div id="tTips"><p id="tTips_inside"></p></div>');
var TT = JQ('#tTips');
this.each(function() { this.each(function() {
var el = JQ(this), txt; var el = $(this), txt;
if ( txt = el.attr('title') ) el.attr('tip', txt).removeAttr('title'); if ( txt = el.attr('title') ) el.attr('tip', txt).removeAttr('title');
else return; else return;
@ -47,7 +47,7 @@ jQuery(document).ready( function() {
}); });
} }
}(jQuery)); }(jQuery));
*/
jQuery( function($) { jQuery( function($) {
var menuToggle = function(ul, effect) { var menuToggle = function(ul, effect) {
if ( !effect ) { if ( !effect ) {
@ -65,11 +65,7 @@ jQuery( function($) {
if ( !$('#post-search, #widget-search').size() ) { 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>' ); $('#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; position: relative;
min-height: 100%; min-height: 100%;
} }
#wpcontent {
padding-bottom: 80px;
}
#footer { #footer {
clear: both; clear: both;
height: 65px;
padding: 10px 0 0 60px;
margin: 0;
position: relative;
margin-top: -75px;
font-size: 12px; font-size: 12px;
height: 75px;
margin-top: -75px;
position: absolute;
width: 100%;
} }
#footer p { #footer p {
margin: 0; margin: 0;
padding: 7px 0; padding: 17px 0 7px 60px;
} }
#footer p a { #footer p a {