-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonth-picker.css
108 lines (92 loc) · 2.51 KB
/
month-picker.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.month-picker a {
text-decoration: none;
}
.month-picker .spin-button,
.month-picker .years {
display: inline-block;
width: 3em;
text-align: center;
}
.month-picker .spin-button {
background-color: #333;
}
.month-picker .spin-button a {
color: #999;
display: block;
font-size: .5em;
line-height: 2.5em;
vertical-align: middle;
}
.month-picker .spin-button a:hover {
color: white;
}
.month-picker .spin-button.up {
border-top-left-radius: .2em;
border-top-right-radius: .2em;
}
.month-picker .spin-button.down {
border-bottom-left-radius: .2em;
border-bottom-right-radius: .2em;
}
.month-picker .selected {
background-color: #2A8FBD;
border-radius: 3px;
box-shadow: inset 0 0 .35em #333;
color: white !important;
text-shadow: 0 -1px 0 black !important;
}
.month-picker .years,
.month-picker .months {
height: 6em;
}
.month-picker .years {
background-color: #333;
background-image: linear-gradient(top, #333 0%, #555 45%, #555 55%, #333 100%);
background-image: -o-linear-gradient(top, #333 0%, #555 45%, #555 55%, #333 100%);
background-image: -moz-linear-gradient(top, #333 0%, #555 45%, #555 55%, #333 100%);
background-image: -webkit-linear-gradient(top, #333 0%, #555 45%, #555 55%, #333 100%);
background-image: -ms-linear-gradient(top, #333 0%, #555 45%, #555 55%, #333 100%);
text-shadow: 0 -1px 0 black;
float: left;
overflow: hidden;
}
.month-picker .spinner {
position: relative;
}
.month-picker .years a {
color: #999;
display: block;
height: 1.5em;
line-height: 1.5em;
vertical-align: middle;
}
.month-picker .years a:hover {
color: white;
}
.month-picker .months {
background-color: #eee;
background-image: linear-gradient(top, #ccc 0%, #eee 45%, #eee 55%, #ccc 100%);
background-image: -o-linear-gradient(top, #ccc 0%, #eee 45%, #eee 55%, #ccc 100%);
background-image: -moz-linear-gradient(top, #ccc 0%, #eee 45%, #eee 55%, #ccc 100%);
background-image: -webkit-linear-gradient(top, #ccc 0%, #eee 45%, #eee 55%, #ccc 100%);
background-image: -ms-linear-gradient(top, #ccc 0%, #eee 45%, #eee 55%, #ccc 100%);
border-top-right-radius: 2px;
border-bottom-right-radius: 5px;
box-shadow: 0 0 .5em #777;
display: inline-block;
}
.month-picker .months .group {
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.month-picker .months a {
color: #666;
display: inline-block;
text-align: center;
text-shadow: 0 1px 0 white;
width: 3em;
}
.month-picker .months a:hover {
color: #2A8FBD;
}