default.time.css
2.37 KB
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
109
110
111
112
113
/* ==========================================================================
$BASE-TIME-PICKER
========================================================================== */
/**
* The list of times.
*/
.um .picker__list {
list-style: none;
list-style: none !important;
padding: 5px !important;
margin: 0px !important;
}
/**
* The times on the clock.
*/
.um .picker__list-item {
position: relative;
border-radius: 2px;
display: inline-block;
width: 25%;
text-align: center;
box-sizing: border-box;
padding: 6px 0px !important;
margin: 5px 0 !important;
}
@media (min-height: 46.75em) {
.um .picker__list-item {
}
}
/* Hovered time */
.um .picker__list-item:hover {
cursor: pointer;
z-index: 10;
}
/* Highlighted and hovered/focused time */
.um .picker__list-item--highlighted {
z-index: 10;
}
.um .picker__list-item--highlighted:hover,
.um .picker--focused .picker__list-item--highlighted {
cursor: pointer;
font-weight: bold;
}
/* Selected and hovered/focused time */
.um .picker__list-item--selected,
.um .picker__list-item--selected:hover,
.um .picker--focused .picker__list-item--selected {
z-index: 10;
}
/* Disabled time */
.um .picker__list-item--disabled,
.um .picker__list-item--disabled:hover,
.um .picker--focused .picker__list-item--disabled {
color: #a9e792;
cursor: default;
background: transparent;
z-index: auto;
}
/**
* The clear button
*/
.um .picker--time .picker__button--clear {
width: 100%;
display: inline-block;
background: none;
box-shadow: none !important;
border: 0!important;
outline: 0 !important;
background: none !important;
border-radius: 0 0 2px 2px;
color: #fff !important;
}
.um .picker--time .picker__button--clear:hover,
.um .picker--time .picker__button--clear:focus {
cursor: pointer;
}
/* ==========================================================================
$DEFAULT-TIME-PICKER
========================================================================== */
/**
* The frame the bounds the time picker.
*/
.um .picker--time .picker__frame {
min-width: 256px;
max-width: 400px;
}
/**
* The picker box.
*/
.um .picker--time .picker__box {
font-size: 15px;
padding: 0;
border-radius: 2px !important;
}
.um .picker__box ul li[role="presentation"] {
margin: 10px 0 0 0;
}
@media (min-height: 40.125em) {
.um .picker--time .picker__frame {
margin-bottom: 10% !important;
}
}