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

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

Add icons from famfamfam silk icons, add acknowledgement page to suite.
Adjust AssignedPerson? controller so that a task.id is required to create.
Move Add AssignedPerson? link up to TaskDetailed? show page.
Further improvements to taskDetailed show tabs.
Adjust TaskProcedureDetailed? controller to allow linking a Procedure to a task during creation.
Adjust TaskRecurringSchedule? to a one-to-one cascading relationship.
Modify CSS class duration to time and added icons.
Regenerate some pages.

File size: 6.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: 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}
47#HeaderLink{
48  display: block;
49  width: 650px;
50  height: 160px;
51}
52
53a:link, a:visited, a:hover {
54    color: #666;
55    font-weight: bold;
56    text-decoration: none;
57}
58
59img {
60    border: 0px;
61}
62
63h1 {
64    color: #006dba;
65    font-weight: normal;
66    font-size: 17px;
67    margin: 0 0 .3em 0;
68}
69
70ul {
71    padding-left: 15px;
72}
73
74input, select, textarea {
75    background-color: #fcfcfc;
76    border: 1px solid #ccc;
77    font: 14px verdana, arial, helvetica, sans-serif;
78    margin: 2px 0;
79    padding: 2px 4px;
80}
81select {
82   padding: 2px 2px 2px 0;
83}
84textarea {
85        width: 450px;
86        height: 150px;
87        vertical-align: top;
88}
89
90input:focus, select:focus, textarea:focus {
91    border: 1px solid #b2d1ff;
92}
93
94.body {
95    padding: 20px 20px 20px 20px;
96    text-align: center;
97}
98
99/* Login/out and Admin*/
100
101.appcontrol {
102    text-align: right;
103    padding: 5px 160px 5px 5px
104}
105
106.appcontrolButton {
107    font-size: 14px;
108    padding: 5px 5px;
109}
110
111/* NAVIGATION MENU */
112
113.nav {
114    text-align: centre;
115    background: url("../images/linkPanel_long.png") top no-repeat;
116    /*border: 1px solid #ccc;
117    border-style: solid none solid none;*/
118    padding: 15px 0px 0px 0px;
119    width: 980px;
120    height: 40px;
121}
122
123/*.nav a{
124    background: url("../images/linkPanel.png") no-repeat top;
125    display: inline-block;
126    width: 140px;
127    height: 40px;
128    text-decoration: none;
129}*/
130
131.menuButton {
132    font-size: 14px;
133    padding: 0 5px;
134}
135.menuButton a {
136    color: #333;
137    padding: 14px 25px;
138}
139.menuButton a.home {
140    /*background: url(../images/skin/house.png) center left no-repeat;*/
141    color: #333;
142    /*padding: 25px;*/
143}
144.menuButton a.list {
145    /*background: url(../images/skin/database_table.png) center left no-repeat;*/
146    color: #333;
147    /*padding-left: 25px;*/
148}
149.menuButton a.create {
150    /*background: url(../images/skin/database_add.png) center left no-repeat;*/
151    color: #333;
152    /*padding-left: 25px;*/
153}
154
155/* MESSAGES AND ERRORS */
156
157.message {
158    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
159    border: 1px solid #b2d1ff;
160    color: #006dba;
161    margin: 10px 0 5px 0;
162    padding: 5px 5px 5px 0px
163}
164
165div.errors {
166    background: #fff3f3;
167    border: 1px solid red;
168    color: #cc0000;
169    margin: 10px 0 5px 0;
170    padding: 5px 0 5px 0;
171}
172div.errors ul {
173    list-style: none;
174    padding: 0;
175}
176div.errors li {
177        background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
178    line-height: 16px;
179    padding-left: 30px;
180}
181
182td.errors select {
183    border: 1px solid red;
184}
185td.errors input {
186    border: 1px solid red;
187}
188td.errors textarea {
189    border: 1px solid red;
190}
191
192input.time {
193    width:40px;
194}
195input.time.errors {
196    border: 1px solid red;
197}
198input.description {
199    width:450px;
200}
201
202/* TABLES */
203
204table {
205    border: 1px solid #ccc;
206    width: 100%
207}
208tr {
209    border: 0;
210}
211td, th {
212    font: 14px verdana, arial, helvetica, sans-serif;
213    line-height: 17px;
214    padding: 5px 6px;
215    text-align: left;
216    vertical-align: top;
217}
218th {
219    background: #fff url(../images/skin/shadow.jpg);
220    color: #555;
221    font-size: 14px;
222    font-weight: bold;
223    line-height: 17px;
224    padding: 2px 6px;
225}
226th a:link, th a:visited, th a:hover {
227    color: #333;
228    display: block;
229    font-size: 14px;
230    text-decoration: none;
231    width: 100%;
232}
233th.asc a, th.desc a {
234    background-position: right;
235    background-repeat: no-repeat;
236}
237th.asc a {
238    background-image: url(../images/skin/sorted_asc.gif);
239}
240th.desc a {
241    background-image: url(../images/skin/sorted_desc.gif);
242}
243
244.odd {
245    background: #f7f7f7;
246}
247.even {
248    background: #fff;
249}
250
251.clickableOdd {
252    background: #f7f7f7;
253    cursor: pointer;
254}
255.clickableEven {
256    background: #fff;
257    cursor: pointer;
258}
259
260/* LIST */
261
262.list table {
263    border-collapse: collapse;
264}
265.list th, .list td {
266    border-left: 1px solid #ddd;
267}
268.list th:hover, .list tr:hover {
269    background: #b2d1ff;
270}
271
272/* PAGINATION */
273
274.paginateButtons {
275    width: 940px;
276    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
277    border: 1px solid #ccc;
278    border-top: 0;
279    color: #666;
280    font-size: 14px;
281    overflow: hidden;
282    padding: 10px 3px;
283}
284.paginateButtons a {
285    background: #fff;
286    border: 1px solid #ccc;
287    border-color: #ccc #aaa #aaa #ccc;
288    color: #666;
289    margin: 0 3px;
290    padding: 2px 6px;
291}
292.paginateButtons span {
293    padding: 2px 3px;
294}
295
296/* DIALOG */
297
298.dialog table {
299    padding: 5px 0;
300}
301
302.prop {
303    padding: 5px;
304}
305.prop .name {
306    text-align: left;
307    width: 15%;
308    white-space: nowrap;
309}
310.prop .value {
311    text-align: left;
312    width: 85%;
313}
314
315/* ACTION BUTTONS */
316
317.buttons {
318    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
319    border: 1px solid #ccc;
320    color: #666;
321    font-size: 14px;
322    margin-top: -1px;
323    margin-bottom: 5px;
324    overflow: hidden;
325    padding: 0;
326}
327
328.buttons input {
329    background: #fff;
330    border: 0;
331    color: #333;
332    cursor: pointer;
333    font-size: 14px;
334    font-weight: bold;
335    margin-left: 3px;
336    overflow: visible;
337    padding: 2px 6px;
338}
339.buttons input.delete {
340    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
341    padding-left: 28px;
342}
343.buttons input.edit {
344    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
345    padding-left: 28px;
346}
347.buttons input.save {
348    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
349    padding-left: 28px;
350}
351.buttons input.add {
352    background: transparent url(../images/skin/database_add.png) 5px 50% no-repeat;
353    padding-left: 28px;
354}
355.buttons input.search {
356    background: transparent url(../images/skin/database_search.png) 5px 50% no-repeat;
357    padding-left: 28px;
358}
359.buttons input.link {
360    background: transparent url(../images/skin/database_link.png) 5px 50% no-repeat;
361    padding-left: 28px;
362}
363.buttons input.go {
364    background: transparent url(../images/skin/database_go.png) 5px 50% no-repeat;
365    padding-left: 28px;
366}
367.buttons input.table {
368    background: transparent url(../images/skin/database_table.png) 5px 50% no-repeat;
369    padding-left: 28px;
370}
371
372#bottom {
373  background: url("../images/bottomBg.png") no-repeat scroll center;
374  width: 1020px;
375  height: 100px;
376}
Note: See TracBrowser for help on using the repository browser.