items: fix nested lists in form, and implement higlight for #target
authorTero Marttila <terom@fixme.fi>
Mon, 10 Jan 2011 17:50:21 +0200
changeset 52 b06e34219441
parent 51 3e9a8fb73083
child 53 06dad873204d
items: fix nested lists in form, and implement higlight for #target
static/forms.css
static/tables.css
--- a/static/forms.css	Mon Jan 10 17:49:49 2011 +0200
+++ b/static/forms.css	Mon Jan 10 17:50:21 2011 +0200
@@ -55,14 +55,14 @@
 }
 
 /* Fields inside a fieldset will be vertically separated */
-fieldset ol li
+fieldset ol > li
 {
     padding: 0.5em 1em;
 
     border-top: 1px solid #c5c5c5;
 }
 
-fieldset ol li:first-child
+fieldset ol > li:first-child
 {
     border-top: none;
 }
--- a/static/tables.css	Mon Jan 10 17:49:49 2011 +0200
+++ b/static/tables.css	Mon Jan 10 17:50:21 2011 +0200
@@ -55,6 +55,12 @@
     background-color: #e8e8e8;
 }
 
+/* Link to tr with URL #foo fragment */
+tr:target
+{
+    background-color: #F5F3B8;
+}
+
 td, th
 {
     border: thin solid #ffffff;