root/trunk/Wierszowki/Wierszowki.Web/Content/datePicker.css @ 951

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

wiersz

Line 
1
2
3table.jCalendar {
4        border: 1px solid #000;
5        background: #aaa;
6    border-collapse: separate;
7    border-spacing: 2px;
8}
9table.jCalendar th {
10        background: #333;
11        color: #fff;
12        font-weight: bold;
13        padding: 3px 5px;
14}
15
16table.jCalendar td {
17        background: #ccc;
18        color: #000;
19        padding: 3px 5px;
20        text-align: center;
21}
22table.jCalendar td.other-month {
23        background: #ddd;
24        color: #aaa;
25}
26table.jCalendar td.today {
27        background: #666;
28        color: #fff;
29}
30table.jCalendar td.selected {
31        background: #f66;
32        color: #fff;
33}
34table.jCalendar td.selected.dp-hover {
35        background: #f33;
36        color: #fff;
37}
38table.jCalendar td.dp-hover,
39table.jCalendar tr.activeWeekHover td {
40        background: #fff;
41        color: #000;
42}
43table.jCalendar tr.selectedWeek td {
44        background: #f66;
45        color: #fff;
46}
47table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
48        background: #bbb;
49        color: #888;
50}
51table.jCalendar td.unselectable,
52table.jCalendar td.unselectable:hover,
53table.jCalendar td.unselectable.dp-hover {
54        background: #bbb;
55        color: #888;
56}
57
58/* For the popup */
59
60/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
61
62div.dp-popup {
63        position: relative;
64        background: #ccc;
65        font-size: 10px;
66        font-family: arial, sans-serif;
67        padding: 2px;
68        width: 171px;
69        line-height: 1.2em;
70}
71div#dp-popup {
72        position: absolute;
73        z-index: 199;
74}
75div.dp-popup h2 {
76        font-size: 12px;
77        text-align: center;
78        margin: 2px 0;
79        padding: 0;
80}
81a#dp-close {
82        font-size: 11px;
83        padding: 4px 0;
84        text-align: center;
85        display: block;
86}
87a#dp-close:hover {
88        text-decoration: underline;
89}
90div.dp-popup a {
91        color: #000;
92        text-decoration: none;
93        padding: 3px 2px 0;
94}
95div.dp-popup div.dp-nav-prev {
96        position: absolute;
97        top: 2px;
98        left: 4px;
99        width: 100px;
100}
101div.dp-popup div.dp-nav-prev a {
102        float: left;
103}
104/* 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 */
105div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
106        cursor: pointer;
107}
108div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
109        cursor: default;
110}
111div.dp-popup div.dp-nav-next {
112        position: absolute;
113        top: 2px;
114        right: 4px;
115        width: 100px;
116}
117div.dp-popup div.dp-nav-next a {
118        float: right;
119}
120div.dp-popup a.disabled {
121        cursor: default;
122        color: #aaa;
123}
124div.dp-popup td {
125        cursor: pointer;
126}
127div.dp-popup td.disabled {
128        cursor: default;
129}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.