@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 @@
1
+ import './index.less';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
@@ -0,0 +1,2 @@
1
+ @import './themes/index';
2
+ @import './core/index';
@@ -0,0 +1,15 @@
1
+ // mixins for clearfix
2
+ // ------------------------
3
+ .clearfix() {
4
+ // https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
5
+ &::before {
6
+ display: table;
7
+ content: '';
8
+ }
9
+ &::after {
10
+ // https://github.com/ant-design/ant-design/issues/21864
11
+ display: table;
12
+ clear: both;
13
+ content: '';
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ // Compatibility for browsers.
2
+
3
+ // Placeholder text
4
+ .placeholder(@color: @input-placeholder-color) {
5
+ // Firefox
6
+ &::-moz-placeholder {
7
+ opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
8
+ }
9
+
10
+ &::placeholder {
11
+ color: @color;
12
+ }
13
+
14
+ &:placeholder-shown {
15
+ text-overflow: ellipsis;
16
+ }
17
+ }
@@ -0,0 +1,170 @@
1
+ // customize dark components background in popover containers(like Modal, Drawer, Card, Popover, Popconfirm, Notification, ...)
2
+ // for dark theme
3
+ .popover-customize-bg(@containerClass, @background: @popover-background, @prefix: @ant-prefix) when (@theme = dark) {
4
+ @picker-prefix-cls: ~'@{prefix}-picker';
5
+ @slider-prefix-cls: ~'@{prefix}-slider';
6
+ @anchor-prefix-cls: ~'@{prefix}-anchor';
7
+ @collapse-prefix-cls: ~'@{prefix}-collapse';
8
+ @tab-prefix-cls: ~'@{prefix}-tabs';
9
+ @timeline-prefix-cls: ~'@{prefix}-timeline';
10
+ @tree-prefix-cls: ~'@{prefix}-tree';
11
+ @card-prefix-cls: ~'@{prefix}-card';
12
+ @badge-prefix-cls: ~'@{prefix}-badge';
13
+ @transfer-prefix-cls: ~'@{prefix}-transfer';
14
+ @calendar-prefix-cls: ~'@{prefix}-picker-calendar';
15
+ @calendar-picker-prefix-cls: ~'@{prefix}-picker';
16
+ @table-prefix-cls: ~'@{prefix}-table';
17
+
18
+ @popover-border: @border-width-base @border-style-base @popover-customize-border-color;
19
+
20
+ .@{containerClass} {
21
+ .@{picker-prefix-cls}-clear, .@{slider-prefix-cls}-handle, .@{anchor-prefix-cls}-wrapper, .@{collapse-prefix-cls}-content, .@{timeline-prefix-cls}-item-head, .@{card-prefix-cls} {
22
+ background-color: @background;
23
+ }
24
+
25
+ .@{transfer-prefix-cls} {
26
+ &-list {
27
+ &-header {
28
+ background: @background;
29
+ border-bottom: @popover-border;
30
+ }
31
+ &-content-item:not(.@{transfer-prefix-cls}-list-content-item-disabled):hover {
32
+ background-color: @item-hover-bg;
33
+ }
34
+ }
35
+ }
36
+
37
+ tr.@{table-prefix-cls}-expanded-row {
38
+ &,
39
+ &:hover {
40
+ > td {
41
+ background: #272727;
42
+ }
43
+ }
44
+ }
45
+ .@{table-prefix-cls}.@{table-prefix-cls}-small {
46
+ thead {
47
+ > tr {
48
+ > th {
49
+ background-color: @background;
50
+ border-bottom: @popover-border;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ .@{table-prefix-cls} {
56
+ background-color: @background;
57
+ .@{table-prefix-cls}-row-expand-icon {
58
+ border: @popover-border;
59
+ }
60
+ tfoot {
61
+ > tr {
62
+ > th,
63
+ > td {
64
+ border-bottom: @popover-border;
65
+ }
66
+ }
67
+ }
68
+ thead {
69
+ > tr {
70
+ > th {
71
+ background-color: #272727;
72
+ border-bottom: @popover-border;
73
+ }
74
+ }
75
+ }
76
+ tbody {
77
+ > tr {
78
+ > td {
79
+ border-bottom: @popover-border;
80
+ &.@{table-prefix-cls}-cell-fix-left, &.@{table-prefix-cls}-cell-fix-right {
81
+ background-color: @background;
82
+ }
83
+ }
84
+ &.@{table-prefix-cls}-row:hover {
85
+ > td {
86
+ background: @table-header-sort-active-bg;
87
+ }
88
+ }
89
+ }
90
+ }
91
+ &.@{table-prefix-cls}-bordered {
92
+ .@{table-prefix-cls}-title {
93
+ border: @popover-border;
94
+ }
95
+
96
+ // ============================= Cell =============================
97
+ thead > tr > th,
98
+ tbody > tr > td,
99
+ tfoot > tr > th,
100
+ tfoot > tr > td {
101
+ border-right: @popover-border;
102
+ }
103
+
104
+ // Fixed right should provides additional border
105
+ .@{table-prefix-cls}-cell-fix-right-first::after {
106
+ border-right: @popover-border;
107
+ }
108
+
109
+ // ============================ Header ============================
110
+ table > {
111
+ thead {
112
+ > tr:not(:last-child) > th {
113
+ border-bottom: @border-width-base @border-style-base @border-color-split;
114
+ }
115
+ }
116
+ }
117
+
118
+ // =========================== Content ============================
119
+ .@{table-prefix-cls}-container {
120
+ border: @popover-border;
121
+ }
122
+
123
+ // ========================== Expandable ==========================
124
+ .@{table-prefix-cls}-expanded-row-fixed {
125
+ &::after {
126
+ border-right: @popover-border;
127
+ }
128
+ }
129
+
130
+ .@{table-prefix-cls}-footer {
131
+ border: @popover-border;
132
+ }
133
+ }
134
+ .@{table-prefix-cls}-filter-trigger-container-open {
135
+ background-color: #525252;
136
+ }
137
+ }
138
+
139
+ .@{calendar-prefix-cls}-full {
140
+ background-color: @background;
141
+ .@{calendar-picker-prefix-cls}-panel {
142
+ background-color: @background;
143
+ .@{calendar-prefix-cls}-date {
144
+ border-top: 2px solid @popover-customize-border-color;
145
+ }
146
+ }
147
+ }
148
+
149
+ .@{tab-prefix-cls} {
150
+ &.@{tab-prefix-cls}-card .@{tab-prefix-cls}-card-bar .@{tab-prefix-cls}-tab-active {
151
+ background-color: @background;
152
+ border-bottom: @border-width-base solid @background;
153
+ }
154
+ }
155
+
156
+ .@{badge-prefix-cls} {
157
+ &-count {
158
+ box-shadow: 0 0 0 1px @background;
159
+ }
160
+ }
161
+
162
+ .@{tree-prefix-cls} {
163
+ &-show-line {
164
+ .@{tree-prefix-cls}-switcher {
165
+ background: @background;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
@@ -0,0 +1,35 @@
1
+ .iconfont-mixin() {
2
+ display: inline-block;
3
+ color: @icon-color;
4
+ font-style: normal;
5
+ line-height: 0;
6
+ text-align: center;
7
+ text-transform: none;
8
+ vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
9
+ text-rendering: optimizeLegibility;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+
13
+ > * {
14
+ line-height: 1;
15
+ }
16
+
17
+ svg {
18
+ display: inline-block;
19
+ }
20
+
21
+ &::before {
22
+ display: none; // dont display old icon.
23
+ }
24
+
25
+ & &-icon {
26
+ display: block;
27
+ }
28
+ }
29
+
30
+ // for iconfont font size
31
+ // fix chrome 12px bug
32
+ .iconfont-size-under-12px(@size) {
33
+ display: inline-block;
34
+ font-size: @size;
35
+ }
@@ -0,0 +1,11 @@
1
+ // Mixins
2
+ // --------------------------------------------------
3
+ @import 'size';
4
+ @import 'compatibility';
5
+ @import 'clearfix';
6
+ @import 'iconfont';
7
+ @import 'motion';
8
+ @import 'reset';
9
+ @import 'operation-unit';
10
+ @import 'typography';
11
+ @import 'customize';
@@ -0,0 +1,35 @@
1
+ @import '../themes/index';
2
+
3
+ .motion-common(@duration: @animation-duration-base) {
4
+ animation-duration: @duration;
5
+ animation-fill-mode: both;
6
+ }
7
+
8
+ .motion-common-leave(@duration: @animation-duration-base) {
9
+ animation-duration: @duration;
10
+ animation-fill-mode: both;
11
+ }
12
+
13
+ .make-motion(@className, @keyframeName, @duration: @animation-duration-base) {
14
+ .@{className}-enter,
15
+ .@{className}-appear {
16
+ .motion-common(@duration);
17
+
18
+ animation-play-state: paused;
19
+ }
20
+ .@{className}-leave {
21
+ .motion-common-leave(@duration);
22
+
23
+ animation-play-state: paused;
24
+ }
25
+ .@{className}-enter.@{className}-enter-active,
26
+ .@{className}-appear.@{className}-appear-active {
27
+ animation-name: ~'@{keyframeName}In';
28
+ animation-play-state: running;
29
+ }
30
+ .@{className}-leave.@{className}-leave-active {
31
+ animation-name: ~'@{keyframeName}Out';
32
+ animation-play-state: running;
33
+ pointer-events: none;
34
+ }
35
+ }
@@ -0,0 +1,18 @@
1
+ @import '../../style/themes/default';
2
+
3
+ .operation-unit() {
4
+ color: @link-color;
5
+ text-decoration: none;
6
+ outline: none;
7
+ cursor: pointer;
8
+ transition: color 0.3s;
9
+
10
+ &:focus,
11
+ &:hover {
12
+ color: @link-hover-color;
13
+ }
14
+
15
+ &:active {
16
+ color: @link-active-color;
17
+ }
18
+ }
@@ -0,0 +1,13 @@
1
+ @import '../themes/index';
2
+
3
+ .reset-component() {
4
+ box-sizing: border-box;
5
+ margin: 0;
6
+ padding: 0;
7
+ color: @text-color;
8
+ font-size: @font-size-base;
9
+ font-variant: @font-variant-base;
10
+ line-height: @line-height-base;
11
+ list-style: none;
12
+ font-feature-settings: @font-feature-settings-base;
13
+ }
@@ -0,0 +1,10 @@
1
+ // Sizing shortcuts
2
+
3
+ .size(@width; @height) {
4
+ width: @width;
5
+ height: @height;
6
+ }
7
+
8
+ .square(@size) {
9
+ .size(@size; @size);
10
+ }
@@ -0,0 +1,49 @@
1
+ // =============== Common ===============
2
+ .typography-paragraph() {
3
+ margin-bottom: 1em;
4
+ }
5
+
6
+ .typography-title(@fontSize; @fontWeight; @lineHeight; @headingColor; @headingMarginBottom;) {
7
+ margin-bottom: @headingMarginBottom;
8
+ color: @headingColor;
9
+ font-weight: @fontWeight;
10
+ font-size: @fontSize;
11
+ line-height: @lineHeight;
12
+ }
13
+
14
+ .typography-title-1() {
15
+ .typography-title(
16
+ @heading-1-size,
17
+ @typography-title-font-weight,
18
+ 1.23,
19
+ @heading-color,
20
+ @typography-title-margin-bottom
21
+ );
22
+ }
23
+ .typography-title-2() {
24
+ .typography-title(
25
+ @heading-2-size,
26
+ @typography-title-font-weight,
27
+ 1.35,
28
+ @heading-color,
29
+ @typography-title-margin-bottom
30
+ );
31
+ }
32
+ .typography-title-3() {
33
+ .typography-title(
34
+ @heading-3-size,
35
+ @typography-title-font-weight,
36
+ 1.35,
37
+ @heading-color,
38
+ @typography-title-margin-bottom
39
+ );
40
+ }
41
+ .typography-title-4() {
42
+ .typography-title(
43
+ @heading-4-size,
44
+ @typography-title-font-weight,
45
+ 1.4,
46
+ @heading-color,
47
+ @typography-title-margin-bottom
48
+ );
49
+ }
@@ -0,0 +1,299 @@
1
+ @import './default.less';
2
+
3
+ @line-height-base: 1.66667;
4
+ @mode: compact;
5
+ @font-size-base: 12px;
6
+ @font-size-lg: @font-size-base + 2px;
7
+
8
+ // default paddings
9
+ @default-padding-lg: 24px; // containers
10
+ @default-padding-md: 16px; // small containers and buttons
11
+ @default-padding-sm: 12px; // Form controls and items
12
+ @default-padding-xs: 8px; // small items
13
+ @default-padding-xss: 4px; // more small
14
+
15
+ // vertical paddings
16
+ @padding-lg: 16px; // containers
17
+ @padding-md: 8px; // small containers and buttons
18
+ @padding-sm: 8px; // Form controls and items
19
+ @padding-xs: 4px; // small items
20
+ @padding-xss: 0px; // more small
21
+
22
+ // vertical padding for all form controls
23
+ @control-padding-horizontal: @padding-sm;
24
+ @control-padding-horizontal-sm: @default-padding-xs;
25
+
26
+ // vertical margins
27
+ @margin-lg: 16px; // containers
28
+ @margin-md: 8px; // small containers and buttons
29
+ @margin-sm: 8px; // Form controls and items
30
+ @margin-xs: 4px; // small items
31
+ @margin-xss: 0px; // more small
32
+
33
+ // height rules
34
+ @height-base: 28px;
35
+ @height-lg: 32px;
36
+ @height-sm: 22px;
37
+
38
+ // Button
39
+ // ---
40
+ @btn-padding-horizontal-base: @default-padding-sm - 1px;
41
+ @btn-padding-horizontal-lg: @btn-padding-horizontal-base;
42
+ @btn-padding-horizontal-sm: @default-padding-xs - 1px;
43
+ @btn-square-only-icon-size-lg: 16px;
44
+ @btn-square-only-icon-size: 14px;
45
+ @btn-square-only-icon-size-sm: 12px;
46
+
47
+ // Breadcrumb
48
+ // ---
49
+ @breadcrumb-font-size: @font-size-base;
50
+ @breadcrumb-icon-font-size: @font-size-base;
51
+
52
+ //Dropdown
53
+ @dropdown-line-height: 18px;
54
+
55
+ // Menu
56
+ @menu-item-padding: 0 12px;
57
+ @menu-horizontal-line-height: 38px;
58
+ @menu-inline-toplevel-item-height: 32px;
59
+ @menu-item-height: 32px;
60
+ @menu-item-vertical-margin: 0px;
61
+ @menu-item-boundary-margin: 0px;
62
+ @menu-icon-margin-right: 8px;
63
+
64
+ // Checkbox
65
+ @checkbox-size: 14px;
66
+ @checkbox-group-item-margin-right: 6px;
67
+
68
+ // picker
69
+ @picker-panel-cell-height: 22px;
70
+ @picker-panel-cell-width: 32px;
71
+ @picker-text-height: 32px;
72
+ @picker-time-panel-cell-height: 24px;
73
+ @picker-panel-without-time-cell-height: 48px;
74
+
75
+ // Form
76
+ // ---
77
+ @form-item-margin-bottom: 16px;
78
+ @form-vertical-label-padding: 0 0 4px;
79
+
80
+ // Rate
81
+ // ---
82
+ @rate-star-size: 16px;
83
+
84
+ // Radio
85
+ // ---
86
+ @radio-size: 14px;
87
+ @radio-top: -2px;
88
+ @radio-wrapper-margin-right: 6px;
89
+
90
+ // Switch
91
+ // ---
92
+ @switch-height: 20px;
93
+ @switch-sm-height: 14px;
94
+ @switch-min-width: 40px;
95
+ @switch-sm-min-width: 24px;
96
+ @switch-inner-margin-min: 4px;
97
+ @switch-inner-margin-max: 22px;
98
+
99
+ // Slider
100
+ // ---
101
+ @slider-handle-size: 12px;
102
+ @slider-handle-margin-top: -4px;
103
+
104
+ // Input
105
+ // ---
106
+ @input-padding-vertical-base: round(
107
+ max(
108
+ round((@input-height-base - @font-size-base * @line-height-base) / 2 * 10) / 10 -
109
+ @border-width-base,
110
+ 2px
111
+ )
112
+ );
113
+ @input-padding-horizontal-lg: 11px;
114
+
115
+ // PageHeader
116
+ // ---
117
+ @page-header-padding: 16px;
118
+ @page-header-padding-vertical: 8px;
119
+ @page-header-heading-title: 16px;
120
+ @page-header-heading-sub-title: 12px;
121
+ @page-header-tabs-tab-font-size: 14px;
122
+
123
+ // Pagination
124
+ // ---
125
+ @pagination-mini-options-size-changer-top: 1px;
126
+ @pagination-item-size-sm: 22px;
127
+
128
+ // Cascader
129
+ // ----
130
+ @cascader-dropdown-line-height: @dropdown-line-height;
131
+
132
+ // Select
133
+ // ---
134
+ @select-dropdown-height: @height-base;
135
+ @select-single-item-height-lg: 32px;
136
+ @select-multiple-item-height: @input-height-base - max(@input-padding-vertical-base, 4) * 2; // Normal 24px
137
+ @select-multiple-item-height-lg: 24px;
138
+ @select-multiple-item-spacing-half: 3px;
139
+
140
+ // Tree
141
+ // ---
142
+ @tree-title-height: 20px;
143
+
144
+ // Transfer
145
+ // ---
146
+ @transfer-item-padding-vertical: 3px;
147
+ @transfer-list-search-icon-top: 8px;
148
+ @transfer-header-height: 36px;
149
+
150
+ // Comment
151
+ // ---
152
+ @comment-actions-margin-bottom: 0px;
153
+ @comment-actions-margin-top: @margin-xs;
154
+ @comment-content-detail-p-margin-bottom: 0px;
155
+
156
+ // Steps
157
+ // ---
158
+ @steps-icon-size: 24px;
159
+ @steps-icon-custom-size: 20px;
160
+ @steps-icon-custom-font-size: 20px;
161
+ @steps-icon-custom-top: 2px;
162
+ @steps-icon-margin: 2px 8px 2px 0;
163
+ @steps-icon-font-size: @font-size-base;
164
+ @steps-dot-top: 4px;
165
+ @steps-icon-top: 0px;
166
+ @steps-small-icon-size: 20px;
167
+ @steps-vertical-icon-width: 12px;
168
+ @steps-vertical-tail-width: 12px;
169
+ @steps-vertical-tail-width-sm: 10px;
170
+ // Collapse
171
+ // ---
172
+ //@collapse-header-padding-extra: 32px;
173
+ @collapse-content-padding: @padding-md @padding-lg;
174
+
175
+ // List
176
+ // ---
177
+ @list-item-meta-description-font-size: @font-size-sm;
178
+ @list-item-padding-sm: 4px 12px;
179
+ @list-item-padding-lg: 12px 16px;
180
+
181
+ // Drawer
182
+ // ---
183
+ @drawer-header-padding: 11px @padding-lg;
184
+ @drawer-footer-padding-vertical: @padding-sm;
185
+ @drawer-header-close-size: 44px;
186
+
187
+ // Modal
188
+ // --
189
+ @modal-header-padding: 11px @modal-header-padding-horizontal;
190
+ @modal-footer-padding-vertical: @padding-sm;
191
+ @modal-header-close-size: 44px;
192
+ @modal-confirm-body-padding: 24px 24px 16px;
193
+
194
+ // Message
195
+ // ---
196
+ @message-notice-content-padding: 8px 16px;
197
+
198
+ // popover
199
+ // --
200
+ @popover-min-height: 28px;
201
+ @popover-padding-horizontal: @default-padding-sm;
202
+
203
+ // Card
204
+ // ---
205
+ @card-padding-base: 16px;
206
+ @card-head-height: 36px;
207
+ @card-head-font-size: @card-head-font-size-sm;
208
+ @card-head-padding: 8.5px;
209
+ @card-padding-base: 12px;
210
+ @card-padding-base-sm: @card-padding-base;
211
+ @card-head-height-sm: 30px;
212
+ @card-head-padding-sm: 6px;
213
+ @card-actions-li-margin: 4px 0;
214
+ @card-head-tabs-margin-bottom: -9px;
215
+
216
+ // Table
217
+ // ---
218
+ @table-padding-vertical: 12px;
219
+ @table-padding-horizontal: 8px;
220
+ @table-padding-vertical-md: 8px;
221
+ @table-padding-horizontal-md: 8px;
222
+ @table-padding-vertical-sm: 4px;
223
+ @table-padding-horizontal-sm: 4px;
224
+ @table-selection-column-width: 54px;
225
+
226
+ // Statistic
227
+ // ---
228
+ @statistic-content-font-size: 20px;
229
+
230
+ // Alert
231
+ // ---
232
+ @alert-with-description-no-icon-padding-vertical: 7px;
233
+ @alert-with-description-padding-vertical: 11px;
234
+ @alert-with-description-padding: @alert-with-description-padding-vertical 15px
235
+ @alert-with-description-no-icon-padding-vertical @alert-with-description-icon-size * 2 +
236
+ @alert-with-description-padding-vertical;
237
+ @alert-icon-top: 7px + @font-size-base * @line-height-base / 2 - @font-size-base / 2;
238
+ @alert-with-description-icon-size: 20px;
239
+ @alert-with-description-icon-top: @alert-with-description-padding-vertical;
240
+
241
+ // Skeleton
242
+ // ---
243
+ @skeleton-paragraph-margin-top: 20px;
244
+ @skeleton-paragraph-li-margin-top: 12px;
245
+ @skeleton-paragraph-li-height: 14px;
246
+ @skeleton-title-height: 14px;
247
+ @skeleton-title-paragraph-margin-top: 20px;
248
+
249
+ // Descriptions
250
+ @descriptions-title-margin-bottom: 8px;
251
+ @descriptions-default-padding: 12px @padding-lg;
252
+ @descriptions-item-padding-bottom: @padding-xs;
253
+
254
+ // Avatar
255
+ // ---
256
+ @avatar-size-base: 28px;
257
+ @avatar-size-lg: 32px;
258
+ @avatar-size-sm: 22px;
259
+ @avatar-font-size-base: 16px;
260
+ @avatar-font-size-lg: 20px;
261
+ @avatar-font-size-sm: 12px;
262
+
263
+ // Badge
264
+ // ---
265
+ @badge-height: 18px;
266
+
267
+ // Tag
268
+ // ---
269
+ @tag-line-height: 18px;
270
+
271
+ // Notification
272
+ // ---
273
+ @notification-padding-vertical: 12px;
274
+ @notification-padding-horizontal: 16px;
275
+
276
+ // Result
277
+ // ---
278
+ @result-title-font-size: 20px;
279
+ @result-icon-font-size: 64px;
280
+ @result-extra-margin: 24px 0 0 0;
281
+
282
+ // Anchor
283
+ // ---
284
+ @anchor-link-top: 4px;
285
+ @anchor-link-left: 16px;
286
+ @anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
287
+
288
+ // Tabs
289
+ // ---
290
+ @tabs-card-horizontal-padding: 4px @padding-md;
291
+
292
+ // Progress
293
+ // ---
294
+ @progress-circle-text-font-size: 0.833333em;
295
+
296
+ // Image
297
+ // ---
298
+ @image-size-base: 48px;
299
+ @image-font-size-base: 24px;