From 31a29ff647aec42b6d7b5929bc95186ea4a6dada Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 19 Oct 2018 11:52:04 +1300 Subject: [PATCH] Fix #338 improve css for more/clean themes with attendance report. --- styles.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 9af1e3a..00db08b 100644 --- a/styles.css +++ b/styles.css @@ -261,7 +261,7 @@ #page-mod-attendance-report .attendancereporttable .headcol { position: absolute; width: 200px; - left: 0; + left: 10px; top: auto; border-top-width: 1px; } @@ -270,3 +270,26 @@ margin-right: 4px; } + +.attendancereporttable img.icon{ + padding-left:5px; +} + +/* CSS for old clean based themes with docks etc. */ +#page-mod-attendance-report.has-region-side-pre .attendancereporttable .headcol { + left: 370px; +} + +#page-mod-attendance-report.has-region-side-pre .attendancereporttable { + margin-left: 230px; +} + +#page-mod-attendance-report.has-region-side-pre.content-only .attendancereporttable .headcol { + left: 80px; +} + +@media (max-width: 767px) { + #page-mod-attendance-report.has-region-side-pre .attendancereporttable .headcol { + left: 80px; + } +}