source: trunk/ipdb.css@ 695

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

/trunk

Expose VRF field, and add a similar VLAN field (see #10).

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