[LON-CAPA-cvs] cvs: loncom /homework task.css
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 30 Mar 2006 18:54:24 -0000
albertel Thu Mar 30 13:54:24 2006 EDT
Modified files:
/loncom/homework task.css
Log:
- some updates to the grading layout
Index: loncom/homework/task.css
diff -u loncom/homework/task.css:1.2 loncom/homework/task.css:1.3
--- loncom/homework/task.css:1.2 Wed Mar 29 15:31:43 2006
+++ loncom/homework/task.css Thu Mar 30 13:54:24 2006
@@ -160,11 +160,7 @@
}
-
-
-
.LC_fail, .LC_pass, .LC_neutral {
- position: relative;
margin : 5px;
margin-bottom :10px;
padding : 4px;
@@ -176,14 +172,27 @@
background-color : rgb(255,240,225);
}
+*>.LC_fail, *>.LC_pass, *>.LC_neutral {
+ position: relative;
+}
+
.LC_fail h4, .LC_pass h4 {
- position:absolute;
left: -4px;
top: -8px;
padding:2px;
- margin:0;
+ margin:-4em 0 0 -5em;
background-color : rgb(255,240,225);
border : thin solid;
+ width: 9em;
+}
+
+*>.LC_fail h4, *>.LC_pass h4 {
+ position:absolute;
+ width: auto;
+ margin: 0;
+}
+.LC_question_grade {
+
}
.LC_fail {
@@ -207,10 +216,17 @@
.LC_grade {
font-size: x-large;
font-family: Arial;
- position:absolute;
+ left: -5em;
+ top: -15em;
+ width: 2em;
+ border: 1px solid;
+}
+*>.LC_grade {
left: 5px;
top: -5px;
- width: 70px;
+ width: auto;
+ border: none;
+ position:absolute;
}
div#LC_feedback h1 {