forked from GNUsocial/gnu-social
[PLUGIN][Pinned Notes] Allow user to pin his notes
This commit is contained in:
13
public/plugins/PinnedNotes/assets/css/pinned-notes.css
Normal file
13
public/plugins/PinnedNotes/assets/css/pinned-notes.css
Normal 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;
|
||||
}
|
4
public/plugins/PinnedNotes/assets/icons/pin.svg
Normal file
4
public/plugins/PinnedNotes/assets/icons/pin.svg
Normal 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 |
Reference in New Issue
Block a user