source: trunk/web-app/css/main.css @ 110

Last change on this file since 110 was 110, checked in by gav, 15 years ago

IE strikes again, small work around applied.

File size: 6.2 KB
Line 
1html * {
2    margin: 0;
3    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
4
5}
6
7/* GENERAL */
8
9.spinner {
10    padding: 5px;
11    position: absolute;
12    right: 0;
13}
14
15body {
16    text-align: center; 
17    width: 980px
18    background: #fff;
19    color: #222;
20    font: 14px verdana, arial, helvetica, sans-serif;
21    background: transparent url("../images/brushed_metal.png") repeat fixed center;
22}
23
24#wrapper {
25  margin: 0 auto;
26  padding: 0;
27  width: 1024px;
28}
29
30#top {
31  background: url("../images/topBg.png") no-repeat scroll center;
32  width: 1020px;
33  height: 44px;
34}
35
36#content {
37  padding: 0px 20px 20px;
38  background: url("../images/Contentbg.png") repeat-y scroll center;
39  width: 980px;
40}
41
42#Header {
43  background: transparent url("../images/logo.png") no-repeat scroll center;
44  width: 980px;
45  height: 160px;
46}
47#HeaderLink{
48  display: block;
49  width: 650px;
50  height: 160px;
51}
52
53a:link, a:visited, a:hover {
54    color: #666;
55    font-weight: bold;
56    text-decoration: none;
57}
58
59img {
60    border: 0px;
61}
62
63h1 {
64    color: #006dba;
65    font-weight: normal;
66    font-size: 17px;
67    margin: 0 0 .3em 0;
68}
69
70ul {
71    padding-left: 15px;
72}
73
74input, select, textarea {
75    background-color: #fcfcfc;
76    border: 1px solid #ccc;
77    font: 14px verdana, arial, helvetica, sans-serif;
78    margin: 2px 0;
79    padding: 2px 4px;
80}
81select {
82   padding: 2px 2px 2px 0;
83}
84textarea {
85        width: 450px;
86        height: 150px;
87        vertical-align: top;
88}
89
90input:focus, select:focus, textarea:focus {
91    border: 1px solid #b2d1ff;
92}
93
94.body {
95    padding: 20px 20px 20px 20px;
96    text-align: center;
97}
98
99/* Login/out and Admin*/
100
101.appcontrol {
102    text-align: right;
103    padding: 5px 160px 5px 5px
104}
105
106.appcontrolButton {
107    font-size: 14px;
108    padding: 5px 5px;
109}
110
111/* NAVIGATION MENU */
112
113.nav {
114    text-align: centre;
115    background: url("../images/linkPanel_long.png") top no-repeat;
116    /*border: 1px solid #ccc;
117    border-style: solid none solid none;*/
118    padding: 15px 0px 0px 0px;
119    width: 980px;
120    height: 40px;
121}
122
123/*.nav a{
124    background: url("../images/linkPanel.png") no-repeat top;
125    display: inline-block;
126    width: 140px;
127    height: 40px;
128    text-decoration: none;
129}*/
130
131.menuButton {
132    font-size: 14px;
133    padding: 0 5px;
134}
135.menuButton a {
136    color: #333;
137    padding: 14px 25px;
138}
139.menuButton a.home {
140    /*background: url(../images/skin/house.png) center left no-repeat;*/
141    color: #333;
142    /*padding: 25px;*/
143}
144.menuButton a.list {
145    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
146    color: #333;
147    /*padding-left: 25px;*/
148}
149.menuButton a.create {
150    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
151    color: #333;
152    /*padding-left: 25px;*/
153}
154
155/* MESSAGES AND ERRORS */
156
157.message {
158    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
159    border: 1px solid #b2d1ff;
160    color: #006dba;
161    margin: 10px 0 5px 0;
162    padding: 5px 5px 5px 0px
163}
164
165div.errors {
166    background: #fff3f3;
167    border: 1px solid red;
168    color: #cc0000;
169    margin: 10px 0 5px 0;
170    padding: 5px 0 5px 0;
171}
172div.errors ul {
173    list-style: none;
174    padding: 0;
175}
176div.errors li {
177        background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
178    line-height: 16px;
179    padding-left: 30px;
180}
181
182td.errors select {
183    border: 1px solid red;
184}
185td.errors input {
186    border: 1px solid red;
187}
188td.errors textarea {
189    border: 1px solid red;
190}
191
192input.duration {
193    width:40px;
194}
195input.duration.errors {
196    border: 1px solid red;
197}
198
199/* TABLES */
200
201table {
202    border: 1px solid #ccc;
203    width: 100%
204}
205tr {
206    border: 0;
207}
208td, th {
209    font: 14px verdana, arial, helvetica, sans-serif;
210    line-height: 17px;
211    padding: 5px 6px;
212    text-align: left;
213    vertical-align: top;
214}
215th {
216    background: #fff url(../images/skin/shadow.jpg);
217    color: #555;
218    font-size: 14px;
219    font-weight: bold;
220    line-height: 17px;
221    padding: 2px 6px;
222}
223th a:link, th a:visited, th a:hover {
224    color: #333;
225    display: block;
226    font-size: 14px;
227    text-decoration: none;
228    width: 100%;
229}
230th.asc a, th.desc a {
231    background-position: right;
232    background-repeat: no-repeat;
233}
234th.asc a {
235    background-image: url(../images/skin/sorted_asc.gif);
236}
237th.desc a {
238    background-image: url(../images/skin/sorted_desc.gif);
239}
240
241.odd {
242    background: #f7f7f7;
243}
244.even {
245    background: #fff;
246}
247
248/* LIST */
249
250.list table {
251    border-collapse: collapse;
252}
253.list th, .list td {
254    border-left: 1px solid #ddd;
255}
256.list th:hover, .list tr:hover {
257    background: #b2d1ff;
258}
259
260/* PAGINATION */
261
262.paginateButtons {
263    width: 940px;
264    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
265    border: 1px solid #ccc;
266    border-top: 0;
267    color: #666;
268    font-size: 14px;
269    overflow: hidden;
270    padding: 10px 3px;
271}
272.paginateButtons a {
273    background: #fff;
274    border: 1px solid #ccc;
275    border-color: #ccc #aaa #aaa #ccc;
276    color: #666;
277    margin: 0 3px;
278    padding: 2px 6px;
279}
280.paginateButtons span {
281    padding: 2px 3px;
282}
283
284/* DIALOG */
285
286.dialog table {
287    padding: 5px 0;
288}
289
290.prop {
291    padding: 5px;
292}
293.prop .name {
294    text-align: left;
295    width: 15%;
296    white-space: nowrap;
297}
298.prop .value {
299    text-align: left;
300    width: 85%;
301}
302
303/* ACTION BUTTONS */
304
305.buttons {
306    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
307    border: 1px solid #ccc;
308    color: #666;
309    font-size: 14px;
310    margin-top: -1px;
311    margin-bottom: 5px;
312    overflow: hidden;
313    padding: 0;
314}
315
316.buttons input {
317    background: #fff;
318    border: 0;
319    color: #333;
320    cursor: pointer;
321    font-size: 14px;
322    font-weight: bold;
323    margin-left: 3px;
324    overflow: visible;
325    padding: 2px 6px;
326}
327.buttons input.delete {
328    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
329    padding-left: 28px;
330}
331.buttons input.edit {
332    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
333    padding-left: 28px;
334}
335.buttons input.save {
336    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
337    padding-left: 28px;
338}
339.buttons input.add {
340    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
341    padding-left: 28px;
342}
343
344#bottom {
345  background: url("../images/bottomBg.png") no-repeat scroll center;
346  width: 1020px;
347  height: 100px;
348}
Note: See TracBrowser for help on using the repository browser.