source: trunk/templates/dns.css@ 143

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

/trunk

Code review/cleanup

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