source: trunk/ipdb.css@ 699

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

/trunk

Add "breadcrumb" navigation trace to most pages.

File size: 5.5 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
143/* Need to normalize down to onw of these someday */
144.warning {
145 background-color: #000000;
146 font-family: Verdana, Arial, Helvetica, sans-serif;
147 font-weight: bold;
148 color: red;
149 padding: 2px;
150}
[544]151.warnmsg {
152 border: solid 2px #FFFF00;
153 color: #333300;
154 background-color: #e0e0e0;
155 text-align: center;
156 padding: 5px;
157 width: 70%;
158}
159
[517]160hr.w60 {
161 width: 60%;
162}
163hr.w30 {
164 width: 30%;
165}
166
[689]167/* Reverse DNS odds and ends. Commented bits are either info-reminders or
168 don't work as expected */
[674]169div.rdns {
170 max-height: 20em;
[689]171/* overflow-y: scroll; */
[674]172 overflow-x: hidden;
[689]173/* display:inline-block; */
[674]174 width: 600px;
[689]175/* width: 16em; */
[674]176 border: solid 1px #000000;
177}
178/* Abuse collapsible list tree for hideable page segment */
179/* hide the content <li> */
180.collapsible li > input + * {
181 display: none;
182}
183/* when the input is checked, show the content <li> */
184.collapsible li > input:checked + * {
185 display: block;
186}
187/* hide the checkbox */
188.collapsible li > input {
189 display: none;
190 margin: 0em;
191 padding: 0px;
192}
193/* mostly just making the input label clickable */
194.collapsible label {
195 cursor: pointer;
196 display: inline;
197 margin: 0em;
198 padding: 0px;
199 padding-left: 10px;
200}
201/* be nice if we could make this work without the HTML list structure... */
202.notalist {
203 list-style: none;
204 margin: 0;
205 padding: 3px;
206}
207/* done hideable page segment */
208
209/* Per-IP rDNS listings on edit allocation page */
210.revdata {
211 background-color: #C8D3DE;
212}
213.host {
214 width: 450px;
215// width: 35em;
216}
217
[689]218/* Legacy leftovers? */
[517]219td {
220 padding-right: 2px;
221 padding-left: 2px;
222}
223
224/* Generic classes */
[4]225.indent {
226 margin-left: 5%;
227 font-size: 90%;
228}
229
230.regular {
231 font-family: Verdana, Arial, Helvetica, sans-serif;
[254]232 font-size: 100%;
[4]233}
234
235.heading {
236 font-size: 110%;
237 font-weight: bold;
238 font-family: Verdana, Arial, Helvetica, sans-serif;
239}
240
[517]241.tbltitle {
242 text-align: center;
243 font-size: 110%;
244 font-weight: bold;
245 font-family: Verdana, Arial, Helvetica, sans-serif;
246}
247.tblsubtitle {
248 font-size: 105%;
249 font-weight: bold;
250 font-family: Verdana, Arial, Helvetica, sans-serif;
251}
252
253.ljust {
254 text-align: left;
255}
[691]256.rjust {
257 text-align: right;
258 float: right;
259}
[517]260.topalign {
261 vertical-align: top;
262}
263
[4]264.small {
265 font-size: 60%;
266}
267
268.center {
269 text-align: center;
270 font-family: Verdana, Arial, Helvetica, sans-serif;
271 font-size: 100%;
272}
273
[517]274.err {
275 text-align: center;
276 font-size: 1em;
277}
278
[4]279.red {
280 font-weight: bold;
281 font-family: Verdana, Arial, Helvetica, sans-serif;
282 font-size:100%;
283 color: red;
284}
[371]285
286.mask {
287 background: #00ff00;
288}
289
290.wildcard {
291 background: #ffff00;
292}
[517]293
294.altbg {
295 background: #d0e0e0;
296}
297
298.noshow {
[580]299 visibility: hidden;
[517]300 height: 0;
301 width: 0;
302}
Note: See TracBrowser for help on using the repository browser.