style/floating buttons: change some icons

This commit is contained in:
Adorian Doran 2025-03-22 01:08:30 +02:00
parent eab644248b
commit 44419b7cb5
6 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ export default class EditButton extends OnClickButtonWidget {
constructor() { constructor() {
super(); super();
this.icon("bx-edit-alt") this.icon("bx-pencil")
.title(t("edit_button.edit_this_note")) .title(t("edit_button.edit_this_note"))
.titlePlacement("bottom") .titlePlacement("bottom")
.onClick((widget) => { .onClick((widget) => {

View File

@ -13,7 +13,7 @@ export default class ShowHighlightsListWidgetButton extends OnClickButtonWidget
constructor() { constructor() {
super(); super();
this.icon("bx-highlight") this.icon("bx-bookmarks")
.title(t("show_highlights_list_widget_button.show_highlights_list")) .title(t("show_highlights_list_widget_button.show_highlights_list"))
.titlePlacement("bottom") .titlePlacement("bottom")
.onClick(() => { .onClick(() => {

View File

@ -13,7 +13,7 @@ export default class ShowTocWidgetButton extends OnClickButtonWidget {
constructor() { constructor() {
super(); super();
this.icon("bx-objects-horizontal-left") this.icon("bx-spreadsheet bx-rotate-180")
.title(t("show_toc_widget_button.show_toc")) .title(t("show_toc_widget_button.show_toc"))
.titlePlacement("bottom") .titlePlacement("bottom")
.onClick(() => { .onClick(() => {

View File

@ -18,7 +18,7 @@ const TPL = `
</style> </style>
<button data-trigger-command="runActiveNote" class="execute-button floating-button btn" title="${t("code_buttons.execute_button_title")}"> <button data-trigger-command="runActiveNote" class="execute-button floating-button btn" title="${t("code_buttons.execute_button_title")}">
<span class="bx bx-run"></span> <span class="bx bx-play"></span>
</button> </button>
<button class="trilium-api-docs-button floating-button btn" title="${t("code_buttons.trilium_api_docs_button_title")}"> <button class="trilium-api-docs-button floating-button btn" title="${t("code_buttons.trilium_api_docs_button_title")}">

View File

@ -16,7 +16,7 @@ const TPL = `\
</style> </style>
<button type="button" <button type="button"
class="geo-map-create-child-note floating-button btn bx bx-folder-plus" class="geo-map-create-child-note floating-button btn bx bx-plus-circle"
title="${t("geo-map.create-child-note-title")}" /> title="${t("geo-map.create-child-note-title")}" />
</div>`; </div>`;

View File

@ -46,7 +46,7 @@ export default class ScriptExecutorWidget extends NoteContextAwareWidget {
show: this.isEnabled(), show: this.isEnabled(),
activate: true, activate: true,
title: this.isTriliumSqlite() ? t("script_executor.query") : t("script_executor.script"), title: this.isTriliumSqlite() ? t("script_executor.query") : t("script_executor.script"),
icon: "bx bx-run" icon: "bx bx-play"
}; };
} }