root/branches/Emisje/Wierszowki/Wierszowki.Web/Content/Site.css

Wersja 853, 8.8 KB (wprowadzona przez marek, 17 years temu)

re #195 - merged with latest trunk

Line 
1/*----------------------------------------------------------
2The base color for this template is #5c87b2. If you'd like
3to use a different color start by replacing all instances of
4#5c87b2 with your new color.
5----------------------------------------------------------*/
6body
7{
8    background-color: #5c87b2;
9    font-size: .75em;
10    font-family: Verdana, Helvetica, Sans-Serif;
11    margin: 0;
12    padding: 0;
13    color: #696969;
14}
15
16a:link
17{
18    color: #034af3;
19    text-decoration: underline;
20}
21a:visited
22{
23    color: #505abc;
24}
25a:hover
26{
27    color: #1d60ff;
28    text-decoration: none;
29}
30a:active
31{
32    color: #12eb87;
33}
34
35p, ul
36{
37    margin-bottom: 20px;
38    line-height: 1.6em;
39}
40
41/* HEADINGS   
42----------------------------------------------------------*/
43h1, h2, h3, h4, h5, h6
44{
45    font-size: 1.5em;
46    color: #000;
47    font-family: Arial, Helvetica, sans-serif;
48}
49
50h1
51{
52    font-size: 2em;
53    padding-bottom: 0;
54    margin-bottom: 0;
55}
56h2
57{
58    padding: 0 0 10px 0;
59}
60h3
61{
62    font-size: 1.2em;
63}
64h4
65{
66    font-size: 1.1em;
67}
68h5, h6
69{
70    font-size: 1em;
71}
72
73/* this rule styles <h2> tags that are the
74first child of the left and right table columns */
75.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
76{
77    margin-top: 0;
78}
79
80/* PRIMARY LAYOUT ELEMENTS   
81----------------------------------------------------------*/
82
83/* you can specify a greater or lesser percentage for the
84page width. Or, you can specify an exact pixel width. */
85.page
86{
87    width: 90%;
88    margin-left: auto;
89    margin-right: auto;
90}
91
92.reportTable, .reportTable td, .reportTable table
93{
94        border: none;
95        text-align: left;
96        background-color: #F5F5F5;
97}
98#header
99{
100    position: relative;
101    margin-bottom: 0px;
102    color: #000;
103    padding: 0;
104}
105
106#header h1
107{
108    font-weight: bold;
109    padding: 5px 0;
110    margin: 0;
111    color: #fff;
112    border: none;
113    line-height: 2em;
114    font-family: Arial, Helvetica, sans-serif;
115    font-size: 32px !important;
116}
117
118#main
119{
120    padding: 30px 30px 15px 30px;
121    background-color: #fff;
122    margin-bottom: 30px;
123    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
124}
125
126#footer
127{
128    color: #999;
129    padding: 10px 0;
130    text-align: center;
131    line-height: normal;
132    margin: 0;
133    font-size: .9em;
134}
135
136/* TAB MENU   
137----------------------------------------------------------*/
138ul#menu
139{
140    border-bottom: 1px #5C87B2 solid;
141    padding: 0 0 2px;
142    position: relative;
143    margin: 0;
144    text-align: right;
145}
146
147ul#menu li
148{
149    display: inline;
150    list-style: none;
151}
152
153ul#menu li#greeting
154{
155    padding: 10px 20px;
156    font-weight: bold;
157    text-decoration: none;
158    line-height: 2.8em;
159    color: #fff;
160}
161
162ul#menu li a
163{
164    padding: 10px 20px;
165    font-weight: bold;
166    text-decoration: none;
167    line-height: 2.8em;
168    background-color: #e8eef4;
169    color: #034af3;
170}
171
172ul#menu li a:hover
173{
174    background-color: #fff;
175    text-decoration: none;
176}
177
178ul#menu li a:active
179{
180    background-color: #a6e2a6;
181    text-decoration: none;
182}
183
184ul#menu li.selected a
185{
186    background-color: #fff;
187    color: #000;
188}
189
190/* FORM LAYOUT ELEMENTS   
191----------------------------------------------------------*/
192
193fieldset
194{
195    margin: 1em 0;
196    padding: 1em;
197    border: 1px solid #CCC;
198}
199
200fieldset p
201{
202    margin: 2px 12px 10px 10px;
203}
204
205fieldset label
206{
207    display: block;
208}
209
210fieldset label.inline
211{
212    display: inline;
213}
214
215legend
216{
217    font-size: 1.1em;
218    font-weight: 600;
219    padding: 2px 4px 8px 4px;
220}
221
222input[type="text"]
223{
224    width: 200px;
225    border: 1px solid #CCC;
226}
227
228input[type="password"]
229{
230    width: 200px;
231    border: 1px solid #CCC;
232}
233select,textarea
234{
235    width: 200px;
236}
237/* TABLE
238----------------------------------------------------------*/
239
240table
241{
242  border: solid 1px #e8eef4;
243  border-collapse: collapse;
244}
245table select
246{
247    width: 180px;
248}
249
250table td
251{
252  padding: 5px;   
253  border: solid 1px #e8eef4;
254  text-align: right;
255  vertical-align: top;
256}
257
258table th
259{
260  padding: 6px 5px;
261  text-align: center;
262  background-color: #e8eef4;
263  border: solid 1px #e8eef4;   
264}
265/* MISC 
266----------------------------------------------------------*/
267.clear
268{
269    clear: both;
270}
271
272.error
273{
274    color:Red;
275}
276
277#menucontainer
278{
279    margin-top:40px;
280}
281
282div#title
283{
284    display:block;
285    float:left;
286    text-align:left;
287}
288
289div#title a
290{
291    color:#fff;
292    text-decoration:none;
293}
294
295#logindisplay
296{
297    font-size:1.1em;
298    display:block;
299    text-align:right;
300    margin:10px;
301    color:White;
302}
303
304#logindisplay a:link
305{
306    color: white;
307    text-decoration: underline;
308}
309
310#logindisplay a:visited
311{
312    color: white;
313    text-decoration: underline;
314}
315
316#logindisplay a:hover
317{
318    color: white;
319    text-decoration: none;
320}
321
322.field-validation-error
323{
324    padding-left: 2px;
325    color: #ff0000;
326}
327
328.input-validation-error
329{
330    border: 1px solid #ff0000;
331    background-color: #ffeeee;
332}
333
334.validation-summary-errors
335{
336    font-weight: bold;
337    color: #ff0000;
338}
339
340/*  Custom */
341.watermark
342{
343        background-color: #ffffff;
344        color: #bbb;
345}
346
347div.formitem
348{
349        width: 100%;
350        border-bottom: solid 1px #ccc; 
351        padding: 5px 0 5px 5px;
352}
353
354fieldset
355{
356        width: 680px;
357        padding: 5px 2px 5px 5px;
358}
359
360label
361{       
362        float: left;
363        width: 45%;
364}
365
366fieldset input
367{
368        /*width: 100%;*/
369}
370
371p.label
372{
373        width: 45%;     
374}
375
376p#tooltip
377{
378        position: absolute;
379        display: none;
380        width: 250px;
381        background-color: #fffcdf;
382        padding: 5px 5px 5px 5px;
383        border: solid 1px #fff000;
384}
385
386table.jCalendar {
387        border: 1px solid #000;
388        background: #aaa;
389    border-collapse: separate;
390    border-spacing: 2px;
391}
392table.jCalendar th {
393        background: #333;
394        color: #fff;
395        font-weight: bold;
396        padding: 3px 5px;
397}
398
399table.jCalendar td {
400        background: #ccc;
401        color: #000;
402        padding: 3px 5px;
403        text-align: center;
404}
405table.jCalendar td.other-month {
406        background: #ddd;
407        color: #aaa;
408}
409table.jCalendar td.today {
410        background: #666;
411        color: #fff;
412}
413table.jCalendar td.selected {
414        background: #f66;
415        color: #fff;
416}
417table.jCalendar td.selected.dp-hover {
418        background: #f33;
419        color: #fff;
420}
421table.jCalendar td.dp-hover,
422table.jCalendar tr.activeWeekHover td {
423        background: #fff;
424        color: #000;
425}
426table.jCalendar tr.selectedWeek td {
427        background: #f66;
428        color: #fff;
429}
430table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
431        background: #bbb;
432        color: #888;
433}
434table.jCalendar td.unselectable,
435table.jCalendar td.unselectable:hover,
436table.jCalendar td.unselectable.dp-hover {
437        background: #bbb;
438        color: #888;
439}
440
441/* For the popup */
442
443/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
444
445div.dp-popup {
446        position: relative;
447        background: #ccc;
448        font-size: 10px;
449        font-family: arial, sans-serif;
450        padding: 2px;
451        width: 171px;
452        line-height: 1.2em;
453}
454div#dp-popup {
455        position: absolute;
456        z-index: 199;
457}
458div.dp-popup h2 {
459        font-size: 12px;
460        text-align: center;
461        margin: 2px 0;
462        padding: 0;
463}
464a#dp-close {
465        font-size: 11px;
466        padding: 4px 0;
467        text-align: center;
468        display: block;
469}
470a#dp-close:hover {
471        text-decoration: underline;
472}
473div.dp-popup a {
474        color: #000;
475        text-decoration: none;
476        padding: 3px 2px 0;
477}
478div.dp-popup div.dp-nav-prev {
479        position: absolute;
480        top: 2px;
481        left: 4px;
482        width: 100px;
483}
484div.dp-popup div.dp-nav-prev a {
485        float: left;
486}
487/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
488div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
489        cursor: pointer;
490}
491div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
492        cursor: default;
493}
494div.dp-popup div.dp-nav-next {
495        position: absolute;
496        top: 2px;
497        right: 4px;
498        width: 100px;
499}
500div.dp-popup div.dp-nav-next a {
501        float: right;
502}
503div.dp-popup a.disabled {
504        cursor: default;
505        color: #aaa;
506}
507div.dp-popup td {
508        cursor: pointer;
509}
510div.dp-popup td.disabled {
511        cursor: default;
512}
513/*Komunikaty na stronie Error.aspx*/
514.error_info
515{
516    font-size: 14px;
517    font-weight: bold;
518    color: Gray;
519}
520.st1
521{
522    font-size: 16px;
523    font-weight: bold;
524    color: Gray;
525}
526.st1 span
527{
528    font-size: 14px;
529    font-weight: normal;
530}
531
532.fieldset select,input { border: 1px solid black;}
533select.error, input.error { border: 1px solid red; }
534br { clear: both; }
535
536label.error
537{
538    background: url('http://dev.jquery.com/view/trunk/plugins/validate/demo/images/unchecked.gif') no-repeat;
539    padding-left: 18px;
540    margin-left: 307px;
541        margin-top: 3px;           
542}
543.dp-choose-date{
544    padding-left: 4px;
545}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.