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

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

Move inventory text search from quick search pane to front and centre.

File size: 14.1 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/* Ask IE to behave. Margin, width and height might be ignored by some FF versions. */
150input[type="checkbox"] {
151    background: transparent;
152    border: 0;
153    margin-bottom: -1px;
154}
155input[type="radio"] {
156    background: transparent;
157    border: 0;
158    margin-bottom: -1px;
159}
160
161/* Logout and Top Navigation Level */
162
163.appControl {
164    height: 2em;
165}
166.appControl a {
167    color: #666;
168}
169
170.logoutButton {
171    float: right;
172    padding: 0.3em 0px 0.3em 0;
173    font-size: 14px;
174    margin: 0 50px 0 0;
175    /*border: 1px solid #ccc;*/
176}
177
178.logoutButton:hover {
179    color: red;
180    padding: 0.5em 0px 0.1em 0;
181}
182
183/* ORIGINAL NAVIGATION MENU */
184
185.nav {
186    text-align: center;
187    background: url("../images/linkPanel_long.png") top no-repeat;
188    padding: 10px 0px 0px 0px;
189    width: 980px;
190    height: 40px;
191}
192
193.menuButton {
194    font-size: 14px;
195    padding: 0 5px;
196}
197.menuButton a {
198    color: #333;
199    padding: 14px 25px;
200}
201.menuButton a.home {
202    /*background: url(../images/skin/house.png) center left no-repeat;*/
203    color: #333;
204    /*padding: 25px;*/
205}
206.menuButton a.list {
207    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
208    color: #333;
209    /*padding-left: 25px;*/
210}
211.menuButton a.create {
212    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
213    color: #333;
214    /*padding-left: 25px;*/
215}
216
217/* MESSAGES AND ERRORS */
218
219.message {
220    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
221    border: 1px solid #b2d1ff;
222    color: #006dba;
223    margin: 10px 0 5px 0;
224    padding: 5px 5px 5px 0px
225}
226
227.message_error {
228    background: #fff3f3 url(../images/skin/exclamation.png) 8px 50% no-repeat;
229    border: 1px solid red;
230    color: #cc0000;
231    margin: 10px 0 5px 0;
232    padding: 5px 5px 5px 0px
233}
234
235div.errors {
236    background: #fff3f3;
237    border: 1px solid red;
238    color: #cc0000;
239    margin: 10px 0 5px 0;
240    padding: 5px 0 5px 0;
241}
242div.errors ul {
243    list-style: none;
244    padding: 0;
245}
246div.errors li {
247    background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
248    line-height: 16px;
249    padding-left: 30px;
250}
251
252td.errors select {
253    border: 1px solid red;
254}
255td.errors input {
256    border: 1px solid red;
257}
258td.errors textarea {
259    border: 1px solid red;
260}
261
262input.time {
263    width:40px;
264}
265input.time.errors {
266    border: 1px solid red;
267}
268input.medium {
269    width:60px;
270}
271input.medium.errors {
272    border: 1px solid red;
273}
274input.description {
275    width:450px;
276}
277
278/* TABLES */
279
280table {
281    border: 1px solid #ccc;
282    width: 100%;
283}
284tr {
285    border: 0;
286}
287td, th {
288    font: 14px verdana, arial, helvetica, sans-serif;
289    line-height: 17px;
290    padding: 5px 6px;
291    text-align: left;
292    vertical-align: top;
293}
294tr.total {
295    background: #EDEDED;
296}
297tr.total td{
298    color: #555;
299    font-size: 14px;
300    font-weight: bold;
301}
302td.idColumn {
303    width: 25px;
304}
305th {
306    background: #fff url(../images/skin/shadow.jpg);
307    color: #555;
308    font-size: 14px;
309    font-weight: bold;
310    line-height: 17px;
311    padding: 2px 6px;
312}
313th a:link, th a:visited, th a:hover {
314    color: #333;
315    display: block;
316    font-size: 14px;
317    text-decoration: none;
318    width: 100%;
319}
320th.asc a, th.desc a {
321    background-position: right;
322    background-repeat: no-repeat;
323}
324th.asc a {
325    background-image: url(../images/skin/sorted_asc.gif);
326}
327th.desc a {
328    background-image: url(../images/skin/sorted_desc.gif);
329}
330
331.odd {
332    background: #f7f7f7;
333}
334.even {
335    background: #fff;
336}
337
338.clickableOdd {
339    background: #f7f7f7;
340    cursor: pointer;
341}
342.clickableEven {
343    background: #fff;
344    cursor: pointer;
345}
346.clickableEven td.notClickable {
347    cursor: default;
348}
349.clickableOdd td.notClickable {
350    cursor: default;
351}
352
353/* LIST */
354
355div.list {
356    clear:both;
357}
358.list table {
359    border-collapse: collapse;
360}
361.list th, .list td {
362    border-left: 1px solid #ddd;
363}
364.list th:hover, .list tr:hover {
365    background: #b2d1ff;
366}
367
368/* PAGINATION */
369
370.paginateButtons {
371    border-top: 0;
372    color: #666;
373    font-size: 14px;
374    overflow: hidden;
375    padding: 10px 3px;
376}
377.paginateButtons a {
378    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
379    border: 1px solid #ccc;
380    border-color: #ccc #aaa #aaa #ccc;
381    color: #666;
382    margin: 0 3px;
383    padding: 2px 6px;
384}
385.paginateButtons span {
386    padding: 2px 3px;
387}
388
389.searchButtons {
390    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
391    border: 1px solid #ccc;
392    border-color: #ccc #aaa #aaa #ccc;
393    margin: 0 0.5em;
394}
395.searchButtons a {
396    background: transparent url(../images/skin/database_search.png)  5px 50% no-repeat;
397    padding-left: 28px;
398    border: none;
399    margin: 0;
400}
401
402/* DIALOG */
403
404.dialog table {
405    padding: 5px 0;
406}
407
408.prop {
409    padding: 5px;
410}
411.prop .name {
412    text-align: left;
413    width: 15%;
414    white-space: nowrap;
415}
416.prop .value {
417    text-align: left;
418    width: 85%;
419}
420
421/* ACTION BUTTONS */
422.generalButton {
423    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
424    color: #444;
425    font-size: 14px;
426    font-weight: bold;
427    cursor: pointer;
428    margin-left: 5px;
429    overflow: hidden;
430    padding: 0.1em 0.4em 0.1em 0.4em;
431}
432
433.buttons {
434    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
435    border: 1px solid #ccc;
436    color: #666;
437    font-size: 14px;
438    margin-top: -1px;
439    margin-bottom: 5px;
440    overflow: hidden;
441    padding: 3px;
442}
443.buttons input {
444    background: #fff;
445    border: 0;
446    color: #333;
447    cursor: pointer;
448    font-size: 14px;
449    font-weight: bold;
450    margin-left: 3px;
451    overflow: visible;
452    padding: 0px 6px;
453}
454.buttons input.delete {
455    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
456    padding-left: 28px;
457}
458.buttons input.trash {
459    background: transparent url(../images/skin/bin_closed.png) 5px 50% no-repeat;
460    padding-left: 28px;
461}
462.buttons input.restore {
463    background: transparent url(../images/skin/bin_empty.png) 5px 50% no-repeat;
464    padding-left: 28px;
465}
466.buttons input.cancel {
467    background: transparent url(../images/skin/cross.png) 5px 50% no-repeat;
468    padding-left: 28px;
469}
470.buttons input.complete {
471    background: transparent url(../images/skin/tick.png) 5px 50% no-repeat;
472    padding-left: 28px;
473}
474.buttons input.flag {
475    background: transparent url(../images/skin/flag_red.png) 5px 50% no-repeat;
476    padding-left: 28px;
477}
478.buttons input.reopen {
479    background: transparent url(../images/skin/door_open.png) 5px 50% no-repeat;
480    padding-left: 28px;
481}
482.buttons input.approve {
483    background: transparent url(../images/skin/database_gear.png) 5px 50% no-repeat;
484    padding-left: 28px;
485}
486.buttons input.renegeApproval {
487    background: transparent url(../images/skin/cog_delete.png) 5px 50% no-repeat;
488    padding-left: 28px;
489}
490.buttons input.edit {
491    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
492    padding-left: 28px;
493}
494.buttons input.save {
495    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
496    padding-left: 28px;
497}
498.buttons input.add {
499    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
500    padding-left: 28px;
501}
502.buttons input.search {
503    background: transparent url(../images/skin/database_search.png) 5px 50% no-repeat;
504    padding-left: 28px;
505}
506.buttons input.link {
507    background: transparent url(../images/skin/database_link.png) 5px 50% no-repeat;
508    padding-left: 28px;
509}
510.buttons input.go {
511    background: transparent url(../images/skin/database_go.png) 5px 50% no-repeat;
512    padding-left: 28px;
513}
514.buttons input.table {
515    background: transparent url(../images/skin/database_table.png) 5px 50% no-repeat;
516    padding-left: 28px;
517}
518
519#bottom {
520  background: url("../images/bottomBg.png") no-repeat scroll center;
521  width: 1020px;
522  height: 100px;
523}
524
525/* Text Search */
526div.textSearchWrapper {
527    float: left;
528    width: 100%;
529}
530
531div.textSearchInput {
532    float: left;
533    width: 500px;
534    margin: 0 0 0 220px;
535    padding: 0;
536}
537
538div.textSearchSelect {
539    text-align: left;
540    padding: 5px 5px 5px 15px;
541}
542
543div.textSearchRightFloat {
544    float: right;
545    text-align: right;
546    margin: 0 10px 0 0;
547}
548
549/* Overlay Pane and filterPane plugin*/
550div.overlayPane {
551    position: absolute;
552    width:70%;
553    left: 50%;
554    margin-left: -36%;
555    top: 50%;
556    margin-top: -26%;
557    border: 2px solid #666666;
558    background-color: white;
559    padding: 5px;
560    z-index: 0;
561}
562
563.overlayTable {
564    width: 100%;
565}
566
567a.remove img {
568    border:none;
569}
570
571 /* Navigation Plugin Override */
572.navigation {
573    padding: 0px 0px 0px 50px;
574    list-style-type: none;
575    clear: both;
576    font-size: 14px;
577    /*overflow: hidden;*/ /* Clearing floats */
578}
579
580.navigation li {
581    float: left;
582    /*border: 0px*/
583    /* border: 1px solid #888; */
584     /*border-left-color: #bbb;*/  /* Highlight border-color */
585}
586
587.navigation li.navigation_first {
588     /*border-left-color: #888; */
589}
590
591.navigation li.navigation_active {
592     /*border-left-color: #555;*/  /* Highlight border-color of active item */
593}
594
595.navigation li a {
596    color: #666;
597    /* background-color: #aaa; */
598    padding: 0.3em 0.75em 0;
599    display: block;
600    text-decoration: none;
601}
602
603.navigation li a:hover {
604    color: red;
605    /* background-color: #999; */
606/*     font-weight: normal; */
607/*     font-size: 14px; */
608    padding: 0.5em 0.75em;
609    /*cursor: default;*/
610}
611
612.navigation li.navigation_active a {
613    /* background-color: #555; */
614/*    color: #fff;*/
615    color: #006dba;
616    /*color: black;*/
617    font-weight: bold;
618    font-size: 17px;
619    margin: 0 0 0 0;
620    /*cursor: default;*/
621}
622
623.navigation li.navigation_active a:hover {
624    color: #006dba;
625    font-weight: bold;
626    font-size: 17px;
627    padding: 0.3em 0.75em;
628    /*background-color: #555;*/
629}
630
631/* Sub navigation */
632.subnavigation {
633    /*padding: 0px 0px 0px 165px;*/
634    padding: 0px 0px 0px 105px;
635    list-style-type: none;
636    clear: both;
637    overflow: hidden; /* Clearing floats */
638}
639.subnavigation li {
640    float: left;
641    /* background-color: #555; */
642    padding: 0em 0.75em;
643    border-width: 0px 0;
644}
645.subnavigation li a {
646    color: #006dba;
647    font-weight: bold;
648    font-size: 17px;
649    display: block;
650    /*padding: 0px 0;*/
651    /* border-color: #555; */
652    border-style: solid;
653    border-width: 0px 0;
654    text-decoration: none;
655    /*margin: 0 0 0 0;*/
656    /*cursor: default;*/
657}
658
659.subnavigation li a:visited {
660    color: #006dba;
661}
662
663.subnavigation li a:hover {
664    /*color: red;*/
665    /*border-color: black;*/ 
666    border-width: 1px 0;
667}
668.subnavigation li.subnavigation_active a {
669    /*color: #e0e0e0; */
670    /*cursor: default;*/
671    /*border-color: #e0e0e0;*/
672    border-width: 1px 0;
673}
674
675/* Tree */
676
677div.static_tree {
678}
679div.static_tree ul {
680    list-style-type: none;
681    padding-left: 15px;
682}
683div.static_tree li {
684    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
685    padding-left: 20px;
686    margin: 2px;
687}
688
689div.tree_button {
690    float: left;
691}
692div.tree_button a {
693}
694div.tree_button img {
695    padding: 0.3em 0.5em 0 0.3em;
696}
697div.tree_button img:hover {
698    padding: 0.5em 0.5em 0 0.3em;
699}
700
701div.tree {
702}
703div.tree li a{
704}
705div.tree ul {
706    list-style-type: none;
707    padding-left: 15px;
708}
709div.tree li {
710    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
711    padding-left: 10px;
712    margin: 2px;
713}
714div.pane_close {
715    position: absolute;
716    right: 5px;
717    padding: 5px;
718}
719
720/* CheckBoxList Tag Lib */
721
722.CheckBoxList {
723    height: 300px;
724    overflow: auto;
725    overflow-x: hidden;
726    width: 400px;
727    border: 1px solid #ccc;
728    list-style-type: none;
729    margin: 0;
730    padding: 0px;
731}
732.CheckBoxList li {
733    padding: 5px;
734}
Note: See TracBrowser for help on using the repository browser.