@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,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../trigger/style/index');
7
- }
@@ -1,62 +0,0 @@
1
- $namespace: ab-tooltip;
2
-
3
- .#{$namespace} {
4
- &-wrap {
5
- background-clip: padding-box;
6
- padding: .08rem .11rem .05rem;
7
- min-width: 210px;
8
- border-radius: 4px;
9
- line-height: 1.4;
10
- border: 1px solid #906C00;
11
- box-shadow: 1px 1px 5px -1px #000;
12
- background-color: #FFFAEC;
13
- }
14
-
15
- &-inner {
16
- position: relative;
17
- width: 100%;
18
- overflow: hidden;
19
- font-size: .12rem;
20
-
21
- &-expand {
22
- padding-right: .1rem;
23
- }
24
- }
25
-
26
- &-arrow {
27
- position: absolute;
28
- display: block;
29
- width: 8px;
30
- height: 8px;
31
- border-top-color: transparent;
32
- border-left-color: transparent;
33
- border-style: solid;
34
- box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
35
- background-color: #FFFAEC;
36
- border-right-color: #906C00;
37
- border-bottom-color: #906C00;
38
- border-width: 1px;
39
- }
40
-
41
- &-close {
42
- position: absolute;
43
- right: .02rem;
44
- top: .05rem;
45
- cursor: pointer;
46
- padding: 0 .05rem;
47
- color: #bfbfbf;
48
- font-size: 0.2rem;
49
- line-height: 1;
50
- z-index: 2;
51
-
52
- &:hover {
53
- color: #4A4A4A;
54
- }
55
- }
56
- }
57
-
58
- @media only screen and (max-width: 767px) {
59
- .#{$namespace}-wrap {
60
- width: calc(100% - .3rem);
61
- }
62
- }
@@ -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,79 +0,0 @@
1
- $namespace: ab-trigger;
2
- $popupFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- &-wrap {
6
- position: absolute;
7
- top: 0;
8
- left: 0;
9
- z-index: 101;
10
- }
11
-
12
- &-wrap.#{$namespace}-hidden {
13
- display: none;
14
- }
15
-
16
- &-mask {
17
- position: fixed;
18
- top: 0;
19
- left: 0;
20
- bottom: 0;
21
- right: 0;
22
- z-index: 101;
23
- background-color: transparent;
24
- display: none;
25
-
26
- &.#{$namespace}-mask-show {
27
- display: block;
28
- }
29
- }
30
- }
31
-
32
- .#{$popupFade} {
33
- &-enter, &-hr-enter, &-appear, &-hr-appear {
34
- opacity: 0;
35
- }
36
-
37
- &-enter, &-appear {
38
- transform: scale(0.7);
39
- }
40
-
41
- &-hr-enter, &-hr-appear {
42
- opacity: 0;
43
- transform: scaleY(0.7);
44
- }
45
-
46
- &-enter-active, &-hr-enter-active, &-appear-active, &-hr-appear-active {
47
- opacity: 1;
48
- transition: opacity 200ms, transform 200ms;
49
- }
50
-
51
- &-enter-active, &-appear-active {
52
- transform: scale(1);
53
- }
54
-
55
- &-hr-enter-active, &-hr-appear-active {
56
- transform: scaleY(1);
57
- }
58
-
59
- &-exit, &-hr-exit {
60
- opacity: 1;
61
- }
62
-
63
- &-exit-active, &-hr-exit-active {
64
- opacity: 0;
65
- transition: opacity 200ms, transform 200ms;
66
- }
67
-
68
- &-exit-active {
69
- transform: scale(0.7);
70
- }
71
-
72
- &-hr-exit-active {
73
- transform: scaleY(0.7);
74
- }
75
-
76
- &-exit-done, &-hr-exit-done {
77
- display: none;
78
- }
79
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('../../collapse/style/index');
7
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('./index.scss');
7
- }
@@ -1,35 +0,0 @@
1
- $namespace: ab-affix;
2
- $customFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- &, &-custom {
6
- z-index: 100;
7
- }
8
-
9
- &-custom {
10
- position: fixed;
11
- transition: transform 200ms cubic-bezier(.7, .3, .1, 1);
12
- }
13
- }
14
-
15
- .#{$customFade} {
16
- &-enter, &-appear {
17
- transform: translate(0, -100%)
18
- }
19
-
20
- &-enter-active, &-appear-active {
21
- transform: translate(0, 0);
22
- }
23
-
24
- &-exit {
25
- transform: translate(0, 0);
26
- }
27
-
28
- &-exit-active {
29
- transform: translate(0, -100%)
30
- }
31
-
32
- &-exit-done {
33
- display: none;
34
- }
35
- }
package/lib/base.scss DELETED
@@ -1,42 +0,0 @@
1
- /* reset css */
2
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, input, a, textarea {
3
- box-sizing: border-box;
4
- }
5
-
6
- html {
7
- font-size: 100px;
8
- font-family: Arial, sans-serif;
9
- touch-action: manipulation;
10
- -ms-touch-action: manipulation;
11
- }
12
-
13
- @media only screen and (max-width: 767px) {
14
- html {
15
- //font-size: 24.15459vw;
16
- // 暂时取消对UI自适应,而是统一成一种
17
- font-size: 100px;
18
- }
19
- }
20
-
21
- body {
22
- font-size: .12rem;
23
- color: #333;
24
- margin: 0;
25
- padding: 0;
26
- -webkit-font-smoothing: antialiased;
27
- -moz-osx-font-smoothing: grayscale;
28
- }
29
-
30
- a {
31
- text-decoration: none;
32
- }
33
-
34
- input {
35
- outline: none;
36
- }
37
-
38
- ul, li {
39
- padding: 0;
40
- margin: 0;
41
- list-style: none;
42
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('./index.scss');
7
- }
@@ -1,37 +0,0 @@
1
- $namespace: ab-carousel;
2
-
3
- .#{$namespace} {
4
- position: relative;
5
-
6
- &-content {
7
- position: relative;
8
- display: block;
9
- height: 100%;
10
- width: 100%;
11
- margin: 0;
12
- padding: 0;
13
- overflow: hidden;
14
- }
15
-
16
- &-list {
17
- user-select: none;
18
- position: relative;
19
- top: 0;
20
- left: 0;
21
- display: block;
22
- overflow: hidden;
23
- }
24
-
25
- &-slider {
26
- outline: none;
27
- overflow: hidden;
28
- float: left;
29
- display: none;
30
- }
31
-
32
- &.#{$namespace}-init {
33
- .#{$namespace}-slider {
34
- display: block;
35
- }
36
- }
37
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('./index.scss');
7
- }
@@ -1,118 +0,0 @@
1
- $namespace: ab-checkbox;
2
-
3
- .#{$namespace} {
4
- display: inline-block;
5
- position: relative;
6
- font-size: 0;
7
- cursor: pointer;
8
-
9
- &-input {
10
- position: absolute;
11
- opacity: 0;
12
- margin: 0;
13
- padding: 0;
14
- width: 100%;
15
- height: 100%;
16
- cursor: pointer;
17
- z-index: 2;
18
- }
19
-
20
- &-inner {
21
- display: inline-block;
22
- position: relative;
23
- width: .16rem;
24
- height: .16rem;
25
- transition: all .3s;
26
- border: .02rem solid #B0B0B0;
27
- border-radius: .02rem;
28
- background-color: #fff;
29
- }
30
-
31
- &-icon {
32
- visibility: hidden;
33
- position: absolute;
34
- width: .06rem;
35
- height: .1rem;
36
- left: 20%;
37
- top: 40%;
38
- transform: rotate(45deg) scale(0) translate(-50%, -50%);
39
- transition: all .2s;
40
- border: .02rem solid #E84040;
41
- border-top: none;
42
- border-left: none;
43
- }
44
-
45
- &.#{$namespace}-checked {
46
- .#{$namespace} {
47
- &-icon {
48
- visibility: visible;
49
- transform: rotate(45deg) scale(1) translate(-50%, -50%);
50
- }
51
- }
52
- }
53
-
54
- &.#{$namespace}-disabled {
55
- cursor: not-allowed;
56
- color: rgba(0, 0, 0, .25);
57
-
58
- .#{$namespace} {
59
- &-inner {
60
- border-color: #f0f0f0 !important;
61
- background-color: #f5f5f5 !important;
62
- }
63
-
64
- &-icon {
65
- border-color: #cecece;
66
- }
67
-
68
- &-content {
69
- text-decoration: none !important;
70
- }
71
- }
72
- }
73
-
74
- &-wrap {
75
- display: inline-block;
76
- position: relative;
77
- cursor: pointer;
78
-
79
- .#{$namespace} {
80
- position: absolute;
81
- transform: translateY(-50%);
82
- top: 50%;
83
- left: 0;
84
- }
85
-
86
- &:hover {
87
- .#{$namespace}-content {
88
- text-decoration: underline;
89
- }
90
- }
91
- }
92
-
93
- &-content {
94
- padding-left: .24rem;
95
- display: inline-block;
96
- }
97
-
98
- &-wrap.#{$namespace}-reverse {
99
- .#{$namespace} {
100
- left: auto;
101
- right: 0;
102
-
103
- &-content {
104
- padding-left: 0;
105
- padding-right: .24rem;
106
- }
107
- }
108
- }
109
-
110
- &-wrap.#{$namespace}-disabled {
111
- cursor: not-allowed;
112
- color: rgba(0, 0, 0, .25);
113
-
114
- .#{$namespace}-content {
115
- text-decoration: none !important;
116
- }
117
- }
118
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('./index.scss');
7
- }
@@ -1,43 +0,0 @@
1
- $namespace: ab-collapse;
2
- $collapseFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- transform-origin: left top;
6
- transition: opacity 200ms, height 200ms;
7
- &-hidden{
8
- height: 0;
9
- overflow: hidden;
10
- }
11
- }
12
-
13
- .#{$collapseFade} {
14
- &-enter {
15
- opacity: 0.8;
16
- overflow: hidden;
17
- }
18
-
19
- &-enter-active {
20
- opacity: 1;
21
- overflow: hidden;
22
- }
23
-
24
- &-enter-done {
25
- opacity: 1;
26
- overflow: initial;
27
- }
28
-
29
- &-exit {
30
- opacity: 1;
31
- overflow: hidden;
32
- }
33
-
34
- &-exit-active {
35
- opacity: 0.8;
36
- overflow: hidden;
37
- }
38
-
39
- &-exit-done {
40
- display: none;
41
- overflow: initial;
42
- }
43
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- var _utils = require("@autobest-ui/utils");
4
-
5
- if (_utils.canUseDOM) {
6
- require('./index.scss');
7
-
8
- require('../../modal/style/index');
9
- }
@@ -1,44 +0,0 @@
1
- $namespace: ab-confirm;
2
-
3
- .#{$namespace} {
4
- &-btns {
5
- display: flex;
6
- justify-content: flex-end;
7
- padding-top: .42rem;
8
- }
9
-
10
- &-ok, &-cancel {
11
- overflow: hidden;
12
- position: relative;
13
- font-size: .12rem;
14
- border-width: 1px;
15
- border-style: solid;
16
- outline: none;
17
- cursor: pointer;
18
- font-weight: bold;
19
- padding: .05rem .3rem;
20
- display: inline-block;
21
- color: #fff;
22
- margin-left: .3rem;
23
- }
24
-
25
- &-ok {
26
- border-color: #bc0000;
27
- background: linear-gradient(180deg, #c00000 0%, #c00000 0%, #a00000 100%, #a00000 100%);
28
-
29
- &:hover {
30
- border-color: #bc0000;
31
- background: #bc0000;
32
- }
33
- }
34
-
35
- &-cancel {
36
- border-color: #808080;
37
- background: linear-gradient(180deg, #909090 0%, #909090 0%, #707070 100%, #707070 100%);
38
-
39
- &:hover {
40
- border-color: #808080;
41
- background: #808080;
42
- }
43
- }
44
- }
@@ -1,90 +0,0 @@
1
- $namespace: ab-dp-cg;
2
-
3
- .#{$namespace} {
4
- &-title, &-head, &-content {
5
- display: flex;
6
- align-items: center;
7
- }
8
-
9
- &-title {
10
- user-select: none;
11
- font-size: .14rem;
12
- padding-bottom: .08rem;
13
-
14
- > strong {
15
- flex: 1 1;
16
- margin-left: .1rem;
17
- cursor: default;
18
- color: #4A4A4A;
19
-
20
- &.#{$namespace}-clickable {
21
- cursor: pointer;
22
-
23
- &:hover {
24
- color: #000;
25
- }
26
- }
27
- }
28
- }
29
-
30
- &-icon, &-dis-icon {
31
- align-self: flex-end;
32
- margin-left: .08rem;
33
- }
34
-
35
- &-icon {
36
- cursor: pointer;
37
- }
38
-
39
- &-head {
40
- padding-bottom: .05rem;
41
-
42
- > li {
43
- display: flex;
44
- align-items: center;
45
- justify-content: center;
46
- cursor: default;
47
- }
48
- }
49
-
50
- &-content {
51
- flex-wrap: wrap;
52
-
53
- > li {
54
- cursor: pointer;
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- color: #000;
59
-
60
- &:hover {
61
- background: #F0F0F0;
62
- }
63
-
64
- &.#{$namespace}-dis {
65
- cursor: not-allowed;
66
- color: #b0b0b0;
67
-
68
- &:hover {
69
- background: none;
70
- }
71
- }
72
-
73
- &:active, &.#{$namespace}-selected {
74
- background: #c7e0f4;
75
- border: 3px solid #C7E0F4;
76
- border-radius: 2px;
77
- color: #000000;
78
- }
79
-
80
- &.#{$namespace}-today {
81
- background: #0078D4;
82
- color: #ffffff;
83
- }
84
- }
85
- }
86
-
87
- &-arrow {
88
- cursor: pointer;
89
- }
90
- }
@@ -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 {};