source: trunk/templates/dns.css@ 179

Last change on this file since 179 was 173, checked in by Kris Deugau, 13 years ago

/trunk

Security audit (see #30)

  • remove a stale global
  • catch and handle bad page parameter
File size: 4.3 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: #f8f8f8;
14}
15hr {
16 background-color: #666;
17 height: 1px;
18 border: 0;
19}
20img {
21 border: 0px;
22}
23/* Use Gecko-style list elements */
24ul, ol, li {
25 margin-left: 0;
26 padding-left: 40px;
27/* border: thin solid #FF0000;*/
28}
29fieldset {
30 border: none;
31 padding: 0px;
32 margin: 0px;
33}
34
35table.list {
36 background-color: #F0F0F0;
37}
38table.container {
39 background-color: #FFFFFF;
40 border: none;
41}
42table.wholepage {
43 width: 100%;
44}
45table.border {
46 border: thin solid #000000;
47}
48
49tr.row0 {
50 background-color: #FFFFFF;
51}
52tr.row1 {
53 background-color: #DDDDDD;
54}
55tr.tableheader {
56 background-color: #CCCCCC;
57 padding: 3px;
58 text-align: left;
59}
60tr.darkrowheader {
61 background-color: #CCCCCC;
62 padding: 3px;
63}
64tr.datalinelight {
65 background-color: #F0F0F0;
66 text-align: left;
67}
68
69th {
70 background-color: #F0F0F0;
71 font-size: 1.1em;
72 font-weight:normal;
73 padding: 4px;
74}
75
76td.tblsubmit {
77 background-color: #F0F0F0;
78 text-align: center;
79}
80td.inputlabel {
81 text-align: right;
82 padding: 3px;
83}
84td.datahead_l {
85 background-color: #F0F0F0;
86 border-bottom: 1px solid #666666;
87 text-align: left;
88}
89td.datahead_s {
90 background-color: #F0F0F0;
91 border-bottom: 1px solid #666666;
92 width: 1%;
93 white-space: nowrap;
94}
95td.data_nowrap {
96 white-space: nowrap;
97}
98td.data {
99 padding: 3px;
100}
101td.title {
102 text-align: center;
103}
104td.menu {
105 width: 200px;
106 white-space: nowrap;
107 border: thin solid #000000;
108 background-color: #f0f0f0;
109 vertical-align: top;
110}
111td.defaults {
112 background-color: #DDDDDD;
113}
114td.errhead {
115 font-weight: bold;
116 font-size: 110%;
117 color: red;
118 background-color: #404040;
119 text-align: center;
120 padding: 3px;
121 border: solid 2px #FF0000;
122}
123td.err {
124 border: solid 2px #FF0000;
125 color: red;
126 background-color: #e0e0e0;
127}
128td.warn {
129 border: solid 2px #FFFF00;
130 color: #333300;
131 background-color: #e0e0e0;
132}
133td.leftthird {
134 width: 36%;
135 text-align: left;
136}
137td.rightthird {
138 width: 36%;
139 text-align: right;
140}
141td.border {
142 background-color: #e0e0e0;
143 border: solid 1px #101010;
144 padding: 2px;
145}
146td.noaccess {
147 background-color: #ffd8d8;
148 color: #3f0000;
149}
150
151.meat {
152 align: center;
153 width: 100%;
154}
155input {
156 font-size: 10px;
157}
158
159
160/* general classes */
161.result {
162 border: solid 1px #00CC00;
163 color: #000000;
164 background-color: #f0f0f0;
165 text-align: center;
166 padding: 5px;
167 width: 50%;
168}
169.warning {
170 border: solid 2px #FFFF00;
171 color: #333300;
172 background-color: #e0e0e0;
173 text-align: center;
174 padding: 5px;
175 width: 70%;
176}
177.errmsg {
178 font-weight: bold;
179 font-family: Verdana, Arial, Helvetica, sans-serif;
180 font-size:100%;
181 color: red;
182 background-color: #404040;
183 text-align: center;
184 border: thin solid #FFFFFF;
185 padding: 5px;
186 width: 70%;
187 margin: 1% auto;
188}
189.right {
190 right: 3px;
191}
192.center {
193 text-align: center;
194}
195/* not sure this really does what I think it does. is it really not
196 possible to center an arbitrary <blah> in some other arbitrary <foo>? */
197.loccenter {
198 margin-left: 10%;
199 margin-right: 10%;
200}
201.maintitle {
202 font-size: 1.3em;
203}
204
205
206#footer {
207 border-top: thin solid #000000;
208 clear: both;
209 margin-top: 20px;
210}
211#contact {
212 font-size: 10px;
213 position: absolute;
214 right: 10px;
215 text-align: right;
216}
217
218#main {
219 position: relative;
220 float: right;
221 width: 100%;
222 margin:bottom: 50px;
223}
224#login {
225 margin: 17% auto;
226 padding: 3px;
227 border: thin solid #000000;
228}
229#tableholder {
230 padding: 2px;
231 background: #FFFFFF;
232 width: 70%;
233}
234#menu {
235 border-right: thin solid #000000;
236 margin-right: 5px;
237 padding: 5px;
238}
239#soadetail {
240 text-align: left;
241}
242#badpage {
243 margin: 5% auto;
244 border: solid 2px #FFFF00;
245 color: #333300;
246 background-color: #e0e0e0;
247 text-align: center;
248 padding: 5px;
249 width: 70%;
250}
251/* somewhat generic/reusable */
252#datatablewrapper {
253 border: none;
254 width: 98%;
255 margin-left: 1%;
256 margin-right: 1%;
257 vertical-align: top;
258}
259table.csubtable {
260 margin-left: auto;
261 margin-right: auto;
262}
263td.main {
264 vertical-align: top;
265}
266
267/* Allow current group in list to be easily flagged */
268/* For reasons of "CSS is stupid" you apparently can't apply the font to the <li> *eyeroll* */
269label.curgrp {
270 font-weight: bold;
271 font-size: 1.2em;
272}
273span.curgrp {
274 font-weight: bold;
275 font-size: 1.2em;
276}
Note: See TracBrowser for help on using the repository browser.