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

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

Add help balloon to inventory text search.

File size: 13.5 KB
Line 
1html * {
2    margin: 0;
3    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
4
5}
6
7/**
8* GENERAL.
9* Commonly used application colours:
10* #FF9900 - Traffic Light Amber.
11* #00CC00 - Traffic Light Green.
12* #FF0000 - Traffic Light Red.
13* #2647A0 - Dark Blue (Tabs).
14* #006DBA - Link Blue (Links and Message Text).
15* #CC0000 - Dark Red (Error Message Text).
16* #FCFCFC - Off White (Input Fields).
17* #666666 - Dark Grey (Nav Text).
18* #333333 - Very Dark Grey (TH, Menu Button).
19* #FFFFFF - Table Row (Even).
20* #F7F7F7 - Table Row (Odd).
21* #EDEDED - Total Row Grey (Bg).
22* #555555 - Total Row Grey (Fg).
23*/
24
25.spinner {
26    padding: 10px 0 0 18px;
27    position: absolute;
28}
29
30body {
31    text-align: center;
32    color: #222;
33    font: 14px verdana, arial, helvetica, sans-serif;
34    background: transparent url("../images/brushed_metal.png") repeat fixed center;
35}
36
37#wrapper {
38  margin: 0 auto;
39  padding: 0;
40  width: 1024px;
41}
42
43#top {
44  background: url("../images/topBg.png") no-repeat scroll center;
45  width: 1020px;
46  height: 31px;
47}
48
49#content {
50  padding: 0px 20px 20px;
51  background: url("../images/contentbg.png") repeat-y scroll center;
52  width: 980px;
53  /*border: 1px solid #ccc;*/
54}
55
56#Header {
57  background: transparent url("../images/logo.png") no-repeat scroll center;
58  width: 980px;
59  height: 136px;
60}
61#HeaderDev {
62  background: transparent url("../images/logoDev.png") no-repeat scroll center;
63  width: 980px;
64  height: 136px;
65}
66#HeaderLink{
67  display: block;
68  width: 958px;
69  height: 136px;
70}
71
72/* Navigation plugin, top level. */
73#menu {
74    float: left;
75    /*border: 1px solid #ccc;*/
76}
77
78/* Application log textarea */
79#log {
80    width: 920px;
81    height: auto;
82}
83
84div.tabHeader {
85    padding: 5px 15px 0px 15px;
86}
87.tabHeader h1 {
88    color: #2647a0;
89    font-weight: bold;
90    font-size: 17px;
91    margin: 0 0 .3em 0;
92}
93.tabHeader h2 {
94    color: #2647a0;
95    font-weight: normal;
96    font-size: 15px;
97    margin: 0 0 .3em 0;
98}
99
100a:link, a:visited, a:hover {
101    color: #006dba;
102    font-weight: bold;
103    text-decoration: none;
104}
105
106img {
107    border: 0px;
108}
109
110/*Do not specify a global h2 and h3
111    Since this changes filterPane and other headers.*/
112h1 {
113    color: #006dba;
114    font-weight: normal;
115    font-size: 17px;
116    margin: 0 0 .3em 0;
117}
118
119ul {
120    padding-left: 15px;
121}
122
123input, select, textarea {
124    background-color: #fcfcfc;
125    border: 1px solid #ccc;
126    font: 14px verdana, arial, helvetica, sans-serif;
127    margin: 2px 0;
128    padding: 2px 4px;
129}
130select {
131   padding: 2px 2px 2px 0;
132}
133textarea {
134    width: 450px;
135    height: 150px;
136    vertical-align: top;
137}
138
139input:focus, select:focus, textarea:focus {
140    border: 1px solid #b2d1ff;
141}
142
143.body {
144    padding: 20px 20px 20px 20px;
145    text-align: center;
146    /*border: 1px solid #ccc;*/
147}
148
149/* Logout and Top Navigation Level */
150
151.appControl {
152    height: 2em;
153}
154.appControl a {
155    color: #666;
156}
157
158.logoutButton {
159    float: right;
160    padding: 0.3em 0px 0.3em 0;
161    font-size: 14px;
162    margin: 0 50px 0 0;
163    /*border: 1px solid #ccc;*/
164}
165
166.logoutButton:hover {
167    color: red;
168    padding: 0.5em 0px 0.1em 0;
169}
170
171/* ORIGINAL NAVIGATION MENU */
172
173.nav {
174    text-align: center;
175    background: url("../images/linkPanel_long.png") top no-repeat;
176    padding: 10px 0px 0px 0px;
177    width: 980px;
178    height: 40px;
179}
180
181.menuButton {
182    font-size: 14px;
183    padding: 0 5px;
184}
185.menuButton a {
186    color: #333;
187    padding: 14px 25px;
188}
189.menuButton a.home {
190    /*background: url(../images/skin/house.png) center left no-repeat;*/
191    color: #333;
192    /*padding: 25px;*/
193}
194.menuButton a.list {
195    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
196    color: #333;
197    /*padding-left: 25px;*/
198}
199.menuButton a.create {
200    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
201    color: #333;
202    /*padding-left: 25px;*/
203}
204
205/* MESSAGES AND ERRORS */
206
207.message {
208    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
209    border: 1px solid #b2d1ff;
210    color: #006dba;
211    margin: 10px 0 5px 0;
212    padding: 5px 5px 5px 0px
213}
214
215.message_error {
216    background: #fff3f3 url(../images/skin/exclamation.png) 8px 50% no-repeat;
217    border: 1px solid red;
218    color: #cc0000;
219    margin: 10px 0 5px 0;
220    padding: 5px 5px 5px 0px
221}
222
223div.errors {
224    background: #fff3f3;
225    border: 1px solid red;
226    color: #cc0000;
227    margin: 10px 0 5px 0;
228    padding: 5px 0 5px 0;
229}
230div.errors ul {
231    list-style: none;
232    padding: 0;
233}
234div.errors li {
235    background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
236    line-height: 16px;
237    padding-left: 30px;
238}
239
240td.errors select {
241    border: 1px solid red;
242}
243td.errors input {
244    border: 1px solid red;
245}
246td.errors textarea {
247    border: 1px solid red;
248}
249
250input.time {
251    width:40px;
252}
253input.time.errors {
254    border: 1px solid red;
255}
256input.medium {
257    width:60px;
258}
259input.medium.errors {
260    border: 1px solid red;
261}
262input.description {
263    width:450px;
264}
265
266/* TABLES */
267
268table {
269    border: 1px solid #ccc;
270    width: 100%;
271}
272tr {
273    border: 0;
274}
275td, th {
276    font: 14px verdana, arial, helvetica, sans-serif;
277    line-height: 17px;
278    padding: 5px 6px;
279    text-align: left;
280    vertical-align: top;
281}
282tr.total {
283    background: #EDEDED;
284}
285tr.total td{
286    color: #555;
287    font-size: 14px;
288    font-weight: bold;
289}
290td.idColumn {
291    width: 25px;
292}
293th {
294    background: #fff url(../images/skin/shadow.jpg);
295    color: #555;
296    font-size: 14px;
297    font-weight: bold;
298    line-height: 17px;
299    padding: 2px 6px;
300}
301th a:link, th a:visited, th a:hover {
302    color: #333;
303    display: block;
304    font-size: 14px;
305    text-decoration: none;
306    width: 100%;
307}
308th.asc a, th.desc a {
309    background-position: right;
310    background-repeat: no-repeat;
311}
312th.asc a {
313    background-image: url(../images/skin/sorted_asc.gif);
314}
315th.desc a {
316    background-image: url(../images/skin/sorted_desc.gif);
317}
318
319.odd {
320    background: #f7f7f7;
321}
322.even {
323    background: #fff;
324}
325
326.clickableOdd {
327    background: #f7f7f7;
328    cursor: pointer;
329}
330.clickableEven {
331    background: #fff;
332    cursor: pointer;
333}
334.clickableEven td.notClickable {
335    cursor: default;
336}
337.clickableOdd td.notClickable {
338    cursor: default;
339}
340
341/* LIST */
342
343.list table {
344    border-collapse: collapse;
345}
346.list th, .list td {
347    border-left: 1px solid #ddd;
348}
349.list th:hover, .list tr:hover {
350    background: #b2d1ff;
351}
352
353/* PAGINATION */
354
355.paginateButtons {
356    border-top: 0;
357    color: #666;
358    font-size: 14px;
359    overflow: hidden;
360    padding: 10px 3px;
361}
362.paginateButtons a {
363    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
364    border: 1px solid #ccc;
365    border-color: #ccc #aaa #aaa #ccc;
366    color: #666;
367    margin: 0 3px;
368    padding: 2px 6px;
369}
370.paginateButtons span {
371    padding: 2px 3px;
372}
373
374.searchButtons {
375    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
376    border: 1px solid #ccc;
377    border-color: #ccc #aaa #aaa #ccc;
378    margin: 0 0.5em;
379}
380.searchButtons a {
381    background: transparent url(../images/skin/database_search.png)  5px 50% no-repeat;
382    padding-left: 28px;
383    border: none;
384    margin: 0;
385}
386
387/* DIALOG */
388
389.dialog table {
390    padding: 5px 0;
391}
392
393.prop {
394    padding: 5px;
395}
396.prop .name {
397    text-align: left;
398    width: 15%;
399    white-space: nowrap;
400}
401.prop .value {
402    text-align: left;
403    width: 85%;
404}
405
406/* ACTION BUTTONS */
407.generalButton {
408    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
409    color: #444;
410    font-size: 14px;
411    font-weight: bold;
412    cursor: pointer;
413    margin-left: 5px;
414    overflow: hidden;
415    padding: 0.1em 0.4em 0.1em 0.4em;
416}
417
418.buttons {
419    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
420    border: 1px solid #ccc;
421    color: #666;
422    font-size: 14px;
423    margin-top: -1px;
424    margin-bottom: 5px;
425    overflow: hidden;
426    padding: 3px;
427}
428.buttons input {
429    background: #fff;
430    border: 0;
431    color: #333;
432    cursor: pointer;
433    font-size: 14px;
434    font-weight: bold;
435    margin-left: 3px;
436    overflow: visible;
437    padding: 0px 6px;
438}
439.buttons input.delete {
440    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
441    padding-left: 28px;
442}
443.buttons input.trash {
444    background: transparent url(../images/skin/bin_closed.png) 5px 50% no-repeat;
445    padding-left: 28px;
446}
447.buttons input.restore {
448    background: transparent url(../images/skin/bin_empty.png) 5px 50% no-repeat;
449    padding-left: 28px;
450}
451.buttons input.cancel {
452    background: transparent url(../images/skin/cross.png) 5px 50% no-repeat;
453    padding-left: 28px;
454}
455.buttons input.complete {
456    background: transparent url(../images/skin/tick.png) 5px 50% no-repeat;
457    padding-left: 28px;
458}
459.buttons input.flag {
460    background: transparent url(../images/skin/flag_red.png) 5px 50% no-repeat;
461    padding-left: 28px;
462}
463.buttons input.reopen {
464    background: transparent url(../images/skin/door_open.png) 5px 50% no-repeat;
465    padding-left: 28px;
466}
467.buttons input.approve {
468    background: transparent url(../images/skin/database_gear.png) 5px 50% no-repeat;
469    padding-left: 28px;
470}
471.buttons input.renegeApproval {
472    background: transparent url(../images/skin/cog_delete.png) 5px 50% no-repeat;
473    padding-left: 28px;
474}
475.buttons input.edit {
476    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
477    padding-left: 28px;
478}
479.buttons input.save {
480    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
481    padding-left: 28px;
482}
483.buttons input.add {
484    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
485    padding-left: 28px;
486}
487.buttons input.search {
488    background: transparent url(../images/skin/database_search.png) 5px 50% no-repeat;
489    padding-left: 28px;
490}
491.buttons input.link {
492    background: transparent url(../images/skin/database_link.png) 5px 50% no-repeat;
493    padding-left: 28px;
494}
495.buttons input.go {
496    background: transparent url(../images/skin/database_go.png) 5px 50% no-repeat;
497    padding-left: 28px;
498}
499.buttons input.table {
500    background: transparent url(../images/skin/database_table.png) 5px 50% no-repeat;
501    padding-left: 28px;
502}
503
504#bottom {
505  background: url("../images/bottomBg.png") no-repeat scroll center;
506  width: 1020px;
507  height: 100px;
508}
509
510/* Overlay Pane and filterPane plugin*/
511div.overlayPane {
512    position: absolute;
513    width:70%;
514    left: 50%;
515    margin-left: -36%;
516    top: 50%;
517    margin-top: -26%;
518    border: 2px solid #666666;
519    background-color: white;
520    padding: 5px;
521    z-index: 0;
522}
523
524.overlayTable {
525    width: 100%;
526}
527
528a.remove img {
529    border:none;
530}
531
532 /* Navigation Plugin Override */
533.navigation {
534    padding: 0px 0px 0px 50px;
535    list-style-type: none;
536    clear: both;
537    font-size: 14px;
538    /*overflow: hidden;*/ /* Clearing floats */
539}
540
541.navigation li {
542    float: left;
543    /*border: 0px*/
544    /* border: 1px solid #888; */
545     /*border-left-color: #bbb;*/  /* Highlight border-color */
546}
547
548.navigation li.navigation_first {
549     /*border-left-color: #888; */
550}
551
552.navigation li.navigation_active {
553     /*border-left-color: #555;*/  /* Highlight border-color of active item */
554}
555
556.navigation li a {
557    color: #666;
558    /* background-color: #aaa; */
559    padding: 0.3em 0.75em 0;
560    display: block;
561    text-decoration: none;
562}
563
564.navigation li a:hover {
565    color: red;
566    /* background-color: #999; */
567/*     font-weight: normal; */
568/*     font-size: 14px; */
569    padding: 0.5em 0.75em;
570    /*cursor: default;*/
571}
572
573.navigation li.navigation_active a {
574    /* background-color: #555; */
575/*    color: #fff;*/
576    color: #006dba;
577    /*color: black;*/
578    font-weight: bold;
579    font-size: 17px;
580    margin: 0 0 0 0;
581    /*cursor: default;*/
582}
583
584.navigation li.navigation_active a:hover {
585    color: #006dba;
586    font-weight: bold;
587    font-size: 17px;
588    padding: 0.3em 0.75em;
589    /*background-color: #555;*/
590}
591
592/* Sub navigation */
593.subnavigation {
594    /*padding: 0px 0px 0px 165px;*/
595    padding: 0px 0px 0px 105px;
596    list-style-type: none;
597    clear: both;
598    overflow: hidden; /* Clearing floats */
599}
600.subnavigation li {
601    float: left;
602    /* background-color: #555; */
603    padding: 0em 0.75em;
604    border-width: 0px 0;
605}
606.subnavigation li a {
607    color: #006dba;
608    font-weight: bold;
609    font-size: 17px;
610    display: block;
611    /*padding: 0px 0;*/
612    /* border-color: #555; */
613    border-style: solid;
614    border-width: 0px 0;
615    text-decoration: none;
616    /*margin: 0 0 0 0;*/
617    /*cursor: default;*/
618}
619
620.subnavigation li a:visited {
621    color: #006dba;
622}
623
624.subnavigation li a:hover {
625    /*color: red;*/
626    /*border-color: black;*/ 
627    border-width: 1px 0;
628}
629.subnavigation li.subnavigation_active a {
630    /*color: #e0e0e0; */
631    /*cursor: default;*/
632    /*border-color: #e0e0e0;*/
633    border-width: 1px 0;
634}
635
636/* Tree */
637
638div.static_tree {
639}
640div.static_tree ul {
641    list-style-type: none;
642    padding-left: 15px;
643}
644div.static_tree li {
645    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
646    padding-left: 20px;
647    margin: 2px;
648}
649
650div.tree_button {
651    float: left;
652}
653div.tree_button a {
654}
655div.tree_button img {
656    padding: 0.3em 0.5em 0 0.3em;
657}
658div.tree_button img:hover {
659    padding: 0.5em 0.5em 0 0.3em;
660}
661
662div.tree {
663}
664div.tree li a{
665}
666div.tree ul {
667    list-style-type: none;
668    padding-left: 15px;
669}
670div.tree li {
671    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
672    padding-left: 10px;
673    margin: 2px;
674}
675div.pane_close {
676    position: absolute;
677    right: 5px;
678    padding: 5px;
679}
680
681/* CheckBoxList Tag Lib */
682
683.CheckBoxList {
684    height: 300px;
685    overflow: auto;
686    overflow-x: hidden;
687    width: 400px;
688    border: 1px solid #ccc;
689    list-style-type: none;
690    margin: 0;
691    padding: 0px;
692}
693.CheckBoxList li {
694    padding: 5px;
695}
Note: See TracBrowser for help on using the repository browser.