Filemanager: restore border to list's Upload button

This commit is contained in:
nathan 2024-10-31 09:09:20 -06:00
parent cb95e50062
commit 8255bdd8d3
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,11 @@
width: auto; width: auto;
} }
/* Cancel toolbar styles removes border, just for upload button */
#filemanager-index_nm .et2_file et2-button:not(:hover)::part(base) {
border-color: var(--sl-input-border-color);
}
#filemanager-index_nm .et2_file et2-button::part(label) { #filemanager-index_nm .et2_file et2-button::part(label) {
position: initial; position: initial;
top: auto; top: auto;

View File

@ -55,7 +55,7 @@
<et2-image id="logo" disabled="!@show_refresh" hideOnReadonly="true" style="max-width: 150px"></et2-image> <et2-image id="logo" disabled="!@show_refresh" hideOnReadonly="true" style="max-width: 150px"></et2-image>
<et2-button id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()" <et2-button id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()"
disabled="!@show_refresh" hideOnReadonly="true" image="reload" noSubmit="true"></et2-button> disabled="!@show_refresh" hideOnReadonly="true" image="reload" noSubmit="true"></et2-button>
<file label="Upload" statustext="Select file to upload in current directory" id="upload" <file label="Upload" statustext="Select file to upload in current directory" id="upload" class="et2_toolbar_hasCaption"
progress_dropdownlist="true" drop_target="filemanager-index" multiple="true" progress_dropdownlist="true" drop_target="filemanager-index" multiple="true"
onFinishOne="app.filemanager.uploadOnOne"/> onFinishOne="app.filemanager.uploadOnOne"/>
</template> </template>