mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-03 06:31:30 +08:00
style/floating buttons: change some icons
This commit is contained in:
parent
eab644248b
commit
44419b7cb5
@ -15,7 +15,7 @@ export default class EditButton extends OnClickButtonWidget {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.icon("bx-edit-alt")
|
||||
this.icon("bx-pencil")
|
||||
.title(t("edit_button.edit_this_note"))
|
||||
.titlePlacement("bottom")
|
||||
.onClick((widget) => {
|
||||
|
||||
@ -13,7 +13,7 @@ export default class ShowHighlightsListWidgetButton extends OnClickButtonWidget
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.icon("bx-highlight")
|
||||
this.icon("bx-bookmarks")
|
||||
.title(t("show_highlights_list_widget_button.show_highlights_list"))
|
||||
.titlePlacement("bottom")
|
||||
.onClick(() => {
|
||||
|
||||
@ -13,7 +13,7 @@ export default class ShowTocWidgetButton extends OnClickButtonWidget {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.icon("bx-objects-horizontal-left")
|
||||
this.icon("bx-spreadsheet bx-rotate-180")
|
||||
.title(t("show_toc_widget_button.show_toc"))
|
||||
.titlePlacement("bottom")
|
||||
.onClick(() => {
|
||||
|
||||
@ -18,7 +18,7 @@ const TPL = `
|
||||
</style>
|
||||
|
||||
<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 class="trilium-api-docs-button floating-button btn" title="${t("code_buttons.trilium_api_docs_button_title")}">
|
||||
|
||||
@ -16,7 +16,7 @@ const TPL = `\
|
||||
</style>
|
||||
|
||||
<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")}" />
|
||||
</div>`;
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ export default class ScriptExecutorWidget extends NoteContextAwareWidget {
|
||||
show: this.isEnabled(),
|
||||
activate: true,
|
||||
title: this.isTriliumSqlite() ? t("script_executor.query") : t("script_executor.script"),
|
||||
icon: "bx bx-run"
|
||||
icon: "bx bx-play"
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user