root/trunk/Wierszowki/Wierszowki.Web/Content/print.css @ 842

Wersja 842, 7.4 KB (wprowadzona przez alina, 17 years temu)

fix #207, #193, #205

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