Added possible fix for this problem with sandbox/devbox themes that use a font size so large, it creates usability issues.

git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@984 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2010-04-14 03:34:01 +00:00
parent b83c870eed
commit 6849c2caae
2 changed files with 8 additions and 4 deletions

View File

@@ -58,10 +58,6 @@
$protocol = 'http://'; $protocol = 'http://';
echo $html->meta('icon') . "\n"; echo $html->meta('icon') . "\n";
echo $html->css('cake.generic') . "\n";
echo $html->css('layout') . "\n";
echo $html->css('print', null, array('media' => 'print')) . "\n";
echo $html->css('sidemenu') . "\n";
$theme = 'smoothness'; $theme = 'smoothness';
$theme = 'base'; $theme = 'base';
@@ -73,7 +69,11 @@
if (sandbox()) if (sandbox())
$theme = 'darkness'; $theme = 'darkness';
echo $html->css('cake.generic') . "\n";
echo $html->css('themes/'.$theme.'/ui.all') . "\n"; echo $html->css('themes/'.$theme.'/ui.all') . "\n";
echo $html->css('layout') . "\n";
echo $html->css('print', null, array('media' => 'print')) . "\n";
echo $html->css('sidemenu') . "\n";
echo $javascript->link('jquery-1.3.2.min') . "\n"; echo $javascript->link('jquery-1.3.2.min') . "\n";
echo $javascript->link('jquery-ui-1.7.2.custom.min') . "\n"; echo $javascript->link('jquery-ui-1.7.2.custom.min') . "\n";

View File

@@ -19,6 +19,10 @@ td#pagecolumn { padding-left: 4mm; }
td#sidecolumn { width: 1% } td#sidecolumn { width: 1% }
/* Ignore themes that want to increase font size */
.ui-widget { font-size : 1.0em }
/************************************************************ /************************************************************
************************************************************ ************************************************************
* Panel captions * Panel captions