source: trunk/ipdb.css@ 556

Last change on this file since 556 was 544, checked in by Kris Deugau, 12 years ago

/trunk

Extend findAllocateFrom() to allow passing a target block to allocate
to restrict the freeblock selection
Remove local SQL for confirmation page for "assign this block" in
admin.cgi in favour of existing data and subs. See #34.
For admin.cgi "assign this block", if the requested IP type does not
match the pool, the type will be adjusted and a warning pushed out.
Add space on "assign this block" template for a warning.

File size: 3.7 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 */
94tr.header {
95 background-color: #CCCCCC;
96 font-family: Verdana, Arial, Helvetica, sans-serif;
97}
98/* for reasons of Please The Validation Gods, these may be applied to
99 things that are not technically table rows */
100.row0 {
101 background-color: #D0E0E0;
102 font-family: Verdana, Arial, Helvetica, sans-serif;
103 font-size: 90%;
104}
105.row1 {
106 background-color: #A8C4D0;
107 font-family: Verdana, Arial, Helvetica, sans-serif;
108 font-size: 90%;
109}
110
111.warnmsg {
112 border: solid 2px #FFFF00;
113 color: #333300;
114 background-color: #e0e0e0;
115 text-align: center;
116 padding: 5px;
117 width: 70%;
118}
119
120
121hr.w60 {
122 width: 60%;
123}
124hr.w30 {
125 width: 30%;
126}
127
128/* legacy defs */
129tr.hack {
130 background-color: #E4EEE8;
131 font-family: Verdana, Arial, Helvetica, sans-serif;
132 font-size: 90%;
133}
134
135tr.warning {
136 background-color: #000000;
137 font-family: Verdana, Arial, Helvetica, sans-serif;
138 font-weight: bold;
139 color: red;
140}
141
142tr.header {
143 background-color: #CCCCCC;
144 font-family: Verdana, Arial, Helvetica, sans-serif;
145}
146
147td {
148 padding-right: 2px;
149 padding-left: 2px;
150}
151
152/* Generic classes */
153.indent {
154 margin-left: 5%;
155 font-size: 90%;
156}
157
158.regular {
159 font-family: Verdana, Arial, Helvetica, sans-serif;
160 font-size: 100%;
161}
162
163.heading {
164 font-size: 110%;
165 font-weight: bold;
166 font-family: Verdana, Arial, Helvetica, sans-serif;
167}
168
169.tbltitle {
170 text-align: center;
171 font-size: 110%;
172 font-weight: bold;
173 font-family: Verdana, Arial, Helvetica, sans-serif;
174}
175.tblsubtitle {
176 font-size: 105%;
177 font-weight: bold;
178 font-family: Verdana, Arial, Helvetica, sans-serif;
179}
180
181.ljust {
182 text-align: left;
183}
184.topalign {
185 vertical-align: top;
186}
187
188.small {
189 font-size: 60%;
190}
191
192.center {
193 text-align: center;
194 font-family: Verdana, Arial, Helvetica, sans-serif;
195 font-size: 100%;
196}
197
198.err {
199 text-align: center;
200 font-size: 1em;
201}
202
203.red {
204 font-weight: bold;
205 font-family: Verdana, Arial, Helvetica, sans-serif;
206 font-size:100%;
207 color: red;
208}
209
210.mask {
211 background: #00ff00;
212}
213
214.wildcard {
215 background: #ffff00;
216}
217
218.altbg {
219 background: #d0e0e0;
220}
221
222.noshow {
223 visibility: none;
224 height: 0;
225 width: 0;
226}
Note: See TracBrowser for help on using the repository browser.