From 37ce527fd4b3c9eb458f725387bd796101279e7f Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 30 Oct 2024 10:11:41 -0600 Subject: [PATCH] Change some additional buttons to look like they're in a toolbar --- calendar/templates/default/app.css | 7 +++++++ calendar/templates/mobile/app.css | 7 +++++++ calendar/templates/pixelegg/app.css | 7 +++++++ filemanager/templates/default/app.css | 9 +++++++++ filemanager/templates/default/index.xet | 2 +- 5 files changed, 31 insertions(+), 1 deletion(-) diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index 15612a6453..a71abb67e4 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -130,6 +130,13 @@ #calendar-toolbar > div { 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 { background: inherit; border:none; diff --git a/calendar/templates/mobile/app.css b/calendar/templates/mobile/app.css index a051cfca8c..9f837c946c 100644 --- a/calendar/templates/mobile/app.css +++ b/calendar/templates/mobile/app.css @@ -143,6 +143,13 @@ #calendar-toolbar > div { 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 { background: inherit; border: none; diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index ff1b662395..22639f8be7 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -131,6 +131,13 @@ #calendar-toolbar > div { 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 { background: inherit; border: none; diff --git a/filemanager/templates/default/app.css b/filemanager/templates/default/app.css index a1235029e0..68f53fdc21 100644 --- a/filemanager/templates/default/app.css +++ b/filemanager/templates/default/app.css @@ -11,6 +11,15 @@ /** * 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 */ #filemanager-index_nm_filter { max-width: initial; diff --git a/filemanager/templates/default/index.xet b/filemanager/templates/default/index.xet index 7e082a712a..24d2eb3599 100644 --- a/filemanager/templates/default/index.xet +++ b/filemanager/templates/default/index.xet @@ -78,6 +78,6 @@ \ No newline at end of file