From 0991ec0622f0959acd2f06ae3f8f281e34f5e499 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Mar 2012 09:43:22 +0100 Subject: A little bit more CSS --- cgi/index.pl | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'cgi') diff --git a/cgi/index.pl b/cgi/index.pl index cd5885e..342d741 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -316,11 +316,17 @@ __DATA__ } div.about { + margin-top: 2em; color: #666666; } div.about a { color: #000066; + text-decoration: none; + } + + span.optional { + color: #666666; } div.break { @@ -334,11 +340,15 @@ __DATA__ div.field div.desc { float: left; - width: 10em; + width: 14em; text-align: right; padding-right: 0.5em; } + input, select { + border: 1px solid black; + } + @@ -373,7 +383,7 @@ local transit networks as well. <%= form_for _redirect => begin %>
-
City -> Stop
+
City → Stop
<%= text_field 'city' %> <%= text_field 'stop' %> @@ -381,9 +391,10 @@ local transit networks as well.
- optional: + optional:
-
display height [1..10]
+
+ display height [1..10]
<%= text_field 'no_lines' %>
@@ -391,20 +402,18 @@ local transit networks as well.
<%= text_field 'offset' %>
-
match line prefix 1
+
+ match line prefix
<%= text_field 'line' %>
-
match platform 1
+
match platform
<%= text_field 'platform' %>
backend
<%= select_field backend => [['EFA (VRR)' => 'vrr'], ['HAFAS (DB)' => 'db']] %>
-
- 1 comma-separated list
-
<% end %> -- cgit v1.2.3