source: trunk/src/web-app/css/main.css @ 98

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

Installed help-balloons plugin.
Adjust security config to allow javascript and help-balloons folders.
Add "Repeat password" to change password.
Detailed Entry views, including only allow user to edit their own entries.
Adjust Entry constraints.
Add comments to layouts/main.gsp.
Work on TaskDetailed? view to show entry durations and allow editing.
Entry duration formatting to CSS and increased base font size to 14px.

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