mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
More improvements on dark themes..
This commit is contained in:
@@ -21,10 +21,6 @@
|
|||||||
background-position: 16px center;
|
background-position: 16px center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-button-add {
|
|
||||||
background-image: var(--original-icon-add-white);
|
|
||||||
}
|
|
||||||
|
|
||||||
#new-note-fixed {
|
#new-note-fixed {
|
||||||
z-index: 111; /* navigation menu is 110 ;-) */
|
z-index: 111; /* navigation menu is 110 ;-) */
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
@@ -125,6 +121,18 @@
|
|||||||
min-height: 75px;
|
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 {
|
.icon-header-note {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
float: right;
|
float: right;
|
||||||
@@ -283,6 +291,7 @@ box-shadow: 0 0 0 2px var(--color-primary);
|
|||||||
|
|
||||||
.slim-share,
|
.slim-share,
|
||||||
.slim-tag {
|
.slim-tag {
|
||||||
|
background-repeat: no-repeat;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0px 6px 0 24px;
|
padding: 0px 6px 0 24px;
|
||||||
@@ -303,6 +312,13 @@ box-shadow: 0 0 0 2px var(--color-primary);
|
|||||||
margin-top: 5px;
|
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 */
|
/* Restore defaults select2 rules */
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"></div>
|
<div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"></div>
|
||||||
</a>
|
</a>
|
||||||
{{#if ../can_delete}}
|
{{#if ../can_delete}}
|
||||||
<div class="attach-remove icon-delete" title="{{t "quicknotes" "Delete attachment"}}"></div>
|
<div class="attach-remove original-icon-delete-dark" title="{{t "quicknotes" "Delete attachment"}}"></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
{{else}}
|
{{else}}
|
||||||
<div class="icon-header-note icon-pin hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
|
<div class="icon-header-note icon-pin hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
<div class="icon-header-note hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
||||||
<div class='note-title'>
|
<div class='note-title'>
|
||||||
{{{ title }}}
|
{{{ title }}}
|
||||||
</div>
|
</div>
|
||||||
@@ -24,12 +24,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class='note-shares'>
|
<div class='note-shares'>
|
||||||
{{#each sharedWith}}
|
{{#each sharedWith}}
|
||||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="Shared with {{ display_name }}">{{{ display_name }}}</div>
|
<div class="slim-share" share-id="{{ shared_user }}" title="Shared with {{ display_name }}">{{{ display_name }}}</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<div class='note-tags'>
|
<div class='note-tags'>
|
||||||
{{#each tags}}
|
{{#each tags}}
|
||||||
<div class="icon-tag slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
<div class="slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -15,14 +15,14 @@
|
|||||||
<div class='note-body'>
|
<div class='note-body'>
|
||||||
{{#if sharedBy}}
|
{{#if sharedBy}}
|
||||||
<div class="icon-header-note icon-share" title="{{tSB sharedBy.0.display_name}}"></div>
|
<div class="icon-header-note icon-share" title="{{tSB sharedBy.0.display_name}}"></div>
|
||||||
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Leave this shared note"}}"></div>
|
<div class="icon-header-note hide-header-icon icon-delete-note" title="{{t "quicknotes" "Leave this shared note"}}"></div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if isPinned}}
|
{{#if isPinned}}
|
||||||
<div class="icon-header-note icon-pinned fixed-header-icon" title="{{t "quicknotes" "Unpin note"}}"></div>
|
<div class="icon-header-note icon-pinned fixed-header-icon" title="{{t "quicknotes" "Unpin note"}}"></div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="icon-header-note icon-pin hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
|
<div class="icon-header-note icon-pin hide-header-icon" title="{{t "quicknotes" "Pin note"}}"></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="icon-header-note icon-delete hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
<div class="icon-header-note hide-header-icon icon-delete-note" title="{{t "quicknotes" "Delete note"}}"></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class='note-title'>
|
<div class='note-title'>
|
||||||
{{{ title }}}
|
{{{ title }}}
|
||||||
@@ -32,12 +32,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class='note-shares'>
|
<div class='note-shares'>
|
||||||
{{#each sharedWith}}
|
{{#each sharedWith}}
|
||||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="{{tSW display_name}}">{{{ display_name }}}</div>
|
<div class="slim-share" share-id="{{ shared_user }}" title="{{tSW display_name}}">{{{ display_name }}}</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<div class='note-tags'>
|
<div class='note-tags'>
|
||||||
{{#each tags}}
|
{{#each tags}}
|
||||||
<div class='icon-tag slim-tag' tag-id="{{ id }}">
|
<div class='slim-tag' tag-id="{{ id }}">
|
||||||
{{{ name }}}
|
{{{ name }}}
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class='note-shares'>
|
<div class='note-shares'>
|
||||||
{{#each sharedWith}}
|
{{#each sharedWith}}
|
||||||
<div class="icon-user slim-share" share-id="{{ shared_user }}" title="{{tSW display_name}}">{{{ display_name }}}</div>
|
<div class="slim-share" share-id="{{ shared_user }}" title="{{tSW display_name}}">{{{ display_name }}}</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class='note-tags'>
|
<div class='note-tags'>
|
||||||
{{#each tags}}
|
{{#each tags}}
|
||||||
<div class="icon-tag slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
<div class="slim-tag" tag-id="{{ id }}">{{{ name }}}</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user