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

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

Show a development header logo in all environments except production.

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