-
Notifications
You must be signed in to change notification settings - Fork 8
/
jquery.monthpicker.css
73 lines (62 loc) · 1.17 KB
/
jquery.monthpicker.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
.monthpicker {
border: 1px solid #eee;
padding: 1em;
top: 6px;
z-index: 1000;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: .2em;
}
.monthpicker:before {
content: '';
border-bottom: 6px solid #fff;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
position: absolute;
top: -6px;
left: 6px;
z-index: 1002;
}
.monthpicker:after {
content: '';
border-bottom: 6px solid #ddd;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
position: absolute;
top: -7px;
left: 6px;
z-index: 1001;
}
.monthpicker .years {
margin-bottom: .8em;
text-align: center;
}
.monthpicker .years select {
font-size: 1em;
width: 100%;
}
.monthpicker .years select:focus {
outline: none;
}
.monthpicker table {
border-collapse: collapse;
table-layout: fixed;
}
.monthpicker td {
padding: .1em;
}
.monthpicker table button {
width: 100%;
border: none;
background: #CAE3FB;
font-size: .8em;
padding: .6em;
cursor: pointer;
border-radius: .2em;
transition: background .2s;
}
.monthpicker table button:hover {
background: #B1D3F3;
}
.monthpicker table button:focus {
outline: none;
}