From 41f8b429aab29e6b533463a01fdf76b00f26d6cc Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Tue, 6 Feb 2024 14:55:40 -0300 Subject: [PATCH] More improvements on dark themes.. --- css/style.css | 24 ++++++++++++++++++++---- js/templates/attachts.handlebars | 2 +- js/templates/note-item.handlebars | 6 +++--- js/templates/notes.handlebars | 8 ++++---- js/templates/shares.handlebars | 2 +- js/templates/tags.handlebars | 2 +- 6 files changed, 30 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index 4ad355d..b3f1587 100644 --- a/css/style.css +++ b/css/style.css @@ -21,10 +21,6 @@ background-position: 16px center; } -.icon-button-add { - background-image: var(--original-icon-add-white); -} - #new-note-fixed { z-index: 111; /* navigation menu is 110 ;-) */ line-height: 44px; @@ -125,6 +121,18 @@ min-height: 75px; } +.icon-button-add { + background-image: var(--original-icon-add-white); +} + +.icon-delete-note { + background-image: var(--original-icon-delete-dark); +} + +.icon-delete-note:hover { + background-image: var(--icon-delete-color-red); +} + .icon-header-note { cursor: pointer; float: right; @@ -283,6 +291,7 @@ box-shadow: 0 0 0 2px var(--color-primary); .slim-share, .slim-tag { + background-repeat: no-repeat; display: inline-block; cursor: pointer; padding: 0px 6px 0 24px; @@ -303,6 +312,13 @@ box-shadow: 0 0 0 2px var(--color-primary); margin-top: 5px; } +.slim-share { + background-image: var(--original-icon-user-dark); +} + +.slim-tag { + background-image: var(--original-icon-tag-dark); +} /* Restore defaults select2 rules */ diff --git a/js/templates/attachts.handlebars b/js/templates/attachts.handlebars index bc97a08..393a74a 100644 --- a/js/templates/attachts.handlebars +++ b/js/templates/attachts.handlebars @@ -5,7 +5,7 @@
{{#if ../can_delete}} -
+
{{/if}} {{/each}} diff --git a/js/templates/note-item.handlebars b/js/templates/note-item.handlebars index 11bd3de..2391435 100644 --- a/js/templates/note-item.handlebars +++ b/js/templates/note-item.handlebars @@ -15,7 +15,7 @@ {{else}}
{{/if}} -
+
{{{ title }}}
@@ -24,12 +24,12 @@
{{#each sharedWith}} - + {{/each}}
{{#each tags}} -
{{{ name }}}
+
{{{ name }}}
{{/each}}
diff --git a/js/templates/notes.handlebars b/js/templates/notes.handlebars index 05441be..682c778 100644 --- a/js/templates/notes.handlebars +++ b/js/templates/notes.handlebars @@ -15,14 +15,14 @@
{{#if sharedBy}}
-
+
{{else}} {{#if isPinned}}
{{else}}
{{/if}} -
+
{{/if}}
{{{ title }}} @@ -32,12 +32,12 @@
{{#each sharedWith}} - + {{/each}}
{{#each tags}} -
+
{{{ name }}}
{{/each}} diff --git a/js/templates/shares.handlebars b/js/templates/shares.handlebars index 5d5f2f8..85614f1 100644 --- a/js/templates/shares.handlebars +++ b/js/templates/shares.handlebars @@ -1,5 +1,5 @@
{{#each sharedWith}} - + {{/each}}
\ No newline at end of file diff --git a/js/templates/tags.handlebars b/js/templates/tags.handlebars index a680f47..ef4025c 100644 --- a/js/templates/tags.handlebars +++ b/js/templates/tags.handlebars @@ -1,5 +1,5 @@
{{#each tags}} -
{{{ name }}}
+
{{{ name }}}
{{/each}}
\ No newline at end of file