-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
_timepicker.scss
73 lines (71 loc) · 1.7 KB
/
_timepicker.scss
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
.timepicker {
.dropdown-menu {
min-width: 0;
}
.dropdown,
.dropdown-trigger {
width: 100%;
.input[readonly] {
cursor: pointer;
box-shadow: $input-shadow;
&:focus,
&.is-focused,
&:active,
&.is-active {
box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color;
}
}
}
// unset opacity when dropdow is disabled
.dropdown {
&.is-disabled {
opacity: 1;
}
}
.dropdown-item {
font-size: inherit;
padding: 0;
}
.timepicker-footer {
padding: 0 0.5rem 0 0.5rem;
}
.dropdown-content {
.control {
font-size: 1.25em;
margin-right: 0 !important;
.select {
margin: 0 0.125em;
select {
font-weight: $weight-semibold;
padding-right: $control-padding-horizontal;
border: 0;
option {
&:disabled {
color: rgba($grey, 0.7);
}
}
}
&:after {
display: none;
}
}
&.is-colon {
font-size: 1.7em;
line-height: 1.7em;
&:last-child {
padding-right: $control-padding-horizontal;
}
}
}
}
// Sizes
&.is-small {
@include control-small;
}
&.is-medium {
@include control-medium;
}
&.is-large {
@include control-large;
}
}