summaryrefslogtreecommitdiff
path: root/GradeBook.scss
diff options
context:
space:
mode:
Diffstat (limited to 'GradeBook.scss')
-rw-r--r--GradeBook.scss141
1 files changed, 141 insertions, 0 deletions
diff --git a/GradeBook.scss b/GradeBook.scss
new file mode 100644
index 0000000..7cc06f4
--- /dev/null
+++ b/GradeBook.scss
@@ -0,0 +1,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: