@nutui/nutui 3.1.18-beta.0 → 3.1.19-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/LICENSE +1 -1
  3. package/README.md +6 -0
  4. package/dist/nutui.d.ts +39 -36
  5. package/dist/nutui.es.js +13149 -11288
  6. package/dist/nutui.umd.js +13156 -11381
  7. package/dist/packages/_es/ActionSheet.js +13 -19
  8. package/dist/packages/_es/Address.js +70 -55
  9. package/dist/packages/_es/Audio.js +13 -13
  10. package/dist/packages/_es/AudioOperate.js +125 -0
  11. package/dist/packages/_es/Avatar.js +4 -4
  12. package/dist/packages/_es/BackTop.js +69 -108
  13. package/dist/packages/_es/Badge.js +4 -4
  14. package/dist/packages/_es/Barrage.js +63 -56
  15. package/dist/packages/_es/Button.js +3 -3
  16. package/dist/packages/_es/Calendar.js +30 -702
  17. package/dist/packages/_es/CalendarItem.js +10 -0
  18. package/dist/packages/_es/Card.js +7 -6
  19. package/dist/packages/_es/Cascader.js +8 -8
  20. package/dist/packages/_es/Cell.js +27 -27
  21. package/dist/packages/_es/CellGroup.js +2 -2
  22. package/dist/packages/_es/Checkbox.js +4 -4
  23. package/dist/packages/_es/CheckboxGroup.js +3 -3
  24. package/dist/packages/_es/CircleProgress.js +150 -41
  25. package/dist/packages/_es/Col.js +2 -2
  26. package/dist/packages/_es/Collapse.js +35 -9
  27. package/dist/packages/_es/CollapseItem.js +79 -38
  28. package/dist/packages/_es/CountDown.js +8 -6
  29. package/dist/packages/_es/CountUp.js +31 -30
  30. package/dist/packages/_es/DatePicker.js +81 -44
  31. package/dist/packages/_es/Dialog.js +7 -83
  32. package/dist/packages/_es/Divider.js +5 -5
  33. package/dist/packages/_es/Drag.js +93 -55
  34. package/dist/packages/_es/Elevator.js +75 -50
  35. package/dist/packages/_es/Empty.js +4 -4
  36. package/dist/packages/_es/FixedNav.js +6 -6
  37. package/dist/packages/_es/Form.js +11 -9
  38. package/dist/packages/_es/FormItem.js +9 -6
  39. package/dist/packages/_es/Grid.js +2 -2
  40. package/dist/packages/_es/GridItem.js +9 -27
  41. package/dist/packages/_es/Icon.js +2 -2
  42. package/dist/packages/_es/ImagePreview.js +14 -83
  43. package/dist/packages/_es/Indicator.js +4 -4
  44. package/dist/packages/_es/InfiniteLoading.js +94 -108
  45. package/dist/packages/_es/Input.js +297 -73
  46. package/dist/packages/_es/InputNumber.js +24 -17
  47. package/dist/packages/_es/Layout.js +2 -2
  48. package/dist/packages/_es/List.js +131 -0
  49. package/dist/packages/_es/Menu.js +16 -13
  50. package/dist/packages/_es/MenuItem.js +8 -8
  51. package/dist/packages/_es/Navbar.js +17 -12
  52. package/dist/packages/_es/NoticeBar.js +47 -39
  53. package/dist/packages/_es/Notify.js +28 -163
  54. package/dist/packages/_es/NumberKeyboard.js +4 -4
  55. package/dist/packages/_es/OldPicker.js +486 -0
  56. package/dist/packages/_es/OverLay.js +6 -26
  57. package/dist/packages/_es/Pagination.js +8 -8
  58. package/dist/packages/_es/Picker.js +192 -163
  59. package/dist/packages/_es/Popover.js +155 -30
  60. package/dist/packages/_es/Popup.js +7 -70
  61. package/dist/packages/_es/Price.js +18 -6
  62. package/dist/packages/_es/Progress.js +29 -27
  63. package/dist/packages/_es/PullRefresh.js +363 -0
  64. package/dist/packages/_es/Radio.js +4 -4
  65. package/dist/packages/_es/RadioGroup.js +2 -2
  66. package/dist/packages/_es/Range.js +169 -46
  67. package/dist/packages/_es/Rate.js +17 -20
  68. package/dist/packages/_es/Row.js +2 -2
  69. package/dist/packages/_es/SearchBar.js +9 -7
  70. package/dist/packages/_es/ShortPassword.js +90 -68
  71. package/dist/packages/_es/SideNavBar.js +6 -17
  72. package/dist/packages/_es/SideNavBarItem.js +2 -2
  73. package/dist/packages/_es/Signature.js +70 -70
  74. package/dist/packages/_es/Skeleton.js +9 -12
  75. package/dist/packages/_es/Sku.js +40 -31
  76. package/dist/packages/_es/Step.js +28 -12
  77. package/dist/packages/_es/Steps.js +8 -3
  78. package/dist/packages/_es/Sticky.js +29 -24
  79. package/dist/packages/_es/SubSideNavBar.js +2 -2
  80. package/dist/packages/_es/Swipe.js +40 -27
  81. package/dist/packages/_es/Swiper.js +32 -14
  82. package/dist/packages/_es/SwiperItem.js +2 -2
  83. package/dist/packages/_es/Switch.js +4 -4
  84. package/dist/packages/_es/TabPane.js +2 -2
  85. package/dist/packages/_es/Tabbar.js +4 -4
  86. package/dist/packages/_es/TabbarItem.js +28 -23
  87. package/dist/packages/_es/Table.js +14 -14
  88. package/dist/packages/_es/Tabs.js +19 -15
  89. package/dist/packages/_es/Tag.js +14 -8
  90. package/dist/packages/_es/TextArea.js +49 -15
  91. package/dist/packages/_es/TimeDetail.js +5 -4
  92. package/dist/packages/_es/TimePannel.js +4 -4
  93. package/dist/packages/_es/TimeSelect.js +9 -8
  94. package/dist/packages/_es/Toast.js +42 -171
  95. package/dist/packages/_es/Uploader.js +108 -139
  96. package/dist/packages/_es/Video.js +14 -10
  97. package/dist/packages/_es/common.js +2 -2
  98. package/dist/packages/_es/component.js +2 -2
  99. package/dist/packages/_es/index.js +45 -7
  100. package/dist/packages/_es/index.taro.js +719 -0
  101. package/dist/packages/_es/index2.js +2 -2
  102. package/dist/packages/_es/index3.js +57 -29
  103. package/dist/packages/_es/index4.js +414 -57
  104. package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
  105. package/dist/packages/_es/pxCheck.js +2 -2
  106. package/dist/packages/_es/use-lock-scroll.js +23 -0
  107. package/dist/packages/_es/util.js +2 -2
  108. package/dist/packages/badge/index.scss +11 -13
  109. package/dist/packages/button/index.scss +1 -0
  110. package/dist/packages/calendar/index.scss +9 -4
  111. package/dist/packages/calendaritem/index.scss +0 -207
  112. package/dist/packages/cell/index.scss +6 -6
  113. package/dist/packages/checkbox/index.scss +4 -3
  114. package/dist/packages/collapseitem/index.scss +21 -11
  115. package/dist/packages/countdown/index.scss +3 -1
  116. package/dist/packages/divider/index.scss +8 -8
  117. package/dist/packages/elevator/index.scss +36 -36
  118. package/dist/packages/formitem/index.scss +15 -8
  119. package/dist/packages/indicator/index.scss +1 -1
  120. package/dist/packages/input/index.scss +70 -24
  121. package/dist/packages/inputnumber/index.scss +4 -2
  122. package/dist/packages/list/index.scss +24 -0
  123. package/dist/packages/menu/index.scss +3 -3
  124. package/dist/packages/navbar/index.scss +28 -8
  125. package/dist/packages/noticebar/index.scss +7 -8
  126. package/dist/packages/notify/index.scss +9 -0
  127. package/dist/packages/numberkeyboard/index.scss +22 -21
  128. package/dist/packages/oldpicker/index.scss +131 -0
  129. package/dist/packages/picker/index.scss +38 -32
  130. package/dist/packages/progress/index.scss +6 -5
  131. package/dist/packages/radio/index.scss +7 -6
  132. package/dist/packages/range/index.scss +109 -2
  133. package/dist/packages/searchbar/index.scss +7 -7
  134. package/dist/packages/sidenavbaritem/index.scss +5 -5
  135. package/dist/packages/step/index.scss +29 -29
  136. package/dist/packages/subsidenavbar/index.scss +10 -8
  137. package/dist/packages/tabbaritem/index.scss +15 -0
  138. package/dist/packages/timedetail/index.scss +13 -13
  139. package/dist/packages/timepannel/index.scss +7 -7
  140. package/dist/packages/timeselect/index.scss +3 -3
  141. package/dist/packages/uploader/index.scss +6 -6
  142. package/dist/style.css +1 -1
  143. package/dist/styles/themes/default.scss +64 -62
  144. package/dist/styles/themes/jdt.scss +91 -0
  145. package/dist/styles/variables-jdt.scss +728 -0
  146. package/dist/styles/variables.scss +250 -44
  147. package/package.json +2 -1
  148. package/dist/packages/_es/raf.js +0 -19
  149. package/dist/styles/themes/jdd.scss +0 -2
@@ -10,7 +10,7 @@
10
10
 
11
11
  &--reverse {
12
12
  .nut-radio__label {
13
- margin-right: 15px;
13
+ margin-right: $radio-label-margin-left;
14
14
  margin-left: 0;
15
15
  }
16
16
  }
@@ -18,10 +18,10 @@
18
18
  &__button {
19
19
  display: inline-flex;
20
20
  align-items: center;
21
- padding: 5px 18px;
22
- font-size: 12px;
21
+ padding: $radio-button-padding;
22
+ font-size: $radio-button-font-size;
23
23
  background: #f6f7f9;
24
- border-radius: 15px;
24
+ border-radius: $radio-button-border-radius;
25
25
  color: $radio-label-font-color;
26
26
  box-sizing: border-box;
27
27
  &--active {
@@ -36,8 +36,8 @@
36
36
  }
37
37
 
38
38
  &__label {
39
- margin-left: 15px;
40
- font-size: 14px;
39
+ margin-left: $radio-label-margin-left;
40
+ font-size: $radio-label-font-size;
41
41
  color: $radio-label-font-color;
42
42
  &--disabled {
43
43
  color: $radio-label-disable-color;
@@ -48,6 +48,7 @@
48
48
  color: $radio-label-font-active-color;
49
49
  transition-duration: 0.3s;
50
50
  transition-property: color, border-color, background-color;
51
+ font-size: $radio-icon-font-size;
51
52
  }
52
53
  &__icon--unchecked {
53
54
  color: $radio-icon-disable-color;
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  position: relative;
4
4
  width: 100%;
5
- height: 3px;
5
+ height: 4px;
6
6
  align-items: center;
7
7
  .min,
8
8
  .max {
@@ -10,12 +10,83 @@
10
10
  color: $range-tip-font-color;
11
11
  user-select: none;
12
12
  }
13
+ &-vertical {
14
+ height: 100%;
15
+ flex-direction: column;
16
+ padding: 0px 15px;
17
+ .nut-range {
18
+ width: 4px;
19
+ height: 100%;
20
+ &-button {
21
+ &-wrapper,
22
+ &-wrapper-right {
23
+ position: absolute;
24
+ top: initial;
25
+ bottom: 0px;
26
+ left: 50%;
27
+ right: initial;
28
+ transform: translate3d(-50%, 50%, 0);
29
+ }
30
+
31
+ &-wrapper-left {
32
+ top: 0px;
33
+ left: 50%;
34
+ right: initial;
35
+ transform: translate3d(-50%, -50%, 0);
36
+ }
37
+ }
38
+ .number {
39
+ transform: translate3d(100%, 0, 0);
40
+ }
41
+ &-vertical {
42
+ margin: 10px 0px;
43
+ }
44
+ &-mark {
45
+ position: absolute;
46
+ width: 100%;
47
+ right: 50%;
48
+ overflow: visible;
49
+ font-size: 12px;
50
+ height: 100%;
51
+ top: initial;
52
+ width: 36px;
53
+ padding: 0px;
54
+ }
55
+
56
+ &-mark-text {
57
+ width: 20px;
58
+ position: absolute;
59
+ display: inline-block;
60
+ line-height: 16px;
61
+ color: #999;
62
+ text-align: center;
63
+ word-break: keep-all;
64
+ user-select: none;
65
+ transform: translateY(-50%);
66
+ &-active {
67
+ .nut-range-tick {
68
+ background: $range-bar-bg-color;
69
+ }
70
+ }
71
+ }
72
+ &-tick {
73
+ position: absolute;
74
+ top: 0px;
75
+ left: 30px;
76
+ width: 11px;
77
+ height: 11px;
78
+ margin-left: -0px;
79
+ border-radius: 50%;
80
+ background-color: $range-bg-color-tick;
81
+ }
82
+ }
83
+ }
13
84
  }
14
85
  .nut-range {
15
86
  display: block;
16
87
  position: relative;
17
88
  width: 100%;
18
- height: 3px;
89
+ height: 4px;
19
90
  background-color: $range-bg-color;
20
91
  border-radius: 2px;
21
92
  cursor: pointer;
@@ -89,7 +160,43 @@
89
160
  cursor: not-allowed;
90
161
  }
91
162
  }
163
+
92
164
  &-show-number {
93
165
  margin: 0 15px;
94
166
  }
167
+
168
+ &-mark {
169
+ position: absolute;
170
+ width: 100%;
171
+ overflow: visible;
172
+ top: 50%;
173
+ font-size: 12px;
174
+ padding-top: 14px;
175
+ }
176
+
177
+ &-mark-text {
178
+ position: absolute;
179
+ display: inline-block;
180
+ line-height: 16px;
181
+ color: #999;
182
+ text-align: center;
183
+ word-break: keep-all;
184
+ user-select: none;
185
+ transform: translateX(-50%);
186
+ &-active {
187
+ .nut-range-tick {
188
+ background: $range-bar-bg-color;
189
+ }
190
+ }
191
+ }
192
+ &-tick {
193
+ position: absolute;
194
+ top: -20px;
195
+ width: 11px;
196
+ height: 11px;
197
+ // margin-left: -11px;
198
+ left: 0px;
199
+ border-radius: 50%;
200
+ background-color: $range-bg-color-tick;
201
+ }
95
202
  }
@@ -1,19 +1,19 @@
1
1
  .nut-searchbar {
2
2
  display: flex;
3
3
  align-items: center;
4
- width: 100%;
5
- padding: 9px 16px;
4
+ width: $searchbar-width;
5
+ padding: $searchbar-padding;
6
6
  background: $searchbar-background;
7
7
  box-sizing: border-box;
8
8
  &__search-input {
9
9
  display: flex;
10
10
  align-items: center;
11
- width: 100%;
12
- height: 32px;
11
+ width: $searchbar-input-width;
12
+ height: $searchbar-input-height;
13
13
  flex: 1;
14
- padding: 0 0 0 13px;
15
- border-radius: 16px;
16
- box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.04);
14
+ padding: $searchbar-input-padding;
15
+ border-radius: $searchbar-input-border-radius;
16
+ box-shadow: $searchbar-input-box-shadow;
17
17
  background: $searchbar-input-background;
18
18
 
19
19
  .nut-searchbar__input-inner {
@@ -1,10 +1,10 @@
1
1
  .nut-sidenavbaritem {
2
- height: 40px;
3
- line-height: 40px;
2
+ height: $sidenavbar-item-height;
3
+ line-height: $sidenavbar-item-line-height;
4
4
  display: block;
5
- font-size: 16px;
5
+ font-size: $sidenavbar-item-font-size;
6
6
  &__title {
7
- color: $title-color;
8
- background-color: $sidenavbaritem-title-color;
7
+ color: $sidenavbar-item-title-color;
8
+ background-color: $sidenavbar-item-title-bg-color;
9
9
  }
10
10
  }
@@ -17,15 +17,15 @@
17
17
  right: -50%;
18
18
  display: inline-block;
19
19
  height: 1px;
20
- background: #909ca4;
20
+ background: $steps-base-line-color;
21
21
  }
22
22
  &-icon {
23
23
  position: relative;
24
24
  display: flex;
25
- width: 25px;
26
- height: 25px;
27
- line-height: 25px;
28
- font-size: 13px;
25
+ width: $steps-base-icon-width;
26
+ height: $steps-base-icon-height;
27
+ line-height: $steps-base-icon-line-height;
28
+ font-size: $steps-base-icon-font-size;
29
29
  align-items: center;
30
30
  justify-content: center;
31
31
  z-index: 1;
@@ -53,14 +53,14 @@
53
53
  }
54
54
  &-title {
55
55
  display: block;
56
- margin-bottom: 10px;
57
- font-size: 14px;
58
- color: #909ca4;
56
+ margin-bottom: $steps-base-title-margin-bottom;
57
+ font-size: $steps-base-title-font-size;
58
+ color: $steps-base-title-color;
59
59
  }
60
60
  &-content {
61
61
  display: block;
62
- font-size: 14px;
63
- color: #666;
62
+ font-size: $steps-base-content-font-size;
63
+ color: $steps-base-content-color;
64
64
  }
65
65
  &:last-child {
66
66
  .nut-step-line {
@@ -69,53 +69,53 @@
69
69
  }
70
70
  &.nut-step-finish {
71
71
  .nut-step-head {
72
- color: $primary-color;
73
- border-color: $primary-color;
72
+ color: $steps-finish-head-color;
73
+ border-color: $steps-finish-head-border-color;
74
74
  }
75
75
  .nut-step-icon.is-text {
76
- background-color: $white;
76
+ background-color: $steps-finish-icon-text-color;
77
77
  }
78
78
  .nut-step-icon.is-icon {
79
- background-color: $white;
79
+ background-color: $steps-finish-icon-text-color;
80
80
  }
81
81
  .nut-step-line {
82
- background: $primary-color;
82
+ background: $steps-finish-line-background;
83
83
  }
84
84
  .nut-step-title {
85
- color: $primary-color;
85
+ color: $steps-finish-title-color;
86
86
  }
87
87
  }
88
88
  &.nut-step-process {
89
89
  .nut-step-head {
90
- color: $white;
91
- border-color: $primary-color;
90
+ color: $steps-process-head-color;
91
+ border-color: $steps-process-head-border-color;
92
92
  }
93
93
  .nut-step-icon.is-text {
94
- background-color: $primary-color;
94
+ background-color: $steps-process-icon-text-color;
95
95
  }
96
96
  .nut-step-icon.is-icon {
97
- background-color: $primary-color;
97
+ background-color: $steps-process-icon-text-color;
98
98
  }
99
99
  .nut-step-title {
100
- color: $primary-color;
100
+ color: $steps-process-title-color;
101
101
  }
102
102
  }
103
103
  &.nut-step-wait {
104
104
  .nut-step-head {
105
- color: #909ca4;
106
- border-color: #909ca4;
105
+ color: $steps-wait-head-color;
106
+ border-color: $steps-wait-head-border-color;
107
107
  }
108
108
  .nut-step-icon.is-text {
109
- background-color: $white;
109
+ background-color: $steps-wait-icon-bg-color;
110
110
  }
111
111
  .nut-step-icon.is-icon {
112
- background-color: $step-wait-bg-color;
112
+ background-color: $steps-wait-icon-bg-color;
113
113
  .nut-icon {
114
- color: $white;
114
+ color: $steps-wait-icon-color;
115
115
  }
116
116
  }
117
117
  .nut-step-content {
118
- color: #909ca4;
118
+ color: $steps-wait-content-color;
119
119
  }
120
120
  }
121
121
  }
@@ -155,10 +155,10 @@
155
155
  }
156
156
  .nut-step-wait {
157
157
  .nut-step-icon {
158
- background-color: #959fb1;
158
+ background-color: $steps-wait-icon-bg-color;
159
159
  }
160
160
  .nut-step-content {
161
- color: #909ca4;
161
+ color: $steps-wait-content-color;
162
162
  }
163
163
  }
164
164
  .nut-step-finish {
@@ -5,20 +5,22 @@
5
5
  position: relative;
6
6
  &__title {
7
7
  display: block;
8
- width: 100%;
9
- height: 40px;
8
+ width: $sidenavbar-sub-title-width;
9
+ height: $sidenavbar-sub-title-height;
10
10
  position: relative;
11
11
  overflow: hidden;
12
12
  text-overflow: ellipsis;
13
13
  white-space: nowrap;
14
14
  box-sizing: border-box;
15
- border-bottom: 1px solid $subsidenavbar-title-border-color;
16
- color: $title-color;
17
- font-size: $font-size-large;
18
- background-color: $subsidenavbar-title-bg-color;
15
+ border-bottom: 1px solid $sidenavbar-sub-title-border-color;
16
+ color: $sidenavbar-sub-title-text-color;
17
+ font-size: $sidenavbar-sub-title-font-size;
18
+ background-color: $sidenavbar-sub-title-bg-color;
19
+ border-radius: $sidenavbar-sub-title-radius;
20
+ border: $sidenavbar-sub-title-border;
19
21
  &__text {
20
- line-height: 40px;
21
- color: $title-color;
22
+ line-height: $sidenavbar-sub-title-text-line-height;
23
+ color: $sidenavbar-sub-title-text-color;
22
24
  }
23
25
  &__icon {
24
26
  position: absolute;
@@ -32,6 +32,21 @@
32
32
  color: $white;
33
33
  z-index: 1;
34
34
  }
35
+ &_dot {
36
+ position: absolute;
37
+ width: 7px;
38
+ height: 7px;
39
+ border-radius: 7px;
40
+ padding: 0px;
41
+ background: $tabbar-active-color;
42
+ text-align: center;
43
+ font-size: 12px;
44
+ font-weight: normal;
45
+ color: #fff;
46
+ top: 0;
47
+ right: 0;
48
+ transform: translate(50%, -50%);
49
+ }
35
50
 
36
51
  &_num {
37
52
  line-height: 1;
@@ -1,35 +1,35 @@
1
1
  .nut-timedetail {
2
2
  display: flex;
3
3
  width: 100%;
4
- padding: 0 5px 50px 13px;
4
+ padding: $timeselect-timedetail-padding;
5
5
  &__detail {
6
6
  width: 100%;
7
7
  &__list {
8
8
  &__item {
9
9
  display: inline-block;
10
- width: 100px;
11
- height: 50px;
12
- line-height: 50px;
10
+ width: $timeselect-timedetail-item-width;
11
+ height: $timeselect-timedetail-item-height;
12
+ line-height: $timeselect-timedetail-item-line-height;
13
13
  text-align: center;
14
14
  margin-right: 10px;
15
15
  margin-bottom: 10px;
16
- background-color: $timedetail-item-bg-color;
17
- border-radius: $timedetail-item-border-radius;
18
- color: $timedetail-item-text-color;
19
- font-size: $timedetail-item-text-font-size;
16
+ background-color: $timeselect-timedetail-item-bg-color;
17
+ border-radius: $timeselect-timedetail-item-border-radius;
18
+ color: $timeselect-timedetail-item-text-color;
19
+ font-size: $timeselect-timedetail-item-text-font-size;
20
20
  border: 1px solid transparent;
21
21
  font-weight: bold;
22
22
  &--curr {
23
- background-color: $timedetail-item-cur-bg-color;
24
- border: 1px solid $timedetail-item-cur-border;
25
- color: $timedetail-item-cur-text-color;
23
+ background-color: $timeselect-timedetail-item-cur-bg-color;
24
+ border: 1px solid $timeselect-timedetail-item-cur-border;
25
+ color: $timeselect-timedetail-item-cur-text-color;
26
26
  }
27
27
  }
28
28
  }
29
29
  &__time {
30
30
  margin-bottom: 10px;
31
- color: $timedetail-time-text-color;
32
- font-size: $timedetail-time-font-size;
31
+ color: $timeselect-timedetail-time-text-color;
32
+ font-size: $timeselect-timedetail-time-font-size;
33
33
  }
34
34
  }
35
35
  &__detail--afternoon {
@@ -1,16 +1,16 @@
1
1
  .nut-timepannel {
2
2
  display: flex;
3
- width: 140px;
4
- height: 40px;
5
- padding: 15px;
3
+ width: $timeselect-timepannel-width;
4
+ height: $timeselect-timepannel-height;
5
+ padding: $timeselect-timepannel-padding;
6
6
  align-items: center;
7
7
  justify-content: center;
8
- color: $timepannel-text-color;
9
- font-size: $timepannel-font-size;
8
+ color: $timeselect-timepannel-text-color;
9
+ font-size: $timeselect-timepannel-font-size;
10
10
  box-sizing: border-box;
11
11
  &--curr {
12
- background-color: $timepannel-cur-bg-color;
13
- color: $timepannel-cur-text-color;
12
+ background-color: $timeselect-timepannel-cur-bg-color;
13
+ color: $timeselect-timepannel-cur-text-color;
14
14
  font-weight: bold;
15
15
  }
16
16
  }
@@ -5,9 +5,9 @@
5
5
  overflow: hidden;
6
6
  &__title {
7
7
  display: flex;
8
- width: 100%;
9
- height: 50px;
10
- line-height: 50px;
8
+ width: $timeselect-title-width;
9
+ height: $timeselect-title-height;
10
+ line-height: $timeselect-title-line-height;
11
11
  margin-bottom: 10px;
12
12
  font-size: $timeselect-title-font-size;
13
13
  color: $timeselect-title-color;
@@ -21,13 +21,13 @@
21
21
  }
22
22
 
23
23
  &__input {
24
- position: absolute;
24
+ position: absolute !important;
25
25
  top: 0;
26
26
  left: 0;
27
- width: 100%;
28
- height: 100%;
27
+ width: 100% !important;
28
+ height: 100% !important;
29
29
  overflow: hidden;
30
- cursor: pointer;
30
+ cursor: pointer !important;
31
31
  opacity: 0;
32
32
  &:disabled {
33
33
  cursor: not-allowed;
@@ -46,8 +46,8 @@
46
46
  position: absolute;
47
47
  left: 0;
48
48
  top: 0;
49
- bottom: 0;
50
- right: 0;
49
+ width: 100%;
50
+ height: 100%;
51
51
  background: rgba(0, 0, 0, 0.6);
52
52
  display: flex;
53
53
  flex-direction: column;