mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Initial fix, Bug 5161 "Course format weekscss looks unfinished". Includes making CSS-selectors #course-view .section .side more specific (td.side).
This commit is contained in:
parent
dd899b917d
commit
cbc18ef9dc
@ -450,7 +450,7 @@ table.minicalendar {
|
||||
border-color:#DDDDDD;
|
||||
}
|
||||
|
||||
#course-view li.section,
|
||||
#course-view .weekscss .section,
|
||||
#course-view .section td {
|
||||
border-color:#DDDDDD;
|
||||
}
|
||||
|
@ -860,7 +860,7 @@ span.current {
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
#course-view .section .content {
|
||||
#course-view .section td.content {
|
||||
padding:5px;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
@ -872,19 +872,19 @@ span.current {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#course-view .section .side {
|
||||
#course-view .section td.side {
|
||||
padding:5px;
|
||||
border-style:solid;
|
||||
border-width:1px;
|
||||
}
|
||||
|
||||
#course-view .section .left {
|
||||
#course-view .section td.left {
|
||||
border-right:0px;
|
||||
text-align:center;
|
||||
width: 1.5em;
|
||||
}
|
||||
|
||||
#course-view .section .right {
|
||||
#course-view .section td.right {
|
||||
border-left:0px;
|
||||
text-align:center;
|
||||
width: 1.5em;
|
||||
@ -902,6 +902,17 @@ span.current {
|
||||
|
||||
|
||||
/*Accessibility: No-tables course format. */
|
||||
.weekscss-format {
|
||||
min-width:763px; /* Doesn't work for IE. */
|
||||
}
|
||||
.weekscss-format .block_adminblock select {
|
||||
width:100%;
|
||||
}
|
||||
.weekscss-format #middle-column {
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
}
|
||||
|
||||
#course-view ul.weekscss, .weekscss li,
|
||||
#course-view ul.section, .section li {
|
||||
margin: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user