source: trunk/ipdb.css@ 688

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

/trunk

Commit CSS changes that should have gone in with r687

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