source: trunk/ipdb.css@ 703

Last change on this file since 703 was 703, checked in by Kris Deugau, 10 years ago

/trunk

CSS tweak rollup related to previous changes and a few coming commits

File size: 5.9 KB
Line 
1/* Default/global defs for specific tags */
2fieldset {
3 border: none;
4 padding: 0px;
5 margin: 0px;
6}
7
8#debug {
9 background-color: #990066;
10 padding: 2px;
11}
12
13/* Specific divs */
14#bodyheader {
15 margin-left: 4px;
16 position: relative;
17}
18#homelink {
19 font-size: 13px;
20 font-weight: bold;
21 position: absolute;
22 right: 10px;
23 bottom: 2px;
24 text-align: right;
25}
26#subheader {
27 background-color: #D0E0E0;
28 font-size: 90%;
29 padding: 3px;
30 border-top: thin solid #000000;
31 /* apparently this is required to keep "contained" position: absolute divs from escaping. O_o */
32 position: relative;
33}
34#csearch {
35 float: right;
36 padding: 3px;
37}
38#newlink {
39 position: absolute;
40 right: 10px;
41 top: 6px;
42 text-align: right;
43}
44#main {
45 padding: 10px;
46 border-top: thin solid #000000;
47/* text-align: center;*/
48 padding-top: 20px;
49 position: relative;
50}
51#utils {
52 font-size: 13px;
53 font-weight: bold;
54 position: absolute;
55 right: 10px;
56 top: 2px;
57 text-align: right;
58}
59#breadcrumb {
60 font-size: 13px;
61 font-weight: bold;
62 position: absolute;
63 top: 2px;
64}
65#adminlink {
66 position: absolute;
67 right: 10px;
68 bottom: 5px;
69}
70#footer {
71 border-top: thin solid #000000;
72}
73#contact {
74 font-size: 10px;
75 position: absolute;
76 right: 10px;
77 text-align: right;
78}
79
80body {
81 background-color: #ffffff;
82 color: #000000;
83 font-family: helvetica;
84 margin: 0;
85}
86
87a { text-decoration: underline; }
88a:link { color:#3333ff; } /* unvisited link */
89a:visited { color:#663366; } /* visited link */
90a:hover { color:#dd00dd; } /* mouse over link */
91a:active { color:#cc0000; } /* selected link */
92
93table.center {
94 margin-left: auto;
95 margin-right: auto;
96 text-align: center;
97}
98
99/* Defs for bulk-data rows */
100/* for reasons of Please The Validation Gods, these may be applied to
101 things that are not technically table rows */
102.row0 {
103 background-color: #D0E0E0;
104 font-family: Verdana, Arial, Helvetica, sans-serif;
105 font-size: 90%;
106}
107.row1 {
108 background-color: #A8C4D0;
109 font-family: Verdana, Arial, Helvetica, sans-serif;
110 font-size: 90%;
111}
112
113/* Funny how not caring about IE suddenly makes all kinds of neat things possible... */
114/* class group for tables with alternating row colours */
115/* note extra tbody selector for implicit tbody tag in between <table> and <tr> */
116/* fallback for Stoopid Browsers */
117.altrows > tbody > tr {
118 background-color: #D0E0E0;
119}
120.altrows > tbody > tr:nth-child(odd) {
121 background-color: #A8C4D0;
122}
123.altrows > tbody > tr:nth-child(even) {
124 background-color: #D0E0E0;
125}
126/* because ordering. *sigh* could just set to something,
127 but this lets the primary background colour through */
128.altrows > tbody > tr:first-child {
129 background: inherit;
130}
131
132/* and because we can't do things the simple way... a no-headings version */
133.altrowsnh tr {
134 background-color: #D0E0E0;
135}
136.altrowsnh tr:nth-child(odd) {
137 background-color: #A8C4D0;
138}
139.altrowsnh tr:nth-child(even) {
140 background-color: #D0E0E0;
141}
142
143/* Need to normalize down to onw of these someday */
144.delwarning {
145 background-color: #000000;
146 font-family: Verdana, Arial, Helvetica, sans-serif;
147 font-weight: bold;
148 color: red;
149 padding: 2px;
150}
151.warning {
152 border: solid 2px #FFFF00;
153 color: #333300;
154 background-color: #e0e0e0;
155 text-align: center;
156 padding: 5px;
157}
158
159.warnmsg {
160 border: solid 2px #FFFF00;
161 color: #333300;
162 background-color: #e0e0e0;
163 text-align: center;
164 padding: 5px;
165 width: 70%;
166}
167
168/* some standard width widgets */
169.w70 { width: 70%; }
170.w60 { width: 60%; }
171.w30 { width: 30%; }
172
173/* Reverse DNS odds and ends. Commented bits are either info-reminders or
174 don't work as expected */
175div.rdns {
176 max-height: 20em;
177/* overflow-y: scroll; */
178 overflow-x: hidden;
179/* display:inline-block; */
180 width: 600px;
181/* width: 16em; */
182 border: solid 1px #000000;
183}
184/* Abuse collapsible list tree for hideable page segment */
185/* hide the content <li> */
186.collapsible li > input + * {
187 display: none;
188}
189/* when the input is checked, show the content <li> */
190.collapsible li > input:checked + * {
191 display: block;
192}
193/* hide the checkbox */
194.collapsible li > input {
195 display: none;
196 margin: 0em;
197 padding: 0px;
198}
199/* mostly just making the input label clickable */
200.collapsible label {
201 cursor: pointer;
202 display: inline;
203 margin: 0em;
204 padding: 0px;
205 padding-left: 10px;
206}
207/* be nice if we could make this work without the HTML list structure... */
208.notalist {
209 list-style: none;
210 margin: 0;
211 padding: 3px;
212}
213/* done hideable page segment */
214
215/* Per-IP rDNS listings on edit allocation page */
216.revdata {
217 background-color: #C8D3DE;
218 position: relative;
219}
220.host {
221 width: 450px;
222// width: 35em;
223}
224/* and tack on some positioning magic for an action button or two */
225.button_l {
226 position: absolute;
227 bottom: 0;
228 left: 4px;
229}
230.button_r {
231 position: absolute;
232 bottom: 0;
233 right: 4px;
234}
235
236/* Legacy leftovers? */
237td {
238 padding-right: 2px;
239 padding-left: 2px;
240}
241
242/* Generic classes */
243.indent {
244 margin-left: 5%;
245 font-size: 90%;
246}
247
248.regular {
249 font-family: Verdana, Arial, Helvetica, sans-serif;
250 font-size: 100%;
251}
252
253.heading {
254 font-size: 110%;
255 font-weight: bold;
256 font-family: Verdana, Arial, Helvetica, sans-serif;
257}
258
259.tbltitle {
260 text-align: center;
261 font-size: 110%;
262 font-weight: bold;
263 font-family: Verdana, Arial, Helvetica, sans-serif;
264}
265.tblsubtitle {
266 font-size: 105%;
267 font-weight: bold;
268 font-family: Verdana, Arial, Helvetica, sans-serif;
269}
270
271.ljust {
272 text-align: left;
273}
274.rjust {
275 text-align: right;
276 float: right;
277}
278.topalign {
279 vertical-align: top;
280}
281
282.small {
283 font-size: 60%;
284}
285
286.center {
287 text-align: center;
288 font-family: Verdana, Arial, Helvetica, sans-serif;
289 font-size: 100%;
290}
291
292.err {
293 text-align: center;
294 font-size: 1em;
295}
296
297.red {
298 font-weight: bold;
299 font-family: Verdana, Arial, Helvetica, sans-serif;
300 font-size:100%;
301 color: red;
302}
303
304.mask {
305 background: #00ff00;
306}
307
308.wildcard {
309 background: #ffff00;
310}
311
312.altbg {
313 background: #d0e0e0;
314}
315
316.noshow {
317 visibility: hidden;
318 height: 0;
319 width: 0;
320}
Note: See TracBrowser for help on using the repository browser.