summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-30 14:34:10 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-30 14:34:10 +0000
commitbd44aee0269029a9d6e6c56be247ec4a75708075 (patch)
tree179ba62d0c30f54ce715a7c332bc73d3eaf4e99c /control-center
parent0b09387ed3547d1d895b73294852c17dc47c151b (diff)
downloadcontrol-center-bd44aee0269029a9d6e6c56be247ec4a75708075.tar
control-center-bd44aee0269029a9d6e6c56be247ec4a75708075.tar.gz
control-center-bd44aee0269029a9d6e6c56be247ec4a75708075.tar.bz2
control-center-bd44aee0269029a9d6e6c56be247ec4a75708075.tar.xz
control-center-bd44aee0269029a9d6e6c56be247ec4a75708075.zip
add top margin
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center5
1 files changed, 4 insertions, 1 deletions
diff --git a/control-center b/control-center
index 9cd1d77b..29c9ea71 100755
--- a/control-center
+++ b/control-center
@@ -839,6 +839,9 @@ foreach (@tree) {
color: #5A8AD6;
font-weight: bold;
}
+ #top_margin {
+ margin-top: 30px;
+ }
td.img {
background-image: url($square_icon_uri);
background-repeat: no-repeat;
@@ -874,7 +877,7 @@ foreach (@tree) {
my $section;
foreach my $subtree (@subtrees) {
- $string .= "<hr NOSHADE>\n" if $section++;
+ $string .= $section++ ? "<hr NOSHADE>\n" : '<div ID="top_margin">';
my $title = mygtk2::asteriskize($subtree->{title});
$string .= qq(
<div ID="title">$title</div>