Skip to content

Commit 4ec32d6

Browse files
authored
feat(DropUpload): update link style under disabled mode (#6820)
* chore: 更新组件禁用状态下样式 * chore: 删除空行
1 parent 4eae623 commit 4ec32d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/BootstrapBlazor/Components/Upload/InputUpload.razor.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@
293293
}
294294

295295
.upload.is-drop {
296-
297296
&.dropping {
298297
.upload-drop-body {
299298
border-color: var(--bs-success);
@@ -316,6 +315,14 @@
316315
}
317316
}
318317

318+
&:not(.disabled) {
319+
.upload-drop-body {
320+
em {
321+
color: var(--bs-primary);
322+
}
323+
}
324+
}
325+
319326
.upload-drop-body {
320327
border: 1px dashed var(--bs-primary);
321328
border-radius: var(--bs-border-radius);
@@ -336,7 +343,6 @@
336343
}
337344

338345
em {
339-
color: var(--bs-primary);
340346
font-style: normal;
341347
}
342348
}

0 commit comments

Comments
 (0)