Change some additional buttons to look like they're in a toolbar

This commit is contained in:
nathan 2024-10-30 10:11:41 -06:00
parent 968af0b1d2
commit 37ce527fd4
5 changed files with 31 additions and 1 deletions

View File

@ -130,6 +130,13 @@
#calendar-toolbar > div { #calendar-toolbar > div {
display: flex; display: flex;
} }
#calendar-toolbar #calendar-toolbar_add::part(base) {
border-style: hidden;
}
#calendar-toolbar #calendar-toolbar_add:hover::part(base) {
border-style: solid;
background-color: var(--sl-input-background-color);
}
#calendar-toolbar .et2_toolbar { #calendar-toolbar .et2_toolbar {
background: inherit; background: inherit;
border:none; border:none;

View File

@ -143,6 +143,13 @@
#calendar-toolbar > div { #calendar-toolbar > div {
display: flex; display: flex;
} }
#calendar-toolbar #calendar-toolbar_add::part(base) {
border-style: hidden;
}
#calendar-toolbar #calendar-toolbar_add:hover::part(base) {
border-style: solid;
background-color: var(--sl-input-background-color);
}
#calendar-toolbar .et2_toolbar { #calendar-toolbar .et2_toolbar {
background: inherit; background: inherit;
border: none; border: none;

View File

@ -131,6 +131,13 @@
#calendar-toolbar > div { #calendar-toolbar > div {
display: flex; display: flex;
} }
#calendar-toolbar #calendar-toolbar_add::part(base) {
border-style: hidden;
}
#calendar-toolbar #calendar-toolbar_add:hover::part(base) {
border-style: solid;
background-color: var(--sl-input-background-color);
}
#calendar-toolbar .et2_toolbar { #calendar-toolbar .et2_toolbar {
background: inherit; background: inherit;
border: none; border: none;

View File

@ -11,6 +11,15 @@
/** /**
* CSS for new eTemplate filemanager UI * CSS for new eTemplate filemanager UI
*/ */
#filemanager-index_nm .et2_file {
width: auto;
}
#filemanager-index_nm .et2_file et2-button::part(label) {
position: initial;
top: auto;
}
/* Override default filter width since there's only one, and limited space left */ /* Override default filter width since there's only one, and limited space left */
#filemanager-index_nm_filter { #filemanager-index_nm_filter {
max-width: initial; max-width: initial;

View File

@ -78,6 +78,6 @@
<et2-button statustext="File a file" onclick="app.filemanager.fileafile" image="upload" noSubmit="true"></et2-button> <et2-button statustext="File a file" onclick="app.filemanager.fileafile" image="upload" noSubmit="true"></et2-button>
</template> </template>
<template id="filemanager.index" template="" lang="" group="0" version="1.9.003"> <template id="filemanager.index" template="" lang="" group="0" version="1.9.003">
<nextmatch id="nm" template="filemanager.index.rows" header_left="filemanager.index.header_left" header_row="filemanager.index.header_row" header_right="filemanager.index.header_right"/> <nextmatch id="nm" class="et2_toolbar" template="filemanager.index.rows" header_left="filemanager.index.header_left" header_row="filemanager.index.header_row" header_right="filemanager.index.header_right"/>
</template> </template>
</overlay> </overlay>