source: trunk/templates/dns.css@ 532

Last change on this file since 532 was 532, checked in by Kris Deugau, 11 years ago

/trunk

Expand _template4_expand a little to match potential usage
Move "quick" hostname validation into a sub to handle validating template

hostnames and "@"

Add help link and reference page for rDNS templates on record add/edit page

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}
38.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 font-size: 1.1em;
228}
229#login2 {
230 margin: auto;
231 border: thin solid #000000;
232}
233#tableholder {
234 padding: 2px;
235 background: #FFFFFF;
236 width: 70%;
237}
238#menu {
239 border-right: thin solid #000000;
240 margin-right: 5px;
241 padding: 5px;
242}
243#soadetail {
244 text-align: left;
245}
246#badpage {
247 margin: 5% auto;
248 border: solid 2px #FFFF00;
249 color: #333300;
250 background-color: #e0e0e0;
251 text-align: center;
252 padding: 5px;
253 width: 70%;
254}
255/* somewhat generic/reusable */
256#datatablewrapper {
257 border: none;
258 width: 98%;
259 margin-left: 1%;
260 margin-right: 1%;
261 vertical-align: top;
262}
263table.csubtable {
264 margin-left: auto;
265 margin-right: auto;
266}
267td.main {
268 vertical-align: top;
269}
270
271/* Allow current group in list to be easily flagged */
272/* For reasons of "CSS is stupid" you apparently can't apply the font to the <li> *eyeroll* */
273label.curgrp {
274 font-weight: bold;
275 font-size: 1.2em;
276}
277span.curgrp {
278 font-weight: bold;
279 font-size: 1.2em;
280}
Note: See TracBrowser for help on using the repository browser.