MDL-14476: Made 'fake blocks' in calendar and elsewhere more consistent with real blocks (so styling themes is easier)

This commit is contained in:
sam_marshall
2008-04-22 14:14:47 +00:00
parent a56d98597e
commit 03beb65b3a
7 changed files with 40 additions and 41 deletions
+2
View File
@@ -22,6 +22,8 @@
} else {
tagname = 'haslayouttable onlymiddlecolumn';
}
} else if(document.getElementsByTagName('body')[0].id.substring(0,9)=='calendar-') {
tagname='haslayouttable onlyrightcolumn';
}
function setbodytag (tagname) {
+3
View File
@@ -1482,4 +1482,7 @@ body.grade-report-grader table#user-grades td.course {
.tag_cloud .s2,
.tag_cloud .s1 {
font-size: 0.9em;
}
#calendar .maincalendar {
background:white;
}
-4
View File
@@ -612,10 +612,6 @@ table.minicalendar {
background-color: #EEEEEE;
}
#calendar td.sidecalendar .sideblock {
border-color: #DDDDDD;
}
/***
*** Course
+1 -11
View File
@@ -1531,16 +1531,11 @@ table.minicalendar td {
height: auto;
}
#calendar div.header
#calendar .maincalendar div.header
{
padding: 5px;
}
#calendar .sideblock div.header
{
border:none;
}
#calendar .maincalendar .buttons {
float: right;
}
@@ -1738,11 +1733,6 @@ table.minicalendar th {
border-width:0px;
}
#calendar td.sidecalendar .sideblock {
border: 1px solid;
margin-bottom:10px;
}
#calendar td.sidecalendar .minicalendartop {
padding-top:10px;
}
-1
View File
@@ -252,7 +252,6 @@ legend,
#course-user .section,
#site-index .sitetopic .sitetopiccontent,
#calendar .maincalendar .filters table,
#calendar .sidecalendar,
#calendar .sidecalendar .filters table,
.block_calendar_month .filters table,
#calendar .maincalendar .minicalendar,