@autobest-ui/components 2.2.1 → 2.3.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.
Files changed (243) hide show
  1. package/esm/accordion/style/index.css +1 -0
  2. package/esm/affix/style/index.css +1 -1
  3. package/esm/base.css +1 -1
  4. package/esm/checkbox/style/index.css +1 -1
  5. package/esm/confirm/style/index.css +1 -1
  6. package/esm/date-picker/style/index.css +1 -1
  7. package/esm/drawer/style/index.css +1 -1
  8. package/esm/ellipsis/style/index.css +1 -1
  9. package/esm/guide/style/index.css +1 -1
  10. package/esm/input-number/style/index.css +1 -1
  11. package/esm/lazy-image/style/index.css +1 -1
  12. package/esm/link-list/style/index.css +1 -1
  13. package/esm/loading/style/index.css +1 -1
  14. package/esm/loading-bar/style/index.css +1 -1
  15. package/esm/loading-container/style/index.css +1 -1
  16. package/esm/loading-icon/style/index.css +1 -1
  17. package/esm/mask/style/index.css +1 -1
  18. package/esm/message/style/index.css +1 -1
  19. package/esm/modal/style/index.css +1 -1
  20. package/esm/popover/style/index.css +1 -1
  21. package/esm/select/style/index.css +1 -1
  22. package/esm/skeleton/style/index.css +1 -1
  23. package/esm/style.css +1 -33
  24. package/esm/table/style/index.css +1 -1
  25. package/esm/tabs/style/index.css +1 -1
  26. package/esm/tooltip/style/index.css +1 -1
  27. package/lib/accordion/style/index.css +1 -0
  28. package/lib/affix/style/index.css +1 -1
  29. package/lib/base.css +1 -1
  30. package/lib/checkbox/style/index.css +1 -1
  31. package/lib/confirm/style/index.css +1 -1
  32. package/lib/date-picker/style/index.css +1 -1
  33. package/lib/drawer/style/index.css +1 -1
  34. package/lib/ellipsis/style/index.css +1 -1
  35. package/lib/guide/style/index.css +1 -1
  36. package/lib/input-number/style/index.css +1 -1
  37. package/lib/lazy-image/style/index.css +1 -1
  38. package/lib/link-list/style/index.css +1 -1
  39. package/lib/loading/style/index.css +1 -1
  40. package/lib/loading-bar/style/index.css +1 -1
  41. package/lib/loading-container/style/index.css +1 -1
  42. package/lib/loading-icon/style/index.css +1 -1
  43. package/lib/mask/style/index.css +1 -1
  44. package/lib/message/style/index.css +1 -1
  45. package/lib/modal/style/index.css +1 -1
  46. package/lib/popover/style/index.css +1 -1
  47. package/lib/select/style/index.css +1 -1
  48. package/lib/skeleton/style/index.css +1 -1
  49. package/lib/style.css +1 -33
  50. package/lib/table/style/index.css +1 -1
  51. package/lib/tabs/style/index.css +1 -1
  52. package/lib/tooltip/style/index.css +1 -1
  53. package/package.json +5 -3
  54. package/esm/accordion/style/index.d.ts +0 -1
  55. package/esm/accordion/style/index.js +0 -5
  56. package/esm/affix/style/index.d.ts +0 -1
  57. package/esm/affix/style/index.js +0 -5
  58. package/esm/affix/style/index.scss +0 -35
  59. package/esm/base.scss +0 -42
  60. package/esm/carousel/style/index.d.ts +0 -1
  61. package/esm/carousel/style/index.js +0 -5
  62. package/esm/carousel/style/index.scss +0 -37
  63. package/esm/checkbox/style/index.d.ts +0 -1
  64. package/esm/checkbox/style/index.js +0 -5
  65. package/esm/checkbox/style/index.scss +0 -118
  66. package/esm/collapse/style/index.d.ts +0 -1
  67. package/esm/collapse/style/index.js +0 -5
  68. package/esm/collapse/style/index.scss +0 -43
  69. package/esm/confirm/style/index.d.ts +0 -1
  70. package/esm/confirm/style/index.js +0 -7
  71. package/esm/confirm/style/index.scss +0 -44
  72. package/esm/date-picker/calendar/grid/index.scss +0 -90
  73. package/esm/date-picker/calendar/index.scss +0 -58
  74. package/esm/date-picker/style/index.d.ts +0 -1
  75. package/esm/date-picker/style/index.js +0 -11
  76. package/esm/date-picker/style/index.scss +0 -24
  77. package/esm/drawer/style/index.d.ts +0 -1
  78. package/esm/drawer/style/index.js +0 -7
  79. package/esm/drawer/style/index.scss +0 -44
  80. package/esm/ellipsis/style/index.d.ts +0 -1
  81. package/esm/ellipsis/style/index.js +0 -5
  82. package/esm/ellipsis/style/index.scss +0 -35
  83. package/esm/guide/style/index.d.ts +0 -1
  84. package/esm/guide/style/index.js +0 -7
  85. package/esm/guide/style/index.scss +0 -18
  86. package/esm/input-number/style/index.d.ts +0 -1
  87. package/esm/input-number/style/index.js +0 -5
  88. package/esm/input-number/style/index.scss +0 -70
  89. package/esm/lazy-image/style/index.d.ts +0 -1
  90. package/esm/lazy-image/style/index.js +0 -5
  91. package/esm/lazy-image/style/index.scss +0 -25
  92. package/esm/link-list/style/index.d.ts +0 -1
  93. package/esm/link-list/style/index.js +0 -7
  94. package/esm/link-list/style/index.scss +0 -125
  95. package/esm/loading/style/index.d.ts +0 -1
  96. package/esm/loading/style/index.js +0 -7
  97. package/esm/loading/style/index.scss +0 -21
  98. package/esm/loading-bar/style/index.d.ts +0 -1
  99. package/esm/loading-bar/style/index.js +0 -5
  100. package/esm/loading-bar/style/index.scss +0 -62
  101. package/esm/loading-container/style/index.d.ts +0 -1
  102. package/esm/loading-container/style/index.js +0 -7
  103. package/esm/loading-container/style/index.scss +0 -28
  104. package/esm/loading-icon/style/index.d.ts +0 -1
  105. package/esm/loading-icon/style/index.js +0 -5
  106. package/esm/loading-icon/style/index.scss +0 -24
  107. package/esm/mask/style/index.d.ts +0 -1
  108. package/esm/mask/style/index.js +0 -5
  109. package/esm/mask/style/index.scss +0 -35
  110. package/esm/message/style/index.d.ts +0 -1
  111. package/esm/message/style/index.js +0 -5
  112. package/esm/message/style/index.scss +0 -71
  113. package/esm/modal/style/index.d.ts +0 -1
  114. package/esm/modal/style/index.js +0 -7
  115. package/esm/modal/style/index.scss +0 -112
  116. package/esm/move/style/index.d.ts +0 -1
  117. package/esm/move/style/index.js +0 -5
  118. package/esm/move/style/index.scss +0 -7
  119. package/esm/popover/style/index.d.ts +0 -1
  120. package/esm/popover/style/index.js +0 -7
  121. package/esm/popover/style/index.scss +0 -60
  122. package/esm/portal/style/index.d.ts +0 -1
  123. package/esm/portal/style/index.js +0 -5
  124. package/esm/portal/style/index.scss +0 -0
  125. package/esm/script/style/index.d.ts +0 -1
  126. package/esm/script/style/index.js +0 -1
  127. package/esm/script/style/index.scss +0 -0
  128. package/esm/select/style/index.d.ts +0 -1
  129. package/esm/select/style/index.js +0 -7
  130. package/esm/select/style/index.scss +0 -126
  131. package/esm/show-more/style/index.d.ts +0 -1
  132. package/esm/show-more/style/index.js +0 -5
  133. package/esm/show-more/style/index.scss +0 -23
  134. package/esm/skeleton/style/index.d.ts +0 -1
  135. package/esm/skeleton/style/index.js +0 -5
  136. package/esm/skeleton/style/index.scss +0 -27
  137. package/esm/table/style/index.d.ts +0 -1
  138. package/esm/table/style/index.js +0 -9
  139. package/esm/table/style/index.scss +0 -45
  140. package/esm/tabs/style/index.d.ts +0 -1
  141. package/esm/tabs/style/index.js +0 -5
  142. package/esm/tabs/style/index.scss +0 -62
  143. package/esm/tooltip/style/index.d.ts +0 -1
  144. package/esm/tooltip/style/index.js +0 -7
  145. package/esm/tooltip/style/index.scss +0 -62
  146. package/esm/trigger/style/index.d.ts +0 -1
  147. package/esm/trigger/style/index.js +0 -5
  148. package/esm/trigger/style/index.scss +0 -79
  149. package/lib/accordion/style/index.d.ts +0 -1
  150. package/lib/accordion/style/index.js +0 -7
  151. package/lib/affix/style/index.d.ts +0 -1
  152. package/lib/affix/style/index.js +0 -7
  153. package/lib/affix/style/index.scss +0 -35
  154. package/lib/base.scss +0 -42
  155. package/lib/carousel/style/index.d.ts +0 -1
  156. package/lib/carousel/style/index.js +0 -7
  157. package/lib/carousel/style/index.scss +0 -37
  158. package/lib/checkbox/style/index.d.ts +0 -1
  159. package/lib/checkbox/style/index.js +0 -7
  160. package/lib/checkbox/style/index.scss +0 -118
  161. package/lib/collapse/style/index.d.ts +0 -1
  162. package/lib/collapse/style/index.js +0 -7
  163. package/lib/collapse/style/index.scss +0 -43
  164. package/lib/confirm/style/index.d.ts +0 -1
  165. package/lib/confirm/style/index.js +0 -9
  166. package/lib/confirm/style/index.scss +0 -44
  167. package/lib/date-picker/calendar/grid/index.scss +0 -90
  168. package/lib/date-picker/calendar/index.scss +0 -58
  169. package/lib/date-picker/style/index.d.ts +0 -1
  170. package/lib/date-picker/style/index.js +0 -13
  171. package/lib/date-picker/style/index.scss +0 -24
  172. package/lib/drawer/style/index.d.ts +0 -1
  173. package/lib/drawer/style/index.js +0 -9
  174. package/lib/drawer/style/index.scss +0 -44
  175. package/lib/ellipsis/style/index.d.ts +0 -1
  176. package/lib/ellipsis/style/index.js +0 -7
  177. package/lib/ellipsis/style/index.scss +0 -35
  178. package/lib/guide/style/index.d.ts +0 -1
  179. package/lib/guide/style/index.js +0 -9
  180. package/lib/guide/style/index.scss +0 -18
  181. package/lib/input-number/style/index.d.ts +0 -1
  182. package/lib/input-number/style/index.js +0 -7
  183. package/lib/input-number/style/index.scss +0 -70
  184. package/lib/lazy-image/style/index.d.ts +0 -1
  185. package/lib/lazy-image/style/index.js +0 -7
  186. package/lib/lazy-image/style/index.scss +0 -25
  187. package/lib/link-list/style/index.d.ts +0 -1
  188. package/lib/link-list/style/index.js +0 -9
  189. package/lib/link-list/style/index.scss +0 -125
  190. package/lib/loading/style/index.d.ts +0 -1
  191. package/lib/loading/style/index.js +0 -9
  192. package/lib/loading/style/index.scss +0 -21
  193. package/lib/loading-bar/style/index.d.ts +0 -1
  194. package/lib/loading-bar/style/index.js +0 -7
  195. package/lib/loading-bar/style/index.scss +0 -62
  196. package/lib/loading-container/style/index.d.ts +0 -1
  197. package/lib/loading-container/style/index.js +0 -9
  198. package/lib/loading-container/style/index.scss +0 -28
  199. package/lib/loading-icon/style/index.d.ts +0 -1
  200. package/lib/loading-icon/style/index.js +0 -7
  201. package/lib/loading-icon/style/index.scss +0 -24
  202. package/lib/mask/style/index.d.ts +0 -1
  203. package/lib/mask/style/index.js +0 -7
  204. package/lib/mask/style/index.scss +0 -35
  205. package/lib/message/style/index.d.ts +0 -1
  206. package/lib/message/style/index.js +0 -7
  207. package/lib/message/style/index.scss +0 -71
  208. package/lib/modal/style/index.d.ts +0 -1
  209. package/lib/modal/style/index.js +0 -9
  210. package/lib/modal/style/index.scss +0 -112
  211. package/lib/move/style/index.d.ts +0 -1
  212. package/lib/move/style/index.js +0 -7
  213. package/lib/move/style/index.scss +0 -7
  214. package/lib/popover/style/index.d.ts +0 -1
  215. package/lib/popover/style/index.js +0 -9
  216. package/lib/popover/style/index.scss +0 -60
  217. package/lib/portal/style/index.d.ts +0 -1
  218. package/lib/portal/style/index.js +0 -7
  219. package/lib/portal/style/index.scss +0 -0
  220. package/lib/script/style/index.d.ts +0 -1
  221. package/lib/script/style/index.js +0 -1
  222. package/lib/script/style/index.scss +0 -0
  223. package/lib/select/style/index.d.ts +0 -1
  224. package/lib/select/style/index.js +0 -9
  225. package/lib/select/style/index.scss +0 -126
  226. package/lib/show-more/style/index.d.ts +0 -1
  227. package/lib/show-more/style/index.js +0 -7
  228. package/lib/show-more/style/index.scss +0 -23
  229. package/lib/skeleton/style/index.d.ts +0 -1
  230. package/lib/skeleton/style/index.js +0 -7
  231. package/lib/skeleton/style/index.scss +0 -27
  232. package/lib/table/style/index.d.ts +0 -1
  233. package/lib/table/style/index.js +0 -11
  234. package/lib/table/style/index.scss +0 -45
  235. package/lib/tabs/style/index.d.ts +0 -1
  236. package/lib/tabs/style/index.js +0 -7
  237. package/lib/tabs/style/index.scss +0 -62
  238. package/lib/tooltip/style/index.d.ts +0 -1
  239. package/lib/tooltip/style/index.js +0 -9
  240. package/lib/tooltip/style/index.scss +0 -62
  241. package/lib/trigger/style/index.d.ts +0 -1
  242. package/lib/trigger/style/index.js +0 -7
  243. package/lib/trigger/style/index.scss +0 -79
@@ -1,58 +0,0 @@
1
- $namespace: ab-dp-cal;
2
-
3
- .#{$namespace} {
4
- display: flex;
5
-
6
- &-my {
7
- padding-left: .12rem;
8
- margin-left: .12rem;
9
- border-left: 1px solid #B0B0B0;
10
- }
11
-
12
- &-day, &-my {
13
- width: 2.1rem;
14
- }
15
-
16
- &-dis {
17
- color: #C8C8C8;
18
- }
19
-
20
- &-dg {
21
- > ul {
22
- > li {
23
- width: 14.28%;
24
- height: .28rem;
25
-
26
- &.#{$namespace}-out {
27
- color: #666666;
28
- }
29
- }
30
- }
31
- }
32
-
33
- &-myg {
34
- padding-bottom: .62rem;
35
-
36
- > ul {
37
- justify-content: space-between;
38
-
39
- > li {
40
- width: .4rem;
41
- height: .4rem;
42
- margin-bottom: .1rem;
43
- }
44
- }
45
- }
46
-
47
- &-t {
48
- cursor: pointer;
49
- position: absolute;
50
- right: .08rem;
51
- bottom: .3rem;
52
-
53
- &.#{$namespace}-t-dis {
54
- color: #b0b0b0;
55
- cursor: default;
56
- }
57
- }
58
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../calendar/index.scss');
7
-
8
- require('../calendar/grid/index.scss');
9
-
10
- require('../../popover/style/index');
11
- }
@@ -1,24 +0,0 @@
1
- $namespace: ab-date-picker;
2
-
3
- .#{$namespace} {
4
- position: relative;
5
-
6
- &-input {
7
- outline: none;
8
- font-size: .14rem;
9
- padding: .04rem;
10
- width: 1.44rem;
11
-
12
- &.#{$namespace}-error {
13
- background: #fffacd;
14
- }
15
- }
16
-
17
- &-icon {
18
- color: #606060;
19
- position: absolute;
20
- right: 0.05rem;
21
- top: 50%;
22
- transform: translateY(-50%);
23
- }
24
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../mask/style/index');
7
- }
@@ -1,44 +0,0 @@
1
- $namespace: ab-drawer;
2
-
3
- .#{$namespace} {
4
- position: fixed;
5
- z-index: 101;
6
- background-color: #fff;
7
- overflow: auto;
8
- transition: transform 300ms cubic-bezier(.7, .3, .1, 1);
9
-
10
- &-times {
11
- position: absolute;
12
- right: .17rem;
13
- font-size: .16rem;
14
- color: #b0b0b0;
15
- cursor: pointer;
16
- top: .11rem;
17
-
18
- &:hover {
19
- color: #333;
20
- }
21
- }
22
-
23
- &-tf-top {
24
- transform: translate(0, -100%);
25
- }
26
-
27
- &-tf-bottom {
28
- transform: translate(0, 100%);
29
- }
30
-
31
- &-tf-left {
32
- transform: translate(-100%, 0);
33
- }
34
-
35
- &-tf-right {
36
- transform: translate(100%, 0);
37
- }
38
-
39
- &-hidden {
40
- &.ab-mask, &.ab-drawer {
41
- display: none;
42
- }
43
- }
44
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,35 +0,0 @@
1
- $namespace: ab-ellipsis;
2
-
3
- $lines: (1) (2) (3) (4) (5);
4
- @mixin generateLines($type) {
5
- @each $val in $lines {
6
- &.#{$namespace}#{$type}#{$val} {
7
- -webkit-line-clamp: $val;
8
- }
9
- }
10
- }
11
-
12
- @mixin clearLines($type) {
13
- @each $val in $lines {
14
- &.#{$namespace}#{$type}#{$val} {
15
- -webkit-line-clamp: unset;
16
- }
17
- }
18
- }
19
-
20
- .#{$namespace} {
21
- overflow: hidden;
22
- display: block;
23
- display: -webkit-box;
24
- -webkit-box-orient: vertical;
25
-
26
- @include generateLines('-line');
27
- }
28
-
29
-
30
- @media only screen and (max-width: 767px) {
31
- .#{$namespace} {
32
- @include clearLines('-line');
33
- @include generateLines('-m-line');
34
- }
35
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../mask/style/index');
7
- }
@@ -1,18 +0,0 @@
1
- $namespace: ab-guide;
2
-
3
- .#{$namespace} {
4
- &-mask.ab-mask {
5
- background-color: rgba(0, 0, 0, .7);
6
- z-index: 4;
7
- }
8
-
9
- &-icon {
10
- position: absolute;
11
- z-index: 5;
12
- }
13
-
14
- &-content {
15
- position: relative;
16
- z-index: 6;
17
- }
18
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,70 +0,0 @@
1
- $namespace: ab-input-number;
2
-
3
- .#{$namespace} {
4
- position: relative;
5
- border: 1px solid #ccc;
6
- overflow: hidden;
7
-
8
- &-control {
9
- -webkit-appearance: none;
10
- display: block;
11
- outline: none;
12
- border: none;
13
- width: 100%;
14
- height: 100%;
15
- padding: .06rem .06rem;
16
- background-color: transparent;
17
- font-size: .12rem;
18
- }
19
-
20
- &-arrow {
21
- font-size: 0.08rem;
22
- position: absolute;
23
- right: 0;
24
- top: 0;
25
- width: 0.22rem;
26
- height: 100%;
27
- background-color: #fff;
28
- display: none;
29
- flex-direction: column;
30
- border-left: 1px solid #f1f1f1;
31
- }
32
-
33
- &-up, &-down {
34
- cursor: pointer;
35
- width: 100%;
36
- height: 50%;
37
- display: flex;
38
- align-items: center;
39
- justify-content: center;
40
-
41
- &:hover {
42
- background-color: #e2e2e2;
43
- }
44
-
45
- &:active {
46
- background-color: #929292;
47
- color: #fff;
48
- }
49
- }
50
-
51
- &-up {
52
- border-bottom: 1px solid #f1f1f1;
53
- }
54
-
55
- &.#{$namespace}-enter, &.#{$namespace}-focus {
56
- .#{$namespace}-arrow {
57
- display: flex;
58
- }
59
- border-color: #348FEE;
60
- }
61
-
62
- &.#{$namespace}-focus {
63
- box-shadow: 0 0 4px #348FEE;
64
- }
65
- &.#{$namespace}-disabled {
66
- .#{$namespace}-control {
67
- cursor: not-allowed;
68
- }
69
- }
70
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,25 +0,0 @@
1
- $namespace: ab-lazy-image;
2
-
3
- .#{$namespace} {
4
- transition: opacity 500ms;
5
-
6
- &-loading {
7
- background: #f2f2f2;
8
- overflow: hidden;
9
- }
10
-
11
- &-loading.#{$namespace}-active {
12
- background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
13
- background-size: 400% 100%;
14
- animation: ab-skeleton-loading 1.4s ease infinite;
15
- }
16
-
17
- @keyframes ab-skeleton-loading {
18
- 0% {
19
- background-position: 100% 50%;
20
- }
21
- 100% {
22
- background-position: 0 50%;
23
- }
24
- }
25
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../popover/style/index');
7
- }
@@ -1,125 +0,0 @@
1
- $namespace: ab-link-list;
2
-
3
- // column Gap
4
- $values: (2) (4) (5) (6) (8);
5
- @mixin generateIgnoreCol($type) {
6
- @each $val in $values {
7
- &.#{$namespace}#{$type}#{$val} > a, &.#{$namespace}#{$type}#{$val} > span {
8
- min-width: calc(100% / #{$val} - 0.15rem);
9
- max-width: calc(100% / #{$val} - 0.15rem);
10
- }
11
- }
12
- }
13
-
14
- .#{$namespace} {
15
- &-title {
16
- font-size: .16rem;
17
- margin: 0 0;
18
- padding: 0 0 .12rem 0;
19
- display: flex;
20
- justify-content: space-between;
21
- align-items: center;
22
- }
23
-
24
- &-icon {
25
- display: none;
26
- }
27
-
28
- &-content {
29
- flex-wrap: wrap;
30
- width: auto;
31
- margin-right: -0.15rem;
32
- @include generateIgnoreCol($type: -col);
33
- }
34
-
35
- &-content > span, &-content > a {
36
- cursor: pointer;
37
- border: .5px solid #D0D0D0;
38
- margin-bottom: 8px;
39
- display: inline-block;
40
- justify-content: space-between;
41
- align-items: center;
42
- width: 100%;
43
- position: relative;
44
- overflow: hidden;
45
- text-overflow: ellipsis;
46
- white-space: nowrap;
47
- padding: .085rem .15rem .085rem .12rem;
48
- color: #333333;
49
- margin-right: .15rem;
50
-
51
- &:after {
52
- content: '>';
53
- position: absolute;
54
- right: .1rem;
55
- top: 50%;
56
- transform: translateY(-50%);
57
- color: #808080;
58
- font-size: .12rem;
59
- }
60
-
61
- &:hover {
62
- text-decoration: underline;
63
- color: #f97601;
64
- }
65
- }
66
-
67
- &-content > .#{$namespace}-hidden {
68
- display: none;
69
- }
70
-
71
- &-wrap-popover.ab-popover-wrap {
72
- max-width: 3.5rem;
73
- min-width: 3rem;
74
- }
75
-
76
- &-sub-title {
77
- display: block;
78
- padding-bottom: .06rem;
79
- font-size: .12rem;
80
- }
81
-
82
- &-sub-link {
83
- text-decoration: underline;
84
- color: #333;
85
- font-size: .12rem;
86
- padding: 0 .05rem .05rem 0;
87
- display: inline-block;
88
- }
89
- }
90
-
91
- @media only screen and (max-width: 767px) {
92
- .#{$namespace} {
93
-
94
- &-divider {
95
- border-bottom: 1px solid #D0D0D0;
96
- }
97
-
98
- &-body {
99
- height: 0;
100
- width: 0;
101
- overflow: hidden;
102
-
103
- &.#{$namespace}-active {
104
- height: auto;
105
- width: auto;
106
- }
107
- }
108
-
109
- &-content > span, &-content > a {
110
- min-width: calc(50% - 0.15rem) !important;
111
- max-width: calc(50% - 0.15rem) !important;
112
- }
113
-
114
- &-icon {
115
- font-weight: bold;
116
- font-size: .22rem;
117
- cursor: pointer;
118
- width: .20rem;
119
- height: .20rem;
120
- display: flex;
121
- align-items: center;
122
- justify-content: center;
123
- }
124
- }
125
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../loading-icon/style/index');
7
- }
@@ -1,21 +0,0 @@
1
- $namespace: ab-loading;
2
-
3
- .#{$namespace}-wrap {
4
- position: fixed;
5
- top: 0;
6
- left: 0;
7
- z-index: 9999;
8
- background-color: rgba(#fff, .7);
9
- height: 100%;
10
- width: 100%;
11
-
12
- .#{$namespace}-content {
13
- position: absolute;
14
- left: 50%;
15
- top: 50%;
16
- display: block;
17
- width: .31rem;
18
- height: .31rem;
19
- transform: translate3d(-50%, -50%, 0);
20
- }
21
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,62 +0,0 @@
1
- $namespace: ab-loading-bar;
2
-
3
- .#{$namespace} {
4
- position: fixed;
5
- top: 0;
6
- left: 0;
7
- margin-bottom: -3px;
8
- height: 3px;
9
- width: 100%;
10
- z-index: 999;
11
- @keyframes movingBar {
12
- 0% {
13
- left: 50%;
14
- right: 50%;
15
- }
16
- 99.9% {
17
- left: 0;
18
- right: 0;
19
- }
20
- 100% {
21
- left: 50%;
22
- right: 50%;
23
- }
24
- }
25
- @keyframes changeBar {
26
- 0% {
27
- background-color: #0aa770;
28
- }
29
- 33.3% {
30
- background-color: #0aa770;
31
- }
32
- 33.33% {
33
- background-color: #ff0000;
34
- }
35
- 66.6% {
36
- background-color: #f987d6;
37
- }
38
- 66.66% {
39
- background-color: #f987d6;
40
- }
41
- 99.9% {
42
- background-color: #00bcd4;
43
- }
44
- }
45
- &-bar {
46
- position: absolute;
47
- height: 0;
48
- width: 100%;
49
- text-indent: -9999px;
50
- background-color: #0aa770;
51
- animation: changeBar 2.25s infinite;
52
- &:before {
53
- content: "";
54
- height: 3px;
55
- position: absolute;
56
- left: 50%;
57
- right: 50%;
58
- background-color: inherit;
59
- animation: movingBar 0.75s infinite;
60
- }
61
- }
62
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../loading-icon/style/index');
7
- }
@@ -1,28 +0,0 @@
1
- $namespace: ab-loading-container;
2
-
3
- .#{$namespace} {
4
- position: relative;
5
-
6
- &-active {
7
- user-select: none;
8
- pointer-events: none;
9
- }
10
-
11
- &-icon-box {
12
- position: absolute;
13
- background-color: rgba(#fff, .7);
14
- top: 0;
15
- left: 0;
16
- z-index: 4;
17
- display: block;
18
- width: 100%;
19
- height: 100%;
20
- }
21
-
22
- &-icon {
23
- position: absolute;
24
- top: 50%;
25
- left: 50%;
26
- transform: translate3d(-50%, -50%, 0);
27
- }
28
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,24 +0,0 @@
1
- $namespace: ab-svg-loading;
2
-
3
- .#{$namespace} {
4
- display: inline-block;
5
-
6
- &-icon {
7
- display: block;
8
- width: .31rem;
9
- height: .31rem;
10
- animation: loading 1s infinite linear reverse;
11
- }
12
-
13
- @keyframes loading {
14
- 0% {
15
- transform: rotate(0deg)
16
- }
17
- 50% {
18
- transform: rotate(180deg)
19
- }
20
- 100% {
21
- transform: rotate(360deg)
22
- }
23
- }
24
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }