* rewrite the css in table.

This commit is contained in:
wangchunsheng
2011-02-24 03:03:39 +00:00
parent 16ae69f562
commit 42fd76cc9b
6 changed files with 36 additions and 35 deletions
+11 -9
View File
@@ -1,14 +1,16 @@
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<div id='divider'></div>
<div class='yui-d0'>
<iframe frameborder='0' name='hiddenwin' scrolling='no' class='<?php $config->debug ? print("debugwin") : print('hidden')?>'></iframe>
</div>
<div id='footer' class='yui-d0'>
<div class='half-left' id='crumbs'><?php commonModel::printBreadMenu($this->moduleName, isset($position) ? $position : ''); ?></div>
<div class='half-right a-right padding-5px'>
<span id='poweredby'>powered by <a href='http://www.zentao.net' target='_blank'>ZenTaoPMS</a> (<?php echo $config->version;?>)</span>
<?php echo $lang->sponser;?>
</div>
<iframe frameborder='0' name='hiddenwin' scrolling='no' class='<?php $config->debug ? print("debugwin") : print('hidden')?>'></iframe>
<div id='footer'>
<table class='cont' >
<tr>
<td class='w-p50' id='crumbs'><?php commonModel::printBreadMenu($this->moduleName, isset($position) ? $position : ''); ?></td>
<td class='a-right' id='poweredby'>
<span id='poweredby'>powered by <a href='http://www.zentao.net' target='_blank'>ZenTaoPMS</a> (<?php echo $config->version;?>)</span>
<?php echo $lang->sponser;?>
</td>
</tr>
</table>
</div>
<script laguage='Javascript'>
$().ready(function(){setDebugWin('white')})
+11 -11
View File
@@ -4,9 +4,9 @@ include 'header.lite.html.php';
include 'colorbox.html.php';
?>
<div id='header'>
<div class='g' id='header'>
<div class='u-1-2'>
<div class='cont'>
<table class='cont' id='topbar'>
<tr>
<td class='w-p50'>
<?php
echo $app->company->name . $lang->colon;
if($app->company->website) echo html::a($app->company->website, $lang->company->website, '_blank');
@@ -15,12 +15,12 @@ include 'colorbox.html.php';
echo html::select('', $app->config->langs, $this->cookie->lang, 'class=switcher onchange="selectLang(this.value)"');
echo html::select('', $app->lang->themes, $this->cookie->theme, 'class=switcher onchange="selectTheme(this.value)"');
?>
</div>
</div>
<div class='u-1-2'><div class='cont a-right'><?php commonModel::printTopBar();?></div></div>
</div>
<div class='g' id='navbar'>
<div id='mainmenu'><?php commonModel::printMainmenu($this->moduleName); commonModel::printSearchBox();?></div>
<div id='modulemenu'><?php commonModel::printModuleMenu($this->moduleName);?></div>
</div>
</td>
<td class='a-right'><?php commonModel::printTopBar();?></td>
</tr>
</table>
<table class='cont' id='navbar'>
<tr><td id='mainmenu'><?php commonModel::printMainmenu($this->moduleName); commonModel::printSearchBox();?></td></tr>
<tr><td id='modulemenu'><?php commonModel::printModuleMenu($this->moduleName);?></td></tr>
</table>
</div>
-1
View File
@@ -29,7 +29,6 @@ $clientTheme = $this->app->getClientTheme();
css::import($defaultTheme . 'style.css', $config->version);
css::import($langTheme, $config->version);
if(strpos($clientTheme, 'default') === false) css::import($clientTheme . 'style.css', $config->version);
if(isset($pageCss)) css::internal($pageCss);
echo html::icon($webRoot . 'favicon.ico');
?>
+1 -2
View File
@@ -1,6 +1,5 @@
html{overflow:hidden;}
body{height:100%; overflow:auto}
body{height:100%; overflow:auto;margin:0 15px 0 0}
div#footer, div#debugbar, div#hiddenbar{position:absolute;}
.yui-d0 {width: 95%;} /* fix the error of fixed layout table. */
.button-s, .button-c, .button-r{padding:0; font-size:14px}
#divider{margin-bottom:35px}
+6 -4
View File
@@ -9,7 +9,9 @@
* @link http://www.ZenTaoPMS.com
*/
/*-----------------------GLOBAL SETTING----------------------------*/
body {padding-bottom:30px; color:#000;}
body {padding-bottom:30px; color:#000; margin:0}
.cont {width:100%; margin:0; border:none; text-align:left}
.cont tr, .cont th, .cont td {border:none; padding:0;}
/*-----------------------FIELDSET SETTING----------------------------*/
fieldset {border:1px solid #b3c8dc; padding:8px 10px 8px 10px; margin-bottom:8px; color:#333;}
@@ -215,11 +217,11 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
/*-----------------------SPECIAL PART SETTING--------------------*/
/* Header. */
#header{margin-bottom:5px; background:#16528b; border-bottom:1px solid #e4e4e4;}
#header{margin-bottom:10px; padding:2px 10px 0 10px; background:#16528b; border-bottom:1px solid #e4e4e4;}
/* Top bar. */
#topbar {padding:3px; color:#fff}
#topbar .yui-b, #topbar a {color:white}
#topbar, #topbar a {color:#fff}
#topbar {margin-bottom:2px}
/* The nav bar. */
#navbar ul {margin:0; padding:0;}
File diff suppressed because one or more lines are too long