Some updates.

This commit is contained in:
Michal Čihař
2011-02-02 14:16:20 +01:00
parent 57dce536c3
commit a23b8e8696
2 changed files with 29 additions and 36 deletions

View File

@@ -124,12 +124,21 @@ button {
display: inline; display: inline;
} }
table caption, table {
border-collapse:collapse;
margin: 0.2em;
}
table caption {
padding: 0.1em 0.5em 0.1em 0.5em;
}
table th, table th,
table td { table td {
padding: 0.1em 0.5em 0.1em 0.5em; padding: 0.1em 0.5em 0.1em 0.5em;
margin: 0.1em; margin: 0.1em;
vertical-align: top; vertical-align: top;
border: 1px solid black;
} }
img, img,
@@ -142,20 +151,17 @@ button {
/******************************************************************************/ /******************************************************************************/
/* classes */ /* classes */
div.tools {
border: 1px solid #000000;
padding: 0.2em;
}
div.tools, div.tools,
fieldset.tblFooters { fieldset.tblFooters {
margin-top: 0; margin: 0 1em 0 1em;
margin-bottom: 0.5em; border: 2px solid #000;
/* avoid a thick line since this should be used under another fieldset */ border-top: none;
border-top: 0; width: auto;
text-align: <?php echo $right; ?>; padding: 0.2em;
float: none; float: <?php echo $left; ?>;
clear: both; clear: both;
-moz-border-radius: 0 0 0.5em 0.5em;
border-radius: 0 0 0.5em 0.5em;
} }
fieldset .formelement { fieldset .formelement {
@@ -511,23 +517,9 @@ div.tools,
color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
} }
div.tools a {
.tblHeaders a:link, display: inline-block;
.tblHeaders a:active, color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
.tblHeaders a:visited,
div.tools a:link,
div.tools a:visited,
div.tools a:active,
.tblFooters a:link,
.tblFooters a:active,
.tblFooters a:visited {
color: #0000FF;
}
.tblHeaders a:hover,
div.tools a:hover,
.tblFooters a:hover {
color: #FF0000;
} }
/* forbidden, no privilegs */ /* forbidden, no privilegs */
@@ -1226,13 +1218,14 @@ label.desc sup {
} }
code.sql, div.sqlvalidate { code.sql, div.sqlvalidate {
margin: 0.3em 0 0 0;
border: 2px solid;
padding: 0.5em;
-moz-border-radius: 0.5em;
border-radius: 0.5em;
display: block; display: block;
padding: 0.3em; margin-top: 0.2em;
margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
border-top: 0;
border-bottom: 0;
max-height: 10em; max-height: 10em;
overflow: auto; overflow: auto;
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;

View File

@@ -67,9 +67,9 @@ $GLOBALS['cfg']['FontFamilyFixed'] = 'monospace';
// border // border
$GLOBALS['cfg']['Border'] = 0; $GLOBALS['cfg']['Border'] = 0;
// table header and footer color // table header and footer color
$GLOBALS['cfg']['ThBackground'] = '#D3DCE3'; $GLOBALS['cfg']['ThBackground'] = '#555';
// table header and footer background // table header and footer background
$GLOBALS['cfg']['ThColor'] = '#000000'; $GLOBALS['cfg']['ThColor'] = '#fff';
// table data row background // table data row background
$GLOBALS['cfg']['BgOne'] = '#E5E5E5'; $GLOBALS['cfg']['BgOne'] = '#E5E5E5';
// table data row background, alternate // table data row background, alternate