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

Last change on this file since 229 was 229, checked in by gav, 14 years ago

Small css fix, tested on FF and IE.

File size: 10.9 KB
RevLine 
[55]1html * {
2    margin: 0;
3    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
[59]4
[55]5}
6
7/* GENERAL */
8
9.spinner {
10    padding: 5px;
11    position: absolute;
12    right: 0;
13}
14
15body {
[229]16    text-align: center;
[106]17    color: #222;
[98]18    font: 14px verdana, arial, helvetica, sans-serif;
[59]19    background: transparent url("../images/brushed_metal.png") repeat fixed center;
[55]20}
21
[59]22#wrapper {
23  margin: 0 auto;
24  padding: 0;
25  width: 1024px;
26}
27
28#top {
29  background: url("../images/topBg.png") no-repeat scroll center;
30  width: 1020px;
[192]31  height: 31px;
[59]32}
33
34#content {
35  padding: 0px 20px 20px;
[192]36  background: url("../images/contentbg.png") repeat-y scroll center;
[59]37  width: 980px;
[141]38  /*border: 1px solid #ccc;*/
[59]39}
40
41#Header {
42  background: transparent url("../images/logo.png") no-repeat scroll center;
43  width: 980px;
[192]44  height: 136px;
[139]45  /*border: 1px solid;*/
[59]46}
[80]47#HeaderLink{
48  display: block;
[192]49  width: 958px;
50  height: 136px;
[80]51}
[59]52
[139]53/* Navigation plugin, top level. */
54#menu {
55    float: left;
[141]56    /*border: 1px solid #ccc;*/
[139]57}
58
[55]59a:link, a:visited, a:hover {
60    color: #666;
61    font-weight: bold;
62    text-decoration: none;
[59]63}
[55]64
[106]65img {
66    border: 0px;
67}
68
[55]69h1 {
70    color: #006dba;
71    font-weight: normal;
[98]72    font-size: 17px;
[59]73    margin: 0 0 .3em 0;
[55]74}
75
76ul {
[59]77    padding-left: 15px;
[55]78}
79
80input, select, textarea {
81    background-color: #fcfcfc;
82    border: 1px solid #ccc;
[98]83    font: 14px verdana, arial, helvetica, sans-serif;
[55]84    margin: 2px 0;
85    padding: 2px 4px;
86}
87select {
88   padding: 2px 2px 2px 0;
89}
90textarea {
[139]91    width: 450px;
92    height: 150px;
93    vertical-align: top;
[55]94}
95
96input:focus, select:focus, textarea:focus {
97    border: 1px solid #b2d1ff;
98}
99
100.body {
[110]101    padding: 20px 20px 20px 20px;
102    text-align: center;
[141]103    /*border: 1px solid #ccc;*/
[55]104}
105
[142]106/* Logout and Top Navigation Level */
[59]107
[142]108.appControl {
109    height: 2em;
110}
111
[141]112.logoutButton {
[139]113    float: right;
[142]114    padding: 0.3em 0px 0.3em 0;
[98]115    font-size: 14px;
[192]116    margin: 0 50px 0 0;
[142]117    /*border: 1px solid #ccc;*/
[59]118}
119
[141]120.logoutButton:hover {
[139]121    color: red;
[142]122    padding: 0.5em 0px 0.1em 0;
[139]123}
[55]124
[139]125/* ORIGINAL NAVIGATION MENU */
126
[55]127.nav {
[229]128    text-align: center;
[59]129    background: url("../images/linkPanel_long.png") top no-repeat;
[139]130    padding: 10px 0px 0px 0px;
[59]131    width: 980px;
132    height: 40px;
[55]133}
134
135.menuButton {
[98]136    font-size: 14px;
[55]137    padding: 0 5px;
138}
139.menuButton a {
140    color: #333;
[59]141    padding: 14px 25px;
[55]142}
143.menuButton a.home {
[59]144    /*background: url(../images/skin/house.png) center left no-repeat;*/
[55]145    color: #333;
[59]146    /*padding: 25px;*/
[55]147}
148.menuButton a.list {
[59]149    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
[55]150    color: #333;
[59]151    /*padding-left: 25px;*/
[55]152}
153.menuButton a.create {
[59]154    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
[55]155    color: #333;
[59]156    /*padding-left: 25px;*/
[55]157}
158
159/* MESSAGES AND ERRORS */
160
161.message {
162    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
163    border: 1px solid #b2d1ff;
164    color: #006dba;
165    margin: 10px 0 5px 0;
[59]166    padding: 5px 5px 5px 0px
[55]167}
168
169div.errors {
170    background: #fff3f3;
171    border: 1px solid red;
172    color: #cc0000;
173    margin: 10px 0 5px 0;
174    padding: 5px 0 5px 0;
175}
176div.errors ul {
177    list-style: none;
[59]178    padding: 0;
[55]179}
180div.errors li {
181        background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
182    line-height: 16px;
183    padding-left: 30px;
184}
185
186td.errors select {
187    border: 1px solid red;
188}
189td.errors input {
190    border: 1px solid red;
191}
[98]192td.errors textarea {
193    border: 1px solid red;
194}
[55]195
[134]196input.time {
[98]197    width:40px;
198}
[134]199input.time.errors {
[98]200    border: 1px solid red;
201}
[221]202input.medium {
203    width:60px;
204}
205input.medium.errors {
206    border: 1px solid red;
207}
[134]208input.description {
209    width:450px;
210}
[98]211
[55]212/* TABLES */
213
214table {
215    border: 1px solid #ccc;
216    width: 100%
217}
218tr {
219    border: 0;
220}
[59]221td, th {
[98]222    font: 14px verdana, arial, helvetica, sans-serif;
223    line-height: 17px;
[55]224    padding: 5px 6px;
225    text-align: left;
226    vertical-align: top;
227}
228th {
229    background: #fff url(../images/skin/shadow.jpg);
[106]230    color: #555;
[98]231    font-size: 14px;
[55]232    font-weight: bold;
233    line-height: 17px;
234    padding: 2px 6px;
235}
236th a:link, th a:visited, th a:hover {
237    color: #333;
238    display: block;
[98]239    font-size: 14px;
[55]240    text-decoration: none;
241    width: 100%;
242}
243th.asc a, th.desc a {
244    background-position: right;
245    background-repeat: no-repeat;
246}
247th.asc a {
248    background-image: url(../images/skin/sorted_asc.gif);
249}
250th.desc a {
251    background-image: url(../images/skin/sorted_desc.gif);
252}
253
254.odd {
255    background: #f7f7f7;
256}
257.even {
258    background: #fff;
259}
260
[124]261.clickableOdd {
262    background: #f7f7f7;
263    cursor: pointer;
264}
265.clickableEven {
266    background: #fff;
267    cursor: pointer;
268}
269
[55]270/* LIST */
271
272.list table {
273    border-collapse: collapse;
274}
275.list th, .list td {
276    border-left: 1px solid #ddd;
277}
278.list th:hover, .list tr:hover {
279    background: #b2d1ff;
280}
281
282/* PAGINATION */
283
284.paginateButtons {
285    border-top: 0;
286    color: #666;
[98]287    font-size: 14px;
[55]288    overflow: hidden;
289    padding: 10px 3px;
290}
291.paginateButtons a {
[221]292    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
[55]293    border: 1px solid #ccc;
294    border-color: #ccc #aaa #aaa #ccc;
295    color: #666;
296    margin: 0 3px;
297    padding: 2px 6px;
298}
299.paginateButtons span {
300    padding: 2px 3px;
301}
302
[221]303.searchButtons {
304    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
305    border: 1px solid #ccc;
306    border-color: #ccc #aaa #aaa #ccc;
307    margin: 0 0.5em;
308}
309.searchButtons a {
310    background: transparent url(../images/skin/database_search.png)  5px 50% no-repeat;
311    padding-left: 28px;
312    border: none;
313    margin: 0;
314}
315
[55]316/* DIALOG */
317
318.dialog table {
319    padding: 5px 0;
320}
321
322.prop {
323    padding: 5px;
324}
325.prop .name {
326    text-align: left;
327    width: 15%;
328    white-space: nowrap;
329}
330.prop .value {
331    text-align: left;
332    width: 85%;
333}
334
335/* ACTION BUTTONS */
[221]336.generalButton {
337    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
338    color: #444;
339    font-size: 14px;
340    font-weight: bold;
341    cursor: pointer;
342    margin-left: 5px;
343    overflow: hidden;
344    padding: 0.1em 0.4em 0.1em 0.4em;
345}
[55]346
347.buttons {
348    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
349    border: 1px solid #ccc;
350    color: #666;
[98]351    font-size: 14px;
[84]352    margin-top: -1px;
353    margin-bottom: 5px;
[55]354    overflow: hidden;
[221]355    padding: 3px;
[55]356}
357.buttons input {
358    background: #fff;
359    border: 0;
360    color: #333;
361    cursor: pointer;
[98]362    font-size: 14px;
[55]363    font-weight: bold;
364    margin-left: 3px;
365    overflow: visible;
[221]366    padding: 0px 6px;
[55]367}
368.buttons input.delete {
369    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
370    padding-left: 28px;
371}
[181]372.buttons input.trash {
373    background: transparent url(../images/skin/bin_closed.png) 5px 50% no-repeat;
374    padding-left: 28px;
375}
376.buttons input.restore {
377    background: transparent url(../images/skin/bin_empty.png) 5px 50% no-repeat;
378    padding-left: 28px;
379}
380.buttons input.cancel {
381    background: transparent url(../images/skin/cross.png) 5px 50% no-repeat;
382    padding-left: 28px;
383}
384.buttons input.complete {
385    background: transparent url(../images/skin/tick.png) 5px 50% no-repeat;
386    padding-left: 28px;
387}
388.buttons input.reopen {
389    background: transparent url(../images/skin/door_open.png) 5px 50% no-repeat;
390    padding-left: 28px;
391}
392.buttons input.approve {
393    background: transparent url(../images/skin/database_gear.png) 5px 50% no-repeat;
394    padding-left: 28px;
395}
396.buttons input.renegeApproval {
397    background: transparent url(../images/skin/cog_delete.png) 5px 50% no-repeat;
398    padding-left: 28px;
399}
[55]400.buttons input.edit {
401    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
402    padding-left: 28px;
403}
404.buttons input.save {
405    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
406    padding-left: 28px;
407}
[106]408.buttons input.add {
409    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
410    padding-left: 28px;
411}
[134]412.buttons input.search {
413    background: transparent url(../images/skin/database_search.png) 5px 50% no-repeat;
414    padding-left: 28px;
415}
416.buttons input.link {
417    background: transparent url(../images/skin/database_link.png) 5px 50% no-repeat;
418    padding-left: 28px;
419}
420.buttons input.go {
421    background: transparent url(../images/skin/database_go.png) 5px 50% no-repeat;
422    padding-left: 28px;
423}
424.buttons input.table {
425    background: transparent url(../images/skin/database_table.png) 5px 50% no-repeat;
426    padding-left: 28px;
427}
[59]428
429#bottom {
430  background: url("../images/bottomBg.png") no-repeat scroll center;
431  width: 1020px;
432  height: 100px;
[139]433}
434
[155]435/* Overlay Pane and filterPane plugin*/
436div.overlayPane {
437    position: absolute;
438    width:70%;
439    left: 50%;
[192]440    margin-left: -36%;
[155]441    top: 50%;
[192]442    margin-top: -26%;
[155]443    border: 2px solid #666666;
444    background-color: white;
445    padding: 5px;
446    z-index: 1;
447}
448
449.overlayTable {
450    width: 100%;
451}
452
453a.remove img {
454    border:none;
455}
456
[139]457 /* Navigation Plugin Override */
458.navigation {
[192]459    padding: 0px 0px 0px 50px;
[139]460    list-style-type: none;
461    clear: both;
462    font-size: 14px;
[141]463    /*overflow: hidden;*/ /* Clearing floats */
[139]464}
465
466.navigation li {
467    float: left;
468    /*border: 0px*/
469    /* border: 1px solid #888; */
470     /*border-left-color: #bbb;*/  /* Highlight border-color */
471}
472
473.navigation li.navigation_first {
474     /*border-left-color: #888; */
475}
476
477.navigation li.navigation_active {
478     /*border-left-color: #555;*/  /* Highlight border-color of active item */
479}
480
481.navigation li a {
482    /* color: #fff; */
483    /* background-color: #aaa; */
[141]484    padding: 0.3em 0.75em 0;
[139]485    display: block;
486    text-decoration: none;
487}
488
489.navigation li a:hover {
490    color: red;
491    /* background-color: #999; */
492/*     font-weight: normal; */
493/*     font-size: 14px; */
[142]494    padding: 0.5em 0.75em;
[139]495    /*cursor: default;*/
496}
497
498.navigation li.navigation_active a {
499    /* background-color: #555; */
500/*    color: #fff;*/
501    color: #006dba;
502    /*color: black;*/
503    font-weight: bold;
504    font-size: 17px;
505    margin: 0 0 0 0;
506    /*cursor: default;*/
507}
508
509.navigation li.navigation_active a:hover {
510    color: #006dba;
511    font-weight: bold;
512    font-size: 17px;
[142]513    padding: 0.3em 0.75em;
[139]514    /*background-color: #555;*/
515}
516
517/* Sub navigation */
518.subnavigation {
519    /*padding: 0px 0px 0px 165px;*/
[192]520    padding: 0px 0px 0px 105px;
[139]521    list-style-type: none;
522    clear: both;
523    overflow: hidden; /* Clearing floats */
524}
525.subnavigation li {
526    float: left;
527    /* background-color: #555; */
528    padding: 0em 0.75em;
529    border-width: 0px 0;
530}
531.subnavigation li a {
532    color: #006dba;
533    font-weight: bold;
534    font-size: 17px;
535    display: block;
536    /*padding: 0px 0;*/
537    /* border-color: #555; */
538    border-style: solid;
539    border-width: 0px 0;
540    text-decoration: none;
541    /*margin: 0 0 0 0;*/
542    /*cursor: default;*/
543}
544
545.subnavigation li a:visited {
546    color: #006dba;
547}
548
549.subnavigation li a:hover {
550    /*color: red;*/
551    /*border-color: black;*/ 
552    border-width: 1px 0;
553}
554.subnavigation li.subnavigation_active a {
555    /*color: #e0e0e0; */
556    /*cursor: default;*/
557    /*border-color: #e0e0e0;*/
558    border-width: 1px 0;
559}
Note: See TracBrowser for help on using the repository browser.