From 47ff753afbff36d72ea735ea97345232b247c884 Mon Sep 17 00:00:00 2001 From: Pearsw Date: Tue, 16 Apr 2024 22:46:16 +0100 Subject: [PATCH 1/5] renamed elements inline with blazorise components --- AudioCuesheetEditor/Pages/ViewModeImport.razor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AudioCuesheetEditor/Pages/ViewModeImport.razor b/AudioCuesheetEditor/Pages/ViewModeImport.razor index dcf33b2d..01bdeef2 100644 --- a/AudioCuesheetEditor/Pages/ViewModeImport.razor +++ b/AudioCuesheetEditor/Pages/ViewModeImport.razor @@ -39,11 +39,11 @@ along with Foobar. If not, see @_localizer["Select files for import"] -
+ - -
+ @((MarkupString)(_localizer["Choose file or drag it here"].ToString())) + @foreach (var invalidFileName in invalidDropFileNames) { From 4a9865a2e438855937399a3d233c05d7367f0de5 Mon Sep 17 00:00:00 2001 From: Pearsw Date: Tue, 16 Apr 2024 22:46:56 +0100 Subject: [PATCH 2/5] add selector to target unwanted choose file button --- AudioCuesheetEditor/wwwroot/css/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor/wwwroot/css/app.css b/AudioCuesheetEditor/wwwroot/css/app.css index 552718c9..b10d776f 100644 --- a/AudioCuesheetEditor/wwwroot/css/app.css +++ b/AudioCuesheetEditor/wwwroot/css/app.css @@ -80,7 +80,7 @@ a, .btn-link { cursor: move; } -.hideInput { +.hideInput, .dragNDropFile div:has(> .hideInput) { width: 0.1px; height: 0.1px; opacity: 0; From 52e38914be287ff5603877b3627bed6a7e62ed1b Mon Sep 17 00:00:00 2001 From: Pearsw Date: Wed, 17 Apr 2024 09:33:46 +0100 Subject: [PATCH 3/5] simplify selector for the fieldedit component --- AudioCuesheetEditor/wwwroot/css/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor/wwwroot/css/app.css b/AudioCuesheetEditor/wwwroot/css/app.css index b10d776f..63014386 100644 --- a/AudioCuesheetEditor/wwwroot/css/app.css +++ b/AudioCuesheetEditor/wwwroot/css/app.css @@ -80,7 +80,7 @@ a, .btn-link { cursor: move; } -.hideInput, .dragNDropFile div:has(> .hideInput) { +.dragNDropFile > .input-group { width: 0.1px; height: 0.1px; opacity: 0; From a6caaf9f2a5a527d884cbdde6a7d0072e24fb4db Mon Sep 17 00:00:00 2001 From: Pearsw Date: Wed, 17 Apr 2024 09:34:55 +0100 Subject: [PATCH 4/5] fix selector to select the FieldLabel --- AudioCuesheetEditor/wwwroot/css/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor/wwwroot/css/app.css b/AudioCuesheetEditor/wwwroot/css/app.css index 63014386..afc7f2b5 100644 --- a/AudioCuesheetEditor/wwwroot/css/app.css +++ b/AudioCuesheetEditor/wwwroot/css/app.css @@ -89,7 +89,7 @@ a, .btn-link { z-index: -1; } - .hideInput + label { +.dragNDropFile > .form-label { max-width: 80%; text-overflow: ellipsis; white-space: nowrap; From 50bb661fdccc3277a9f4a36cc0445d4748a42623 Mon Sep 17 00:00:00 2001 From: Pearsw Date: Wed, 17 Apr 2024 10:21:19 +0100 Subject: [PATCH 5/5] remove used class name & attribute --- AudioCuesheetEditor/Pages/ViewModeImport.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor/Pages/ViewModeImport.razor b/AudioCuesheetEditor/Pages/ViewModeImport.razor index 01bdeef2..1a952e17 100644 --- a/AudioCuesheetEditor/Pages/ViewModeImport.razor +++ b/AudioCuesheetEditor/Pages/ViewModeImport.razor @@ -41,7 +41,7 @@ along with Foobar. If not, see - + @((MarkupString)(_localizer["Choose file or drag it here"].ToString())) @foreach (var invalidFileName in invalidDropFileNames)