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

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

Some CSS adjustments to text color, img border, remove body height:100%, add buttons input.add to CSS.
Move admin stuff to AppAdmin? to make it very clear that it is not for daily use.
TaskDetailed? list and delete now use the IsActive? attribute.
Remove Task.comment size constraint.
Add more help-ballons to TaskDetailed? create.
Clean loose comments from main.gsp and auth.gsp
Use pretty pictures in TaskDetailed? views instead of Edit and Show words.

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