source: trunk/templates/dns.css@ 38

Last change on this file since 38 was 38, checked in by Kris Deugau, 15 years ago

/trunk

checkpoint - big changes!

dns.cgi and DNSDB.pm:

  • all output pages should validate as XHTML 1.0 Strict. For at least another five minutes.
  • add variable to control env dump (which doesn't validate...)
  • fiddle username add to use "uname" as username field, since username seems to cause HTML::Template to barf suddenly... O_o
  • tweak "change current group" form URI for XHTML's idiotic "all ampersands must be exscapededed ALL EVARWERE!!!one11!"
  • check for existence of group, domain, user at beginning of respective add* subs in DNSDB.pm

templates/*:

  • adjust all templates to account for oddities and stupidities of XHTML 1.0. Templates do NOT validate on their own, but the final output should. WTFisms include (but are not limited to):
    • escaped ampersands in links?
    • "<form> can't go here"?
    • <td> can't use nowrap, width?
    • "<fieldset>"?
    • and now that the form fields are enclosed in a fieldset... apparently you can't right-click in "noncontent" space "inside" that element. GRRRRRRR!!!!!
  • CSS now needs work to make things appear properly, due largely to the WTFisms above
  • all this XHTML fixing got me to also normalize and clean up inconsistent usage, general structures, and things that wouldn't even pass HTML 4.0.1 Transitional (I think) - eg missing closing tags on <tr> or <td>
  • delete raw dump of Vega's login page (need to delete a couple others)
File size: 2.6 KB
Line 
1#debug {
2 background-color: #990066;
3 padding: 2px;
4}
5
6/* General settings */
7body {
8 font-family: Verdana, Helvetica, sans-serif;
9 font-size: 12px;
10 margin-left: 0px;
11 margin-right: 0px;
12/* background-color: #deadDD;*/
13/* background-color: #FFFF00;*/
14}
15hr {
16 background-color: #666;
17 height: 1px;
18 border: 0;
19}
20img {
21 border: 0px;
22}
23fieldset {
24 border: none;
25 padding: 0px;
26 margin: 0px;
27}
28
29table.login {
30 text-align: center;
31 border: thin solid #000000;
32 background-color: #CCCCFF;
33}
34table.list {
35 background-color: #F0F0F0;
36}
37table.container {
38 background-color: #FFFFFF;
39 border: none;
40}
41table.wholepage {
42 width: 100%;
43}
44
45tr.row0 {
46 background-color: #FFFFFF;
47}
48tr.row1 {
49 background-color: #DDDDDD;
50}
51tr.tableheader {
52 background-color: #CCCCCC;
53 padding: 3px;
54}
55tr.darkrowheader {
56 background-color: #CCCCCC;
57 padding: 3px;
58}
59tr.datalinelight {
60 background-color: #F0F0F0;
61}
62
63td.tblsubmit {
64 background-color: #F0F0F0;
65 text-align: center;
66}
67td.inputlabel {
68 text-align: right;
69 padding: 3px;
70}
71td.data {
72 padding: 3px;
73}
74td.title {
75 text-align: center;
76}
77td.menu {
78 width: 200px;
79 white-space: nowrap;
80 border: thin solid #000000;
81 background-color: #ffccee;
82 vertical-align: top;
83}
84td.defaults {
85 background-color: #DDDDDD;
86}
87td.errhead {
88 font-weight: bold;
89 font-size: 110%;
90 color: red;
91 background-color: #404040;
92 text-align: center;
93 padding: 3px;
94 border: solid 2px #FF0000;
95}
96td.err {
97 border: solid 2px #FF0000;
98 color: red;
99 background-color: #e0e0e0;
100}
101td.warn {
102 border: solid 2px #FFFF00;
103 color: #333300;
104 background-color: #e0e0e0;
105}
106
107.meat {
108 align: center;
109 width: 100%;
110}
111input {
112 font-size: 10px;
113}
114ul {
115 margin-left: 10px;
116 padding: 0px;
117 list-style-type:none;
118}
119
120/* general classes */
121.errmsg {
122 font-weight: bold;
123 font-family: Verdana, Arial, Helvetica, sans-serif;
124 font-size:100%;
125 color: red;
126 background-color: #404040;
127 text-align: center;
128 border: thin solid #FFFFFF;
129 padding: 5px;
130 width: 70%;
131}
132.right {
133 right: 3px;
134}
135
136/* Specific common divs */
137#header {
138 border-bottom: thin solid #000000;
139 clear: both;
140 float: left;
141 width: 100%;
142}
143#footer {
144 border-top: thin solid #000000;
145 clear: both;
146}
147#contact {
148 font-size: 10px;
149 position: absolute;
150 right: 10px;
151 text-align: right;
152}
153
154#main {
155 position: relative;
156 float: right;
157 width: 100%;
158}
159#login {
160 margin-top: 50px;
161 margin-bottom: 50px;
162 padding: 3px;
163 border: thin solid #000000;
164}
165#tableholder {
166 padding: 2px;
167 background: #FFFFFF;
168 width: 70%;
169}
170#menu {
171 border-right: thin solid #000000;
172 margin-right: 5px;
173 padding: 3px;
174}
Note: See TracBrowser for help on using the repository browser.