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
RevLine 
[55]1html * {
2    margin: 0;
3    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
[59]4
[55]5}
6
[539]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).
[542]19* #FFFFFF - Table Row (Even).
20* #F7F7F7 - Table Row (Odd).
21* #EDEDED - Total Row Grey (Bg).
22* #555555 - Total Row Grey (Fg).
[539]23*/
[55]24
25.spinner {
[452]26    padding: 10px 0 0 18px;
[55]27    position: absolute;
28}
29
30body {
[229]31    text-align: center;
[106]32    color: #222;
[98]33    font: 14px verdana, arial, helvetica, sans-serif;
[59]34    background: transparent url("../images/brushed_metal.png") repeat fixed center;
[55]35}
36
[59]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;
[192]46  height: 31px;
[59]47}
48
49#content {
50  padding: 0px 20px 20px;
[192]51  background: url("../images/contentbg.png") repeat-y scroll center;
[59]52  width: 980px;
[141]53  /*border: 1px solid #ccc;*/
[59]54}
55
56#Header {
57  background: transparent url("../images/logo.png") no-repeat scroll center;
58  width: 980px;
[192]59  height: 136px;
[59]60}
[519]61#HeaderDev {
62  background: transparent url("../images/logoDev.png") no-repeat scroll center;
63  width: 980px;
64  height: 136px;
65}
[80]66#HeaderLink{
67  display: block;
[192]68  width: 958px;
69  height: 136px;
[80]70}
[59]71
[139]72/* Navigation plugin, top level. */
73#menu {
74    float: left;
[141]75    /*border: 1px solid #ccc;*/
[139]76}
77
[418]78/* Application log textarea */
[358]79#log {
80    width: 920px;
81    height: auto;
82}
83
[418]84div.tabHeader {
[501]85    padding: 5px 15px 0px 15px;
[418]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
[55]100a:link, a:visited, a:hover {
[297]101    color: #006dba;
[55]102    font-weight: bold;
103    text-decoration: none;
[59]104}
[55]105
[106]106img {
107    border: 0px;
108}
109
[443]110/*Do not specify a global h2 and h3
111    Since this changes filterPane and other headers.*/
[55]112h1 {
113    color: #006dba;
114    font-weight: normal;
[98]115    font-size: 17px;
[59]116    margin: 0 0 .3em 0;
[55]117}
118
119ul {
[59]120    padding-left: 15px;
[55]121}
122
123input, select, textarea {
124    background-color: #fcfcfc;
125    border: 1px solid #ccc;
[98]126    font: 14px verdana, arial, helvetica, sans-serif;
[55]127    margin: 2px 0;
128    padding: 2px 4px;
129}
130select {
131   padding: 2px 2px 2px 0;
132}
133textarea {
[139]134    width: 450px;
135    height: 150px;
136    vertical-align: top;
[55]137}
138
139input:focus, select:focus, textarea:focus {
140    border: 1px solid #b2d1ff;
141}
142
143.body {
[110]144    padding: 20px 20px 20px 20px;
145    text-align: center;
[141]146    /*border: 1px solid #ccc;*/
[55]147}
148
[142]149/* Logout and Top Navigation Level */
[59]150
[142]151.appControl {
152    height: 2em;
153}
[297]154.appControl a {
155    color: #666;
156}
[142]157
[141]158.logoutButton {
[139]159    float: right;
[142]160    padding: 0.3em 0px 0.3em 0;
[98]161    font-size: 14px;
[192]162    margin: 0 50px 0 0;
[142]163    /*border: 1px solid #ccc;*/
[59]164}
165
[141]166.logoutButton:hover {
[139]167    color: red;
[142]168    padding: 0.5em 0px 0.1em 0;
[139]169}
[55]170
[139]171/* ORIGINAL NAVIGATION MENU */
172
[55]173.nav {
[229]174    text-align: center;
[59]175    background: url("../images/linkPanel_long.png") top no-repeat;
[139]176    padding: 10px 0px 0px 0px;
[59]177    width: 980px;
178    height: 40px;
[55]179}
180
181.menuButton {
[98]182    font-size: 14px;
[55]183    padding: 0 5px;
184}
185.menuButton a {
186    color: #333;
[59]187    padding: 14px 25px;
[55]188}
189.menuButton a.home {
[59]190    /*background: url(../images/skin/house.png) center left no-repeat;*/
[55]191    color: #333;
[59]192    /*padding: 25px;*/
[55]193}
194.menuButton a.list {
[59]195    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
[55]196    color: #333;
[59]197    /*padding-left: 25px;*/
[55]198}
199.menuButton a.create {
[59]200    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
[55]201    color: #333;
[59]202    /*padding-left: 25px;*/
[55]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;
[59]212    padding: 5px 5px 5px 0px
[55]213}
214
[277]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
[55]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;
[59]232    padding: 0;
[55]233}
234div.errors li {
[328]235    background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
[55]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}
[98]246td.errors textarea {
247    border: 1px solid red;
248}
[55]249
[134]250input.time {
[98]251    width:40px;
252}
[134]253input.time.errors {
[98]254    border: 1px solid red;
255}
[221]256input.medium {
257    width:60px;
258}
259input.medium.errors {
260    border: 1px solid red;
261}
[134]262input.description {
263    width:450px;
264}
[98]265
[55]266/* TABLES */
267
268table {
269    border: 1px solid #ccc;
[328]270    width: 100%;
[55]271}
272tr {
273    border: 0;
274}
[59]275td, th {
[98]276    font: 14px verdana, arial, helvetica, sans-serif;
277    line-height: 17px;
[55]278    padding: 5px 6px;
279    text-align: left;
280    vertical-align: top;
281}
[490]282tr.total {
283    background: #EDEDED;
284}
285tr.total td{
286    color: #555;
287    font-size: 14px;
288    font-weight: bold;
289}
[418]290td.idColumn {
291    width: 25px;
292}
[55]293th {
294    background: #fff url(../images/skin/shadow.jpg);
[106]295    color: #555;
[98]296    font-size: 14px;
[55]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;
[98]304    font-size: 14px;
[55]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
[124]326.clickableOdd {
327    background: #f7f7f7;
328    cursor: pointer;
329}
330.clickableEven {
331    background: #fff;
332    cursor: pointer;
333}
[490]334.clickableEven td.notClickable {
335    cursor: default;
336}
337.clickableOdd td.notClickable {
338    cursor: default;
339}
[124]340
[55]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;
[98]358    font-size: 14px;
[55]359    overflow: hidden;
360    padding: 10px 3px;
361}
362.paginateButtons a {
[221]363    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
[55]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
[221]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
[55]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 */
[221]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}
[55]417
418.buttons {
419    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
420    border: 1px solid #ccc;
421    color: #666;
[98]422    font-size: 14px;
[84]423    margin-top: -1px;
424    margin-bottom: 5px;
[55]425    overflow: hidden;
[221]426    padding: 3px;
[55]427}
428.buttons input {
429    background: #fff;
430    border: 0;
431    color: #333;
432    cursor: pointer;
[98]433    font-size: 14px;
[55]434    font-weight: bold;
435    margin-left: 3px;
436    overflow: visible;
[221]437    padding: 0px 6px;
[55]438}
439.buttons input.delete {
440    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
441    padding-left: 28px;
442}
[181]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}
[418]459.buttons input.flag {
460    background: transparent url(../images/skin/flag_red.png) 5px 50% no-repeat;
461    padding-left: 28px;
462}
[181]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}
[55]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}
[106]483.buttons input.add {
484    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
485    padding-left: 28px;
486}
[134]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}
[59]503
504#bottom {
505  background: url("../images/bottomBg.png") no-repeat scroll center;
506  width: 1020px;
507  height: 100px;
[139]508}
509
[155]510/* Overlay Pane and filterPane plugin*/
511div.overlayPane {
512    position: absolute;
513    width:70%;
514    left: 50%;
[192]515    margin-left: -36%;
[155]516    top: 50%;
[192]517    margin-top: -26%;
[155]518    border: 2px solid #666666;
519    background-color: white;
520    padding: 5px;
[565]521    z-index: 0;
[155]522}
523
524.overlayTable {
525    width: 100%;
526}
527
528a.remove img {
529    border:none;
530}
531
[139]532 /* Navigation Plugin Override */
533.navigation {
[192]534    padding: 0px 0px 0px 50px;
[139]535    list-style-type: none;
536    clear: both;
537    font-size: 14px;
[141]538    /*overflow: hidden;*/ /* Clearing floats */
[139]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 {
[297]557    color: #666;
[139]558    /* background-color: #aaa; */
[141]559    padding: 0.3em 0.75em 0;
[139]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; */
[142]569    padding: 0.5em 0.75em;
[139]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;
[142]588    padding: 0.3em 0.75em;
[139]589    /*background-color: #555;*/
590}
591
592/* Sub navigation */
593.subnavigation {
594    /*padding: 0px 0px 0px 165px;*/
[192]595    padding: 0px 0px 0px 105px;
[139]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}
[278]635
636/* Tree */
637
[304]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
[306]650div.tree_button {
[307]651    float: left;
[306]652}
[307]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
[278]662div.tree {
663}
664div.tree li a{
665}
666div.tree ul {
667    list-style-type: none;
[304]668    padding-left: 15px;
[278]669}
670div.tree li {
671    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
[282]672    padding-left: 10px;
673    margin: 2px;
[278]674}
[453]675div.pane_close {
[323]676    position: absolute;
677    right: 5px;
[312]678    padding: 5px;
679}
[286]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.