-
Notifications
You must be signed in to change notification settings - Fork 0
/
timepicker.css
88 lines (86 loc) · 1.83 KB
/
timepicker.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
.timcpicker-item {
width:128px;
position:relative;
display:inline-block;
cursor: pointer;
}
.timepicker-input {
-webkit-appearance: none;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid #CCC;
box-sizing: border-box;
color: #333;
display: inline-block;
font-size: inherit;
height: 40px;
line-height: 1;
outline: none;
padding: 0 15px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 100%;
height:28px;padding-left:30px;padding-right:30px;
cursor: pointer;
}
.timepicker-input-prefix {
position: absolute;
height: 100%;
line-height: 28px;
left: 5px;
top: 0;
text-align: center;
color: #c0c4cc;
transition: all .3s;
}
.timepicker-picker {
width: 128px;
transform-origin: center top 0px;
z-index: 2005;
position: absolute;
color: #333;
border: 1px solid #DCDFE6;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
background: #fff;
border-radius: 4px;
line-height: 30px;
margin: 5px 0;
}
.timepicker-picker-scrollbar {
overflow: hidden;
position: relative;
}
.timepicker-picker-panel {
position: relative;
margin-bottom: -15px;
margin-right: -15px;
max-height: 200px;
margin: 0;
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
}
.timepicker-picker-contentview {
display: block;
color: #333;
border: 1px solid #DCDFE6;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
background: #fff;
border-radius: 4px;
line-height: 30px;
margin: 5px 0;
}
.picker-item {
padding: 8px 10px;
font-size: 14px;
line-height: 20px;
}
.picker-item:hover {
color: #333;
font-size: 15px;
font-weight: bold;
}
.picker-item.disabled {
color: #DCDFE6;
cursor: not-allowed;
}