mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 00:19:04 +01: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() {
|
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) => {
|
||||||
|
|||||||
@ -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(() => {
|
||||||
|
|||||||
@ -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(() => {
|
||||||
|
|||||||
@ -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")}">
|
||||||
|
|||||||
@ -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>`;
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user