Fix for background image repetition for various page heights

This commit is contained in:
Sarven Capadisli 2009-06-18 01:39:37 +00:00
parent d8b0fcbc50
commit 00736bddd1
4 changed files with 6 additions and 8 deletions

View File

@ -69,12 +69,12 @@ class Design extends Memcached_DataObject
__FILE__); __FILE__);
} }
$css = 'html, body { background-color: #' . $bgcolor->hexValue() . '} ' . "\n"; $css = 'body { background-color: #' . $bgcolor->hexValue() . ' }' . "\n";
$css .= '#content, #site_nav_local_views .current a { background-color: #'; $css .= '#content, #site_nav_local_views .current a { background-color: #';
$css .= $ccolor->hexValue() . '} '."\n"; $css .= $ccolor->hexValue() . '} '."\n";
$css .= '#aside_primary { background-color: #'. $sbcolor->hexValue() . '} ' . "\n"; $css .= '#aside_primary { background-color: #'. $sbcolor->hexValue() . ' }' . "\n";
$css .= 'html body { color: #'. $tcolor->hexValue() . '} '. "\n"; $css .= 'html body { color: #'. $tcolor->hexValue() . ' }'. "\n";
$css .= 'a { color: #' . $lcolor->hexValue() . '} ' . "\n"; $css .= 'a { color: #' . $lcolor->hexValue() . ' }' . "\n";
if (!empty($this->backgroundimage) && if (!empty($this->backgroundimage) &&
$this->disposition & BACKGROUND_ON) { $this->disposition & BACKGROUND_ON) {

View File

@ -12,9 +12,9 @@ img { display:block; border:0; }
a abbr { cursor: pointer; border-bottom:0; } a abbr { cursor: pointer; border-bottom:0; }
table { border-collapse:collapse; } table { border-collapse:collapse; }
ol { list-style-position:inside; } ol { list-style-position:inside; }
html { font-size: 87.5%; background-color:#fff; } html { font-size: 87.5%; height:100%; }
body { body {
background-color:#fff; background-color:#FFFFFF;
color:#000; color:#000;
font-family:sans-serif; font-family:sans-serif;
font-size:1em; font-size:1em;

View File

@ -9,7 +9,6 @@
@import url(../../base/css/display.css); @import url(../../base/css/display.css);
html,
body, body,
a:active { a:active {
background-color:#C3D6DF; background-color:#C3D6DF;

View File

@ -9,7 +9,6 @@
@import url(../../base/css/display.css); @import url(../../base/css/display.css);
html,
body, body,
a:active { a:active {
background-color:#F0F2F5; background-color:#F0F2F5;