Debian Codegraph @

dojox/mobile/themes/windows/SpinWheel.less

raw
1 @import "variables.less";
2 @import "../common/SpinWheel.less";
3
4 @mbl-PickerItemHeight: 100px;
5 @mbl-PickerItemWidth: 100px;
6
7 .mblSpinWheel {
8 background-image: none !important;
9 border: none !important;
10 margin: auto 0;
11 height: 400px !important;
12 width: auto !important;
13 display: -ms-flexbox;
14 color: @win-foreground-color;
15
16 & .mblSpinWheelSlot {
17 -ms-flex-preferred-size: auto;
18 border: none;
19 -ms-user-select: none;
20 text-align: left !important;
21 overflow: hidden;
22 margin: 0px !important;
23 width: @mbl-PickerItemWidth !important;
24
25 &:empty {
26 display: none !important;
27 }
28
29 &:not([widgetId]) {
30 top: 150px;
31 height: 94px !important;
32 width: 86px !important;
33 padding: 0 0 0 8px !important;
34 margin-right: 6px !important;
35 background-color: @win-inactive-color;
36 line-height: 4.5;
37 }
38 }
39
40 & .mblSpinWheelSlotContainer:not(.mblSelectedSlot) {
41 & .mblSpinWheelSlotLabel:not(.mblSelectedSlotItem) {
42 opacity: 0;
43 -ms-transition: opacity 0.4s ease-out;
44 &:before {
45 opacity: 0;
46 transition: opacity 0.4s ease-out;
47 }
48 }
49 }
50
51 & .mblSpinWheelSlotLabel:not(.mblSelectedSlotItem) {
52 opacity: 1;
53 -ms-transition: opacity 0.4s ease-out;
54 &:before {
55 opacity: 1;
56 transition: opacity 0.4s ease-out;
57 }
58 }
59
60 & .mblSpinWheelSlotLabel {
61 border: none;
62 margin: 0px;
63 color: @win-disabled-color;
64 height: @mbl-PickerItemHeight;
65 line-height: 3.5;
66 font-size: @win-font-size-extra-large;
67
68 &.mblSelectedSlotItem {
69 color: @win-foreground-color;
70 &:before {
71 background-color: @win-disabled-color;
72 z-index: -1;
73 }
74 }
75
76 &:before {
77 content: '';
78 position: absolute;
79 width: 90px;
80 height: 90px;
81 border: 2px solid @win-disabled-color;
82 left: 0px;
83 }
84
85 &.mblSpinWheelSlotLabelGray {
86 opacity: 0.3;
87
88 &:before{
89 opacity: 0.3;
90 }
91 }
92 }
93
94 & .mblSpinWheelBar {
95 display: none;
96 }
97
98 & .mblSpinWheelSlotTouch {
99 background-color: @win-bg-color;
100 opacity: 0.01;
101 }
102 }
103
104 .mblTooltip.mblOpener {
105 & .mblSpinWheelDatePicker {
106 left: calc(~"50% - 150px");
107 position: absolute !important;
108 top: 50%;
109 bottom: 50%;
110 width: 300px !important;
111 }
112 }