[PLUGIN][Pinned Notes] Allow user to pin his notes

This commit is contained in:
2022-01-16 13:04:56 -03:00
committed by Hugo Sales
parent f7cbfbff8c
commit 21c7912702
7 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
.pin-button-container {
-o-mask-image: url("/plugins/PinnedNotes/assets/icons/pin.svg");
-moz-mask-image: url("/plugins/PinnedNotes/assets/icons/pin.svg");
-webkit-mask-image: url("/plugins/PinnedNotes/assets/icons/pin.svg");
mask-image: url("/plugins/PinnedNotes/assets/icons/pin.svg");
}
.pin-button-container.pinned {
opacity: 1 !important;
}
.feed.pinned {
margin-top: 2em;
margin-bottom: 6em;
}

View File

@@ -0,0 +1,4 @@
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m1.0747 6.0949c3.3791 1.7463 4.05 1.6143 5.6765 7.3569l6.7287-6.7695c-5.6096-1.7525-5.8268-2.3806-7.3809-5.6197z" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="paint-order:normal"/>
<path d="m10.358 10.209 4.5675 4.7288" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</svg>

After

Width:  |  Height:  |  Size: 468 B