mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
More standard messages and better delete note icon layout
This commit is contained in:
@@ -24,13 +24,6 @@
|
|||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-delete-note {
|
|
||||||
float: right;
|
|
||||||
position: absolute;
|
|
||||||
right: 10px;
|
|
||||||
top: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.save-button #unshare-button {
|
.save-button #unshare-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -58,16 +51,14 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#div-content .shared-title, #div-content .shared-title-owner {
|
#div-content .shared-title,
|
||||||
|
#div-content .shared-title-owner,
|
||||||
|
#div-content .icon-delete-note {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
#div-content .shared-title-owner {
|
|
||||||
margin-right: 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.noselect {
|
.noselect {
|
||||||
-webkit-touch-callout: none; /* iOS Safari */
|
-webkit-touch-callout: none; /* iOS Safari */
|
||||||
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<div class="note-grid-item">
|
<div class="note-grid-item">
|
||||||
<div class="quicknote noselect {{#if active}}note-active{{/if}} {{#if isshared}}shared{{/if}} {{#if sharedwith}}shareowner{{/if}}" style="background-color: {{color}}" data-id="{{ id }}" data-timestamp="{{ timestamp }}" >
|
<div class="quicknote noselect {{#if active}}note-active{{/if}} {{#if isshared}}shared{{/if}} {{#if sharedwith}}shareowner{{/if}}" style="background-color: {{color}}" data-id="{{ id }}" data-timestamp="{{ timestamp }}" >
|
||||||
{{#if isshared}}
|
{{#if isshared}}
|
||||||
<div class='icon-share shared-title' title="shared with you by {{ userid }}"></div><div id='title' class='note-title'>{{{ title }}}</div>
|
<div class='icon-share shared-title' title="Shared by {{ userid }}"></div><div id='title' class='note-title'>{{{ title }}}</div>
|
||||||
<div id='content' class='note-content'>{{{ content }}}</div>
|
<div id='content' class='note-content'>{{{ content }}}</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<div class="icon-delete hide-delete-icon icon-delete-note" title="Delete"></div>
|
||||||
{{#if sharedwith}}
|
{{#if sharedwith}}
|
||||||
<div class='icon-share shared-title-owner' title="shared with {{ sharedwith }}"></div>
|
<div class='icon-share shared-title-owner' title="Shared with {{ sharedwith }}"></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div id='title-editable' class='note-title'>{{{ title }}}</div>
|
<div id='title-editable' class='note-title'>{{{ title }}}</div>
|
||||||
<button class="icon-delete hide-delete-icon icon-delete-note" title="Delete"></button>
|
<div id='content-editable' class='note-content'>{{{ content }}}</div>
|
||||||
<div id='content-editable' class='note-content'>{{{ content }}}</div>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user