mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-05-15 06:58:50 +02:00
feat: add share-post button styles
This commit is contained in:
@@ -771,3 +771,27 @@ body[data-indiekit-auth="true"] .save-later-btn:hover {
|
|||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Share Post buttons — hidden until auth confirmed */
|
||||||
|
.share-post-btn {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body[data-indiekit-auth="true"] .share-post-btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: none;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 2px 8px;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: #6b7280;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
body[data-indiekit-auth="true"] .share-post-btn:hover {
|
||||||
|
border-color: #d1d5db;
|
||||||
|
color: #10b981;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user