@nutui/nutui-react 2.0.0-alpha.1 → 2.0.0-alpha.10

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 (117) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/esm/Address.js +1 -1
  3. package/dist/esm/Animate.js +6 -7
  4. package/dist/esm/Audio.js +12 -8
  5. package/dist/esm/Avatar.js +30 -25
  6. package/dist/esm/AvatarGroup.js +10 -15
  7. package/dist/esm/Badge.js +4 -73
  8. package/dist/esm/CalendarItem.js +2 -12
  9. package/dist/esm/Cascader.js +67 -69
  10. package/dist/esm/Checkbox.js +1 -2
  11. package/dist/esm/CheckboxGroup.js +18 -20
  12. package/dist/esm/CircleProgress.js +20 -25
  13. package/dist/esm/DatePicker.js +10 -10
  14. package/dist/esm/Dialog.js +162 -171
  15. package/dist/esm/Divider.js +4 -3
  16. package/dist/esm/Drag.js +7 -9
  17. package/dist/esm/Elevator.js +39 -41
  18. package/dist/esm/Ellipsis.js +13 -12
  19. package/dist/esm/Empty.js +18 -26
  20. package/dist/esm/Image.js +5 -10
  21. package/dist/esm/ImagePreview.js +67 -58
  22. package/dist/esm/Indicator.js +4 -4
  23. package/dist/esm/Input.js +87 -193
  24. package/dist/esm/Menu.js +75 -73
  25. package/dist/esm/MenuItem.js +29 -27
  26. package/dist/esm/NavBar.js +17 -48
  27. package/dist/esm/NoticeBar.js +50 -87
  28. package/dist/esm/Notify.js +35 -46
  29. package/dist/esm/NumberKeyboard.js +137 -195
  30. package/dist/esm/Picker.js +175 -160
  31. package/dist/esm/Popup.js +2 -4
  32. package/dist/esm/Price.js +22 -23
  33. package/dist/esm/Progress.js +74 -67
  34. package/dist/esm/PullToRefresh.js +8 -8
  35. package/dist/esm/Radio.js +2 -0
  36. package/dist/esm/RadioGroup.js +31 -51
  37. package/dist/esm/Range/style/index.js +1 -1
  38. package/dist/esm/Range.js +119 -174
  39. package/dist/esm/Skeleton.js +1 -1
  40. package/dist/esm/Step.js +23 -28
  41. package/dist/esm/Steps/style/index.js +1 -1
  42. package/dist/esm/Steps.js +10 -11
  43. package/dist/esm/Swipe.js +4 -10
  44. package/dist/esm/Swiper.js +86 -91
  45. package/dist/esm/SwiperItem.js +1 -1
  46. package/dist/esm/Switch.js +16 -30
  47. package/dist/esm/TabPane.js +39 -5
  48. package/dist/esm/Tabbar/style/index.js +1 -1
  49. package/dist/esm/Tabbar.js +29 -33
  50. package/dist/esm/TabbarItem.js +5 -75
  51. package/dist/esm/Table.js +20 -34
  52. package/dist/esm/Tabs.js +2 -2
  53. package/dist/esm/TextArea.js +53 -81
  54. package/dist/esm/Uploader.js +2 -3
  55. package/dist/esm/badge2.js +69 -0
  56. package/dist/esm/cellgroup2.js +5 -4
  57. package/dist/esm/checkbox2.js +34 -47
  58. package/dist/esm/nutui-react.es.js +170 -170
  59. package/dist/esm/overlay2.js +12 -14
  60. package/dist/esm/radio2.js +52 -54
  61. package/dist/esm/raf.js +16 -0
  62. package/dist/esm/tabbaritem2.js +61 -0
  63. package/dist/esm/tabs2.js +126 -95
  64. package/dist/locales/base.js +1 -1
  65. package/dist/locales/en-US.js +1 -1
  66. package/dist/locales/id-ID.js +1 -1
  67. package/dist/locales/zh-CN.js +1 -1
  68. package/dist/locales/zh-TW.js +1 -1
  69. package/dist/locales/zh-UG.js +1 -1
  70. package/dist/nutui.react.mjs +21778 -22695
  71. package/dist/nutui.react.umd.js +21776 -22693
  72. package/dist/packages/badge/badge.scss +8 -18
  73. package/dist/packages/cascader/cascader.scss +0 -26
  74. package/dist/packages/cellgroup/cellgroup.scss +20 -16
  75. package/dist/packages/checkbox/checkbox.scss +8 -11
  76. package/dist/packages/circleprogress/circleprogress.scss +0 -9
  77. package/dist/packages/dialog/dialog.scss +36 -65
  78. package/dist/packages/elevator/elevator.scss +2 -28
  79. package/dist/packages/empty/empty.scss +0 -9
  80. package/dist/packages/imagepreview/imagepreview.scss +52 -16
  81. package/dist/packages/input/input.scss +13 -180
  82. package/dist/packages/menu/menu.scss +44 -55
  83. package/dist/packages/menuitem/menuitem.scss +16 -26
  84. package/dist/packages/navbar/navbar.scss +16 -115
  85. package/dist/packages/noticebar/noticebar.scss +18 -19
  86. package/dist/packages/notify/notify.scss +1 -1
  87. package/dist/packages/numberkeyboard/numberkeyboard.scss +29 -77
  88. package/dist/packages/overlay/overlay.scss +11 -4
  89. package/dist/packages/picker/picker.scss +66 -137
  90. package/dist/packages/price/price.scss +8 -0
  91. package/dist/packages/progress/progress.scss +19 -58
  92. package/dist/packages/pulltorefresh/pulltorefresh.scss +0 -8
  93. package/dist/packages/radio/radio.scss +13 -32
  94. package/dist/packages/radiogroup/radiogroup.scss +17 -51
  95. package/dist/packages/range/range.scss +24 -49
  96. package/dist/packages/step/step.scss +9 -62
  97. package/dist/packages/steps/steps.scss +2 -0
  98. package/dist/packages/swiper/swiper.scss +3 -18
  99. package/dist/packages/switch/switch.scss +13 -31
  100. package/dist/packages/tabbar/tabbar.scss +16 -22
  101. package/dist/packages/tabbaritem/tabbaritem.scss +9 -70
  102. package/dist/packages/table/table.scss +0 -56
  103. package/dist/packages/tabs/tabs.scss +196 -225
  104. package/dist/packages/textarea/textarea.scss +5 -12
  105. package/dist/style.css +1 -1
  106. package/dist/style.mjs +1 -1
  107. package/dist/styles/themes/default.scss +17 -18
  108. package/dist/styles/variables-jmapp.scss +120 -240
  109. package/dist/styles/variables.scss +139 -252
  110. package/dist/types/index.d.ts +541 -680
  111. package/package.json +2 -2
  112. package/dist/esm/Icon.js +0 -83
  113. package/dist/esm/tabpane2.js +0 -44
  114. package/dist/packages/icon/icon.scss +0 -0
  115. /package/dist/esm/{AvatarContext.js → context.js} +0 -0
  116. /package/dist/esm/{UserContext2.js → context2.js} +0 -0
  117. /package/dist/esm/{UserContext3.js → context3.js} +0 -0
@@ -1,16 +1,5 @@
1
1
  @import '../../styles/mixins/text-ellipsis.scss';
2
2
 
3
- .nut-theme-dark {
4
- .nut-menu {
5
- .nut-menu__bar {
6
- background-color: $dark6;
7
- .nut-menu__item {
8
- color: $gray6;
9
- }
10
- }
11
- }
12
- }
13
-
14
3
  .nut-menu {
15
4
  &.scroll-fixed {
16
5
  position: fixed;
@@ -18,58 +7,58 @@
18
7
  z-index: $menu-scroll-fixed-z-index;
19
8
  width: 100%;
20
9
  }
10
+ }
21
11
 
22
- .nut-menu-relative {
23
- position: relative;
24
- }
25
-
26
- .nut-menu__bar {
27
- position: relative;
28
- display: flex;
29
- line-height: $menu-bar-line-height;
30
- background-color: $white;
31
- box-shadow: $menu-bar-box-shadow;
12
+ .nut-menu-relative {
13
+ position: relative;
14
+ }
32
15
 
33
- &.opened {
34
- z-index: $menu-bar-opened-z-index;
35
- }
16
+ .nut-menu__bar {
17
+ position: relative;
18
+ display: flex;
19
+ line-height: $menu-bar-line-height;
20
+ background-color: $white;
21
+ box-shadow: $menu-bar-box-shadow;
36
22
 
37
- .nut-menu__item {
38
- flex: 1;
39
- text-align: center;
40
- font-size: $menu-item-font-size;
41
- color: $menu-item-text-color;
42
- min-width: 0;
23
+ &.opened {
24
+ z-index: $menu-bar-opened-z-index;
25
+ }
26
+ }
43
27
 
44
- &.active {
45
- color: $menu-item-active-text-color;
46
- }
28
+ .nut-menu__item {
29
+ flex: 1;
30
+ text-align: center;
31
+ font-size: $menu-item-font-size;
32
+ color: $menu-item-text-color;
33
+ min-width: 0;
47
34
 
48
- &.disabled {
49
- color: $menu-item-disabled-color;
50
- }
35
+ &.active {
36
+ color: $menu-item-active-text-color;
37
+ }
51
38
 
52
- .nut-menu__title-icon {
53
- transition: all 0.2s linear;
54
- }
39
+ &.disabled {
40
+ color: $menu-item-disabled-color;
41
+ }
42
+ }
55
43
 
56
- .nut-menu__title {
57
- display: flex;
58
- align-items: center;
59
- justify-content: center;
60
- max-width: 100%;
44
+ .nut-menu__title-icon {
45
+ transition: all 0.2s linear;
46
+ }
61
47
 
62
- .nut-menu__title-text {
63
- @include text-ellipsis;
64
- display: block;
65
- padding-left: $menu-title-text-padding-left;
66
- padding-right: $menu-title-text-padding-right;
67
- }
48
+ .nut-menu__title {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ max-width: 100%;
68
53
 
69
- &.active .nut-menu__title-icon {
70
- transform: rotate(180deg);
71
- }
72
- }
73
- }
54
+ &.active .nut-menu__title-icon {
55
+ transform: rotate(180deg);
74
56
  }
75
57
  }
58
+
59
+ .nut-menu__title-text {
60
+ @include text-ellipsis;
61
+ display: block;
62
+ padding-left: $menu-title-text-padding-left;
63
+ padding-right: $menu-title-text-padding-right;
64
+ }
@@ -1,14 +1,4 @@
1
1
 
2
- .nut-theme-dark {
3
- .nut-menu-item__content {
4
- background: $dark6;
5
-
6
- .nut-menu-item__option {
7
- color: $dark1;
8
- }
9
- }
10
- }
11
-
12
2
  .nut-menu-item__content {
13
3
  padding: $menu-item-content-padding;
14
4
  max-height: $menu-item-content-max-height;
@@ -22,25 +12,25 @@
22
12
  opacity: 0;
23
13
  position: fixed;
24
14
  }
15
+ }
25
16
 
26
- .nut-menu-item__option {
27
- color: $title-color;
28
- font-size: $font-size-2;
29
- padding-top: $menu-item-option-padding-top;
30
- padding-bottom: $menu-item-option-padding-bottom;
31
- display: flex;
32
- align-items: center;
17
+ .nut-menu-item__option {
18
+ color: $title-color;
19
+ font-size: $font-size-2;
20
+ padding-top: $menu-item-option-padding-top;
21
+ padding-bottom: $menu-item-option-padding-bottom;
22
+ display: flex;
23
+ align-items: center;
33
24
 
34
- &.active {
35
- font-weight: 500;
36
- color: $menu-item-active-text-color;
37
- }
25
+ &.active {
26
+ font-weight: 500;
27
+ color: $menu-item-active-text-color;
28
+ }
38
29
 
39
- i {
40
- margin-right: $menu-item-option-i-margin-right;
41
- display: inline-flex;
42
- align-items: center;
43
- }
30
+ i {
31
+ margin-right: $menu-item-option-i-margin-right;
32
+ display: inline-flex;
33
+ align-items: center;
44
34
  }
45
35
  }
46
36
 
@@ -1,36 +1,3 @@
1
- .nut-theme-dark {
2
- .nut-navbar {
3
- background: $dark5;
4
- color: $dark1;
5
- box-shadow: none;
6
-
7
- .title {
8
- color: $dark1;
9
- }
10
-
11
- &__left {
12
- color: $dark2;
13
-
14
- i {
15
- color: $dark2 !important;
16
- }
17
- }
18
-
19
- &__right {
20
- color: $dark1;
21
- }
22
-
23
- &--border {
24
- border-bottom: none;
25
- }
26
- }
27
-
28
- .nut-tabs__titles-item__text {
29
- background: $dark5;
30
- color: $dark1;
31
- }
32
- }
33
-
34
1
  .nut-navbar {
35
2
  width: $navbar-width;
36
3
  position: relative;
@@ -41,19 +8,11 @@
41
8
  padding: $navbar-padding;
42
9
  background: $navbar-background;
43
10
  box-shadow: $navbar-box-shadow;
44
- font-size: $navbar-title-base-font;
11
+ font-size: $navbar-font-size;
45
12
  color: $navbar-color;
46
13
  margin-bottom: $navbar-margin-bottom;
47
14
  overflow: hidden;
48
15
 
49
- &:active::before {
50
- opacity: 0.1;
51
- }
52
-
53
- &--border {
54
- border-bottom: 1px solid #eee;
55
- }
56
-
57
16
  &--fixed {
58
17
  position: fixed;
59
18
  top: 0;
@@ -71,29 +30,6 @@
71
30
  padding-top: env(safe-area-inset-top);
72
31
  }
73
32
 
74
- &--clickable {
75
- &::before {
76
- position: absolute;
77
- content: ' ';
78
- top: 50%;
79
- left: 50%;
80
- width: 100%;
81
- height: 100%;
82
- background-color: $black;
83
- border: inherit;
84
- border-color: $black;
85
- border-radius: inherit;
86
- transform: translate(-50%, -50%);
87
- opacity: 0;
88
- }
89
- }
90
-
91
- .nutui-iconfont {
92
- .nut-icon-left {
93
- text-align: left;
94
- }
95
- }
96
-
97
33
  &__title {
98
34
  min-width: 53%;
99
35
  margin: 0 auto;
@@ -101,35 +37,9 @@
101
37
  display: flex;
102
38
  align-items: center;
103
39
  justify-content: center;
104
-
105
- .title {
106
- min-width: $navbar-title-width;
107
- font-size: $navbar-title-font;
108
- font-weight: $navbar-title-font-weight;
109
- color: $navbar-title-font-color;
110
- display: -webkit-box;
111
- -webkit-box-orient: vertical;
112
- -webkit-line-clamp: 1;
113
- overflow: hidden;
114
- }
115
-
116
- &.icon {
117
- .icon {
118
- margin: $navbar-title-icon-margin;
119
- }
120
- }
121
-
122
- .nut-icon {
123
- display: inline;
124
- }
125
-
126
- &-description {
127
- font-size: $cell-description-font-size;
128
- }
129
-
130
- .text__title {
131
- display: inline-block;
132
- }
40
+ font-size: $navbar-title-font-size;
41
+ font-weight: $navbar-title-font-weight;
42
+ color: $navbar-title-font-color;
133
43
 
134
44
  .nut-tabs__titles {
135
45
  background: $white;
@@ -148,11 +58,9 @@
148
58
  display: none;
149
59
  }
150
60
 
151
- &__left {
152
- font-size: $cell-extra-font-size;
153
- color: $gray2;
61
+ &__left,
62
+ &__right {
154
63
  position: absolute;
155
- left: 0;
156
64
  top: 0;
157
65
  bottom: 0;
158
66
  display: flex;
@@ -161,24 +69,17 @@
161
69
  padding: 0 16px;
162
70
  }
163
71
 
164
- &__right {
165
- font-size: $cell-extra-font-size;
166
- color: $gray2;
167
- position: absolute;
168
- right: 0;
169
- top: 0;
170
- bottom: 0;
171
- display: flex;
172
- align-items: center;
173
- padding: 0 16px;
174
- cursor: pointer;
175
-
176
- .rightIcon {
177
- margin-left: 16px;
72
+ &__left {
73
+ left: 0;
74
+ &__back {
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ margin-right: 10px;
178
79
  }
80
+ }
179
81
 
180
- .leftIcon {
181
- margin-left: 16px;
182
- }
82
+ &__right {
83
+ right: 0;
183
84
  }
184
85
  }
@@ -1,23 +1,6 @@
1
- .nut-theme-dark {
2
- .nut-noticebar {
3
- .wrap {
4
- .content {
5
- a {
6
- color: $noticebar-color;
7
- }
8
- }
9
- }
10
- .nut-noticebar-vertical {
11
- .horseLamp_list {
12
- .custom-item {
13
- color: $noticebar-color;
14
- }
15
- }
16
- }
17
- }
18
- }
19
1
  .nut-noticebar {
20
2
  width: 100%;
3
+
21
4
  .nut-noticebar-page {
22
5
  display: flex;
23
6
  padding: $noticebar-box-padding;
@@ -27,11 +10,14 @@
27
10
  align-items: center;
28
11
  background: $noticebar-background;
29
12
  color: $noticebar-color;
13
+
30
14
  &.wrapable {
31
15
  height: auto;
32
- padding: $noticebar-wrapable-padding;
16
+ padding: $noticebar-wrap-padding;
17
+
33
18
  .wrap {
34
19
  height: auto;
20
+
35
21
  .content {
36
22
  position: relative;
37
23
  white-space: normal;
@@ -44,12 +30,14 @@
44
30
  position: relative;
45
31
  padding-right: 40px;
46
32
  }
33
+
47
34
  .left-icon {
48
35
  height: $noticebar-left-icon-width;
49
36
  min-width: $noticebar-left-icon-width;
50
37
  margin: $noticebar-lefticon-margin;
51
38
  background-size: 100% 100%;
52
39
  }
40
+
53
41
  .right-icon {
54
42
  display: flex;
55
43
  align-items: center;
@@ -57,6 +45,7 @@
57
45
  width: $noticebar-right-icon-width;
58
46
  margin: $noticebar-righticon-margin;
59
47
  }
48
+
60
49
  .wrap {
61
50
  display: flex;
62
51
  flex: 1;
@@ -65,9 +54,11 @@
65
54
  overflow: hidden;
66
55
  position: relative;
67
56
  }
57
+
68
58
  .content {
69
59
  position: absolute;
70
60
  white-space: nowrap;
61
+
71
62
  &.nut-ellipsis {
72
63
  max-width: 100%;
73
64
  white-space: nowrap;
@@ -75,13 +66,16 @@
75
66
  text-overflow: ellipsis;
76
67
  }
77
68
  }
69
+
78
70
  // 只跑一次
79
71
  .play {
80
72
  animation: nut-notice-bar-play linear both running;
81
73
  }
74
+
82
75
  .play-infinite {
83
76
  animation: nut-notice-bar-play-infinite linear infinite both running;
84
77
  }
78
+
85
79
  .play-vertical {
86
80
  animation: nut-notice-bar-play-vertical linear infinite both running;
87
81
  }
@@ -98,6 +92,7 @@
98
92
  transform: translate3d(-100%, 0, 0);
99
93
  }
100
94
  }
95
+
101
96
  // 垂直方向的滚动
102
97
  @keyframes nut-notice-bar-play-vertical {
103
98
  to {
@@ -116,6 +111,7 @@
116
111
  padding: $noticebar-box-padding;
117
112
  background: $noticebar-background;
118
113
  color: $noticebar-color;
114
+
119
115
  .left-icon {
120
116
  height: $noticebar-left-icon-width;
121
117
  min-width: $noticebar-left-icon-width;
@@ -124,11 +120,13 @@
124
120
  display: flex;
125
121
  align-self: center;
126
122
  }
123
+
127
124
  .horseLamp_list {
128
125
  margin: 0;
129
126
  padding: 0;
130
127
  display: block;
131
128
  flex: 1;
129
+
132
130
  .horseLamp_list_item {
133
131
  display: flex;
134
132
  align-items: center;
@@ -136,6 +134,7 @@
136
134
  width: 100%;
137
135
  }
138
136
  }
137
+
139
138
  .nut-noticebar__inner {
140
139
  display: flex;
141
140
  height: 100%;
@@ -50,7 +50,7 @@
50
50
  text-align: center;
51
51
  word-wrap: break-word;
52
52
  height: $notify-height;
53
-
53
+ line-height: $notify-line-height;
54
54
  &--popup-top {
55
55
  position: fixed;
56
56
  top: 0;
@@ -1,39 +1,4 @@
1
1
 
2
- .nut-theme-dark {
3
- .nut-numberkeyboard {
4
- background-color: $dark5;
5
-
6
- &__body {
7
- background-color: $dark5;
8
- color: $dark1;
9
-
10
- .nut-numberkeyboard__body__keys,
11
- .nut-numberkeyboard__sidebar {
12
- .key-board-wrapper {
13
- background-color: $dark5;
14
-
15
- .key {
16
- background-color: $dark4;
17
- color: $dark1;
18
- }
19
- }
20
- }
21
- }
22
-
23
- .nut-numberkeyboard__header {
24
- .nut-numberkeyboard__header__tit {
25
- color: $dark1;
26
- }
27
- }
28
-
29
- &__header {
30
- &__close {
31
- color: $dark1 !important;
32
- }
33
- }
34
- }
35
- }
36
-
37
2
  .nut-numberkeyboard {
38
3
  width: $numberkeyboard-width;
39
4
  padding: $numberkeyboard-padding;
@@ -41,7 +6,7 @@
41
6
  user-select: none;
42
7
  background-color: $gray4;
43
8
 
44
- .nut-numberkeyboard__header {
9
+ &__header {
45
10
  position: relative;
46
11
  display: flex;
47
12
  align-items: center;
@@ -52,12 +17,12 @@
52
17
  color: $numberkeyboard-header-color;
53
18
  font-size: $numberkeyboard-header-font-size;
54
19
 
55
- .nut-numberkeyboard__header__tit {
20
+ &__title {
56
21
  color: $title-color;
57
22
  display: inline-block;
58
23
  }
59
24
 
60
- .nut-numberkeyboard__header__close {
25
+ &__close {
61
26
  position: absolute;
62
27
  display: block;
63
28
  right: 0;
@@ -70,17 +35,17 @@
70
35
  }
71
36
  }
72
37
 
73
- .nut-numberkeyboard__body {
38
+ &__body {
74
39
  display: flex;
75
40
  padding: 6px 0 0 6px;
76
41
 
77
- .nut-numberkeyboard__body__keys {
42
+ &__keys {
78
43
  display: flex;
79
44
  flex: 3;
80
45
  flex-wrap: wrap;
81
46
  }
82
47
 
83
- .key-board-wrapper {
48
+ &__wrapper {
84
49
  position: relative;
85
50
  flex: 1;
86
51
  flex-basis: 33%;
@@ -99,47 +64,34 @@
99
64
  color: $numberkeyboard-key-font-color;
100
65
  border-radius: $numberkeyboard-key-border-radius;
101
66
  cursor: pointer;
102
- }
103
-
104
- .active {
105
- background-color: $numberkeyboard-key-active-background-color;
106
- }
107
-
108
- img {
109
- width: 30px;
110
- height: 24px;
67
+ &.active {
68
+ background-color: $numberkeyboard-key-active-background-color;
69
+ }
111
70
  }
112
71
  }
72
+ }
113
73
 
114
- .key-board-wrapper-large {
115
- flex-basis: 66%;
116
- }
117
-
118
- .nut-numberkeyboard__sidebar {
119
- display: flex;
120
- flex: 1;
121
- flex-direction: column;
122
-
123
- .key-board-wrapper {
124
- .key {
125
- position: absolute;
126
- top: 0;
127
- right: 6px;
128
- bottom: 6px;
129
- left: 0;
130
- height: auto;
131
- }
74
+ &__sidebar {
75
+ display: flex;
76
+ flex: 1;
77
+ flex-direction: column;
132
78
 
133
- .finish {
134
- font-size: $numberkeyboard-key-finish-font-size;
135
- color: $numberkeyboard-key-finish-font-color;
136
- background-color: $numberkeyboard-key-finish-background-color;
137
- }
79
+ .nut-numberkeyboard__body__wrapper {
80
+ .key {
81
+ position: absolute;
82
+ top: 0;
83
+ right: 6px;
84
+ bottom: 6px;
85
+ left: 0;
86
+ height: auto;
87
+ }
138
88
 
139
- .activeFinsh {
140
- font-size: $numberkeyboard-key-finish-font-size;
141
- color: $numberkeyboard-key-finish-font-color;
142
- background-color: $numberkeyboard-key-activeFinsh-background-color;
89
+ .confirm {
90
+ font-size: $numberkeyboard-key-confirm-font-size;
91
+ color: $numberkeyboard-key-confirm-font-color;
92
+ background-color: $numberkeyboard-key-confirm-background-color;
93
+ &.active {
94
+ background-color: rgba(255, 0, 0, 0.7);
143
95
  }
144
96
  }
145
97
  }
@@ -6,11 +6,14 @@
6
6
  height: 100%;
7
7
  background: $overlay-bg-color;
8
8
  }
9
+
9
10
  .nut-overflow-hidden {
10
11
  overflow: hidden !important;
11
12
  }
12
- .overlay-fade-enter-active {
13
+
14
+ .nut-overlay-fade-enter-active {
13
15
  animation: nut-fade-in;
16
+
14
17
  .wrapper {
15
18
  .content {
16
19
  background-color: $overlay-content-bg-color;
@@ -18,15 +21,19 @@
18
21
  }
19
22
  }
20
23
  }
21
- .overlay-fade-leave-active {
24
+
25
+ .nut-overlay-fade-leave-active {
22
26
  animation: nut-fade-out;
23
27
  }
24
- .first-render {
28
+
29
+ .nut-overlay-first-render {
25
30
  display: none;
26
31
  }
27
- .hidden-render {
32
+
33
+ .nut-overlay-hidden-render {
28
34
  display: none;
29
35
  }
36
+
30
37
  @keyframes nut-fade-in {
31
38
  0% {
32
39
  opacity: 0;