summaryrefslogtreecommitdiffstats
path: root/static/css
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-24 17:11:04 -0700
committerAndrew Godwin2022-11-24 17:11:04 -0700
commit786d6190f856fddb32157764717f871c6f8cb3fa (patch)
tree3e7569aba3c09fb58837158755679b0ee04d02b8 /static/css
parent3a608c2012b610a8f9b7e5179dcb93ab2e767251 (diff)
downloadtakahe-786d6190f856fddb32157764717f871c6f8cb3fa.tar.gz
takahe-786d6190f856fddb32157764717f871c6f8cb3fa.tar.bz2
takahe-786d6190f856fddb32157764717f871c6f8cb3fa.zip
Delete mechanics and refactor of post fanout
Diffstat (limited to 'static/css')
-rw-r--r--static/css/style.css33
1 files changed, 33 insertions, 0 deletions
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,