summaryrefslogtreecommitdiff
path: root/GradeBook.scss
blob: 7cc06f407deba284233a117dc5437ea36aa616f4 (plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
$body_bg: #336699;
$body_padding: 0px;
$body_margin: 20px;
$body_font_family: Sans-Serif;


$link_color_cmd_normal:  blue;
$link_color_cmd_visited: $link_color_cmd_normal;
$link_color_cmd_hover:   $link_color_cmd_normal;
$link_color_cmd_active:  $link_color_cmd_normal;

$normal_bg: #ffcc99;
$div_padding: 5px;
$div_margin_vert:  15px;
$div_margin_horiz:  5px;

$Quiz:          #5cc3c3;
$Homework:      #a8ffa8;
$LabReport:     #8f7ad2;
$MidTerm:       #f0b7f0;
$FinalExam:     #f08ab6;

$table_hover_bg: #ffeebb;

$controls_bg: #ddbb88;

body {
	padding: $body_padding;
	margin:  $body_margin;
	background-color: $body_bg;
	font-family: $body_font_family;

	a {
		color:              $link_color_cmd_normal;
		text-decoration:    none;
		&:visited { color:  $link_color_cmd_visited;  }
		&:hover   { 
			color:  $link_color_cmd_hover;    
			text-decoration:underline;
			background-color: #ffddee;
		}
		&:active  { 
			color:  $link_color_cmd_active;   
			text-decoration:underline;
			background-color: #ffddee;
		}
	}

	div {
		background-color: $normal_bg;
		padding: {
			top:     $div_padding;
			bottom:  $div_padding;
			left:    $div_padding;
			right:   $div_padding;
		}
		margin: {
			top:     $div_margin_vert;
			bottom:  $div_margin_vert;
			left:    $div_margin_horiz;
			right:   $div_margin_horiz;
		}
	}
	span.controls {
		background-color: $controls_bg;
		font-weight: bold;
	}
	div.changegrades {
		background-color: #8f0000;
		padding: {
			bottom:  $div_padding;
			top:     $div_padding;
			left:    $div_padding;
			right:   $div_padding;
		}
	}
	table.gradestable {
		border: 1px solid black;
		border-collapse:  collapse;
		tr {
			&:hover {
				background-color: $table_hover_bg;
			}
		}
		th {
			font-weight: bold;
			background-color: $normal_bg;
			&.Quiz {
				background-color: darken($Quiz,15%);
			}
			&.Homework {
				background-color: darken($Homework,15%);
			}
			&.LabReport {
				background-color: darken($LabReport,15%);
			}
			&.MidTerm {
				background-color: darken($MidTerm,15%);
			}
			&.FinalExam {
				background-color: darken($FinalExam,15%);
			}
		}
		td {
			&.Quiz {
				background-color: $Quiz;
				&:hover {
					background-color: $table_hover_bg;
				}
			}
			&.Homework {
				background-color: $Homework;
				&:hover {
					background-color: $table_hover_bg;
				}
			}
			&.LabReport {
				background-color: $LabReport;
				&:hover {
					background-color: $table_hover_bg;
				}
			}
			&.MidTerm {
				background-color: $MidTerm;
				&:hover {
					background-color: $table_hover_bg;
				}
			}
			&.FinalExam {
				background-color: $FinalExam;
				&:hover {
					background-color: $table_hover_bg;
				}
			}
		}
	}
}
	

 
// vim: ts=2:sw=2:tw=74: