Browse Source

Fix styling of floating username column in reports

nwp90-nwp90-allsessionsreport
Neill Magill 5 years ago
committed by Dan Marsden
parent
commit
3e3c359cc8
  1. 25
      styles.css

25
styles.css

@ -251,6 +251,10 @@
} }
} }
#page-mod-attendance-report div[role=main] {
position: relative;
}
#page-mod-attendance-report .attendancereporttable { #page-mod-attendance-report .attendancereporttable {
overflow-x: scroll; overflow-x: scroll;
overflow-y: visible; overflow-y: visible;
@ -261,7 +265,7 @@
#page-mod-attendance-report .attendancereporttable .headcol { #page-mod-attendance-report .attendancereporttable .headcol {
position: absolute; position: absolute;
width: 200px; width: 200px;
left: 15px; left: 0;
top: auto; top: auto;
border-top-width: 1px; border-top-width: 1px;
} }
@ -274,22 +278,3 @@
.attendancereporttable img.icon { .attendancereporttable img.icon {
padding-left: 5px; padding-left: 5px;
} }
/* CSS for old clean based themes with docks etc. */
#page-mod-attendance-report.has-region-side-pre:not(.empty-region-side-pre) .attendancereporttable .headcol {
left: 370px;
}
#page-mod-attendance-report.has-region-side-pre:not(.empty-region-side-pre) .attendancereporttable {
margin-left: 230px;
}
#page-mod-attendance-report.has-region-side-pre:not(.empty-region-side-pre).content-only .attendancereporttable .headcol {
left: 80px;
}
@media (max-width: 767px) {
#page-mod-attendance-report.has-region-side-pre:not(.empty-region-side-pre) .attendancereporttable .headcol {
left: 80px;
}
}

Loading…
Cancel
Save