-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtimepicker.css
60 lines (52 loc) · 906 Bytes
/
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
.timepicker-input{
cursor: pointer;
}
.timepicker-selectors{
display: none;
background-color: white;
border-radius: 0.375rem;
border: 1px solid #dee2e6;
padding: 10px;
padding-top: 5px;
margin-top: 5px;
position: absolute;
width: calc(100% - 10px);
max-width: 300px;
margin-right: auto;
margin-left: auto;
table-layout : fixed;
z-index: 9999;
&:before{
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 7.5px 10px 7.5px;
border-color: transparent transparent #ffffff transparent;
position: absolute;
top: -7px;
left: 3px;
}
&.show{
display: table;
}
& thead{
& td:nth-child(2){
width: 2px;
padding: 3px;
}
}
& tbody{
& td{
text-align: center;
&:nth-child(2){
padding: 0px;
vertical-align: middle;
}
& select{
width: 100%;
padding: 3px 5px;
}
}
}
}