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

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

Removed negative margin from tab headers since it causes selection problems in IE and looks better with a little extra space.

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