@cloudtower/eagle 0.24.9 → 0.24.14

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 (154) hide show
  1. package/dist/antd/dist/antd.less +2 -0
  2. package/dist/antd/es/locale/ar_EG.d.ts +3 -0
  3. package/dist/antd/es/locale/ar_EG.js +116 -0
  4. package/dist/antd/es/locale/az_AZ.d.ts +3 -0
  5. package/dist/antd/es/locale/az_AZ.js +45 -0
  6. package/dist/antd/es/locale/bg_BG.d.ts +3 -0
  7. package/dist/antd/es/locale/bg_BG.js +43 -0
  8. package/dist/antd/es/locale/ca_ES.d.ts +3 -0
  9. package/dist/antd/es/locale/ca_ES.js +124 -0
  10. package/dist/antd/es/locale/cs_CZ.d.ts +3 -0
  11. package/dist/antd/es/locale/cs_CZ.js +54 -0
  12. package/dist/antd/es/locale/da_DK.d.ts +3 -0
  13. package/dist/antd/es/locale/da_DK.js +43 -0
  14. package/dist/antd/es/locale/de_DE.d.ts +3 -0
  15. package/dist/antd/es/locale/de_DE.js +113 -0
  16. package/dist/antd/es/locale/default.d.ts +3 -0
  17. package/dist/antd/es/locale/default.js +124 -0
  18. package/dist/antd/es/locale/el_GR.d.ts +3 -0
  19. package/dist/antd/es/locale/el_GR.js +43 -0
  20. package/dist/antd/es/locale/en_GB.d.ts +3 -0
  21. package/dist/antd/es/locale/en_GB.js +94 -0
  22. package/dist/antd/es/locale/en_US.d.ts +2 -0
  23. package/dist/antd/es/locale/en_US.js +2 -0
  24. package/dist/antd/es/locale/es_ES.d.ts +3 -0
  25. package/dist/antd/es/locale/es_ES.js +110 -0
  26. package/dist/antd/es/locale/et_EE.d.ts +3 -0
  27. package/dist/antd/es/locale/et_EE.js +43 -0
  28. package/dist/antd/es/locale/fa_IR.d.ts +3 -0
  29. package/dist/antd/es/locale/fa_IR.js +114 -0
  30. package/dist/antd/es/locale/fi_FI.d.ts +3 -0
  31. package/dist/antd/es/locale/fi_FI.js +50 -0
  32. package/dist/antd/es/locale/fr_BE.d.ts +3 -0
  33. package/dist/antd/es/locale/fr_BE.js +47 -0
  34. package/dist/antd/es/locale/fr_FR.d.ts +3 -0
  35. package/dist/antd/es/locale/fr_FR.js +59 -0
  36. package/dist/antd/es/locale/ga_IE.d.ts +3 -0
  37. package/dist/antd/es/locale/ga_IE.js +123 -0
  38. package/dist/antd/es/locale/he_IL.d.ts +3 -0
  39. package/dist/antd/es/locale/he_IL.js +116 -0
  40. package/dist/antd/es/locale/hi_IN.d.ts +3 -0
  41. package/dist/antd/es/locale/hi_IN.js +51 -0
  42. package/dist/antd/es/locale/hr_HR.d.ts +3 -0
  43. package/dist/antd/es/locale/hr_HR.js +57 -0
  44. package/dist/antd/es/locale/hu_HU.d.ts +3 -0
  45. package/dist/antd/es/locale/hu_HU.js +44 -0
  46. package/dist/antd/es/locale/hy_AM.d.ts +3 -0
  47. package/dist/antd/es/locale/hy_AM.js +109 -0
  48. package/dist/antd/es/locale/id_ID.d.ts +3 -0
  49. package/dist/antd/es/locale/id_ID.js +45 -0
  50. package/dist/antd/es/locale/is_IS.d.ts +3 -0
  51. package/dist/antd/es/locale/is_IS.js +43 -0
  52. package/dist/antd/es/locale/it_IT.d.ts +3 -0
  53. package/dist/antd/es/locale/it_IT.js +59 -0
  54. package/dist/antd/es/locale/ja_JP.d.ts +3 -0
  55. package/dist/antd/es/locale/ja_JP.js +94 -0
  56. package/dist/antd/es/locale/kn_IN.d.ts +3 -0
  57. package/dist/antd/es/locale/kn_IN.js +51 -0
  58. package/dist/antd/es/locale/ko_KR.d.ts +3 -0
  59. package/dist/antd/es/locale/ko_KR.js +94 -0
  60. package/dist/antd/es/locale/ku_IQ.d.ts +3 -0
  61. package/dist/antd/es/locale/ku_IQ.js +43 -0
  62. package/dist/antd/es/locale/lv_LV.d.ts +3 -0
  63. package/dist/antd/es/locale/lv_LV.js +43 -0
  64. package/dist/antd/es/locale/mk_MK.d.ts +3 -0
  65. package/dist/antd/es/locale/mk_MK.js +58 -0
  66. package/dist/antd/es/locale/mn_MN.d.ts +3 -0
  67. package/dist/antd/es/locale/mn_MN.js +43 -0
  68. package/dist/antd/es/locale/ms_MY.d.ts +3 -0
  69. package/dist/antd/es/locale/ms_MY.js +63 -0
  70. package/dist/antd/es/locale/nb_NO.d.ts +3 -0
  71. package/dist/antd/es/locale/nb_NO.js +124 -0
  72. package/dist/antd/es/locale/ne_NP.d.ts +3 -0
  73. package/dist/antd/es/locale/ne_NP.js +44 -0
  74. package/dist/antd/es/locale/nl_BE.d.ts +3 -0
  75. package/dist/antd/es/locale/nl_BE.js +43 -0
  76. package/dist/antd/es/locale/nl_NL.d.ts +3 -0
  77. package/dist/antd/es/locale/nl_NL.js +62 -0
  78. package/dist/antd/es/locale/pl_PL.d.ts +3 -0
  79. package/dist/antd/es/locale/pl_PL.js +43 -0
  80. package/dist/antd/es/locale/pt_BR.d.ts +3 -0
  81. package/dist/antd/es/locale/pt_BR.js +116 -0
  82. package/dist/antd/es/locale/pt_PT.d.ts +3 -0
  83. package/dist/antd/es/locale/pt_PT.js +44 -0
  84. package/dist/antd/es/locale/ro_RO.d.ts +3 -0
  85. package/dist/antd/es/locale/ro_RO.js +62 -0
  86. package/dist/antd/es/locale/ru_RU.d.ts +3 -0
  87. package/dist/antd/es/locale/ru_RU.js +116 -0
  88. package/dist/antd/es/locale/sk_SK.d.ts +3 -0
  89. package/dist/antd/es/locale/sk_SK.js +62 -0
  90. package/dist/antd/es/locale/sl_SI.d.ts +3 -0
  91. package/dist/antd/es/locale/sl_SI.js +43 -0
  92. package/dist/antd/es/locale/sr_RS.d.ts +3 -0
  93. package/dist/antd/es/locale/sr_RS.js +43 -0
  94. package/dist/antd/es/locale/sv_SE.d.ts +3 -0
  95. package/dist/antd/es/locale/sv_SE.js +47 -0
  96. package/dist/antd/es/locale/ta_IN.d.ts +3 -0
  97. package/dist/antd/es/locale/ta_IN.js +63 -0
  98. package/dist/antd/es/locale/th_TH.d.ts +3 -0
  99. package/dist/antd/es/locale/th_TH.js +62 -0
  100. package/dist/antd/es/locale/tr_TR.d.ts +3 -0
  101. package/dist/antd/es/locale/tr_TR.js +124 -0
  102. package/dist/antd/es/locale/uk_UA.d.ts +3 -0
  103. package/dist/antd/es/locale/uk_UA.js +43 -0
  104. package/dist/antd/es/locale/vi_VN.d.ts +3 -0
  105. package/dist/antd/es/locale/vi_VN.js +43 -0
  106. package/dist/antd/es/locale/zh_CN.d.ts +3 -0
  107. package/dist/antd/es/locale/zh_CN.js +124 -0
  108. package/dist/antd/es/locale/zh_HK.d.ts +3 -0
  109. package/dist/antd/es/locale/zh_HK.js +117 -0
  110. package/dist/antd/es/locale/zh_TW.d.ts +3 -0
  111. package/dist/antd/es/locale/zh_TW.js +117 -0
  112. package/dist/antd/lib/style/color/bezierEasing.less +110 -0
  113. package/dist/antd/lib/style/color/colorPalette.less +81 -0
  114. package/dist/antd/lib/style/color/colors.less +162 -0
  115. package/dist/antd/lib/style/color/tinyColor.less +1184 -0
  116. package/dist/antd/lib/style/compact.less +2 -0
  117. package/dist/antd/lib/style/components.less +63 -0
  118. package/dist/antd/lib/style/core/base.less +17 -0
  119. package/dist/antd/lib/style/core/global.less +501 -0
  120. package/dist/antd/lib/style/core/iconfont.less +19 -0
  121. package/dist/antd/lib/style/core/index.less +5 -0
  122. package/dist/antd/lib/style/core/motion/fade.less +31 -0
  123. package/dist/antd/lib/style/core/motion/move.less +120 -0
  124. package/dist/antd/lib/style/core/motion/other.less +51 -0
  125. package/dist/antd/lib/style/core/motion/slide.less +120 -0
  126. package/dist/antd/lib/style/core/motion/zoom.less +162 -0
  127. package/dist/antd/lib/style/core/motion.less +19 -0
  128. package/dist/antd/lib/style/css.js +3 -0
  129. package/dist/antd/lib/style/dark.less +2 -0
  130. package/dist/antd/lib/style/index.css +2005 -0
  131. package/dist/antd/lib/style/index.d.ts +1 -0
  132. package/dist/antd/lib/style/index.js +3 -0
  133. package/dist/antd/lib/style/index.less +2 -0
  134. package/dist/antd/lib/style/mixins/clearfix.less +15 -0
  135. package/dist/antd/lib/style/mixins/compatibility.less +17 -0
  136. package/dist/antd/lib/style/mixins/customize.less +170 -0
  137. package/dist/antd/lib/style/mixins/iconfont.less +35 -0
  138. package/dist/antd/lib/style/mixins/index.less +11 -0
  139. package/dist/antd/lib/style/mixins/motion.less +35 -0
  140. package/dist/antd/lib/style/mixins/operation-unit.less +18 -0
  141. package/dist/antd/lib/style/mixins/reset.less +13 -0
  142. package/dist/antd/lib/style/mixins/size.less +10 -0
  143. package/dist/antd/lib/style/mixins/typography.less +49 -0
  144. package/dist/antd/lib/style/themes/compact.less +299 -0
  145. package/dist/antd/lib/style/themes/dark.less +431 -0
  146. package/dist/antd/lib/style/themes/default.less +989 -0
  147. package/dist/antd/lib/style/themes/index.less +1 -0
  148. package/dist/components.css +737 -737
  149. package/dist/esm/stats1.html +1 -1
  150. package/dist/index.d.ts +1 -1
  151. package/dist/spec/base.d.ts +5 -9
  152. package/dist/style.css +283 -283
  153. package/dist/umd/stats1.html +1 -1
  154. package/package.json +10 -6
@@ -0,0 +1,2 @@
1
+ @import './themes/compact.less';
2
+ @import './core/index';
@@ -0,0 +1,63 @@
1
+ @import "../affix/style/index.less";
2
+ @import "../alert/style/index.less";
3
+ @import "../anchor/style/index.less";
4
+ @import "../auto-complete/style/index.less";
5
+ @import "../avatar/style/index.less";
6
+ @import "../back-top/style/index.less";
7
+ @import "../badge/style/index.less";
8
+ @import "../breadcrumb/style/index.less";
9
+ @import "../button/style/index.less";
10
+ @import "../calendar/style/index.less";
11
+ @import "../card/style/index.less";
12
+ @import "../carousel/style/index.less";
13
+ @import "../cascader/style/index.less";
14
+ @import "../checkbox/style/index.less";
15
+ @import "../collapse/style/index.less";
16
+ @import "../comment/style/index.less";
17
+ @import "../config-provider/style/index.less";
18
+ @import "../date-picker/style/index.less";
19
+ @import "../descriptions/style/index.less";
20
+ @import "../divider/style/index.less";
21
+ @import "../drawer/style/index.less";
22
+ @import "../dropdown/style/index.less";
23
+ @import "../empty/style/index.less";
24
+ @import "../form/style/index.less";
25
+ @import "../grid/style/index.less";
26
+ @import "../icon/style/index.less";
27
+ @import "../input/style/index.less";
28
+ @import "../input-number/style/index.less";
29
+ @import "../layout/style/index.less";
30
+ @import "../list/style/index.less";
31
+ @import "../locale-provider/style/index.less";
32
+ @import "../mentions/style/index.less";
33
+ @import "../menu/style/index.less";
34
+ @import "../message/style/index.less";
35
+ @import "../modal/style/index.less";
36
+ @import "../notification/style/index.less";
37
+ @import "../page-header/style/index.less";
38
+ @import "../pagination/style/index.less";
39
+ @import "../popconfirm/style/index.less";
40
+ @import "../popover/style/index.less";
41
+ @import "../progress/style/index.less";
42
+ @import "../radio/style/index.less";
43
+ @import "../rate/style/index.less";
44
+ @import "../result/style/index.less";
45
+ @import "../select/style/index.less";
46
+ @import "../skeleton/style/index.less";
47
+ @import "../slider/style/index.less";
48
+ @import "../space/style/index.less";
49
+ @import "../spin/style/index.less";
50
+ @import "../statistic/style/index.less";
51
+ @import "../steps/style/index.less";
52
+ @import "../switch/style/index.less";
53
+ @import "../table/style/index.less";
54
+ @import "../tabs/style/index.less";
55
+ @import "../tag/style/index.less";
56
+ @import "../time-picker/style/index.less";
57
+ @import "../timeline/style/index.less";
58
+ @import "../tooltip/style/index.less";
59
+ @import "../transfer/style/index.less";
60
+ @import "../tree/style/index.less";
61
+ @import "../tree-select/style/index.less";
62
+ @import "../typography/style/index.less";
63
+ @import "../upload/style/index.less";
@@ -0,0 +1,17 @@
1
+ // Config global less under antd
2
+ [class^=~'@{ant-prefix}-'],
3
+ [class*=~' @{ant-prefix}-'] {
4
+ // remove the clear button of a text input control in IE10+
5
+ &::-ms-clear,
6
+ input::-ms-clear,
7
+ input::-ms-reveal {
8
+ display: none;
9
+ }
10
+
11
+ &,
12
+ *,
13
+ *::before,
14
+ *::after {
15
+ box-sizing: border-box; // 1
16
+ }
17
+ }
@@ -0,0 +1,501 @@
1
+ /* stylelint-disable at-rule-no-unknown */
2
+
3
+ // Reboot
4
+ //
5
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
6
+ // styles targeting irrelevant browsers while applying new styles.
7
+ //
8
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
9
+
10
+ // HTML & Body reset
11
+ @{html-selector},
12
+ body {
13
+ .square(100%);
14
+ }
15
+
16
+ // remove the clear button of a text input control in IE10+
17
+ input::-ms-clear,
18
+ input::-ms-reveal {
19
+ display: none;
20
+ }
21
+
22
+ // Document
23
+ //
24
+ // 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
25
+ // 2. Change the default font family in all browsers.
26
+ // 3. Correct the line height in all browsers.
27
+ // 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
28
+ // 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
29
+ // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
30
+ // 6. Change the default tap highlight to be completely transparent in iOS.
31
+
32
+ *,
33
+ *::before,
34
+ *::after {
35
+ box-sizing: border-box; // 1
36
+ }
37
+
38
+ @{html-selector} {
39
+ font-family: sans-serif; // 2
40
+ line-height: 1.15; // 3
41
+ -webkit-text-size-adjust: 100%; // 4
42
+ -ms-text-size-adjust: 100%; // 4
43
+ -ms-overflow-style: scrollbar; // 5
44
+ -webkit-tap-highlight-color: fade(@black, 0%); // 6
45
+ }
46
+
47
+ // IE10+ doesn't honor `<meta name="viewport">` in some cases.
48
+ @-ms-viewport {
49
+ width: device-width;
50
+ }
51
+
52
+ // Body
53
+ //
54
+ // 1. remove the margin in all browsers.
55
+ // 2. As a best practice, apply a default `body-background`.
56
+
57
+ body {
58
+ margin: 0; // 1
59
+ color: @text-color;
60
+ font-size: @font-size-base;
61
+ font-family: @font-family;
62
+ font-variant: @font-variant-base;
63
+ line-height: @line-height-base;
64
+ background-color: @body-background; // 2
65
+ font-feature-settings: @font-feature-settings-base;
66
+ }
67
+
68
+ // Suppress the focus outline on elements that cannot be accessed via keyboard.
69
+ // This prevents an unwanted focus outline from appearing around elements that
70
+ // might still respond to pointer events.
71
+ //
72
+ // Credit: https://github.com/suitcss/base
73
+ [tabindex='-1']:focus {
74
+ outline: none !important;
75
+ }
76
+
77
+ // Content grouping
78
+ //
79
+ // 1. Add the correct box sizing in Firefox.
80
+ // 2. Show the overflow in Edge and IE.
81
+
82
+ hr {
83
+ box-sizing: content-box; // 1
84
+ height: 0; // 1
85
+ overflow: visible; // 2
86
+ }
87
+
88
+ //
89
+ // Typography
90
+ //
91
+
92
+ // remove top margins from headings
93
+ //
94
+ // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
95
+ // margin for easier control within type scales as it avoids margin collapsing.
96
+ h1,
97
+ h2,
98
+ h3,
99
+ h4,
100
+ h5,
101
+ h6 {
102
+ margin-top: 0;
103
+ margin-bottom: 0.5em;
104
+ color: @heading-color;
105
+ font-weight: 500;
106
+ }
107
+
108
+ // Reset margins on paragraphs
109
+ //
110
+ // Similarly, the top margin on `<p>`s get reset. However, we also reset the
111
+ // bottom margin to use `em` units instead of `em`.
112
+ p {
113
+ margin-top: 0;
114
+ margin-bottom: 1em;
115
+ }
116
+
117
+ // Abbreviations
118
+ //
119
+ // 1. remove the bottom border in Firefox 39-.
120
+ // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
121
+ // 3. Add explicit cursor to indicate changed behavior.
122
+ // 4. Duplicate behavior to the data-* attribute for our tooltip plugin
123
+
124
+ abbr[title],
125
+ abbr[data-original-title] {
126
+ // 4
127
+ text-decoration: underline; // 2
128
+ text-decoration: underline dotted; // 2
129
+ border-bottom: 0; // 1
130
+ cursor: help; // 3
131
+ }
132
+
133
+ address {
134
+ margin-bottom: 1em;
135
+ font-style: normal;
136
+ line-height: inherit;
137
+ }
138
+
139
+ input[type='text'],
140
+ input[type='password'],
141
+ input[type='number'],
142
+ textarea {
143
+ -webkit-appearance: none;
144
+ }
145
+
146
+ ol,
147
+ ul,
148
+ dl {
149
+ margin-top: 0;
150
+ margin-bottom: 1em;
151
+ }
152
+
153
+ ol ol,
154
+ ul ul,
155
+ ol ul,
156
+ ul ol {
157
+ margin-bottom: 0;
158
+ }
159
+
160
+ dt {
161
+ font-weight: 500;
162
+ }
163
+
164
+ dd {
165
+ margin-bottom: 0.5em;
166
+ margin-left: 0; // Undo browser default
167
+ }
168
+
169
+ blockquote {
170
+ margin: 0 0 1em;
171
+ }
172
+
173
+ dfn {
174
+ font-style: italic; // Add the correct font style in Android 4.3-
175
+ }
176
+
177
+ b,
178
+ strong {
179
+ font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari
180
+ }
181
+
182
+ small {
183
+ font-size: 80%; // Add the correct font size in all browsers
184
+ }
185
+
186
+ //
187
+ // Prevent `sub` and `sup` elements from affecting the line height in
188
+ // all browsers.
189
+ //
190
+
191
+ sub,
192
+ sup {
193
+ position: relative;
194
+ font-size: 75%;
195
+ line-height: 0;
196
+ vertical-align: baseline;
197
+ }
198
+
199
+ sub {
200
+ bottom: -0.25em;
201
+ }
202
+ sup {
203
+ top: -0.5em;
204
+ }
205
+
206
+ //
207
+ // Links
208
+ //
209
+
210
+ a {
211
+ color: @link-color;
212
+ text-decoration: @link-decoration;
213
+ background-color: transparent; // remove the gray background on active links in IE 10.
214
+ outline: none;
215
+ cursor: pointer;
216
+ transition: color 0.3s;
217
+ -webkit-text-decoration-skip: objects; // remove gaps in links underline in iOS 8+ and Safari 8+.
218
+
219
+ &:hover {
220
+ color: @link-hover-color;
221
+ }
222
+
223
+ &:active {
224
+ color: @link-active-color;
225
+ }
226
+
227
+ &:active,
228
+ &:hover {
229
+ text-decoration: @link-hover-decoration;
230
+ outline: 0;
231
+ }
232
+
233
+ // https://github.com/ant-design/ant-design/issues/22503
234
+ &:focus {
235
+ text-decoration: @link-focus-decoration;
236
+ outline: @link-focus-outline;
237
+ }
238
+
239
+ &[disabled] {
240
+ color: @disabled-color;
241
+ cursor: not-allowed;
242
+ pointer-events: none;
243
+ }
244
+ }
245
+
246
+ //
247
+ // Code
248
+ //
249
+
250
+ pre,
251
+ code,
252
+ kbd,
253
+ samp {
254
+ font-size: 1em; // Correct the odd `em` font sizing in all browsers.
255
+ font-family: @code-family;
256
+ }
257
+
258
+ pre {
259
+ // remove browser default top margin
260
+ margin-top: 0;
261
+ // Reset browser default of `1em` to use `em`s
262
+ margin-bottom: 1em;
263
+ // Don't allow content to break outside
264
+ overflow: auto;
265
+ }
266
+
267
+ //
268
+ // Figures
269
+ //
270
+ figure {
271
+ // Apply a consistent margin strategy (matches our type styles).
272
+ margin: 0 0 1em;
273
+ }
274
+
275
+ //
276
+ // Images and content
277
+ //
278
+
279
+ img {
280
+ vertical-align: middle;
281
+ border-style: none; // remove the border on images inside links in IE 10-.
282
+ }
283
+
284
+ svg:not(:root) {
285
+ overflow: hidden; // Hide the overflow in IE
286
+ }
287
+
288
+ // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
289
+ //
290
+ // In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
291
+ // DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
292
+ // However, they DO support emoving the click delay via `touch-action: manipulation`.
293
+ // See:
294
+ // * https://getbootstrap.com/docs/4.0/content/reboot/#click-delay-optimization-for-touch
295
+ // * http://caniuse.com/#feat=css-touch-action
296
+ // * https://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
297
+
298
+ a,
299
+ area,
300
+ button,
301
+ [role='button'],
302
+ input:not([type='range']),
303
+ label,
304
+ select,
305
+ summary,
306
+ textarea {
307
+ touch-action: manipulation;
308
+ }
309
+
310
+ //
311
+ // Tables
312
+ //
313
+
314
+ table {
315
+ border-collapse: collapse; // Prevent double borders
316
+ }
317
+
318
+ caption {
319
+ padding-top: 0.75em;
320
+ padding-bottom: 0.3em;
321
+ color: @text-color-secondary;
322
+ text-align: left;
323
+ caption-side: bottom;
324
+ }
325
+
326
+ th {
327
+ // Matches default `<td>` alignment by inheriting from the `<body>`, or the
328
+ // closest parent with a set `text-align`.
329
+ text-align: inherit;
330
+ }
331
+
332
+ //
333
+ // Forms
334
+ //
335
+
336
+ input,
337
+ button,
338
+ select,
339
+ optgroup,
340
+ textarea {
341
+ margin: 0; // remove the margin in Firefox and Safari
342
+ color: inherit;
343
+ font-size: inherit;
344
+ font-family: inherit;
345
+ line-height: inherit;
346
+ }
347
+
348
+ button,
349
+ input {
350
+ overflow: visible; // Show the overflow in Edge
351
+ }
352
+
353
+ button,
354
+ select {
355
+ text-transform: none; // remove the inheritance of text transform in Firefox
356
+ }
357
+
358
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
359
+ // controls in Android 4.
360
+ // 2. Correct the inability to style clickable types in iOS and Safari.
361
+ button,
362
+ @{html-selector} [type="button"], /* 1 */
363
+ [type="reset"],
364
+ [type="submit"] {
365
+ -webkit-appearance: button; // 2
366
+ }
367
+
368
+ // remove inner border and padding from Firefox, but don't restore the outline like Normalize.
369
+ button::-moz-focus-inner,
370
+ [type='button']::-moz-focus-inner,
371
+ [type='reset']::-moz-focus-inner,
372
+ [type='submit']::-moz-focus-inner {
373
+ padding: 0;
374
+ border-style: none;
375
+ }
376
+
377
+ input[type='radio'],
378
+ input[type='checkbox'] {
379
+ box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
380
+ padding: 0; // 2. remove the padding in IE 10-
381
+ }
382
+
383
+ input[type='date'],
384
+ input[type='time'],
385
+ input[type='datetime-local'],
386
+ input[type='month'] {
387
+ // remove the default appearance of temporal inputs to avoid a Mobile Safari
388
+ // bug where setting a custom line-height prevents text from being vertically
389
+ // centered within the input.
390
+ // See https://bugs.webkit.org/show_bug.cgi?id=139848
391
+ // and https://github.com/twbs/bootstrap/issues/11266
392
+ -webkit-appearance: listbox;
393
+ }
394
+
395
+ textarea {
396
+ overflow: auto; // remove the default vertical scrollbar in IE.
397
+ // Textareas should really only resize vertically so they don't break their (horizontal) containers.
398
+ resize: vertical;
399
+ }
400
+
401
+ fieldset {
402
+ // Browsers set a default `min-width: min-content;` on fieldsets,
403
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
404
+ // So we reset that to ensure fieldsets behave more like a standard block element.
405
+ // See https://github.com/twbs/bootstrap/issues/12359
406
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
407
+ min-width: 0;
408
+ margin: 0;
409
+ // Reset the default outline behavior of fieldsets so they don't affect page layout.
410
+ padding: 0;
411
+ border: 0;
412
+ }
413
+
414
+ // 1. Correct the text wrapping in Edge and IE.
415
+ // 2. Correct the color inheritance from `fieldset` elements in IE.
416
+ legend {
417
+ display: block;
418
+ width: 100%;
419
+ max-width: 100%; // 1
420
+ margin-bottom: 0.5em;
421
+ padding: 0;
422
+ color: inherit; // 2
423
+ font-size: 1.5em;
424
+ line-height: inherit;
425
+ white-space: normal; // 1
426
+ }
427
+
428
+ progress {
429
+ vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
430
+ }
431
+
432
+ // Correct the cursor style of incement and decement buttons in Chrome.
433
+ [type='number']::-webkit-inner-spin-button,
434
+ [type='number']::-webkit-outer-spin-button {
435
+ height: auto;
436
+ }
437
+
438
+ [type='search'] {
439
+ // This overrides the extra rounded corners on search inputs in iOS so that our
440
+ // `.form-control` class can properly style them. Note that this cannot simply
441
+ // be added to `.form-control` as it's not specific enough. For details, see
442
+ // https://github.com/twbs/bootstrap/issues/11586.
443
+ outline-offset: -2px; // 2. Correct the outline style in Safari.
444
+ -webkit-appearance: none;
445
+ }
446
+
447
+ //
448
+ // remove the inner padding and cancel buttons in Chrome and Safari on macOS.
449
+ //
450
+
451
+ [type='search']::-webkit-search-cancel-button,
452
+ [type='search']::-webkit-search-decoration {
453
+ -webkit-appearance: none;
454
+ }
455
+
456
+ //
457
+ // 1. Correct the inability to style clickable types in iOS and Safari.
458
+ // 2. Change font properties to `inherit` in Safari.
459
+ //
460
+
461
+ ::-webkit-file-upload-button {
462
+ font: inherit; // 2
463
+ -webkit-appearance: button; // 1
464
+ }
465
+
466
+ //
467
+ // Correct element displays
468
+ //
469
+
470
+ output {
471
+ display: inline-block;
472
+ }
473
+
474
+ summary {
475
+ display: list-item; // Add the correct display in all browsers
476
+ }
477
+
478
+ template {
479
+ display: none; // Add the correct display in IE
480
+ }
481
+
482
+ // Always hide an element with the `hidden` HTML attribute (from PureCSS).
483
+ // Needed for proper display in IE 10-.
484
+ [hidden] {
485
+ display: none !important;
486
+ }
487
+
488
+ mark {
489
+ padding: 0.2em;
490
+ background-color: @yellow-1;
491
+ }
492
+
493
+ ::selection {
494
+ color: @text-color-inverse;
495
+ background: @text-selection-bg;
496
+ }
497
+
498
+ // Utility classes
499
+ .clearfix {
500
+ .clearfix();
501
+ }
@@ -0,0 +1,19 @@
1
+ @import '../themes/index';
2
+ @import '../mixins/iconfont';
3
+
4
+ .@{iconfont-css-prefix} {
5
+ .iconfont-mixin();
6
+
7
+ &[tabindex] {
8
+ cursor: pointer;
9
+ }
10
+ }
11
+
12
+ .@{iconfont-css-prefix}-spin::before {
13
+ display: inline-block;
14
+ animation: loadingCircle 1s infinite linear;
15
+ }
16
+ .@{iconfont-css-prefix}-spin {
17
+ display: inline-block;
18
+ animation: loadingCircle 1s infinite linear;
19
+ }
@@ -0,0 +1,5 @@
1
+ @import '../mixins/index';
2
+ @import 'base';
3
+ @import 'global';
4
+ @import 'iconfont';
5
+ @import 'motion';
@@ -0,0 +1,31 @@
1
+ .fade-motion(@className, @keyframeName) {
2
+ .make-motion(@className, @keyframeName);
3
+ .@{className}-enter,
4
+ .@{className}-appear {
5
+ opacity: 0;
6
+ animation-timing-function: linear;
7
+ }
8
+ .@{className}-leave {
9
+ animation-timing-function: linear;
10
+ }
11
+ }
12
+
13
+ .fade-motion(fade, antFade);
14
+
15
+ @keyframes antFadeIn {
16
+ 0% {
17
+ opacity: 0;
18
+ }
19
+ 100% {
20
+ opacity: 1;
21
+ }
22
+ }
23
+
24
+ @keyframes antFadeOut {
25
+ 0% {
26
+ opacity: 1;
27
+ }
28
+ 100% {
29
+ opacity: 0;
30
+ }
31
+ }