Mercurial > hg > rlgwebd
comparison style-rlg.css @ 50:bef5629f50d8
RLG-Web client: improve the forms.
Put the forms into CSS tables so they look nicer. Also remove the
<form> elements so they won't be submitted as forms.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Mon, 11 Jun 2012 12:00:44 -0700 |
parents | 33bdb3d466e3 |
children | 7f3ca16409fe |
comparison
equal
deleted
inserted
replaced
49:423ef87ddc9b | 50:bef5629f50d8 |
---|---|
18 margin: 0.2em; | 18 margin: 0.2em; |
19 font-size: 1.2em; | 19 font-size: 1.2em; |
20 padding: 0.4em; | 20 padding: 0.4em; |
21 } | 21 } |
22 | 22 |
23 div#opttable { | 23 div.formtable { |
24 display: table; | 24 display: table; |
25 margin: 1em auto; | 25 margin: 1em auto; |
26 border: 2px solid #101040; | 26 border: 2px solid #101040; |
27 } | 27 } |
28 | 28 |
29 div#opttable > div { | 29 div.formtable > div { |
30 display: table-row; | 30 display: table-row; |
31 } | 31 } |
32 | 32 |
33 div#opttable > div > div { | 33 div.formtable > div > div { |
34 display: table-cell; | 34 display: table-cell; |
35 padding: 0.4em 2em; | 35 padding: 0.4em 2em; |
36 } | 36 } |
37 | 37 |
38 div#opttable > div > div:first-child { | 38 div.formtable > div > div:first-child { |
39 font-weight: bold; | 39 font-weight: bold; |
40 text-align: center; | 40 text-align: center; |
41 } | 41 } |
42 | 42 |
43 span.ibutton { | 43 span.ibutton { |
44 background-color: #D0D0D0; | 44 background-color: #D0D0D0; |
45 border: 2px solid #101040; | 45 border: 2px solid #101040; |
46 border-radius: 0.3em; | 46 border-radius: 0.3em; |
47 padding: 0.2em 0.5em; | 47 padding: 0.2em 0.5em; |
48 } | 48 } |
49 | |
50 div#register div.formtable span.ibutton { | |
51 font-weight: bold; | |
52 } |