@nutui/nutui 3.1.13-beta.1 → 3.1.15-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 (121) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +10 -19
  3. package/dist/nutui.d.ts +12 -5
  4. package/dist/nutui.es.js +1586 -859
  5. package/dist/nutui.umd.js +1600 -866
  6. package/dist/packages/_es/ActionSheet.js +1 -1
  7. package/dist/packages/_es/Address.js +19 -22
  8. package/dist/packages/_es/Avatar.js +1 -1
  9. package/dist/packages/_es/BackTop.js +1 -1
  10. package/dist/packages/_es/Badge.js +1 -1
  11. package/dist/packages/_es/Barrage.js +1 -1
  12. package/dist/packages/_es/Button.js +1 -1
  13. package/dist/packages/_es/Calendar.js +1 -1
  14. package/dist/packages/_es/Card.js +1 -1
  15. package/dist/packages/_es/Cascader.js +1 -1
  16. package/dist/packages/_es/Cell.js +1 -1
  17. package/dist/packages/_es/CellGroup.js +1 -1
  18. package/dist/packages/_es/Checkbox.js +1 -1
  19. package/dist/packages/_es/CheckboxGroup.js +1 -1
  20. package/dist/packages/_es/CircleProgress.js +1 -1
  21. package/dist/packages/_es/Col.js +1 -1
  22. package/dist/packages/_es/Collapse.js +1 -1
  23. package/dist/packages/_es/CollapseItem.js +1 -1
  24. package/dist/packages/_es/CountDown.js +2 -3
  25. package/dist/packages/_es/CountUp.js +1 -1
  26. package/dist/packages/_es/DatePicker.js +1 -1
  27. package/dist/packages/_es/Dialog.js +1 -1
  28. package/dist/packages/_es/Divider.js +1 -1
  29. package/dist/packages/_es/Drag.js +1 -1
  30. package/dist/packages/_es/Elevator.js +1 -1
  31. package/dist/packages/_es/Empty.js +74 -0
  32. package/dist/packages/_es/FixedNav.js +1 -1
  33. package/dist/packages/_es/Form.js +21 -5
  34. package/dist/packages/_es/FormItem.js +1 -1
  35. package/dist/packages/_es/Grid.js +1 -1
  36. package/dist/packages/_es/GridItem.js +1 -1
  37. package/dist/packages/_es/Icon.js +1 -1
  38. package/dist/packages/_es/ImagePreview.js +104 -10
  39. package/dist/packages/_es/Indicator.js +66 -0
  40. package/dist/packages/_es/InfiniteLoading.js +1 -1
  41. package/dist/packages/_es/Input.js +1 -1
  42. package/dist/packages/_es/InputNumber.js +2 -2
  43. package/dist/packages/_es/Layout.js +1 -1
  44. package/dist/packages/_es/Menu.js +3 -3
  45. package/dist/packages/_es/MenuItem.js +1 -1
  46. package/dist/packages/_es/Navbar.js +1 -1
  47. package/dist/packages/_es/NoticeBar.js +1 -1
  48. package/dist/packages/_es/Notify.js +1 -1
  49. package/dist/packages/_es/NumberKeyboard.js +1 -1
  50. package/dist/packages/_es/OverLay.js +1 -1
  51. package/dist/packages/_es/Pagination.js +1 -1
  52. package/dist/packages/_es/Picker.js +1 -1
  53. package/dist/packages/_es/Popover.js +1 -1
  54. package/dist/packages/_es/Popup.js +8 -4
  55. package/dist/packages/_es/Price.js +1 -1
  56. package/dist/packages/_es/Progress.js +1 -1
  57. package/dist/packages/_es/Radio.js +1 -1
  58. package/dist/packages/_es/RadioGroup.js +1 -1
  59. package/dist/packages/_es/Range.js +1 -1
  60. package/dist/packages/_es/Rate.js +1 -1
  61. package/dist/packages/_es/Row.js +1 -1
  62. package/dist/packages/_es/SearchBar.js +1 -1
  63. package/dist/packages/_es/ShortPassword.js +1 -1
  64. package/dist/packages/_es/SideNavBar.js +104 -0
  65. package/dist/packages/_es/SideNavBarItem.js +50 -0
  66. package/dist/packages/_es/Signature.js +1 -1
  67. package/dist/packages/_es/Skeleton.js +138 -0
  68. package/dist/packages/_es/Sku.js +1 -1
  69. package/dist/packages/_es/Step.js +1 -1
  70. package/dist/packages/_es/Steps.js +1 -1
  71. package/dist/packages/_es/SubSideNavBar.js +104 -0
  72. package/dist/packages/_es/Swipe.js +1 -1
  73. package/dist/packages/_es/Swiper.js +1 -1
  74. package/dist/packages/_es/SwiperItem.js +1 -1
  75. package/dist/packages/_es/Switch.js +16 -6
  76. package/dist/packages/_es/TabPane.js +1 -1
  77. package/dist/packages/_es/Tabbar.js +1 -1
  78. package/dist/packages/_es/TabbarItem.js +1 -1
  79. package/dist/packages/_es/Table.js +191 -0
  80. package/dist/packages/_es/Tabs.js +1 -1
  81. package/dist/packages/_es/Tag.js +1 -1
  82. package/dist/packages/_es/TextArea.js +2 -2
  83. package/dist/packages/_es/TimeDetail.js +1 -1
  84. package/dist/packages/_es/TimePannel.js +1 -1
  85. package/dist/packages/_es/TimeSelect.js +1 -1
  86. package/dist/packages/_es/Toast.js +1 -1
  87. package/dist/packages/_es/Uploader.js +1 -1
  88. package/dist/packages/_es/Video.js +1 -1
  89. package/dist/packages/_es/common.js +1 -1
  90. package/dist/packages/_es/component.js +1 -1
  91. package/dist/packages/_es/index.js +1 -1
  92. package/dist/packages/_es/index2.js +1 -1
  93. package/dist/packages/_es/index3.js +1 -1
  94. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  95. package/dist/packages/_es/pxCheck.js +1 -1
  96. package/dist/packages/_es/raf.js +1 -1
  97. package/dist/packages/_es/util.js +1 -1
  98. package/dist/packages/actionsheet/index.scss +2 -2
  99. package/dist/packages/address/index.scss +2 -0
  100. package/dist/packages/cascader/index.scss +13 -13
  101. package/dist/packages/empty/index.scss +33 -0
  102. package/dist/packages/formitem/index.scss +1 -1
  103. package/dist/packages/imagepreview/index.scss +1 -0
  104. package/dist/packages/indicator/index.scss +48 -0
  105. package/dist/packages/menu/index.scss +10 -6
  106. package/dist/packages/menuitem/index.scss +8 -7
  107. package/dist/packages/noticebar/index.scss +11 -11
  108. package/dist/packages/picker/index.scss +2 -6
  109. package/dist/packages/progress/index.scss +2 -8
  110. package/dist/packages/shortpassword/index.scss +6 -6
  111. package/dist/packages/sidenavbar/index.scss +14 -0
  112. package/dist/packages/sidenavbaritem/index.scss +10 -0
  113. package/dist/packages/skeleton/index.scss +57 -0
  114. package/dist/packages/sku/index.scss +1 -1
  115. package/dist/packages/subsidenavbar/index.scss +39 -0
  116. package/dist/packages/table/index.scss +81 -0
  117. package/dist/style.css +1 -1
  118. package/dist/styles/themes/default.scss +44 -37
  119. package/dist/styles/themes/jdd.scss +2 -0
  120. package/dist/styles/variables.scss +95 -68
  121. package/package.json +5 -2
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
19
19
  return value;
20
20
  };
21
21
  /*!
22
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
22
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
23
23
  * (c) 2021 @jdf2e.
24
24
  * Released under the MIT License.
25
25
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.13-beta.1 Mon Dec 13 2021 11:01:35 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -6,7 +6,7 @@
6
6
  margin: 0;
7
7
  text-align: center;
8
8
  background-color: $white;
9
- border-bottom: 1px solid $light-color;
9
+ border-bottom: 1px solid $actionsheet-light-color;
10
10
  font-size: $font-size-base;
11
11
  color: $title-color;
12
12
  }
@@ -63,6 +63,6 @@
63
63
 
64
64
  .nut-actionsheet-cancel {
65
65
  margin-top: 5px;
66
- border-top: 1px solid $light-color;
66
+ border-top: 1px solid $actionsheet-light-color;
67
67
  }
68
68
  }
@@ -80,6 +80,7 @@
80
80
 
81
81
  .region-item-icon {
82
82
  margin-right: 6px;
83
+ color: $address-icon-color !important;
83
84
  }
84
85
  }
85
86
  }
@@ -115,6 +116,7 @@
115
116
  }
116
117
  .exist-item-icon {
117
118
  margin-right: 9px;
119
+ color: $address-icon-color !important;
118
120
  }
119
121
  span {
120
122
  display: inline-block;
@@ -1,7 +1,7 @@
1
1
  .nut-cascader {
2
2
  width: 100%;
3
- font-size: $nut-cascader-font-size;
4
- line-height: $nut-cascader-line-height;
3
+ font-size: $cascader-font-size;
4
+ line-height: $cascader-line-height;
5
5
 
6
6
  .nut-tabpane {
7
7
  padding: 0;
@@ -10,12 +10,12 @@
10
10
  .nut-tabs__titles-item {
11
11
  flex: initial;
12
12
  min-width: auto;
13
- padding: $nut-cascader-tabs-item-padding;
13
+ padding: $cascader-tabs-item-padding;
14
14
  white-space: nowrap;
15
15
  }
16
16
 
17
17
  .nut-tabs__titles {
18
- padding: $nut-cascader-tabs-item-padding;
18
+ padding: $cascader-tabs-item-padding;
19
19
  background: #fff;
20
20
  }
21
21
 
@@ -23,12 +23,12 @@
23
23
  display: flex;
24
24
  justify-content: center;
25
25
  align-items: center;
26
- padding: $nut-cascader-bar-padding;
26
+ padding: $cascader-bar-padding;
27
27
  text-align: center;
28
28
  font-weight: bold;
29
- line-height: $nut-cascader-bar-line-height;
30
- color: $nut-cascader-bar-color;
31
- font-size: $nut-cascader-bar-font-size;
29
+ line-height: $cascader-bar-line-height;
30
+ color: $cascader-bar-color;
31
+ font-size: $cascader-bar-font-size;
32
32
  }
33
33
 
34
34
  &-pane {
@@ -45,11 +45,11 @@
45
45
  &-item {
46
46
  display: flex;
47
47
  align-items: center;
48
- padding: $nut-cascader-item-padding;
48
+ padding: $cascader-item-padding;
49
49
  margin: 0;
50
50
  cursor: pointer;
51
- font-size: $nut-cascader-item-font-size;
52
- color: $nut-cascader-item-color;
51
+ font-size: $cascader-item-font-size;
52
+ color: $cascader-item-color;
53
53
 
54
54
  &__title {
55
55
  flex: 1;
@@ -65,12 +65,12 @@
65
65
  }
66
66
 
67
67
  &.active:not(.disabled) {
68
- color: $nut-cascader-item-active-color;
68
+ color: $cascader-item-active-color;
69
69
  }
70
70
 
71
71
  &.active &__icon-check {
72
72
  visibility: visible;
73
- color: $nut-cascader-item-active-color;
73
+ color: $cascader-item-active-color;
74
74
  }
75
75
 
76
76
  &.disabled {
@@ -0,0 +1,33 @@
1
+ .nut-empty {
2
+ box-sizing: border-box;
3
+ display: flex;
4
+ align-items: center;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ padding: $empty-padding;
8
+
9
+ &-image {
10
+ width: $empty-image-size;
11
+ height: $empty-image-size;
12
+
13
+ .img {
14
+ width: 100%;
15
+ height: 100%;
16
+ }
17
+
18
+ // 兼容小程序标签和img-slot
19
+ img,
20
+ image {
21
+ width: 100%;
22
+ height: 100%;
23
+ }
24
+ }
25
+
26
+ &-description {
27
+ margin-top: $empty-description-margin-top;
28
+ padding: $empty-description-padding;
29
+ color: $empty-description-color;
30
+ font-size: $empty-description-font-size;
31
+ line-height: $empty-description-line-height;
32
+ }
33
+ }
@@ -25,7 +25,7 @@
25
25
  font-weight: normal;
26
26
  width: 90px;
27
27
  margin-right: 10px;
28
- flex: none;
28
+ flex: none !important;
29
29
  display: inline-block;
30
30
  word-wrap: break-word;
31
31
  &.required {
@@ -13,6 +13,7 @@
13
13
 
14
14
  &-index {
15
15
  position: fixed;
16
+ z-index: 2002;
16
17
  top: 50px;
17
18
  text-align: center;
18
19
  left: 0;
@@ -0,0 +1,48 @@
1
+ .nut-indicator {
2
+ &--block {
3
+ display: block;
4
+ width: 100%;
5
+ }
6
+ &--align__left {
7
+ text-align: left;
8
+ }
9
+ &--align__right {
10
+ text-align: right;
11
+ }
12
+ &--align__center {
13
+ text-align: center;
14
+ }
15
+ &--dot,
16
+ &--number {
17
+ margin: 0 4px;
18
+ &:first-child {
19
+ margin-left: 0;
20
+ }
21
+ &:last-child {
22
+ margin-right: 0;
23
+ }
24
+ }
25
+ &--dot {
26
+ display: inline-block;
27
+ vertical-align: middle;
28
+ width: $indicator-dot-size;
29
+ height: $indicator-dot-size;
30
+ border-radius: 50%;
31
+ background-color: $indicator-dot-color;
32
+ }
33
+ &--number {
34
+ display: inline-block;
35
+ position: relative;
36
+ width: $indicator-size;
37
+ height: $indicator-size;
38
+ text-align: center;
39
+ font-size: 10px;
40
+ line-height: $indicator-size;
41
+ color: $indicator-white;
42
+ vertical-align: middle;
43
+ border: 1px solid $indicator-white;
44
+ border-radius: 50%;
45
+ background-color: $indicator-color;
46
+ box-shadow: 0 0 1px 1px $indicator-color;
47
+ }
48
+ }
@@ -1,12 +1,12 @@
1
1
  .nut-menu__bar {
2
2
  position: relative;
3
3
  display: flex;
4
- line-height: $nut-menu-bar-line-height;
4
+ line-height: $menu-bar-line-height;
5
5
  background-color: $white;
6
- border-bottom: 1px solid $nut-menu-bar-border-bottom-color;
6
+ border-bottom: 1px solid $menu-bar-border-bottom-color;
7
7
 
8
8
  &.opened {
9
- z-index: $nut-menu-bar-opened-z-index;
9
+ z-index: $menu-bar-opened-z-index;
10
10
  }
11
11
 
12
12
  .nut-menu__item {
@@ -16,8 +16,12 @@
16
16
  color: $title-color;
17
17
  min-width: 0;
18
18
 
19
+ &.active {
20
+ color: $menu-item-active-text-color;
21
+ }
22
+
19
23
  &.disabled {
20
- color: $nut-menu-item-disabled-color;
24
+ color: $menu-item-disabled-color;
21
25
  }
22
26
 
23
27
  .nut-menu__title-icon {
@@ -33,8 +37,8 @@
33
37
  .nut-menu__title-text {
34
38
  @include text-ellipsis;
35
39
  display: block;
36
- padding-left: $nut-menu-title-text-padding-left;
37
- padding-right: $nut-menu-title-text-padding-right;
40
+ padding-left: $menu-title-text-padding-left;
41
+ padding-right: $menu-title-text-padding-right;
38
42
  }
39
43
 
40
44
  &.active .nut-menu__title-icon {
@@ -1,12 +1,13 @@
1
1
  .nut-menu-item {
2
2
  .active {
3
3
  font-weight: 500;
4
+ color: $menu-item-active-text-color !important;
4
5
  }
5
6
  }
6
7
 
7
8
  .nut-menu-item__content {
8
- padding: $nut-menu-item-content-padding;
9
- max-height: $nut-menu-item-content-max-height;
9
+ padding: $menu-item-content-padding;
10
+ max-height: $menu-item-content-max-height;
10
11
  overflow-y: auto;
11
12
  display: flex;
12
13
  flex-wrap: wrap;
@@ -14,13 +15,13 @@
14
15
  .nut-menu-item__option {
15
16
  color: $title-color;
16
17
  font-size: $font-size-2;
17
- padding-top: $nut-menu-item-option-padding-top;
18
- padding-bottom: $nut-menu-item-option-padding-bottom;
18
+ padding-top: $menu-item-option-padding-top;
19
+ padding-bottom: $menu-item-option-padding-bottom;
19
20
  display: flex;
20
21
  align-items: center;
21
22
 
22
23
  i {
23
- margin-right: $nut-menu-item-option-i-margin-right;
24
+ margin-right: $menu-item-option-i-margin-right;
24
25
  }
25
26
  }
26
27
  }
@@ -38,9 +39,9 @@
38
39
 
39
40
  .placeholder-element {
40
41
  position: fixed;
41
- top: -$nut-menu-bar-line-height;
42
+ top: -$menu-bar-line-height;
42
43
  left: 0;
43
44
  right: 0;
44
- z-index: $nut-menu-bar-opened-z-index;
45
+ z-index: $menu-bar-opened-z-index;
45
46
  background-color: transparent;
46
47
  }
@@ -1,8 +1,8 @@
1
1
  .nut-noticebar-page {
2
2
  width: 100%;
3
3
  display: flex;
4
- height: $noticeBar-height;
5
- font-size: $noticeBar-font-size;
4
+ height: $noticebar-height;
5
+ font-size: $noticebar-font-size;
6
6
  position: relative;
7
7
  align-items: center;
8
8
  &.wrapable {
@@ -23,8 +23,8 @@
23
23
  padding-right: 40px;
24
24
  }
25
25
  .left-icon {
26
- height: $noticeBar-left-icon-width;
27
- min-width: $noticeBar-left-icon-width;
26
+ height: $noticebar-left-icon-width;
27
+ min-width: $noticebar-left-icon-width;
28
28
  margin: 0 5px 0 10px;
29
29
  background-size: 100% 100%;
30
30
  }
@@ -32,13 +32,13 @@
32
32
  display: flex;
33
33
  align-items: center;
34
34
  justify-content: center;
35
- width: $noticeBar-right-icon-width;
35
+ width: $noticebar-right-icon-width;
36
36
  margin: 0 10px 0 5px;
37
37
  }
38
38
  .wrap {
39
39
  flex: 1;
40
- height: $noticeBar-line-height;
41
- line-height: $noticeBar-line-height;
40
+ height: $noticebar-line-height;
41
+ line-height: $noticebar-line-height;
42
42
  overflow: hidden;
43
43
  position: relative;
44
44
  }
@@ -78,7 +78,7 @@
78
78
  // 垂直方向的滚动
79
79
  @keyframes nut-notice-bar-play-vertical {
80
80
  to {
81
- transform: translateY($noticeBar-height);
81
+ transform: translateY($noticebar-height);
82
82
  }
83
83
  }
84
84
 
@@ -87,8 +87,8 @@
87
87
  position: relative;
88
88
  display: flex;
89
89
  justify-content: space-between;
90
- height: $noticeBar-height;
91
- font-size: $noticeBar-font-size;
90
+ height: $noticebar-height;
91
+ font-size: $noticebar-font-size;
92
92
  overflow: hidden;
93
93
 
94
94
  .horseLamp_list {
@@ -99,7 +99,7 @@
99
99
  .horseLamp_list_item {
100
100
  display: flex;
101
101
  align-items: center;
102
- height: $noticeBar-height;
102
+ height: $noticebar-height;
103
103
  }
104
104
  }
105
105
 
@@ -15,11 +15,7 @@
15
15
  z-index: 1;
16
16
  width: 100%;
17
17
  height: 100%;
18
- background-image: linear-gradient(
19
- 180deg,
20
- hsla(0, 0%, 100%, 0.9),
21
- hsla(0, 0%, 100%, 0.4)
22
- ),
18
+ background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4)),
23
19
  linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
24
20
  background-repeat: no-repeat;
25
21
  background-position: top, bottom;
@@ -44,7 +40,7 @@
44
40
  height: 100%;
45
41
  }
46
42
  &__left {
47
- color: #fa2c19;
43
+ color: $picker-cancel-color;
48
44
  font-size: 16px;
49
45
  }
50
46
  &__button {
@@ -11,13 +11,7 @@
11
11
  width: 30%;
12
12
  height: 100%;
13
13
  border-radius: 12px;
14
- background: linear-gradient(
15
- 268deg,
16
- rgba(250, 44, 25, 1) 0%,
17
- rgba(250, 63, 25, 1) 44.59259259%,
18
- rgba(250, 89, 25, 1) 83.40740741%,
19
- rgba(250, 100, 25, 1) 100%
20
- );
14
+ background: $progress-inner-background-color;
21
15
  -webkit-transition: all 0.4s;
22
16
  transition: all 0.4s;
23
17
  position: relative;
@@ -89,7 +83,7 @@
89
83
  }
90
84
  .nut-progress-insidetext {
91
85
  padding: 3px 5px 3px 6px;
92
- background: rgba(250, 44, 25, 1);
86
+ background: $progress-insidetext-background;
93
87
  border-radius: 5px;
94
88
  position: absolute;
95
89
  transition: all 0.4s;
@@ -86,9 +86,9 @@
86
86
  height: 41px;
87
87
  margin: 0 auto;
88
88
  box-sizing: border-box;
89
- background: $shortpsd-background-color;
89
+ background: $shortpassword-background-color;
90
90
  border-radius: 4px;
91
- border: 1px solid $shortpsd-border-color;
91
+ border: 1px solid $shortpassword-border-color;
92
92
  display: flex;
93
93
  position: absolute;
94
94
  left: 0;
@@ -98,9 +98,9 @@
98
98
  width: 100%;
99
99
  height: 41px;
100
100
  margin: 0 auto;
101
- background: $shortpsd-background-color;
101
+ background: $shortpassword-background-color;
102
102
  border-radius: 4px;
103
- border: 1px solid $shortpsd-border-color;
103
+ border: 1px solid $shortpassword-border-color;
104
104
  display: flex;
105
105
  position: absolute;
106
106
  left: 0;
@@ -132,13 +132,13 @@
132
132
  .nut-shortpsd-error {
133
133
  line-height: 1;
134
134
  font-size: $font-size-0;
135
- color: $shortpsd-error;
135
+ color: $shortpassword-error;
136
136
  }
137
137
 
138
138
  .nut-shortpsd-forget {
139
139
  line-height: 1;
140
140
  font-size: $font-size-1;
141
- color: $shortpsd-forget;
141
+ color: $shortpassword-forget;
142
142
  display: flex;
143
143
  }
144
144
  }
@@ -0,0 +1,14 @@
1
+ .nut-sidenavbar {
2
+ height: 100%;
3
+ overflow: auto;
4
+ display: block;
5
+ &__content {
6
+ position: relative;
7
+ background-color: $sidenavbar-content-bg-color;
8
+ display: block;
9
+ &__list {
10
+ width: 100%;
11
+ display: block;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ .nut-sidenavbaritem {
2
+ height: 40px;
3
+ line-height: 40px;
4
+ display: block;
5
+ font-size: 16px;
6
+ &__title {
7
+ color: $title-color;
8
+ background-color: $sidenavbaritem-title-color;
9
+ }
10
+ }
@@ -0,0 +1,57 @@
1
+ .skeleton {
2
+ display: inline-block;
3
+ position: relative;
4
+ overflow: hidden;
5
+ vertical-align: middle;
6
+ .content {
7
+ display: flex;
8
+ .avatarClass {
9
+ margin-right: 20px;
10
+ background: rgb(239, 239, 239);
11
+ }
12
+
13
+ .blockClass,
14
+ .blockClass--round {
15
+ width: 100%;
16
+ height: 100%;
17
+ background: rgb(239, 239, 239);
18
+ margin-top: 10px;
19
+ &:last-child {
20
+ width: 70% !important;
21
+ }
22
+ }
23
+ .blockClass--round {
24
+ border-radius: 10px;
25
+ }
26
+
27
+ .content-line {
28
+ display: flex;
29
+ flex-direction: column;
30
+ .title {
31
+ width: 30%;
32
+ height: 15px;
33
+ background: #efefef;
34
+ }
35
+ }
36
+ }
37
+
38
+ .skeleton-animation {
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ width: 100%;
43
+ height: 100%;
44
+ z-index: 1;
45
+ background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0.5) 50%, hsla(0, 0%, 100%, 0) 80%);
46
+ background-repeat: no-repeat;
47
+ animation: backpos 2s ease-in-out 0s infinite;
48
+ }
49
+ @keyframes backpos {
50
+ 0% {
51
+ background-position-x: -500px;
52
+ }
53
+ to {
54
+ background-position-x: calc(500px + 100%);
55
+ }
56
+ }
57
+ }
@@ -65,7 +65,7 @@
65
65
  border: 1px solid rgba(242, 242, 242, 1);
66
66
 
67
67
  &.active {
68
- background: rgba(252, 237, 235, 1);
68
+ background: $sku-item-active-bg;
69
69
  border: $sku-item-border;
70
70
  color: $primary-color;
71
71
  }