source: trunk/src/web-app/css/public.css @ 44

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

Update main layout.
Create and add topBg.png
Basic auth for admin/user adjust BoosStrap? and controllers to match.

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