@c1f/nf-theme-chalk 0.0.0-stage → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +0 -3
  3. package/dist/css/element-plus.css +145 -0
  4. package/dist/css/element-plus.css.map +1 -0
  5. package/dist/css/images/import-template-bg.png +0 -0
  6. package/dist/css/index.css +3899 -0
  7. package/dist/css/index.css.map +1 -0
  8. package/dist/css/nf-action.css +228 -0
  9. package/dist/css/nf-action.css.map +1 -0
  10. package/dist/css/nf-alert.css +312 -0
  11. package/dist/css/nf-alert.css.map +1 -0
  12. package/dist/css/nf-audio.css +602 -0
  13. package/dist/css/nf-audio.css.map +1 -0
  14. package/dist/css/nf-button.css +495 -0
  15. package/dist/css/nf-button.css.map +1 -0
  16. package/dist/css/nf-conditions.css +326 -0
  17. package/dist/css/nf-conditions.css.map +1 -0
  18. package/dist/css/nf-config-provider.css +150 -0
  19. package/dist/css/nf-config-provider.css.map +1 -0
  20. package/dist/css/nf-confirm.css +568 -0
  21. package/dist/css/nf-confirm.css.map +1 -0
  22. package/dist/css/nf-date-picker.css +326 -0
  23. package/dist/css/nf-date-picker.css.map +1 -0
  24. package/dist/css/nf-drawer.css +591 -0
  25. package/dist/css/nf-drawer.css.map +1 -0
  26. package/dist/css/nf-empty.css +189 -0
  27. package/dist/css/nf-empty.css.map +1 -0
  28. package/dist/css/nf-form-item.css +523 -0
  29. package/dist/css/nf-form-item.css.map +1 -0
  30. package/dist/css/nf-form.css +527 -0
  31. package/dist/css/nf-form.css.map +1 -0
  32. package/dist/css/nf-import-template.css +597 -0
  33. package/dist/css/nf-import-template.css.map +1 -0
  34. package/dist/css/nf-indicator-plane.css +334 -0
  35. package/dist/css/nf-indicator-plane.css.map +1 -0
  36. package/dist/css/nf-infinite-menu.css +160 -0
  37. package/dist/css/nf-infinite-menu.css.map +1 -0
  38. package/dist/css/nf-keywords.css +635 -0
  39. package/dist/css/nf-keywords.css.map +1 -0
  40. package/dist/css/nf-lazy-select.css +330 -0
  41. package/dist/css/nf-lazy-select.css.map +1 -0
  42. package/dist/css/nf-message.css +245 -0
  43. package/dist/css/nf-message.css.map +1 -0
  44. package/dist/css/nf-notification.css +622 -0
  45. package/dist/css/nf-notification.css.map +1 -0
  46. package/dist/css/nf-popup-lazy-select.css +337 -0
  47. package/dist/css/nf-popup-lazy-select.css.map +1 -0
  48. package/dist/css/nf-radio-group.css +211 -0
  49. package/dist/css/nf-radio-group.css.map +1 -0
  50. package/dist/css/nf-resizable-panels.css +269 -0
  51. package/dist/css/nf-resizable-panels.css.map +1 -0
  52. package/dist/css/nf-rules.css +287 -0
  53. package/dist/css/nf-rules.css.map +1 -0
  54. package/dist/css/nf-search-form.css +567 -0
  55. package/dist/css/nf-search-form.css.map +1 -0
  56. package/dist/css/nf-softphone.css +176 -0
  57. package/dist/css/nf-softphone.css.map +1 -0
  58. package/dist/css/nf-table.css +719 -0
  59. package/dist/css/nf-table.css.map +1 -0
  60. package/dist/css/nf-tag.css +211 -0
  61. package/dist/css/nf-tag.css.map +1 -0
  62. package/dist/css/nf-text-overflow.css +187 -0
  63. package/dist/css/nf-text-overflow.css.map +1 -0
  64. package/dist/css/nf-transfer-select.css +590 -0
  65. package/dist/css/nf-transfer-select.css.map +1 -0
  66. package/dist/css/nf-variable-select.css +204 -0
  67. package/dist/css/nf-variable-select.css.map +1 -0
  68. package/dist/css/nf-virtual-select.css +241 -0
  69. package/dist/css/nf-virtual-select.css.map +1 -0
  70. package/dist/readme/94logo.png +0 -0
  71. package/dist/readme/common-plus.svg +7 -0
  72. package/dist/readme/contributors-wall.svg +23 -0
  73. package/dist/readme/contributors.svg +36 -0
  74. package/dist/scss/_element-plus-size.scss +50 -0
  75. package/dist/scss/_tokens.scss +17 -0
  76. package/dist/scss/element-plus.scss +10 -0
  77. package/dist/scss/images/import-template-bg.png +0 -0
  78. package/dist/scss/index.scss +35 -0
  79. package/dist/scss/nf-action.scss +14 -0
  80. package/dist/scss/nf-alert.scss +78 -0
  81. package/dist/scss/nf-audio.scss +493 -0
  82. package/dist/scss/nf-button.scss +115 -0
  83. package/dist/scss/nf-conditions.scss +9 -0
  84. package/dist/scss/nf-config-provider.scss +7 -0
  85. package/dist/scss/nf-confirm.scss +19 -0
  86. package/dist/scss/nf-date-picker.scss +41 -0
  87. package/dist/scss/nf-drawer.scss +25 -0
  88. package/dist/scss/nf-empty.scss +36 -0
  89. package/dist/scss/nf-form-item.scss +10 -0
  90. package/dist/scss/nf-form.scss +3 -0
  91. package/dist/scss/nf-import-template.scss +79 -0
  92. package/dist/scss/nf-indicator-plane.scss +234 -0
  93. package/dist/scss/nf-infinite-menu.scss +2 -0
  94. package/dist/scss/nf-keywords.scss +26 -0
  95. package/dist/scss/nf-lazy-select.scss +9 -0
  96. package/dist/scss/nf-message.scss +47 -0
  97. package/dist/scss/nf-notification.scss +47 -0
  98. package/dist/scss/nf-popup-lazy-select.scss +3 -0
  99. package/dist/scss/nf-radio-group.scss +50 -0
  100. package/dist/scss/nf-resizable-panels.scss +137 -0
  101. package/dist/scss/nf-rules.scss +28 -0
  102. package/dist/scss/nf-search-form.scss +2 -0
  103. package/dist/scss/nf-softphone.scss +2 -0
  104. package/dist/scss/nf-table.scss +2 -0
  105. package/dist/scss/nf-tag.scss +34 -0
  106. package/dist/scss/nf-text-overflow.scss +7 -0
  107. package/dist/scss/nf-transfer-select.scss +50 -0
  108. package/dist/scss/nf-variable-select.scss +11 -0
  109. package/dist/scss/nf-virtual-select.scss +18 -0
  110. package/dist/style/images/import-template-bg.png +0 -0
  111. package/dist/style/index.css +3899 -0
  112. package/package.json +38 -4
@@ -0,0 +1,337 @@
1
+ :root:not([data-nf-theme=oem]),
2
+ [data-nf-theme=chalk],
3
+ .nf-theme-chalk {
4
+ --el-component-size: 28px;
5
+ --nf-color-primary: #17f;
6
+ --nf-color-success: #67c23a;
7
+ --nf-text-color: #303133;
8
+ --nf-background-color: #ffffff;
9
+ --el-color-primary: var(--nf-color-primary);
10
+ --el-color-success: var(--nf-color-success);
11
+ --el-text-color-primary: var(--nf-text-color);
12
+ --el-bg-color: var(--nf-background-color);
13
+ }
14
+ :root:not([data-nf-theme=oem]) .el-button:not(.el-button--small):not(.el-button--large):not(.is-link),
15
+ [data-nf-theme=chalk] .el-button:not(.el-button--small):not(.el-button--large):not(.is-link),
16
+ .nf-theme-chalk .el-button:not(.el-button--small):not(.el-button--large):not(.is-link) {
17
+ height: var(--el-component-size);
18
+ padding-top: 6px;
19
+ padding-bottom: 6px;
20
+ }
21
+ :root:not([data-nf-theme=oem]) .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle,
22
+ [data-nf-theme=chalk] .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle,
23
+ .nf-theme-chalk .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle {
24
+ width: var(--el-component-size);
25
+ padding: 6px;
26
+ }
27
+ :root:not([data-nf-theme=oem]) .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper,
28
+ [data-nf-theme=chalk] .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper,
29
+ .nf-theme-chalk .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper {
30
+ min-height: var(--el-component-size);
31
+ padding-top: 2px;
32
+ padding-bottom: 2px;
33
+ }
34
+ :root:not([data-nf-theme=oem]) .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large),
35
+ [data-nf-theme=chalk] .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large),
36
+ .nf-theme-chalk .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large) {
37
+ --el-input-tag-padding: 2px;
38
+ }
39
+ :root:not([data-nf-theme=oem]) .el-cascader:not(.el-cascader--small):not(.el-cascader--large),
40
+ [data-nf-theme=chalk] .el-cascader:not(.el-cascader--small):not(.el-cascader--large),
41
+ .nf-theme-chalk .el-cascader:not(.el-cascader--small):not(.el-cascader--large) {
42
+ line-height: var(--el-component-size);
43
+ }
44
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large),
45
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large),
46
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) {
47
+ line-height: calc(var(--el-component-size) - 2px);
48
+ }
49
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase, :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease,
50
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase,
51
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease,
52
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase,
53
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease {
54
+ width: var(--el-component-size);
55
+ }
56
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper,
57
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper,
58
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper {
59
+ padding-left: calc(var(--el-component-size) + 10px);
60
+ padding-right: calc(var(--el-component-size) + 10px);
61
+ }
62
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper,
63
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper,
64
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper {
65
+ padding-left: 11px;
66
+ padding-right: calc(var(--el-component-size) + 10px);
67
+ }
68
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase, :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease,
69
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase,
70
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease,
71
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase,
72
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease {
73
+ --el-input-number-controls-height: calc((var(--el-component-size) - 2px) / 2);
74
+ }
75
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper,
76
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper,
77
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper {
78
+ padding-left: 11px;
79
+ padding-right: 11px;
80
+ }
81
+ :root:not([data-nf-theme=oem]) .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input,
82
+ [data-nf-theme=chalk] .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input,
83
+ .nf-theme-chalk .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input {
84
+ height: calc(var(--el-component-size) - 2px);
85
+ line-height: calc(var(--el-component-size) - 2px);
86
+ }
87
+ :root:not([data-nf-theme=oem]) .el-radio:not(.el-radio--small):not(.el-radio--large),
88
+ :root:not([data-nf-theme=oem]) .el-switch:not(.el-switch--small):not(.el-switch--large),
89
+ :root:not([data-nf-theme=oem]) .el-rate:not(.el-rate--small):not(.el-rate--large),
90
+ :root:not([data-nf-theme=oem]) .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical),
91
+ [data-nf-theme=chalk] .el-radio:not(.el-radio--small):not(.el-radio--large),
92
+ [data-nf-theme=chalk] .el-switch:not(.el-switch--small):not(.el-switch--large),
93
+ [data-nf-theme=chalk] .el-rate:not(.el-rate--small):not(.el-rate--large),
94
+ [data-nf-theme=chalk] .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical),
95
+ .nf-theme-chalk .el-radio:not(.el-radio--small):not(.el-radio--large),
96
+ .nf-theme-chalk .el-switch:not(.el-switch--small):not(.el-switch--large),
97
+ .nf-theme-chalk .el-rate:not(.el-rate--small):not(.el-rate--large),
98
+ .nf-theme-chalk .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical) {
99
+ height: var(--el-component-size);
100
+ }
101
+ :root:not([data-nf-theme=oem]) .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large),
102
+ [data-nf-theme=chalk] .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large),
103
+ .nf-theme-chalk .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large) {
104
+ --el-checkbox-height: var(--el-component-size);
105
+ }
106
+ :root:not([data-nf-theme=oem]) .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
107
+ :root:not([data-nf-theme=oem]) .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner,
108
+ [data-nf-theme=chalk] .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
109
+ [data-nf-theme=chalk] .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner,
110
+ .nf-theme-chalk .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
111
+ .nf-theme-chalk .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner {
112
+ height: var(--el-component-size);
113
+ padding-top: 6px;
114
+ padding-bottom: 6px;
115
+ }
116
+ :root:not([data-nf-theme=oem]) .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large),
117
+ [data-nf-theme=chalk] .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large),
118
+ .nf-theme-chalk .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large) {
119
+ width: var(--el-component-size);
120
+ height: var(--el-component-size);
121
+ }
122
+ :root:not([data-nf-theme=oem]) .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical),
123
+ [data-nf-theme=chalk] .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical),
124
+ .nf-theme-chalk .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical) {
125
+ min-height: var(--el-component-size);
126
+ }
127
+ :root:not([data-nf-theme=oem]) .el-pagination,
128
+ [data-nf-theme=chalk] .el-pagination,
129
+ .nf-theme-chalk .el-pagination {
130
+ --el-pagination-button-width: var(--el-component-size);
131
+ --el-pagination-button-height: var(--el-component-size);
132
+ }
133
+ :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content,
134
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content,
135
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content {
136
+ line-height: var(--el-component-size);
137
+ }
138
+ :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label, :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label,
139
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label,
140
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label,
141
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label,
142
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label {
143
+ height: var(--el-component-size);
144
+ line-height: var(--el-component-size);
145
+ }
146
+
147
+ .nf-virtual-select {
148
+ min-width: 0;
149
+ }
150
+
151
+ .nf-virtual-select.el-select > .el-select__wrapper {
152
+ min-height: 28px;
153
+ padding-top: 2px;
154
+ padding-bottom: 2px;
155
+ }
156
+
157
+ .nf-virtual-select.el-select .el-tag {
158
+ --el-tag-height: 20px;
159
+ }
160
+
161
+ .nf-virtual-select-inline > .el-input {
162
+ --el-input-height: 28px;
163
+ height: 28px;
164
+ }
165
+
166
+ .nf-virtual-select .el-select__input:focus-visible {
167
+ outline: none;
168
+ }
169
+
170
+ .nf-select-sortable-tag[draggable=true] {
171
+ cursor: grab;
172
+ }
173
+
174
+ .nf-select-sortable-tag:focus-visible {
175
+ outline: 2px solid var(--nf-color-primary);
176
+ outline-offset: 2px;
177
+ }
178
+
179
+ .nf-virtual-select-inline {
180
+ display: flex;
181
+ flex-direction: column;
182
+ gap: 6px;
183
+ }
184
+
185
+ .nf-virtual-select-tags {
186
+ display: flex;
187
+ flex-wrap: wrap;
188
+ gap: 4px;
189
+ }
190
+
191
+ .nf-virtual-rows {
192
+ min-width: 0;
193
+ scrollbar-width: thin;
194
+ }
195
+
196
+ .nf-select-option {
197
+ display: block;
198
+ width: 100%;
199
+ height: 100%;
200
+ min-height: 30px;
201
+ padding: 0 12px;
202
+ border: 0;
203
+ background: transparent;
204
+ color: var(--el-text-color-regular);
205
+ text-align: left;
206
+ cursor: pointer;
207
+ font: inherit;
208
+ overflow: hidden;
209
+ text-overflow: ellipsis;
210
+ white-space: nowrap;
211
+ }
212
+
213
+ .nf-select-option:hover, .nf-select-option:focus-visible {
214
+ background: var(--el-fill-color-light);
215
+ }
216
+
217
+ .nf-select-option.is-selected {
218
+ color: var(--nf-color-primary);
219
+ font-weight: 600;
220
+ }
221
+
222
+ .nf-select-option:disabled {
223
+ color: var(--el-text-color-disabled);
224
+ cursor: not-allowed;
225
+ }
226
+
227
+ .nf-select-empty {
228
+ padding: 10px;
229
+ text-align: center;
230
+ font-size: 12px;
231
+ color: var(--el-text-color-secondary);
232
+ }
233
+
234
+ .nf-virtual-select-popper .keyword-highlight {
235
+ color: var(--nf-color-primary);
236
+ font-weight: 600;
237
+ }
238
+
239
+ .nf-virtual-select-popper .el-select-dropdown__header .el-checkbox__label {
240
+ font-size: var(--el-font-size-base);
241
+ }
242
+
243
+ .nf-empty {
244
+ height: inherit;
245
+ display: flex;
246
+ justify-content: center;
247
+ align-items: center;
248
+ flex-direction: column;
249
+ text-align: center;
250
+ box-sizing: border-box;
251
+ }
252
+ .nf-empty.nf-border {
253
+ border: 1px solid var(--nf-empty-border-color, #f5f7fa);
254
+ }
255
+
256
+ .nf-empty__image {
257
+ max-width: 100%;
258
+ }
259
+ .nf-empty__image img {
260
+ user-select: none;
261
+ width: 100%;
262
+ height: 100%;
263
+ vertical-align: top;
264
+ object-fit: contain;
265
+ }
266
+ .nf-empty__image .nf-empty__image-oem {
267
+ display: none;
268
+ }
269
+
270
+ [data-nf-theme=oem] .nf-empty__image .nf-empty__image-chalk {
271
+ display: none;
272
+ }
273
+ [data-nf-theme=oem] .nf-empty__image .nf-empty__image-oem {
274
+ display: inline;
275
+ }
276
+
277
+ .nf-empty__description {
278
+ margin-top: 0;
279
+ }
280
+ .nf-empty__description p {
281
+ margin: 4px;
282
+ font-size: 12px;
283
+ color: var(--nf-empty-description-color, #909399);
284
+ line-height: 33px;
285
+ }
286
+
287
+ .nf-lazy-select-sentinel {
288
+ min-height: 1px;
289
+ text-align: center;
290
+ }
291
+
292
+ .nf-lazy-select-sentinel button {
293
+ border: 0;
294
+ background: transparent;
295
+ color: var(--el-text-color-secondary);
296
+ cursor: pointer;
297
+ padding: 8px;
298
+ }
299
+
300
+ .nf-lazy-select-popper .el-select-dropdown__footer {
301
+ border: 0;
302
+ padding: 0;
303
+ }
304
+
305
+ .nf-lazy-select-loading {
306
+ display: inline-flex;
307
+ align-items: center;
308
+ justify-content: center;
309
+ gap: 4px;
310
+ color: var(--el-text-color-secondary);
311
+ font-size: 12px;
312
+ }
313
+
314
+ .nf-lazy-select-loading-icon {
315
+ width: 14px;
316
+ height: 14px;
317
+ flex: none;
318
+ animation: nf-lazy-select-spin 1s linear infinite;
319
+ }
320
+
321
+ @keyframes nf-lazy-select-spin {
322
+ to {
323
+ transform: rotate(360deg);
324
+ }
325
+ }
326
+ @media (prefers-reduced-motion: reduce) {
327
+ .nf-lazy-select-loading-icon {
328
+ animation: none;
329
+ }
330
+ }
331
+ .nf-popup-lazy-select-popover {
332
+ max-width: calc(100vw - 24px);
333
+ }
334
+
335
+ .nf-popup-lazy-select-popover .nf-lazy-select {
336
+ width: 100%;
337
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["file:///C:/common-ui-plus/packages/nf-theme-chalk/src/element-plus.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/_tokens.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/_element-plus-size.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/nf-virtual-select.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/nf-empty.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/nf-lazy-select.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/nf-popup-lazy-select.scss"],"names":[],"mappings":"AAGA;AAAA;AAAA;ECGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ACZA;AAAA;AAAA;EACE;EACA;EACA;;AACA;AAAA;AAAA;EAAc;EAAiC;;AAEjD;AAAA;AAAA;EACE;EACA;EACA;;AAEF;AAAA;AAAA;EAAoE;;AACpE;AAAA;AAAA;EAAiE;;AACjE;AAAA;AAAA;EACE;;AACA;AAAA;AAAA;AAAA;AAAA;EAA6D;;AAC7D;AAAA;AAAA;EAAqB;EAAqD;;AAExE;AAAA;AAAA;EAAqB;EAAoB;;AACzC;AAAA;AAAA;AAAA;AAAA;EAA6D;;AAE/D;AAAA;AAAA;EAA2C;EAAoB;;AAEjE;AAAA;AAAA;EACE;EACA;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAG6E;;AAC7E;AAAA;AAAA;EAAiE;;AACjE;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;;AAEF;AAAA;AAAA;EAA6E;EAAiC;;AAC9G;AAAA;AAAA;EAAiG;;AACjG;AAAA;AAAA;EAAiB;EAAwD;;AAEvE;AAAA;AAAA;EAA2B;;AAEzB;AAAA;AAAA;AAAA;AAAA;EAA6E;EAAkC;;;AC7CrH;EAAqB;;;AACrB;EAAqD;EAAkB;EAAkB;;;AACzF;EAAuC;;;AACvC;EAAwC;EAAyB;;;AACjE;EAAqD;;;AACrD;EAA4C;;;AAC5C;EAAwC;EAA4C;;;AACpF;EAA4B;EAAe;EAAwB;;;AACnE;EAA0B;EAAe;EAAiB;;;AAC1D;EAAmB;EAAc;;;AACjC;EAAoB;EAAgB;EAAa;EAAc;EAAkB;EAAiB;EAAW;EAAyB;EAAqC;EAAkB;EAAiB;EAAe;EAAkB;EAAyB;;;AACxQ;EAA2D;;;AAC3D;EAAgC;EAAgC;;;AAChE;EAA6B;EAAsC;;;AACnE;EAAmB;EAAe;EAAoB;EAAiB;;;AACvE;EAA+C;EAAgC;;;AAC/E;EAA4E;;;ACf5E;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAAc;;;AAEhB;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;;AAEF;EAAuB;;;AAGvB;EAAyB;;AACzB;EAAuB;;;AAEzB;EACE;;AACA;EACE;EACA;EACA;EACA;;;AC/BJ;EAA2B;EAAiB;;;AAC5C;EAAkC;EAAW;EAAyB;EAAuC;EAAiB;;;AAC9H;EAAqD;EAAW;;;AAChE;EAA0B;EAAsB;EAAqB;EAAyB;EAAU;EAAuC;;;AAC/I;EAA+B;EAAa;EAAc;EAAY;;;AACtE;EAAiC;IAAK;;;AACtC;EAA0C;IAA+B;;;ACPzE;EAAgC;;;AAChC;EAAgD"}
@@ -0,0 +1,211 @@
1
+ :root:not([data-nf-theme=oem]),
2
+ [data-nf-theme=chalk],
3
+ .nf-theme-chalk {
4
+ --el-component-size: 28px;
5
+ --nf-color-primary: #17f;
6
+ --nf-color-success: #67c23a;
7
+ --nf-text-color: #303133;
8
+ --nf-background-color: #ffffff;
9
+ --el-color-primary: var(--nf-color-primary);
10
+ --el-color-success: var(--nf-color-success);
11
+ --el-text-color-primary: var(--nf-text-color);
12
+ --el-bg-color: var(--nf-background-color);
13
+ }
14
+ :root:not([data-nf-theme=oem]) .el-button:not(.el-button--small):not(.el-button--large):not(.is-link),
15
+ [data-nf-theme=chalk] .el-button:not(.el-button--small):not(.el-button--large):not(.is-link),
16
+ .nf-theme-chalk .el-button:not(.el-button--small):not(.el-button--large):not(.is-link) {
17
+ height: var(--el-component-size);
18
+ padding-top: 6px;
19
+ padding-bottom: 6px;
20
+ }
21
+ :root:not([data-nf-theme=oem]) .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle,
22
+ [data-nf-theme=chalk] .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle,
23
+ .nf-theme-chalk .el-button:not(.el-button--small):not(.el-button--large):not(.is-link).is-circle {
24
+ width: var(--el-component-size);
25
+ padding: 6px;
26
+ }
27
+ :root:not([data-nf-theme=oem]) .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper,
28
+ [data-nf-theme=chalk] .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper,
29
+ .nf-theme-chalk .el-select:not(.el-select--small):not(.el-select--large) > .el-select__wrapper {
30
+ min-height: var(--el-component-size);
31
+ padding-top: 2px;
32
+ padding-bottom: 2px;
33
+ }
34
+ :root:not([data-nf-theme=oem]) .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large),
35
+ [data-nf-theme=chalk] .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large),
36
+ .nf-theme-chalk .el-input-tag:not(.el-input-tag--small):not(.el-input-tag--large) {
37
+ --el-input-tag-padding: 2px;
38
+ }
39
+ :root:not([data-nf-theme=oem]) .el-cascader:not(.el-cascader--small):not(.el-cascader--large),
40
+ [data-nf-theme=chalk] .el-cascader:not(.el-cascader--small):not(.el-cascader--large),
41
+ .nf-theme-chalk .el-cascader:not(.el-cascader--small):not(.el-cascader--large) {
42
+ line-height: var(--el-component-size);
43
+ }
44
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large),
45
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large),
46
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) {
47
+ line-height: calc(var(--el-component-size) - 2px);
48
+ }
49
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase, :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease,
50
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase,
51
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease,
52
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__increase,
53
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) > .el-input-number__decrease {
54
+ width: var(--el-component-size);
55
+ }
56
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper,
57
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper,
58
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large) .el-input__wrapper {
59
+ padding-left: calc(var(--el-component-size) + 10px);
60
+ padding-right: calc(var(--el-component-size) + 10px);
61
+ }
62
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper,
63
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper,
64
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right .el-input__wrapper {
65
+ padding-left: 11px;
66
+ padding-right: calc(var(--el-component-size) + 10px);
67
+ }
68
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase, :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease,
69
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase,
70
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease,
71
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__increase,
72
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-controls-right > .el-input-number__decrease {
73
+ --el-input-number-controls-height: calc((var(--el-component-size) - 2px) / 2);
74
+ }
75
+ :root:not([data-nf-theme=oem]) .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper,
76
+ [data-nf-theme=chalk] .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper,
77
+ .nf-theme-chalk .el-input-number:not(.el-input-number--small):not(.el-input-number--large).is-without-controls .el-input__wrapper {
78
+ padding-left: 11px;
79
+ padding-right: 11px;
80
+ }
81
+ :root:not([data-nf-theme=oem]) .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input,
82
+ [data-nf-theme=chalk] .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input,
83
+ .nf-theme-chalk .el-range-editor:not(.el-range-editor--small):not(.el-range-editor--large) .el-range-input {
84
+ height: calc(var(--el-component-size) - 2px);
85
+ line-height: calc(var(--el-component-size) - 2px);
86
+ }
87
+ :root:not([data-nf-theme=oem]) .el-radio:not(.el-radio--small):not(.el-radio--large),
88
+ :root:not([data-nf-theme=oem]) .el-switch:not(.el-switch--small):not(.el-switch--large),
89
+ :root:not([data-nf-theme=oem]) .el-rate:not(.el-rate--small):not(.el-rate--large),
90
+ :root:not([data-nf-theme=oem]) .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical),
91
+ [data-nf-theme=chalk] .el-radio:not(.el-radio--small):not(.el-radio--large),
92
+ [data-nf-theme=chalk] .el-switch:not(.el-switch--small):not(.el-switch--large),
93
+ [data-nf-theme=chalk] .el-rate:not(.el-rate--small):not(.el-rate--large),
94
+ [data-nf-theme=chalk] .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical),
95
+ .nf-theme-chalk .el-radio:not(.el-radio--small):not(.el-radio--large),
96
+ .nf-theme-chalk .el-switch:not(.el-switch--small):not(.el-switch--large),
97
+ .nf-theme-chalk .el-rate:not(.el-rate--small):not(.el-rate--large),
98
+ .nf-theme-chalk .el-slider:not(.el-slider--small):not(.el-slider--large):not(.is-vertical) {
99
+ height: var(--el-component-size);
100
+ }
101
+ :root:not([data-nf-theme=oem]) .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large),
102
+ [data-nf-theme=chalk] .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large),
103
+ .nf-theme-chalk .el-checkbox:not(.el-checkbox--small):not(.el-checkbox--large) {
104
+ --el-checkbox-height: var(--el-component-size);
105
+ }
106
+ :root:not([data-nf-theme=oem]) .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
107
+ :root:not([data-nf-theme=oem]) .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner,
108
+ [data-nf-theme=chalk] .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
109
+ [data-nf-theme=chalk] .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner,
110
+ .nf-theme-chalk .el-radio-button:not(.el-radio-button--small):not(.el-radio-button--large) > .el-radio-button__inner,
111
+ .nf-theme-chalk .el-checkbox-button:not(.el-checkbox-button--small):not(.el-checkbox-button--large) > .el-checkbox-button__inner {
112
+ height: var(--el-component-size);
113
+ padding-top: 6px;
114
+ padding-bottom: 6px;
115
+ }
116
+ :root:not([data-nf-theme=oem]) .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large),
117
+ [data-nf-theme=chalk] .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large),
118
+ .nf-theme-chalk .el-color-picker:not(.el-color-picker--small):not(.el-color-picker--large) {
119
+ width: var(--el-component-size);
120
+ height: var(--el-component-size);
121
+ }
122
+ :root:not([data-nf-theme=oem]) .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical),
123
+ [data-nf-theme=chalk] .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical),
124
+ .nf-theme-chalk .el-segmented:not(.el-segmented--small):not(.el-segmented--large):not(.el-segmented--vertical) {
125
+ min-height: var(--el-component-size);
126
+ }
127
+ :root:not([data-nf-theme=oem]) .el-pagination,
128
+ [data-nf-theme=chalk] .el-pagination,
129
+ .nf-theme-chalk .el-pagination {
130
+ --el-pagination-button-width: var(--el-component-size);
131
+ --el-pagination-button-height: var(--el-component-size);
132
+ }
133
+ :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content,
134
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content,
135
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large) > .el-form-item__content {
136
+ line-height: var(--el-component-size);
137
+ }
138
+ :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label, :root:not([data-nf-theme=oem]) .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label,
139
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label,
140
+ [data-nf-theme=chalk] .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label,
141
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label,
142
+ .nf-theme-chalk .el-form-item:not(.el-form-item--small):not(.el-form-item--large):not(.el-form-item--label-top) > .el-form-item__label-wrap > .el-form-item__label {
143
+ height: var(--el-component-size);
144
+ line-height: var(--el-component-size);
145
+ }
146
+
147
+ .nf-radio-group {
148
+ box-sizing: border-box;
149
+ height: fit-content;
150
+ width: fit-content;
151
+ max-width: 100%;
152
+ display: flex;
153
+ white-space: nowrap;
154
+ align-items: center;
155
+ justify-content: center;
156
+ border-radius: 2px;
157
+ padding: 2px;
158
+ background-color: var(--nf-radio-group-background, #f0f2f5);
159
+ }
160
+ .nf-radio-group.small .btn {
161
+ height: 24px;
162
+ font-size: 12px;
163
+ }
164
+ .nf-radio-group.large .btn {
165
+ height: 36px;
166
+ font-size: 16px;
167
+ }
168
+ .nf-radio-group .btn {
169
+ height: 28px;
170
+ font-family: inherit;
171
+ font-size: 14px;
172
+ font-weight: 400;
173
+ line-height: normal;
174
+ white-space: nowrap;
175
+ box-sizing: border-box;
176
+ display: inline-flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ flex-shrink: 0;
180
+ color: var(--nf-radio-group-text-color, #303133);
181
+ border: 0;
182
+ border-radius: 0;
183
+ background: transparent;
184
+ margin: 0;
185
+ padding: 0 16px;
186
+ user-select: none;
187
+ cursor: pointer;
188
+ }
189
+ .nf-radio-group .btn:hover:not(.disabled) {
190
+ background: var(--nf-radio-group-hover-background, #e3e5e8);
191
+ }
192
+ .nf-radio-group .btn:focus-visible {
193
+ outline: 2px solid var(--nf-color-primary);
194
+ outline-offset: -2px;
195
+ }
196
+ .nf-radio-group .active_text {
197
+ color: var(--nf-color-primary);
198
+ background: var(--nf-radio-group-active-background, white);
199
+ border-right: 1px solid var(--nf-radio-group-background, #f0f2f5);
200
+ }
201
+ .nf-radio-group .disabled {
202
+ color: var(--nf-radio-group-disabled-color, #c5c5c5);
203
+ cursor: not-allowed;
204
+ }
205
+
206
+ @media (max-width: 480px) {
207
+ .nf-radio-group {
208
+ justify-content: flex-start;
209
+ overflow-x: auto;
210
+ }
211
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["file:///C:/common-ui-plus/packages/nf-theme-chalk/src/element-plus.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/_tokens.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/_element-plus-size.scss","file:///C:/common-ui-plus/packages/nf-theme-chalk/src/nf-radio-group.scss"],"names":[],"mappings":"AAGA;AAAA;AAAA;ECGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ACZA;AAAA;AAAA;EACE;EACA;EACA;;AACA;AAAA;AAAA;EAAc;EAAiC;;AAEjD;AAAA;AAAA;EACE;EACA;EACA;;AAEF;AAAA;AAAA;EAAoE;;AACpE;AAAA;AAAA;EAAiE;;AACjE;AAAA;AAAA;EACE;;AACA;AAAA;AAAA;AAAA;AAAA;EAA6D;;AAC7D;AAAA;AAAA;EAAqB;EAAqD;;AAExE;AAAA;AAAA;EAAqB;EAAoB;;AACzC;AAAA;AAAA;AAAA;AAAA;EAA6D;;AAE/D;AAAA;AAAA;EAA2C;EAAoB;;AAEjE;AAAA;AAAA;EACE;EACA;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAG6E;;AAC7E;AAAA;AAAA;EAAiE;;AACjE;AAAA;AAAA;AAAA;AAAA;AAAA;EAEE;EACA;EACA;;AAEF;AAAA;AAAA;EAA6E;EAAiC;;AAC9G;AAAA;AAAA;EAAiG;;AACjG;AAAA;AAAA;EAAiB;EAAwD;;AAEvE;AAAA;AAAA;EAA2B;;AAEzB;AAAA;AAAA;AAAA;AAAA;EAA6E;EAAkC;;;AC5CrH;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAAe;EAAc;;AAC7B;EAAe;EAAc;;AAC7B;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAAyB;;AACzB;EAAkB;EAA4C;;AAEhE;EACE;EACA;EACA;;AAEF;EAAY;EAAsD;;;AAEpE;EACE;IAAkB;IAA6B"}