1 | #{$time-picker-prefix}-menu {
|
2 | float: left;
|
3 | text-align: center;
|
4 |
|
5 | &:not(:last-child) {
|
6 | border-right: $time-picker-menu-border-width $line-solid $time-picker-menu-border-color;
|
7 | }
|
8 |
|
9 | &-title {
|
10 | cursor: default;
|
11 | height: $time-picker-menu-title-height;
|
12 | line-height: $time-picker-menu-title-height;
|
13 | font-size: $time-picker-menu-title-font-size;
|
14 | font-weight: $time-pikcer-menu-title-font-weight;
|
15 | color: $time-picker-menu-title-color;
|
16 | background: $time-picker-menu-title-background;
|
17 | }
|
18 |
|
19 | ul {
|
20 | position: relative;
|
21 | overflow-y: auto;
|
22 | list-style: none;
|
23 | margin: 0;
|
24 | padding: 0;
|
25 | font-size: $time-picker-menu-item-font-size;
|
26 | height: calc(#{$time-picker-menu-item-height} * 7);
|
27 | }
|
28 |
|
29 | &-item {
|
30 | cursor: pointer;
|
31 | height: $time-picker-menu-item-height;
|
32 | line-height: $time-picker-menu-item-height;
|
33 | transition: background $motion-duration-immediately $motion-linear;
|
34 | color: $time-picker-menu-item-color;
|
35 | background: $time-picker-menu-item-background;
|
36 | outline: none;
|
37 |
|
38 | &:hover {
|
39 | color: $time-picker-menu-item-color-hover;
|
40 | background: $time-picker-menu-item-background-hover;
|
41 | }
|
42 |
|
43 | &.#{$css-prefix}selected {
|
44 | font-weight: $time-picker-menu-item-font-weight-selected;
|
45 | color: $time-picker-menu-item-color-selected;
|
46 | background: $time-picker-menu-item-background-selected;
|
47 | }
|
48 |
|
49 | &.#{$css-prefix}disabled {
|
50 | cursor: not-allowed;
|
51 | color: $time-picker-menu-item-color-disabled;
|
52 | background: $time-picker-menu-item-background-disabled;
|
53 | }
|
54 | }
|
55 | }
|