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
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 {
[452]10    padding: 10px 0 0 18px;
[55]11    position: absolute;
12}
13
14body {
[229]15    text-align: center;
[106]16    color: #222;
[98]17    font: 14px verdana, arial, helvetica, sans-serif;
[59]18    background: transparent url("../images/brushed_metal.png") repeat fixed center;
[55]19}
20
[59]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;
[192]30  height: 31px;
[59]31}
32
33#content {
34  padding: 0px 20px 20px;
[192]35  background: url("../images/contentbg.png") repeat-y scroll center;
[59]36  width: 980px;
[141]37  /*border: 1px solid #ccc;*/
[59]38}
39
40#Header {
41  background: transparent url("../images/logo.png") no-repeat scroll center;
42  width: 980px;
[192]43  height: 136px;
[59]44}
[519]45#HeaderDev {
46  background: transparent url("../images/logoDev.png") no-repeat scroll center;
47  width: 980px;
48  height: 136px;
49}
[80]50#HeaderLink{
51  display: block;
[192]52  width: 958px;
53  height: 136px;
[80]54}
[59]55
[139]56/* Navigation plugin, top level. */
57#menu {
58    float: left;
[141]59    /*border: 1px solid #ccc;*/
[139]60}
61
[418]62/* Application log textarea */
[358]63#log {
64    width: 920px;
65    height: auto;
66}
67
[418]68div.tabHeader {
[501]69    padding: 5px 15px 0px 15px;
[418]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
[55]84a:link, a:visited, a:hover {
[297]85    color: #006dba;
[55]86    font-weight: bold;
87    text-decoration: none;
[59]88}
[55]89
[106]90img {
91    border: 0px;
92}
93
[443]94/*Do not specify a global h2 and h3
95    Since this changes filterPane and other headers.*/
[55]96h1 {
97    color: #006dba;
98    font-weight: normal;
[98]99    font-size: 17px;
[59]100    margin: 0 0 .3em 0;
[55]101}
102
103ul {
[59]104    padding-left: 15px;
[55]105}
106
107input, select, textarea {
108    background-color: #fcfcfc;
109    border: 1px solid #ccc;
[98]110    font: 14px verdana, arial, helvetica, sans-serif;
[55]111    margin: 2px 0;
112    padding: 2px 4px;
113}
114select {
115   padding: 2px 2px 2px 0;
116}
117textarea {
[139]118    width: 450px;
119    height: 150px;
120    vertical-align: top;
[55]121}
122
123input:focus, select:focus, textarea:focus {
124    border: 1px solid #b2d1ff;
125}
126
127.body {
[110]128    padding: 20px 20px 20px 20px;
129    text-align: center;
[141]130    /*border: 1px solid #ccc;*/
[55]131}
132
[142]133/* Logout and Top Navigation Level */
[59]134
[142]135.appControl {
136    height: 2em;
137}
[297]138.appControl a {
139    color: #666;
140}
[142]141
[141]142.logoutButton {
[139]143    float: right;
[142]144    padding: 0.3em 0px 0.3em 0;
[98]145    font-size: 14px;
[192]146    margin: 0 50px 0 0;
[142]147    /*border: 1px solid #ccc;*/
[59]148}
149
[141]150.logoutButton:hover {
[139]151    color: red;
[142]152    padding: 0.5em 0px 0.1em 0;
[139]153}
[55]154
[139]155/* ORIGINAL NAVIGATION MENU */
156
[55]157.nav {
[229]158    text-align: center;
[59]159    background: url("../images/linkPanel_long.png") top no-repeat;
[139]160    padding: 10px 0px 0px 0px;
[59]161    width: 980px;
162    height: 40px;
[55]163}
164
165.menuButton {
[98]166    font-size: 14px;
[55]167    padding: 0 5px;
168}
169.menuButton a {
170    color: #333;
[59]171    padding: 14px 25px;
[55]172}
173.menuButton a.home {
[59]174    /*background: url(../images/skin/house.png) center left no-repeat;*/
[55]175    color: #333;
[59]176    /*padding: 25px;*/
[55]177}
178.menuButton a.list {
[59]179    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
[55]180    color: #333;
[59]181    /*padding-left: 25px;*/
[55]182}
183.menuButton a.create {
[59]184    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
[55]185    color: #333;
[59]186    /*padding-left: 25px;*/
[55]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;
[59]196    padding: 5px 5px 5px 0px
[55]197}
198
[277]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
[55]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;
[59]216    padding: 0;
[55]217}
218div.errors li {
[328]219    background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
[55]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}
[98]230td.errors textarea {
231    border: 1px solid red;
232}
[55]233
[134]234input.time {
[98]235    width:40px;
236}
[134]237input.time.errors {
[98]238    border: 1px solid red;
239}
[221]240input.medium {
241    width:60px;
242}
243input.medium.errors {
244    border: 1px solid red;
245}
[134]246input.description {
247    width:450px;
248}
[98]249
[55]250/* TABLES */
251
252table {
253    border: 1px solid #ccc;
[328]254    width: 100%;
[55]255}
256tr {
257    border: 0;
258}
[59]259td, th {
[98]260    font: 14px verdana, arial, helvetica, sans-serif;
261    line-height: 17px;
[55]262    padding: 5px 6px;
263    text-align: left;
264    vertical-align: top;
265}
[490]266tr.total {
267    background: #EDEDED;
268}
269tr.total td{
270    color: #555;
271    font-size: 14px;
272    font-weight: bold;
273}
[418]274td.idColumn {
275    width: 25px;
276}
[55]277th {
278    background: #fff url(../images/skin/shadow.jpg);
[106]279    color: #555;
[98]280    font-size: 14px;
[55]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;
[98]288    font-size: 14px;
[55]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
[124]310.clickableOdd {
311    background: #f7f7f7;
312    cursor: pointer;
313}
314.clickableEven {
315    background: #fff;
316    cursor: pointer;
317}
[490]318.clickableEven td.notClickable {
319    cursor: default;
320}
321.clickableOdd td.notClickable {
322    cursor: default;
323}
[124]324
[55]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;
[98]342    font-size: 14px;
[55]343    overflow: hidden;
344    padding: 10px 3px;
345}
346.paginateButtons a {
[221]347    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
[55]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
[221]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
[55]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 */
[221]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}
[55]401
402.buttons {
403    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
404    border: 1px solid #ccc;
405    color: #666;
[98]406    font-size: 14px;
[84]407    margin-top: -1px;
408    margin-bottom: 5px;
[55]409    overflow: hidden;
[221]410    padding: 3px;
[55]411}
412.buttons input {
413    background: #fff;
414    border: 0;
415    color: #333;
416    cursor: pointer;
[98]417    font-size: 14px;
[55]418    font-weight: bold;
419    margin-left: 3px;
420    overflow: visible;
[221]421    padding: 0px 6px;
[55]422}
423.buttons input.delete {
424    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
425    padding-left: 28px;
426}
[181]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}
[418]443.buttons input.flag {
444    background: transparent url(../images/skin/flag_red.png) 5px 50% no-repeat;
445    padding-left: 28px;
446}
[181]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}
[55]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}
[106]467.buttons input.add {
468    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
469    padding-left: 28px;
470}
[134]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}
[59]487
488#bottom {
489  background: url("../images/bottomBg.png") no-repeat scroll center;
490  width: 1020px;
491  height: 100px;
[139]492}
493
[155]494/* Overlay Pane and filterPane plugin*/
495div.overlayPane {
496    position: absolute;
497    width:70%;
498    left: 50%;
[192]499    margin-left: -36%;
[155]500    top: 50%;
[192]501    margin-top: -26%;
[155]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
[139]516 /* Navigation Plugin Override */
517.navigation {
[192]518    padding: 0px 0px 0px 50px;
[139]519    list-style-type: none;
520    clear: both;
521    font-size: 14px;
[141]522    /*overflow: hidden;*/ /* Clearing floats */
[139]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 {
[297]541    color: #666;
[139]542    /* background-color: #aaa; */
[141]543    padding: 0.3em 0.75em 0;
[139]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; */
[142]553    padding: 0.5em 0.75em;
[139]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;
[142]572    padding: 0.3em 0.75em;
[139]573    /*background-color: #555;*/
574}
575
576/* Sub navigation */
577.subnavigation {
578    /*padding: 0px 0px 0px 165px;*/
[192]579    padding: 0px 0px 0px 105px;
[139]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}
[278]619
620/* Tree */
621
[304]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
[306]634div.tree_button {
[307]635    float: left;
[306]636}
[307]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
[278]646div.tree {
647}
648div.tree li a{
649}
650div.tree ul {
651    list-style-type: none;
[304]652    padding-left: 15px;
[278]653}
654div.tree li {
655    background: url(../images/skin/ln.gif) 0px 0px no-repeat;
[282]656    padding-left: 10px;
657    margin: 2px;
[278]658}
[453]659div.pane_close {
[323]660    position: absolute;
661    right: 5px;
[312]662    padding: 5px;
663}
[286]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.