@nutui/nutui-react 2.1.0 → 2.2.0-beta.0
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.
- package/CHANGELOG.md +24 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Audio/style/style.css +1 -1
- package/dist/esm/BackTop.js +3 -7
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Button/style/style.css +1 -1
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/CalendarCard/style/style.css +1 -1
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/Cell/style/style.css +1 -1
- package/dist/esm/CellGroup/style/style.css +1 -1
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/CircleProgress/style/style.css +1 -1
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +4 -4
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/Elevator/style/style.css +1 -1
- package/dist/esm/Ellipsis/style/style.css +1 -1
- package/dist/esm/FixedNav/style/style.css +1 -1
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/FormItem/style/style.css +1 -1
- package/dist/esm/Grid/style/style.css +1 -1
- package/dist/esm/GridItem/style/style.css +1 -1
- package/dist/esm/Image.js +2 -2
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/Indicator/style/style.css +1 -1
- package/dist/esm/InfiniteLoading/style/style.css +1 -1
- package/dist/esm/InfiniteLoading.js +2 -6
- package/dist/esm/Input/style/style.css +1 -1
- package/dist/esm/Menu/style/style.css +1 -1
- package/dist/esm/MenuItem/style/style.css +1 -1
- package/dist/esm/NavBar/style/style.css +1 -1
- package/dist/esm/Notify/style/style.css +1 -1
- package/dist/esm/Notify.js +1 -1
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/Pagination/style/style.css +1 -1
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/Price/style/style.css +1 -1
- package/dist/esm/Progress/style/style.css +1 -1
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/Range/style/style.css +1 -1
- package/dist/esm/Rate/style/style.css +1 -1
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Step/style/style.css +1 -1
- package/dist/esm/Steps/style/style.css +1 -1
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/Swiper.js +0 -3
- package/dist/esm/Switch/style/style.css +1 -1
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/Table/style/style.css +1 -1
- package/dist/esm/Tabs/style/style.css +1 -1
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Uploader/style/style.css +1 -1
- package/dist/esm/Uploader.js +4 -2
- package/dist/esm/badge2.js +19 -6
- package/dist/esm/configprovider2.js +1 -1
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/dialog/config.d.ts +1 -0
- package/dist/esm/types/src/packages/dialog/content.d.ts +1 -0
- package/dist/esm/types/src/packages/dialog/content.taro.d.ts +1 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +219 -212
- package/dist/nutui.react.umd.js +223 -216
- package/dist/packages/address/address.scss +2 -2
- package/dist/packages/badge/badge.scss +21 -4
- package/dist/packages/calendar/calendar.scss +4 -4
- package/dist/packages/calendarcard/calendarcard.scss +2 -2
- package/dist/packages/card/card.scss +1 -1
- package/dist/packages/checkbox/checkbox.scss +2 -2
- package/dist/packages/dialog/dialog.scss +14 -29
- package/dist/packages/divider/divider.scss +6 -6
- package/dist/packages/elevator/elevator.scss +38 -25
- package/dist/packages/fixednav/fixednav.scss +1 -1
- package/dist/packages/menuitem/menuitem.scss +1 -1
- package/dist/packages/price/price.scss +2 -2
- package/dist/packages/range/range.scss +2 -2
- package/dist/packages/shortpassword/shortpassword.scss +11 -11
- package/dist/packages/step/step.scss +1 -1
- package/dist/packages/switch/switch.scss +3 -3
- package/dist/packages/table/table.scss +1 -1
- package/dist/packages/tour/tour.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -5
- package/dist/styles/theme-dark.scss +118 -12
- package/dist/styles/theme-default.scss +117 -13
- package/dist/styles/theme-jmapp.scss +161 -12
- package/dist/styles/variables-jmapp.scss +321 -173
- package/dist/styles/variables.scss +370 -294
- package/dist/types/packages/animate/animate.d.ts +2 -2
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/dialog/config.d.ts +1 -0
- package/dist/types/packages/dialog/content.d.ts +1 -0
- package/dist/types/packages/swiper/swiper.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,32 +3,49 @@
|
|
|
3
3
|
display: inline-block;
|
|
4
4
|
|
|
5
5
|
&__icon {
|
|
6
|
-
display: flex;
|
|
7
6
|
position: absolute;
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
8
10
|
background: $badge-background-color;
|
|
9
|
-
top: -
|
|
10
|
-
right: -
|
|
11
|
+
top: -10%;
|
|
12
|
+
right: -15%;
|
|
11
13
|
padding: $badge-icon-padding;
|
|
12
14
|
text-align: center;
|
|
13
15
|
border: $badge-border;
|
|
14
16
|
border-radius: $badge-border-radius;
|
|
15
17
|
z-index: $badge-z-index;
|
|
18
|
+
|
|
19
|
+
.nut-icon {
|
|
20
|
+
width: $badge-icon-size;
|
|
21
|
+
height: $badge-icon-size;
|
|
22
|
+
font-size: $badge-icon-size;
|
|
23
|
+
}
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
&__sup {
|
|
27
|
+
height: $badge-height;
|
|
19
28
|
position: absolute;
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
20
32
|
background: $badge-background-color;
|
|
21
33
|
color: $badge-color;
|
|
22
34
|
padding: $badge-padding;
|
|
23
35
|
font-size: $badge-font-size;
|
|
24
36
|
font-weight: normal;
|
|
25
37
|
text-align: center;
|
|
26
|
-
line-height: 16px;
|
|
27
38
|
border: $badge-border;
|
|
28
39
|
border-radius: $badge-border-radius;
|
|
29
40
|
min-width: $badge-min-width;
|
|
30
41
|
}
|
|
31
42
|
|
|
43
|
+
&__one {
|
|
44
|
+
height: $badge-height;
|
|
45
|
+
width: $badge-height;
|
|
46
|
+
padding: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
32
49
|
&__content {
|
|
33
50
|
transform: $badge-content-transform;
|
|
34
51
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
top: -50px;
|
|
93
93
|
left: 0;
|
|
94
94
|
right: 0;
|
|
95
|
-
font-size: $font-size-
|
|
95
|
+
font-size: $font-size-small;
|
|
96
96
|
color: $text-color;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
|
|
161
161
|
&-active {
|
|
162
162
|
background-color: $calendar-active-background-color;
|
|
163
|
-
color: $primary-text
|
|
163
|
+
color: $color-primary-text !important;
|
|
164
164
|
border-radius: $calendar-day-active-border-radius;
|
|
165
165
|
|
|
166
166
|
&.active-start {
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.nut-calendar-day-info {
|
|
179
|
-
color: $primary-text
|
|
179
|
+
color: $color-primary-text;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
margin: 10px 18px;
|
|
216
216
|
border-radius: 22px;
|
|
217
217
|
background: $button-primary-background-color;
|
|
218
|
-
color: $primary-text
|
|
218
|
+
color: $color-primary-text;
|
|
219
219
|
text-align: center;
|
|
220
220
|
line-height: 44px;
|
|
221
221
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
&.start,
|
|
65
65
|
&.end {
|
|
66
66
|
background-color: $calendar-active-background-color;
|
|
67
|
-
color: $primary-text
|
|
67
|
+
color: $color-primary-text !important;
|
|
68
68
|
border-radius: $calendar-day-active-border-radius;
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.nut-calendar-day-info {
|
|
93
|
-
color: $primary-text
|
|
93
|
+
color: $color-primary-text;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
// 上个月、下个月
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&__icon {
|
|
26
|
-
color: $primary
|
|
26
|
+
color: $color-primary;
|
|
27
27
|
font-size: $checkbox-icon-font-size;
|
|
28
28
|
transition-duration: 0.3s;
|
|
29
29
|
transition-property: color, border-color, background-color;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&__icon--indeterminate {
|
|
38
|
-
color: $primary
|
|
38
|
+
color: $color-primary;
|
|
39
39
|
font-size: $checkbox-icon-font-size;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
align-items: center;
|
|
7
7
|
width: $dialog-width;
|
|
8
|
+
max-height: 67%;
|
|
8
9
|
min-height: $dialog-min-height;
|
|
9
10
|
padding: $dialog-padding;
|
|
10
11
|
box-sizing: border-box;
|
|
@@ -26,27 +27,26 @@
|
|
|
26
27
|
left: 50%;
|
|
27
28
|
-webkit-transform: translate(-50%, -50%);
|
|
28
29
|
transform: translate(-50%, -50%);
|
|
29
|
-
border-radius: $dialog-
|
|
30
|
-
z-index: $dialog-
|
|
30
|
+
border-radius: $dialog-border-radius;
|
|
31
|
+
z-index: $dialog-z-index;
|
|
31
32
|
animation-duration: 0.3s;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&__header {
|
|
35
36
|
display: block;
|
|
36
37
|
text-align: center;
|
|
37
|
-
font-size: $font-size-
|
|
38
|
+
font-size: $font-size-large;
|
|
39
|
+
font-weight: $dialog-header-font-weight;
|
|
38
40
|
color: $title-color;
|
|
39
41
|
@include oneline-ellipsis();
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
&__content {
|
|
43
45
|
width: 100%;
|
|
44
|
-
overflow: auto;
|
|
45
|
-
flex: 1;
|
|
46
46
|
margin: $dialog-content-margin;
|
|
47
47
|
max-height: $dialog-content-max-height;
|
|
48
48
|
line-height: $dialog-content-line-height;
|
|
49
|
-
font-size: $font-size-
|
|
49
|
+
font-size: $font-size-small;
|
|
50
50
|
color: $text-color;
|
|
51
51
|
word-wrap: break-word;
|
|
52
52
|
word-break: break-all;
|
|
@@ -67,11 +67,16 @@
|
|
|
67
67
|
min-width: 100%;
|
|
68
68
|
margin: 0;
|
|
69
69
|
|
|
70
|
-
&.nut-dialog__footer-
|
|
71
|
-
|
|
70
|
+
&.nut-dialog__footer-ok {
|
|
71
|
+
order: 1;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
&.nut-dialog__footer-
|
|
74
|
+
&.nut-dialog__footer-cancel {
|
|
75
|
+
border: 0;
|
|
76
|
+
color: $text-color;
|
|
77
|
+
order: 2;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: flex-end;
|
|
75
80
|
margin-top: $dialog-vertical-footer-ok-margin-top;
|
|
76
81
|
}
|
|
77
82
|
}
|
|
@@ -90,23 +95,3 @@
|
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
}
|
|
93
|
-
|
|
94
|
-
// .fadeDialog-enter,
|
|
95
|
-
// .fadeDialog-appear {
|
|
96
|
-
// opacity: 0;
|
|
97
|
-
// }
|
|
98
|
-
|
|
99
|
-
// .fadeDialog-enter-active,
|
|
100
|
-
// .fadeDialog-appear-active {
|
|
101
|
-
// opacity: 1;
|
|
102
|
-
// transition: opacity 1s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
103
|
-
// }
|
|
104
|
-
|
|
105
|
-
// .fadeDialog-exit {
|
|
106
|
-
// opacity: 1;
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
|
-
// .fadeDialog-exit-active {
|
|
110
|
-
// opacity: 0;
|
|
111
|
-
// transition: opacity 1s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
112
|
-
// }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
font-size: $divider-text-font-size;
|
|
5
5
|
color: $divider-text-color;
|
|
6
6
|
margin: $divider-margin;
|
|
7
|
-
border: 0 solid
|
|
7
|
+
border: 0 solid $divider-border-color;
|
|
8
8
|
width: 100%;
|
|
9
9
|
|
|
10
10
|
&::before,
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
&__left,
|
|
22
22
|
&__right {
|
|
23
23
|
&::before {
|
|
24
|
-
margin-right: $divider-
|
|
24
|
+
margin-right: $divider-spacing;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&::after {
|
|
28
|
-
margin-left: $divider-
|
|
28
|
+
margin-left: $divider-spacing;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&__left {
|
|
33
33
|
&::before {
|
|
34
|
-
max-width:
|
|
34
|
+
max-width: $divider-side-width;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&__right {
|
|
39
39
|
&::after {
|
|
40
|
-
max-width:
|
|
40
|
+
max-width: $divider-side-width;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
top: $divider-vertical-top;
|
|
54
54
|
display: inline-block;
|
|
55
55
|
height: $divider-vertical-height;
|
|
56
|
-
border-left: 1px solid $divider-
|
|
56
|
+
border-left: 1px solid $divider-border-color;
|
|
57
57
|
margin: $divider-vertical-margin;
|
|
58
58
|
width: auto;
|
|
59
59
|
}
|
|
@@ -3,53 +3,60 @@
|
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|
|
5
5
|
overflow: hidden;
|
|
6
|
+
|
|
6
7
|
&__list {
|
|
7
8
|
display: block;
|
|
8
9
|
position: relative;
|
|
9
|
-
top:
|
|
10
|
+
top: 0;
|
|
10
11
|
overflow: hidden;
|
|
12
|
+
font-size: $elevator-list-font-size;
|
|
13
|
+
color: $elevator-list-color;
|
|
14
|
+
|
|
11
15
|
&__inner {
|
|
12
16
|
height: 100%;
|
|
13
17
|
width: 100%;
|
|
14
18
|
display: block;
|
|
15
|
-
background-color: $elevator-list-
|
|
19
|
+
background-color: $elevator-list-bg-color;
|
|
16
20
|
overflow: auto;
|
|
17
21
|
}
|
|
22
|
+
|
|
18
23
|
&__item {
|
|
19
24
|
display: block;
|
|
20
|
-
|
|
21
|
-
color: $elevator-list-item-font-color;
|
|
25
|
+
|
|
22
26
|
&__code {
|
|
23
27
|
display: flex;
|
|
24
28
|
position: relative;
|
|
25
29
|
height: $elevator-list-item-code-height;
|
|
26
30
|
line-height: $elevator-list-item-code-line-height;
|
|
27
31
|
font-size: $elevator-list-item-code-font-size;
|
|
28
|
-
color: $elevator-list-item-code-
|
|
29
|
-
padding: $elevator-list-item-
|
|
32
|
+
color: $elevator-list-item-code-color;
|
|
33
|
+
padding: $elevator-list-item-padding;
|
|
30
34
|
font-weight: $elevator-list-item-code-font-weight;
|
|
31
35
|
box-sizing: border-box;
|
|
32
|
-
border-bottom: $elevator-list-item-code-border-bottom
|
|
33
|
-
|
|
36
|
+
border-bottom: $elevator-list-item-code-border-bottom;
|
|
37
|
+
background-color: $elevator-list-item-code-background-color;
|
|
34
38
|
}
|
|
39
|
+
|
|
35
40
|
&__name {
|
|
36
41
|
display: flex;
|
|
37
42
|
align-items: center;
|
|
38
|
-
padding: $elevator-list-item-
|
|
43
|
+
padding: $elevator-list-item-padding;
|
|
39
44
|
height: $elevator-list-item-name-height;
|
|
40
45
|
line-height: $elevator-list-item-name-line-height;
|
|
46
|
+
|
|
41
47
|
&--highcolor {
|
|
42
|
-
color: $
|
|
48
|
+
color: $color-primary;
|
|
43
49
|
}
|
|
44
50
|
}
|
|
45
51
|
}
|
|
52
|
+
|
|
46
53
|
&__fixed {
|
|
47
54
|
width: 100%;
|
|
48
55
|
position: absolute;
|
|
49
56
|
top: 0;
|
|
50
57
|
left: 0;
|
|
51
58
|
z-index: 1;
|
|
52
|
-
padding: $elevator-list-item-
|
|
59
|
+
padding: $elevator-list-item-padding;
|
|
53
60
|
height: $elevator-list-item-code-height;
|
|
54
61
|
line-height: $elevator-list-item-code-line-height;
|
|
55
62
|
font-size: $elevator-list-item-code-font-size;
|
|
@@ -60,11 +67,12 @@
|
|
|
60
67
|
box-shadow: $elevator-list-fixed-box-shadow;
|
|
61
68
|
}
|
|
62
69
|
}
|
|
70
|
+
|
|
63
71
|
&__code--current {
|
|
64
|
-
position:
|
|
72
|
+
position: absolute;
|
|
65
73
|
right: $elevator-list-item-code-current-right;
|
|
66
74
|
top: $elevator-list-item-code-current-top;
|
|
67
|
-
transform: $elevator-
|
|
75
|
+
transform: $elevator-bars-transform;
|
|
68
76
|
width: $elevator-list-item-code-current-width;
|
|
69
77
|
height: $elevator-list-item-code-current-height;
|
|
70
78
|
line-height: $elevator-list-item-code-current-line-height;
|
|
@@ -73,24 +81,29 @@
|
|
|
73
81
|
box-shadow: $elevator-list-item-code-current-box-shadow;
|
|
74
82
|
text-align: $elevator-list-item-code-current-text-align;
|
|
75
83
|
}
|
|
84
|
+
|
|
76
85
|
&__bars {
|
|
77
|
-
position:
|
|
78
|
-
right: $elevator-
|
|
79
|
-
top: $elevator-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
position: absolute;
|
|
87
|
+
right: $elevator-bars-right;
|
|
88
|
+
top: $elevator-bars-top;
|
|
89
|
+
font-size: $elevator-bars-font-size;
|
|
90
|
+
transform: $elevator-bars-transform;
|
|
91
|
+
padding: $elevator-bars-padding;
|
|
92
|
+
background-color: $elevator-bars-background-color;
|
|
93
|
+
border-radius: $elevator-bars-border-radius;
|
|
94
|
+
text-align: center;
|
|
95
|
+
z-index: $elevator-bars-z-index;
|
|
96
|
+
|
|
86
97
|
&__inner {
|
|
87
98
|
&__item {
|
|
88
99
|
display: block;
|
|
89
|
-
padding: $elevator-
|
|
90
|
-
|
|
100
|
+
padding: $elevator-bars-inner-item-padding;
|
|
101
|
+
|
|
91
102
|
&--active {
|
|
92
|
-
|
|
103
|
+
font-weight: $font-weight-bold;
|
|
104
|
+
color: $elevator-bars-active-color;
|
|
93
105
|
}
|
|
106
|
+
|
|
94
107
|
cursor: pointer;
|
|
95
108
|
}
|
|
96
109
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
align-items: center;
|
|
7
7
|
.min,
|
|
8
8
|
.max {
|
|
9
|
-
font-size: $font-size-
|
|
9
|
+
font-size: $font-size-small;
|
|
10
10
|
color: $range-font-color;
|
|
11
11
|
user-select: none;
|
|
12
12
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
align-items: center;
|
|
148
148
|
justify-content: center;
|
|
149
149
|
user-select: none;
|
|
150
|
-
font-size: $font-size-
|
|
150
|
+
font-size: $font-size-small;
|
|
151
151
|
color: $range-font-color;
|
|
152
152
|
transform: translate3d(0, -100%, 0);
|
|
153
153
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.nut-shortpassword {
|
|
3
3
|
&__title {
|
|
4
4
|
line-height: 1;
|
|
5
|
-
font-size: $font-size-
|
|
5
|
+
font-size: $font-size-large;
|
|
6
6
|
color: $title-color;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
margin-top: 12px;
|
|
11
11
|
margin-bottom: 24px;
|
|
12
12
|
line-height: 1;
|
|
13
|
-
font-size: $font-size-
|
|
13
|
+
font-size: $font-size-small;
|
|
14
14
|
color: $text-color;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
|
|
76
76
|
&__error {
|
|
77
77
|
line-height: 1;
|
|
78
|
-
font-size: $font-size-
|
|
78
|
+
font-size: $font-size-xs;
|
|
79
79
|
color: $shortpassword-error;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&__forget {
|
|
83
83
|
line-height: 1;
|
|
84
|
-
font-size: $font-size-
|
|
84
|
+
font-size: $font-size-small;
|
|
85
85
|
color: $shortpassword-forget;
|
|
86
86
|
display: flex;
|
|
87
87
|
align-items: center;
|
|
@@ -95,25 +95,25 @@
|
|
|
95
95
|
|
|
96
96
|
&__cancel {
|
|
97
97
|
background: $white;
|
|
98
|
-
border: 1px solid $primary
|
|
98
|
+
border: 1px solid $color-primary;
|
|
99
99
|
border-radius: 15px;
|
|
100
100
|
padding: 8px 38px;
|
|
101
101
|
line-height: 1;
|
|
102
|
-
font-size: $font-size-
|
|
103
|
-
color: $primary
|
|
102
|
+
font-size: $font-size-base;
|
|
103
|
+
color: $color-primary;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&__sure {
|
|
107
107
|
background: linear-gradient(
|
|
108
108
|
135deg,
|
|
109
|
-
$primary
|
|
110
|
-
$primary-
|
|
109
|
+
$color-primary 0%,
|
|
110
|
+
$color-primary-stop-2 100%
|
|
111
111
|
);
|
|
112
112
|
border-radius: 15px;
|
|
113
113
|
padding: 8px 38px;
|
|
114
114
|
line-height: 1;
|
|
115
|
-
font-size: $font-size-
|
|
116
|
-
color: $primary-text
|
|
115
|
+
font-size: $font-size-base;
|
|
116
|
+
color: $color-primary-text;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: center;
|
|
24
24
|
border-radius: 50%;
|
|
25
|
-
background: $primary-text
|
|
25
|
+
background: $color-primary-text;
|
|
26
26
|
transition: transform 0.3s;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&__label {
|
|
30
|
-
color: $primary-text
|
|
31
|
-
font-size: $font-size-
|
|
30
|
+
color: $color-primary-text;
|
|
31
|
+
font-size: $font-size-small;
|
|
32
32
|
&.open {
|
|
33
33
|
transform: translateX(-16px);
|
|
34
34
|
}
|