@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.
- package/LICENSE +21 -0
- package/README.md +0 -3
- package/dist/css/element-plus.css +145 -0
- package/dist/css/element-plus.css.map +1 -0
- package/dist/css/images/import-template-bg.png +0 -0
- package/dist/css/index.css +3899 -0
- package/dist/css/index.css.map +1 -0
- package/dist/css/nf-action.css +228 -0
- package/dist/css/nf-action.css.map +1 -0
- package/dist/css/nf-alert.css +312 -0
- package/dist/css/nf-alert.css.map +1 -0
- package/dist/css/nf-audio.css +602 -0
- package/dist/css/nf-audio.css.map +1 -0
- package/dist/css/nf-button.css +495 -0
- package/dist/css/nf-button.css.map +1 -0
- package/dist/css/nf-conditions.css +326 -0
- package/dist/css/nf-conditions.css.map +1 -0
- package/dist/css/nf-config-provider.css +150 -0
- package/dist/css/nf-config-provider.css.map +1 -0
- package/dist/css/nf-confirm.css +568 -0
- package/dist/css/nf-confirm.css.map +1 -0
- package/dist/css/nf-date-picker.css +326 -0
- package/dist/css/nf-date-picker.css.map +1 -0
- package/dist/css/nf-drawer.css +591 -0
- package/dist/css/nf-drawer.css.map +1 -0
- package/dist/css/nf-empty.css +189 -0
- package/dist/css/nf-empty.css.map +1 -0
- package/dist/css/nf-form-item.css +523 -0
- package/dist/css/nf-form-item.css.map +1 -0
- package/dist/css/nf-form.css +527 -0
- package/dist/css/nf-form.css.map +1 -0
- package/dist/css/nf-import-template.css +597 -0
- package/dist/css/nf-import-template.css.map +1 -0
- package/dist/css/nf-indicator-plane.css +334 -0
- package/dist/css/nf-indicator-plane.css.map +1 -0
- package/dist/css/nf-infinite-menu.css +160 -0
- package/dist/css/nf-infinite-menu.css.map +1 -0
- package/dist/css/nf-keywords.css +635 -0
- package/dist/css/nf-keywords.css.map +1 -0
- package/dist/css/nf-lazy-select.css +330 -0
- package/dist/css/nf-lazy-select.css.map +1 -0
- package/dist/css/nf-message.css +245 -0
- package/dist/css/nf-message.css.map +1 -0
- package/dist/css/nf-notification.css +622 -0
- package/dist/css/nf-notification.css.map +1 -0
- package/dist/css/nf-popup-lazy-select.css +337 -0
- package/dist/css/nf-popup-lazy-select.css.map +1 -0
- package/dist/css/nf-radio-group.css +211 -0
- package/dist/css/nf-radio-group.css.map +1 -0
- package/dist/css/nf-resizable-panels.css +269 -0
- package/dist/css/nf-resizable-panels.css.map +1 -0
- package/dist/css/nf-rules.css +287 -0
- package/dist/css/nf-rules.css.map +1 -0
- package/dist/css/nf-search-form.css +567 -0
- package/dist/css/nf-search-form.css.map +1 -0
- package/dist/css/nf-softphone.css +176 -0
- package/dist/css/nf-softphone.css.map +1 -0
- package/dist/css/nf-table.css +719 -0
- package/dist/css/nf-table.css.map +1 -0
- package/dist/css/nf-tag.css +211 -0
- package/dist/css/nf-tag.css.map +1 -0
- package/dist/css/nf-text-overflow.css +187 -0
- package/dist/css/nf-text-overflow.css.map +1 -0
- package/dist/css/nf-transfer-select.css +590 -0
- package/dist/css/nf-transfer-select.css.map +1 -0
- package/dist/css/nf-variable-select.css +204 -0
- package/dist/css/nf-variable-select.css.map +1 -0
- package/dist/css/nf-virtual-select.css +241 -0
- package/dist/css/nf-virtual-select.css.map +1 -0
- package/dist/readme/94logo.png +0 -0
- package/dist/readme/common-plus.svg +7 -0
- package/dist/readme/contributors-wall.svg +23 -0
- package/dist/readme/contributors.svg +36 -0
- package/dist/scss/_element-plus-size.scss +50 -0
- package/dist/scss/_tokens.scss +17 -0
- package/dist/scss/element-plus.scss +10 -0
- package/dist/scss/images/import-template-bg.png +0 -0
- package/dist/scss/index.scss +35 -0
- package/dist/scss/nf-action.scss +14 -0
- package/dist/scss/nf-alert.scss +78 -0
- package/dist/scss/nf-audio.scss +493 -0
- package/dist/scss/nf-button.scss +115 -0
- package/dist/scss/nf-conditions.scss +9 -0
- package/dist/scss/nf-config-provider.scss +7 -0
- package/dist/scss/nf-confirm.scss +19 -0
- package/dist/scss/nf-date-picker.scss +41 -0
- package/dist/scss/nf-drawer.scss +25 -0
- package/dist/scss/nf-empty.scss +36 -0
- package/dist/scss/nf-form-item.scss +10 -0
- package/dist/scss/nf-form.scss +3 -0
- package/dist/scss/nf-import-template.scss +79 -0
- package/dist/scss/nf-indicator-plane.scss +234 -0
- package/dist/scss/nf-infinite-menu.scss +2 -0
- package/dist/scss/nf-keywords.scss +26 -0
- package/dist/scss/nf-lazy-select.scss +9 -0
- package/dist/scss/nf-message.scss +47 -0
- package/dist/scss/nf-notification.scss +47 -0
- package/dist/scss/nf-popup-lazy-select.scss +3 -0
- package/dist/scss/nf-radio-group.scss +50 -0
- package/dist/scss/nf-resizable-panels.scss +137 -0
- package/dist/scss/nf-rules.scss +28 -0
- package/dist/scss/nf-search-form.scss +2 -0
- package/dist/scss/nf-softphone.scss +2 -0
- package/dist/scss/nf-table.scss +2 -0
- package/dist/scss/nf-tag.scss +34 -0
- package/dist/scss/nf-text-overflow.scss +7 -0
- package/dist/scss/nf-transfer-select.scss +50 -0
- package/dist/scss/nf-variable-select.scss +11 -0
- package/dist/scss/nf-virtual-select.scss +18 -0
- package/dist/style/images/import-template-bg.png +0 -0
- package/dist/style/index.css +3899 -0
- package/package.json +38 -4
|
@@ -0,0 +1,330 @@
|
|
|
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
|
+
}
|
|
@@ -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"],"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"}
|
|
@@ -0,0 +1,245 @@
|
|
|
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-message {
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
position: fixed;
|
|
150
|
+
left: 50%;
|
|
151
|
+
top: 20px;
|
|
152
|
+
transform: translateX(-50%);
|
|
153
|
+
width: max-content;
|
|
154
|
+
max-width: calc(100vw - 32px);
|
|
155
|
+
background: #fff;
|
|
156
|
+
box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
|
|
157
|
+
border-radius: 4px;
|
|
158
|
+
padding: 9px 16px;
|
|
159
|
+
color: rgba(0, 0, 0, 0.65);
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
transition: opacity 0.3s, transform 0.4s, top 0.4s;
|
|
163
|
+
}
|
|
164
|
+
.nf-message.is-center {
|
|
165
|
+
justify-content: center;
|
|
166
|
+
}
|
|
167
|
+
.nf-message.is-closable {
|
|
168
|
+
padding-right: 47px;
|
|
169
|
+
}
|
|
170
|
+
.nf-message p {
|
|
171
|
+
margin: 0;
|
|
172
|
+
}
|
|
173
|
+
.nf-message__icon {
|
|
174
|
+
width: 16px;
|
|
175
|
+
height: 16px;
|
|
176
|
+
flex: 0 0 auto;
|
|
177
|
+
margin-right: 8px;
|
|
178
|
+
fill: currentColor;
|
|
179
|
+
}
|
|
180
|
+
.nf-message__content {
|
|
181
|
+
min-width: 0;
|
|
182
|
+
padding: 0;
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
line-height: 22px;
|
|
185
|
+
overflow-wrap: anywhere;
|
|
186
|
+
}
|
|
187
|
+
.nf-message__closeBtn {
|
|
188
|
+
position: absolute;
|
|
189
|
+
top: 50%;
|
|
190
|
+
right: 11px;
|
|
191
|
+
transform: translateY(-50%);
|
|
192
|
+
display: inline-flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
justify-content: center;
|
|
195
|
+
width: 24px;
|
|
196
|
+
height: 24px;
|
|
197
|
+
margin: 0;
|
|
198
|
+
padding: 4px;
|
|
199
|
+
border: 0;
|
|
200
|
+
border-radius: 2px;
|
|
201
|
+
background: transparent;
|
|
202
|
+
color: #c0c4cc;
|
|
203
|
+
cursor: pointer;
|
|
204
|
+
}
|
|
205
|
+
.nf-message__closeBtn svg {
|
|
206
|
+
width: 16px;
|
|
207
|
+
height: 16px;
|
|
208
|
+
fill: none;
|
|
209
|
+
stroke: currentColor;
|
|
210
|
+
stroke-width: 2;
|
|
211
|
+
}
|
|
212
|
+
.nf-message__closeBtn:hover {
|
|
213
|
+
color: #909399;
|
|
214
|
+
}
|
|
215
|
+
.nf-message__closeBtn:focus-visible {
|
|
216
|
+
outline: 2px solid var(--nf-color-primary);
|
|
217
|
+
outline-offset: 1px;
|
|
218
|
+
}
|
|
219
|
+
.nf-message .el-icon-success {
|
|
220
|
+
color: #67c23a;
|
|
221
|
+
}
|
|
222
|
+
.nf-message .el-icon-error {
|
|
223
|
+
color: #f45959;
|
|
224
|
+
}
|
|
225
|
+
.nf-message .el-icon-info {
|
|
226
|
+
color: var(--nf-color-primary);
|
|
227
|
+
}
|
|
228
|
+
.nf-message .el-icon-warning {
|
|
229
|
+
color: #ff882e;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.nf-message-fade-enter-from, .nf-message-fade-leave-to {
|
|
233
|
+
opacity: 0;
|
|
234
|
+
transform: translate(-50%, -100%);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.nf-message-fade-leave-active {
|
|
238
|
+
pointer-events: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@media (prefers-reduced-motion: reduce) {
|
|
242
|
+
.nf-message {
|
|
243
|
+
transition: none;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
@@ -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-message.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;EACA;EACA;EACA;EACA;;AACA;EAAc;;AACd;EAAgB;;AAChB;EAAI;;AACJ;EAAU;EAAa;EAAc;EAAgB;EAAmB;;AACxE;EAAa;EAAc;EAAY;EAAiB;EAAmB;;AAC3E;EACE;EACA;EAAU;EACV;EACA;EAAsB;EAAqB;EAC3C;EAAa;EACb;EAAW;EAAc;EAAW;EACpC;EAAyB;EAAgB;;AACzC;EAAM;EAAa;EAAc;EAAY;EAAsB;;AACnE;EAAU;;AACV;EAAkB;EAA4C;;AAEhE;EAAmB;;AACnB;EAAiB;;AACjB;EAAgB;;AAChB;EAAmB;;;AAErB;EACE;EAAY;;;AAEd;EAAgC;;;AAChC;EACE;IAAc"}
|