forked from nicusX/moodle-mod_attendanceregister
/
styles.css
84 lines (69 loc) · 3.54 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
Document : styles.css
Created on : 10-feb-2012, 8.27.43
Author : nicus
Description:
AttendanceRegister Mod specific styles
*/
/* Offline Session Form (DIV containing FORM) */
.attendanceregister_offlinesessionform { background-color: #F0F0F0; }
/* Table of tracked Courses */
.attendanceregister_courselist {}
.attendanceregister_courselist .lastrow { border-bottom: 1px solid #C0C0C0; }
/* Table of tracked Users */
.attendanceregister_userlist {}
.attendanceregister_userlist .lastrow { border-bottom: 1px solid #C0C0C0; }
/* User's Summary (table) */
.attendanceregister_usersummary {}
.attendanceregister_usersummary .attendanceregister_onlinesubtotal {font-weight: bold; }
.attendanceregister_usersummary .attendanceregister_offlinesubtotal {font-weight: bold;
border-top: 1px solid #C0C0C0; }
.attendanceregister_usersummary .attendanceregister_grandtotal {font-weight: bold;
background-color: #F0F0F0;
border-top: 1px double #C0C0C0; }
.attendanceregister_usersummary .lastrow { border-bottom: 1px solid #C0C0C0; }
/* Table of User's Sessions' */
.attendanceregister_sessionlist {}
.attendanceregister_sessionlist .online_label { }
.attendanceregister_sessionlist .offline_label { color: blue; }
.attendanceregister_sessionlist .lastrow { border-bottom: 1px solid #C0C0C0; }
/* Highlight Offline Sessions added by others */
.attendanceregister_sessionlist .addedbyother { text-decoration: underline; }
/* Zebra stripes */
.attendanceregister_sessionlist .attendanceregister_evenrow,
.attendanceregister_courselist .attendanceregister_evenrow,
.attendanceregister_userlist .attendanceregister_evenrow { background-color: #F0F0F0; }
.attendanceregister_sessionlist .attendanceregister_oddrow,
.attendanceregister_courselist .attendanceregister_oddrow,
.attendanceregister_userlist .attendanceregister_oddrow { background-color: #FEFEFE; }
/* Button Bars */
.attendanceregister_buttonbar {float: right;}
.attendanceregister_buttonbar div.singlebutton { float: left; }
.attendanceregister_buttonbar span.helplink {float: left;}
/* Print media styles */
@media print {
body.path-mod-attendanceregister {background: white; font-size: 10pt; color: black; }
/* Hide buttons and action_icons */
.attendanceregister_buttonbar, .action-icon {display: none;}
/* Table specific styles */
/* Add borders to table */
table.attendanceregister_sessionlist,
table.attendanceregister_courselist,
table.attendanceregister_userlist,
table.attendanceregister_usersummary { border: 1px solid #C0C0C0;}
/* Bottom border to TR and avoid breaking page insie TR*/
table.attendanceregister_sessionlist tr,
table.attendanceregister_courselist tr,
table.attendanceregister_userlist tr,
table.attendanceregister_usersummary tr { border-bottom: 1px solid #C0C0C0;
page-break-inside: avoid;}
/* Repeat THEAD after every page break */
table.attendanceregister_sessionlist thead,
table.attendanceregister_courselist thead,
table.attendanceregister_userlist thead,
table.attendanceregister_usersummary thead {display: table-header-group;}
/* Clean up links */
.path-mod-attendanceregister a:link, a:visited {color: black; text-decoration: none;}
/* Offline Sessions by other Users */
.attendanceregister_sessionlist .addedbyother { text-decoration: underline; }
}