source: trunk/ipdb.css@ 773

Last change on this file since 773 was 770, checked in by Kris Deugau, 9 years ago

/trunk

Rollup of CSS tweaks

File size: 6.0 KB
RevLine 
[517]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}
[697]59#breadcrumb {
60 font-size: 13px;
61 font-weight: bold;
62 position: absolute;
63 top: 2px;
64}
[517]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
[413]80body {
81 background-color: #ffffff;
[517]82 color: #000000;
[413]83 font-family: helvetica;
84 margin: 0;
[4]85}
86
[413]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 */
[4]92
[517]93table.center {
94 margin-left: auto;
95 margin-right: auto;
96 text-align: center;
[279]97}
98
[517]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;
[4]105 font-size: 90%;
106}
[517]107.row1 {
[4]108 background-color: #A8C4D0;
109 font-family: Verdana, Arial, Helvetica, sans-serif;
110 font-size: 90%;
111}
112
[688]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
[770]143tr.tableheader {
144 background-color: #CCCCCC;
145 padding: 3px;
146 text-align: left;
147}
148tr.skip {
149 background: inherit;
150}
151
[688]152/* Need to normalize down to onw of these someday */
[703]153.delwarning {
[688]154 background-color: #000000;
155 font-family: Verdana, Arial, Helvetica, sans-serif;
156 font-weight: bold;
157 color: red;
158 padding: 2px;
159}
[703]160.warning {
161 border: solid 2px #FFFF00;
162 color: #333300;
163 background-color: #e0e0e0;
164 text-align: center;
165 padding: 5px;
166}
167
[544]168.warnmsg {
169 border: solid 2px #FFFF00;
170 color: #333300;
171 background-color: #e0e0e0;
172 text-align: center;
173 padding: 5px;
174 width: 70%;
175}
176
[703]177/* some standard width widgets */
178.w70 { width: 70%; }
179.w60 { width: 60%; }
180.w30 { width: 30%; }
[517]181
[689]182/* Reverse DNS odds and ends. Commented bits are either info-reminders or
183 don't work as expected */
[674]184div.rdns {
185 max-height: 20em;
[689]186/* overflow-y: scroll; */
[674]187 overflow-x: hidden;
[689]188/* display:inline-block; */
[674]189 width: 600px;
[689]190/* width: 16em; */
[674]191 border: solid 1px #000000;
192}
193/* Abuse collapsible list tree for hideable page segment */
194/* hide the content <li> */
195.collapsible li > input + * {
196 display: none;
197}
198/* when the input is checked, show the content <li> */
199.collapsible li > input:checked + * {
200 display: block;
201}
202/* hide the checkbox */
203.collapsible li > input {
204 display: none;
205 margin: 0em;
206 padding: 0px;
207}
208/* mostly just making the input label clickable */
209.collapsible label {
210 cursor: pointer;
211 display: inline;
212 margin: 0em;
213 padding: 0px;
214 padding-left: 10px;
215}
216/* be nice if we could make this work without the HTML list structure... */
217.notalist {
218 list-style: none;
219 margin: 0;
220 padding: 3px;
221}
222/* done hideable page segment */
223
224/* Per-IP rDNS listings on edit allocation page */
225.revdata {
226 background-color: #C8D3DE;
[703]227 position: relative;
[674]228}
229.host {
230 width: 450px;
231// width: 35em;
232}
[703]233/* and tack on some positioning magic for an action button or two */
234.button_l {
235 position: absolute;
236 bottom: 0;
237 left: 4px;
238}
239.button_r {
240 position: absolute;
241 bottom: 0;
242 right: 4px;
243}
[674]244
[689]245/* Legacy leftovers? */
[517]246td {
247 padding-right: 2px;
248 padding-left: 2px;
249}
250
251/* Generic classes */
[4]252.indent {
253 margin-left: 5%;
254 font-size: 90%;
255}
256
257.regular {
258 font-family: Verdana, Arial, Helvetica, sans-serif;
[254]259 font-size: 100%;
[4]260}
261
262.heading {
263 font-size: 110%;
264 font-weight: bold;
265 font-family: Verdana, Arial, Helvetica, sans-serif;
266}
[770]267div.heading {
268 margin-top: 1em;
269}
[4]270
[517]271.tbltitle {
272 text-align: center;
273 font-size: 110%;
274 font-weight: bold;
275 font-family: Verdana, Arial, Helvetica, sans-serif;
276}
277.tblsubtitle {
278 font-size: 105%;
279 font-weight: bold;
280 font-family: Verdana, Arial, Helvetica, sans-serif;
281}
282
283.ljust {
284 text-align: left;
285}
[691]286.rjust {
287 text-align: right;
288 float: right;
289}
[517]290.topalign {
291 vertical-align: top;
292}
293
[4]294.small {
295 font-size: 60%;
296}
297
298.center {
299 text-align: center;
300 font-family: Verdana, Arial, Helvetica, sans-serif;
301 font-size: 100%;
302}
303
[517]304.err {
305 text-align: center;
306 font-size: 1em;
307}
308
[4]309.red {
310 font-weight: bold;
311 font-family: Verdana, Arial, Helvetica, sans-serif;
312 font-size:100%;
313 color: red;
314}
[371]315
316.mask {
317 background: #00ff00;
318}
319
320.wildcard {
321 background: #ffff00;
322}
[517]323
324.altbg {
325 background: #d0e0e0;
326}
327
328.noshow {
[580]329 visibility: hidden;
[517]330 height: 0;
331 width: 0;
332}
Note: See TracBrowser for help on using the repository browser.