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

Last change on this file since 36 was 36, checked in by tuxta, 15 years ago

1st update to the style, added wrapper and content to public.css and pointed main.gsp to it. Still have issues with inner content being to wide, work on that next

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