updated the layout and color definitions to match the actual sideblock structure. I think designing Moodle will be really fun ;-)

This commit is contained in:
urs_hunkler 2005-03-07 08:02:43 +00:00
parent eb4e67a27f
commit 4aaaf2091e
2 changed files with 32 additions and 33 deletions

View file

@ -556,29 +556,21 @@ TD.event_description {
} }
.sideblock, .sideblock,
.sideblockmain, .sideblock .content,
.sideblocklinks { .sideblock .list {
background-color:#F9FAFA; background-color:#F9FAFA;
} }
.sideblockheading { .sideblock .heading {
background-color:#EEF0F2; background-color:#EEF0F2;
}
.sideblock,
.sideblockheading {
border-color:#D1D7DC;
}
.sideblockheading {
color:#666666; color:#666666;
} }
.sideblockmain { .sideblock .content {
color:#666666; color:#666666;
} }
.sideblockmain HR { .sideblock .content hr {
border-top-color:#999; border-top-color:#999;
} }

View file

@ -722,37 +722,26 @@ table.calendar-controls .next
/* sideblock */ /* sideblock */
.sideblock { .sideblock {
width:100%; width:100%;
border-width:1px 1px 1px 1px; border:0 none;
border-style:solid;
} }
.sideblockheading { .sideblock .heading {
background-image:none; background-image:none;
padding:0px 5px; padding:0px 5px;
border-width:1px 0px 0px 1px; border:0 none;
border-style:solid;
} }
.sideblockheading a { .sideblock .heading .hide-show {
cursor:pointer;
border-bottom:none;
}
.sideblockheading a img {
padding-top:0.5em;
}
.sideblockheading .hide-show {
float:right; float:right;
} }
.sideblockheading .hide-show img.hide-show-image { .sideblock .heading .hide-show img.hide-show-image {
height:11px; height:11px;
width:11px; width:11px;
padding-top:0.35em; padding-top:0.35em;
} }
.sideblock .sideblockheading .hide-show img.hide-show-image { .sideblock .heading .hide-show img.hide-show-image {
background:url('../../pix/t/switch_minus.gif') no-repeat bottom; background:url('../../pix/t/switch_minus.gif') no-repeat bottom;
} }
@ -760,10 +749,28 @@ table.calendar-controls .next
background:url('../../pix/t/switch_plus.gif') no-repeat bottom; background:url('../../pix/t/switch_plus.gif') no-repeat bottom;
} }
.sideblock.hidden .sideblockmain { .sideblock.hidden .content {
display:none; display:none;
} }
.sideblock .heading .commands {
float: right;
padding-left:0.2em;
}
.sideblock .heading .commands a {
cursor:pointer;
border-bottom:none;
}
.sideblock .heading .commands a img {
padding-top:0.5em;
}
.sideblock .list {
width: 100%;
}
.sideblockmain HR { .sideblockmain HR {
height:1px; height:1px;
border:none; border:none;
@ -780,12 +787,12 @@ table.calendar-controls .next
padding:1px 0px; padding:1px 0px;
} }
#left-column .sideblockheading, #left-column .sideblock .heading,
#left-column .sideblock { #left-column .sideblock {
border-width:0px 0px 0px 1px; border-width:0px 0px 0px 1px;
} }
#left-column .sideblocklist { #left-column .sideblock .list {
padding-left:5px; padding-left:5px;
} }