- Update the main theme to be a little more sane with fonts (i hope)

- remove all references to htabs, we dont' need them anymore.
This commit is contained in:
dave 2009-09-11 06:03:00 +00:00
parent 1a2839b5b2
commit 0cd1876f0f
2 changed files with 11 additions and 112 deletions

View File

@ -145,10 +145,8 @@ foreach($tabs as $k=>$t) {
$i = array_intersect($t['types'], $u['types']);
if(count($i) == 0) continue;
/* Show the tab */
$sel = ($selected == $k) ? 'htabs_sel' : '';
$href = "{$_SERVER['PHP_SELF']}?id=$id&tab=$k&sub=1";
// $href = $t['file'];
echo "<li class=\"$sel\"><a href=\"$href\"><span>".i18n($t['label'])."</span></a></li>";
echo "<li><a href=\"$href\"><span>".i18n($t['label'])."</span></a></li>";
}
echo '</ul>';

View File

@ -1,30 +1,17 @@
body
{
font-family: Verdana, Arial, Sans-Serif;
font-size: 1em;
font-size: small;
margin: 0;
padding: 0;
background: #E0E0FF;
height:100%;
}
input
input, textarea, select
{
font-family: Verdana, Arial, Sans-Serif;
font-size: 1em;
}
textarea
{
font-family: Verdana, Arial, Sans-Serif;
font-size: 1em;
}
select
{
font-family: Verdana, Arial, Sans-Serif;
font-size: 1em;
font-size: small;
}
td {
@ -386,91 +373,6 @@ tr.externalaward {
padding: 2px;
}
/* Horizontal Tabs */
/* For the whole UL */
ul.htabs {
list-style: none;
list-style-position: outside;
border-bottom-color: #A5B5C6; /* Line colour */
}
/* Unselected Tab */
ul.htabs li {
display: block;
float: left;
position: relative;
margin-right: 5px;
margin-bottom: -1px;
border: 1px solid #A5B5C6;
border-width: 1px 1px 1px 1px;
padding: 3px 5px 3px 5px;
font-weight: bold;
font-size: 11px;
background: #D0D0FF; /* Background Colour */
color: #000000;
cursor: pointer;
}
ul.htabs li a {
color: #000000; /* Font colour */
border-color: #A5B5C6;
text-decoration:none;
}
/* Overrides for selected tab */
ul.htabs li.htabs_sel {
background: #EEEEFF;
top: 1px;
border-bottom: 0;
color: #000000; /* Font colour */
}
/* Mouseover colour */
ul.htabs li:hover {
background: #ffffff;
}
/* Don't change colour hovering over the selected tab */
ul.htabs li.htabs_sel:hover {
background: #EEEEFF;
}
/* Body of the tab */
div.htabs {
margin: 0pt auto;
background: #EEEEFF;
border: 1px solid #A5B5C6;
text-align: left;
padding: 10px;
padding-bottom: 20px;
font-size: 11px;
}
/* Header inside the body */
div.htabs h1 {
line-height: 1em;
vertical-align: middle;
font-size: 12px;
font-weight: bold;
}
table.usereditor {
width: 100%;
}
table.usereditor td.left {
width: 25%;
vertical-align: middle;
text-align: right;
padding-right: 5px;
}
table.usereditor td.right {
width: 75%;
vertical-align: middle;
text-align: left;
}
/* The popup windows created with jquery-ui use the following classes:
* div.ui-dialog
* div.ui-dialog-titlebar - includes the next 2 items in the div
@ -487,15 +389,14 @@ table.usereditor td.right {
font-size: 1em;
}
/* Override the titlebar padding, it's too big. */
/* Override the titlebar padding, it's too big, make the font
* a happy size */
.ui-dialog .ui-dialog-titlebar {
padding: 0 0 0 .5em ;
}
/* Override the title */
.ui-dialog .ui-dialog-title {
font-size: 12pt;
padding: 0.2em 0.5em 0.2em .5em ;
font-size: 1.2em;
font-weight: bold;
text-align: center;
}
/* Required for tabs to work */
@ -525,7 +426,7 @@ div.ui-tabs ul.ui-tabs-nav {
* rework the fonts for ALL of sfiab. "1em" in here is about 20pt*/
.ui-tabs .ui-tabs-nav li a {
padding: 0.1em 0.3em 0.1em 0.3em;
font-size: 10pt;
font-size: 1em;
font-weight: bold;
}