mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
feat(note_icon): add an empty option (closes #7370)
This commit is contained in:
@@ -147,6 +147,12 @@ const categories: Category[] = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const icons: Icon[] = [
|
const icons: Icon[] = [
|
||||||
|
{
|
||||||
|
name: "empty",
|
||||||
|
slug: "empty",
|
||||||
|
category_id: 113,
|
||||||
|
type_of_icon: "REGULAR"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "child",
|
name: "child",
|
||||||
slug: "child-regular",
|
slug: "child-regular",
|
||||||
|
|||||||
@@ -57,3 +57,15 @@
|
|||||||
.note-icon-widget .icon-list span:hover {
|
.note-icon-widget .icon-list span:hover {
|
||||||
border: 1px solid var(--main-border-color);
|
border: 1px solid var(--main-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-icon-widget .icon-list span.bx-empty {
|
||||||
|
width: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.note-icon-widget .icon-list span.bx-empty::before {
|
||||||
|
display: inline-block;
|
||||||
|
content: "";
|
||||||
|
border: 1px dashed var(--muted-text-color);
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user