From 786d6190f856fddb32157764717f871c6f8cb3fa Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 24 Nov 2022 17:11:04 -0700 Subject: Delete mechanics and refactor of post fanout --- static/css/style.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'static/css') diff --git a/static/css/style.css b/static/css/style.css index 642057f..8660ae2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -775,16 +775,23 @@ h1.identity small { } .post .actions { + position: relative; float: right; padding: 3px 5px 0 0; } .post .actions a { + text-align: center; cursor: pointer; color: var(--color-text-dull); margin-right: 5px; } +.post .actions a.menu { + width: 16px; + display: inline-block; +} + .post .actions a:hover { color: var(--color-text-main); } @@ -793,6 +800,32 @@ h1.identity small { color: var(--color-highlight); } +.post .actions menu { + position: absolute; + display: none; + top: 25px; + right: 10px; + background-color: var(--color-bg-menu); + border-radius: 5px; + padding: 5px 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); +} + +.post .actions menu.enabled { + display: block; +} + +.post .actions menu a { + text-align: left; + display: block; + width: 160px; + font-size: 15px; +} + +.post .actions menu a i { + margin-right: 4px; +} + .boost-banner, .mention-banner, .follow-banner, -- cgit v1.2.3