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

Last change on this file since 139 was 139, checked in by gav, 15 years ago

Install Navigation plugin, work on navigation and hopefully fixed a few more IE vs Firefox CSS issues.
New skin for class-diagram plugin.
Adjust security config to suite.
Replace home.gsp with start.gsp, remove options.gsp and acknowledgements.gsp as they are now on start.gsp tabs.
Create search pages for Tasks, Assets and Inventory.
Change suggested login to manager.
Change all date formats to format="EEE, dd-MMM-yyyy".

File size: 9.5 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: 5px;
11    position: absolute;
12    right: 0;
13}
14
15body {
16    text-align: center; 
17    width: 980px
18    background: #fff;
19    color: #222;
20    font: 14px verdana, arial, helvetica, sans-serif;
21    background: transparent url("../images/brushed_metal.png") repeat fixed center;
22}
23
24#wrapper {
25  margin: 0 auto;
26  padding: 0;
27  width: 1024px;
28}
29
30#top {
31  background: url("../images/topBg.png") no-repeat scroll center;
32  width: 1020px;
33  height: 44px;
34}
35
36#content {
37  padding: 0px 20px 20px;
38  background: url("../images/Contentbg.png") repeat-y scroll center;
39  width: 980px;
40}
41
42#Header {
43  background: transparent url("../images/logo.png") no-repeat scroll center;
44  width: 980px;
45  height: 160px;
46  /*border: 1px solid;*/
47}
48#HeaderLink{
49  display: block;
50  width: 650px;
51  height: 160px;
52}
53
54/* Navigation plugin, top level. */
55#menu {
56    float: left;
57}
58
59a:link, a:visited, a:hover {
60    color: #666;
61    font-weight: bold;
62    text-decoration: none;
63}
64
65img {
66    border: 0px;
67}
68
69h1 {
70    color: #006dba;
71    font-weight: normal;
72    font-size: 17px;
73    margin: 0 0 .3em 0;
74}
75
76ul {
77    padding-left: 15px;
78}
79
80input, select, textarea {
81    background-color: #fcfcfc;
82    border: 1px solid #ccc;
83    font: 14px verdana, arial, helvetica, sans-serif;
84    margin: 2px 0;
85    padding: 2px 4px;
86}
87select {
88   padding: 2px 2px 2px 0;
89}
90textarea {
91    width: 450px;
92    height: 150px;
93    vertical-align: top;
94}
95
96input:focus, select:focus, textarea:focus {
97    border: 1px solid #b2d1ff;
98}
99
100.body {
101    padding: 20px 20px 20px 20px;
102    text-align: center;
103}
104
105/* Login/out and Admin */
106
107.appcontrol {
108    width: 980px;
109    height: 2em;
110/*     text-align: right; */
111/*     padding: 0px 160px 70px 5px; */
112/*     padding: 0.5em 0px 0.5em 0px; */
113    /*border: 1px solid blue;*/
114    /*border-style: solid solid solid solid;*/
115    /*overflow: hidden;*/ /* Clearing floats */
116}
117
118.appcontrolButton a {
119    padding: 0.3em 165px 0em 5px;
120/*   width: 980px; */
121    float: right;
122    font-size: 14px;
123/*     padding: 0.5em 5px ; */
124    text-decoration: none;
125    display: block;
126    /*overflow: hidden;*/ /* Clearing floats */
127}
128
129.appcontrolButton a:hover {
130    color: red;
131    margin: 0.2em 0 0 0;
132    /*padding: 0.8em 5px;*/
133}
134
135/* ORIGINAL NAVIGATION MENU */
136
137.nav {
138    text-align: centre;
139    background: url("../images/linkPanel_long.png") top no-repeat;
140    /*border: 1px solid #ccc;
141    border-style: solid none solid none;*/
142    padding: 10px 0px 0px 0px;
143    width: 980px;
144    height: 40px;
145    /*border: 1px solid;*/
146}
147
148.menuButton {
149    font-size: 14px;
150    padding: 0 5px;
151}
152.menuButton a {
153    color: #333;
154    padding: 14px 25px;
155}
156.menuButton a.home {
157    /*background: url(../images/skin/house.png) center left no-repeat;*/
158    color: #333;
159    /*padding: 25px;*/
160}
161.menuButton a.list {
162    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
163    color: #333;
164    /*padding-left: 25px;*/
165}
166.menuButton a.create {
167    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
168    color: #333;
169    /*padding-left: 25px;*/
170}
171
172/* MESSAGES AND ERRORS */
173
174.message {
175    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
176    border: 1px solid #b2d1ff;
177    color: #006dba;
178    margin: 10px 0 5px 0;
179    padding: 5px 5px 5px 0px
180}
181
182div.errors {
183    background: #fff3f3;
184    border: 1px solid red;
185    color: #cc0000;
186    margin: 10px 0 5px 0;
187    padding: 5px 0 5px 0;
188}
189div.errors ul {
190    list-style: none;
191    padding: 0;
192}
193div.errors li {
194        background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
195    line-height: 16px;
196    padding-left: 30px;
197}
198
199td.errors select {
200    border: 1px solid red;
201}
202td.errors input {
203    border: 1px solid red;
204}
205td.errors textarea {
206    border: 1px solid red;
207}
208
209input.time {
210    width:40px;
211}
212input.time.errors {
213    border: 1px solid red;
214}
215input.description {
216    width:450px;
217}
218
219/* TABLES */
220
221table {
222    border: 1px solid #ccc;
223    width: 100%
224}
225tr {
226    border: 0;
227}
228td, th {
229    font: 14px verdana, arial, helvetica, sans-serif;
230    line-height: 17px;
231    padding: 5px 6px;
232    text-align: left;
233    vertical-align: top;
234}
235th {
236    background: #fff url(../images/skin/shadow.jpg);
237    color: #555;
238    font-size: 14px;
239    font-weight: bold;
240    line-height: 17px;
241    padding: 2px 6px;
242}
243th a:link, th a:visited, th a:hover {
244    color: #333;
245    display: block;
246    font-size: 14px;
247    text-decoration: none;
248    width: 100%;
249}
250th.asc a, th.desc a {
251    background-position: right;
252    background-repeat: no-repeat;
253}
254th.asc a {
255    background-image: url(../images/skin/sorted_asc.gif);
256}
257th.desc a {
258    background-image: url(../images/skin/sorted_desc.gif);
259}
260
261.odd {
262    background: #f7f7f7;
263}
264.even {
265    background: #fff;
266}
267
268.clickableOdd {
269    background: #f7f7f7;
270    cursor: pointer;
271}
272.clickableEven {
273    background: #fff;
274    cursor: pointer;
275}
276
277/* LIST */
278
279.list table {
280    border-collapse: collapse;
281}
282.list th, .list td {
283    border-left: 1px solid #ddd;
284}
285.list th:hover, .list tr:hover {
286    background: #b2d1ff;
287}
288
289/* PAGINATION */
290
291.paginateButtons {
292    width: 940px;
293    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
294    border: 1px solid #ccc;
295    border-top: 0;
296    color: #666;
297    font-size: 14px;
298    overflow: hidden;
299    padding: 10px 3px;
300}
301.paginateButtons a {
302    background: #fff;
303    border: 1px solid #ccc;
304    border-color: #ccc #aaa #aaa #ccc;
305    color: #666;
306    margin: 0 3px;
307    padding: 2px 6px;
308}
309.paginateButtons span {
310    padding: 2px 3px;
311}
312
313/* DIALOG */
314
315.dialog table {
316    padding: 5px 0;
317}
318
319.prop {
320    padding: 5px;
321}
322.prop .name {
323    text-align: left;
324    width: 15%;
325    white-space: nowrap;
326}
327.prop .value {
328    text-align: left;
329    width: 85%;
330}
331
332/* ACTION BUTTONS */
333
334.buttons {
335    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
336    border: 1px solid #ccc;
337    color: #666;
338    font-size: 14px;
339    margin-top: -1px;
340    margin-bottom: 5px;
341    overflow: hidden;
342    padding: 0;
343}
344
345.buttons input {
346    background: #fff;
347    border: 0;
348    color: #333;
349    cursor: pointer;
350    font-size: 14px;
351    font-weight: bold;
352    margin-left: 3px;
353    overflow: visible;
354    padding: 2px 6px;
355}
356.buttons input.delete {
357    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
358    padding-left: 28px;
359}
360.buttons input.edit {
361    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
362    padding-left: 28px;
363}
364.buttons input.save {
365    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
366    padding-left: 28px;
367}
368.buttons input.add {
369    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
370    padding-left: 28px;
371}
372.buttons input.search {
373    background: transparent url(../images/skin/database_search.png) 5px 50% no-repeat;
374    padding-left: 28px;
375}
376.buttons input.link {
377    background: transparent url(../images/skin/database_link.png) 5px 50% no-repeat;
378    padding-left: 28px;
379}
380.buttons input.go {
381    background: transparent url(../images/skin/database_go.png) 5px 50% no-repeat;
382    padding-left: 28px;
383}
384.buttons input.table {
385    background: transparent url(../images/skin/database_table.png) 5px 50% no-repeat;
386    padding-left: 28px;
387}
388
389#bottom {
390  background: url("../images/bottomBg.png") no-repeat scroll center;
391  width: 1020px;
392  height: 100px;
393}
394
395 /* Navigation Plugin Override */
396.navigation {
397    padding: 0px 0px 0px 165px;
398    list-style-type: none;
399    clear: both;
400    font-size: 14px;
401    overflow: hidden; /* Clearing floats */
402}
403
404.navigation li {
405    float: left;
406    /*border: 0px*/
407    /* border: 1px solid #888; */
408     /*border-left-color: #bbb;*/  /* Highlight border-color */
409}
410
411.navigation li.navigation_first {
412     /*border-left-color: #888; */
413}
414
415.navigation li.navigation_active {
416     /*border-left-color: #555;*/  /* Highlight border-color of active item */
417}
418
419.navigation li a {
420    /* color: #fff; */
421    /* background-color: #aaa; */
422    padding: 0.3em 0.75em;
423    display: block;
424    text-decoration: none;
425}
426
427.navigation li a:hover {
428    color: red;
429    /* background-color: #999; */
430/*     font-weight: normal; */
431/*     font-size: 14px; */
432    margin: 0.2em 0 0 0;
433    /*cursor: default;*/
434}
435
436.navigation li.navigation_active a {
437    /* background-color: #555; */
438/*    color: #fff;*/
439    color: #006dba;
440    /*color: black;*/
441    font-weight: bold;
442    font-size: 17px;
443    margin: 0 0 0 0;
444    /*cursor: default;*/
445}
446
447.navigation li.navigation_active a:hover {
448    color: #006dba;
449    font-weight: bold;
450    font-size: 17px;
451    margin: 0 0 0 0;
452    /*background-color: #555;*/
453}
454
455/* Sub navigation */
456.subnavigation {
457    /*padding: 0px 0px 0px 165px;*/
458    padding: 0px 0px 0px 220px;
459    list-style-type: none;
460    clear: both;
461    overflow: hidden; /* Clearing floats */
462}
463.subnavigation li {
464    float: left;
465    /* background-color: #555; */
466    padding: 0em 0.75em;
467    border-width: 0px 0;
468}
469.subnavigation li a {
470    color: #006dba;
471    font-weight: bold;
472    font-size: 17px;
473    display: block;
474    /*padding: 0px 0;*/
475    /* border-color: #555; */
476    border-style: solid;
477    border-width: 0px 0;
478    text-decoration: none;
479    /*margin: 0 0 0 0;*/
480    /*cursor: default;*/
481}
482
483.subnavigation li a:visited {
484    color: #006dba;
485}
486
487.subnavigation li a:hover {
488    /*color: red;*/
489    /*border-color: black;*/ 
490    border-width: 1px 0;
491}
492.subnavigation li.subnavigation_active a {
493    /*color: #e0e0e0; */
494    /*cursor: default;*/
495    /*border-color: #e0e0e0;*/
496    border-width: 1px 0;
497}
Note: See TracBrowser for help on using the repository browser.