root/trunk/Wierszowki/Wierszowki.Web/Content/Site.css @ 752

Wersja 752, 8.0 KB (wprowadzona przez marek, 17 years temu)

wiersz

RevLine 
[752]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}
96
97#header
98{
99    position: relative;
100    margin-bottom: 0px;
101    color: #000;
102    padding: 0;
103}
104
105#header h1
106{
107    font-weight: bold;
108    padding: 5px 0;
109    margin: 0;
110    color: #fff;
111    border: none;
112    line-height: 2em;
113    font-family: Arial, Helvetica, sans-serif;
114    font-size: 32px !important;
115}
116
117#main
118{
119    padding: 30px 30px 15px 30px;
120    background-color: #fff;
121    margin-bottom: 30px;
122    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
123}
124
125#footer
126{
127    color: #999;
128    padding: 10px 0;
129    text-align: center;
130    line-height: normal;
131    margin: 0;
132    font-size: .9em;
133}
134
135/* TAB MENU   
136----------------------------------------------------------*/
137ul#menu
138{
139    border-bottom: 1px #5C87B2 solid;
140    padding: 0 0 2px;
141    position: relative;
142    margin: 0;
143    text-align: right;
144}
145
146ul#menu li
147{
148    display: inline;
149    list-style: none;
150}
151
152ul#menu li#greeting
153{
154    padding: 10px 20px;
155    font-weight: bold;
156    text-decoration: none;
157    line-height: 2.8em;
158    color: #fff;
159}
160
161ul#menu li a
162{
163    padding: 10px 20px;
164    font-weight: bold;
165    text-decoration: none;
166    line-height: 2.8em;
167    background-color: #e8eef4;
168    color: #034af3;
169}
170
171ul#menu li a:hover
172{
173    background-color: #fff;
174    text-decoration: none;
175}
176
177ul#menu li a:active
178{
179    background-color: #a6e2a6;
180    text-decoration: none;
181}
182
183ul#menu li.selected a
184{
185    background-color: #fff;
186    color: #000;
187}
188
189/* FORM LAYOUT ELEMENTS   
190----------------------------------------------------------*/
191
192fieldset
193{
194    margin: 1em 0;
195    padding: 1em;
196    border: 1px solid #CCC;
197}
198
199fieldset p
200{
201    margin: 2px 12px 10px 10px;
202}
203
204fieldset label
205{
206    display: block;
207}
208
209fieldset label.inline
210{
211    display: inline;
212}
213
214legend
215{
216    font-size: 1.1em;
217    font-weight: 600;
218    padding: 2px 4px 8px 4px;
219}
220
221input[type="text"]
222{
223    width: 200px;
224    border: 1px solid #CCC;
225}
226
227input[type="password"]
228{
229    width: 200px;
230    border: 1px solid #CCC;
231}
232
233/* TABLE
234----------------------------------------------------------*/
235
236table
237{
238  border: solid 1px #e8eef4;
239  border-collapse: collapse;
240}
241
242table td
243{
244  padding: 5px;   
245  border: solid 1px #e8eef4;
246  text-align: right;
247}
248
249table th
250{
251  padding: 6px 5px;
252  text-align: left;
253  background-color: #e8eef4;
254  border: solid 1px #e8eef4;   
255}
256
257/* MISC 
258----------------------------------------------------------*/
259.clear
260{
261    clear: both;
262}
263
264.error
265{
266    color:Red;
267}
268
269#menucontainer
270{
271    margin-top:40px;
272}
273
274div#title
275{
276    display:block;
277    float:left;
278    text-align:left;
279}
280
281div#title a
282{
283    color:#fff;
284    text-decoration:none;
285}
286
287#logindisplay
288{
289    font-size:1.1em;
290    display:block;
291    text-align:right;
292    margin:10px;
293    color:White;
294}
295
296#logindisplay a:link
297{
298    color: white;
299    text-decoration: underline;
300}
301
302#logindisplay a:visited
303{
304    color: white;
305    text-decoration: underline;
306}
307
308#logindisplay a:hover
309{
310    color: white;
311    text-decoration: none;
312}
313
314.field-validation-error
315{
316    color: #ff0000;
317}
318
319.input-validation-error
320{
321    border: 1px solid #ff0000;
322    background-color: #ffeeee;
323}
324
325.validation-summary-errors
326{
327    font-weight: bold;
328    color: #ff0000;
329}
330
331/*  Custom */
332.watermark
333{
334        background-color: #ffffff;
335        color: #bbb;
336}
337
338div.formitem
339{
340        width: 100%;
341        border-bottom: solid 1px #ccc;
342        padding: 5px 0 5px 5px;
343}
344
345fieldset
346{
347        width: 600px;
348        padding: 5px 5px 5px 5px;
349}
350
351label
352{       
353        float: left;
354        width: 45%;
355}
356
357fieldset input
358{
359        /*width: 100%;*/
360}
361
362p.label
363{
364        width: 45%;     
365}
366
367p#tooltip
368{
369        position: absolute;
370        display: none;
371        width: 250px;
372        background-color: #fffcdf;
373        padding: 5px 5px 5px 5px;
374        border: solid 1px #fff000;
375}
376
377table.jCalendar {
378        border: 1px solid #000;
379        background: #aaa;
380    border-collapse: separate;
381    border-spacing: 2px;
382}
383table.jCalendar th {
384        background: #333;
385        color: #fff;
386        font-weight: bold;
387        padding: 3px 5px;
388}
389
390table.jCalendar td {
391        background: #ccc;
392        color: #000;
393        padding: 3px 5px;
394        text-align: center;
395}
396table.jCalendar td.other-month {
397        background: #ddd;
398        color: #aaa;
399}
400table.jCalendar td.today {
401        background: #666;
402        color: #fff;
403}
404table.jCalendar td.selected {
405        background: #f66;
406        color: #fff;
407}
408table.jCalendar td.selected.dp-hover {
409        background: #f33;
410        color: #fff;
411}
412table.jCalendar td.dp-hover,
413table.jCalendar tr.activeWeekHover td {
414        background: #fff;
415        color: #000;
416}
417table.jCalendar tr.selectedWeek td {
418        background: #f66;
419        color: #fff;
420}
421table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
422        background: #bbb;
423        color: #888;
424}
425table.jCalendar td.unselectable,
426table.jCalendar td.unselectable:hover,
427table.jCalendar td.unselectable.dp-hover {
428        background: #bbb;
429        color: #888;
430}
431
432/* For the popup */
433
434/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
435
436div.dp-popup {
437        position: relative;
438        background: #ccc;
439        font-size: 10px;
440        font-family: arial, sans-serif;
441        padding: 2px;
442        width: 171px;
443        line-height: 1.2em;
444}
445div#dp-popup {
446        position: absolute;
447        z-index: 199;
448}
449div.dp-popup h2 {
450        font-size: 12px;
451        text-align: center;
452        margin: 2px 0;
453        padding: 0;
454}
455a#dp-close {
456        font-size: 11px;
457        padding: 4px 0;
458        text-align: center;
459        display: block;
460}
461a#dp-close:hover {
462        text-decoration: underline;
463}
464div.dp-popup a {
465        color: #000;
466        text-decoration: none;
467        padding: 3px 2px 0;
468}
469div.dp-popup div.dp-nav-prev {
470        position: absolute;
471        top: 2px;
472        left: 4px;
473        width: 100px;
474}
475div.dp-popup div.dp-nav-prev a {
476        float: left;
477}
478/* 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 */
479div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
480        cursor: pointer;
481}
482div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
483        cursor: default;
484}
485div.dp-popup div.dp-nav-next {
486        position: absolute;
487        top: 2px;
488        right: 4px;
489        width: 100px;
490}
491div.dp-popup div.dp-nav-next a {
492        float: right;
493}
494div.dp-popup a.disabled {
495        cursor: default;
496        color: #aaa;
497}
498div.dp-popup td {
499        cursor: pointer;
500}
501div.dp-popup td.disabled {
502        cursor: default;
503}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.