From a74c7d626b6fb0d2b3f3975a76de8fe1f2d9bd9c Mon Sep 17 00:00:00 2001 From: nekobit Date: Sat, 18 Jun 2022 04:22:52 +0000 Subject: [PATCH] Fix status hiding FossilOrigin-Name: 5188091d528aaa5c7135139cb436779d2093ed793ea4d37d7d6d57c9c48de893 --- dist/treebird20.css | 13 +++--- static/search_all.tmpl | 18 ++++++++ static/status.tmpl | 94 +++++++++++++++++++++--------------------- 3 files changed, 73 insertions(+), 52 deletions(-) create mode 100644 static/search_all.tmpl diff --git a/dist/treebird20.css b/dist/treebird20.css index 46cb13d..324d147 100644 --- a/dist/treebird20.css +++ b/dist/treebird20.css @@ -592,8 +592,7 @@ svg.in-reply-to-icon .notification-info { - margin-top: 5px; - margin-bottom: 5px; + margin-top: 9px; } .notification-info img, @@ -602,6 +601,7 @@ svg.in-reply-to-icon margin-left: 41px; width: 24px; height: 24px; + margin-right: 6px; border-radius: 3px; vertical-align: middle; object-fit: cover; @@ -622,7 +622,7 @@ svg.in-reply-to-icon /*************************** * Statuses * **************************/ -.status, +.status .status-table, .notification-regular, .scrobble { @@ -632,7 +632,7 @@ svg.in-reply-to-icon border-spacing: 0px; } -.status-hide:checked + .status +.status-hide:checked + .status .status-table { padding: 5px 10px; } @@ -699,7 +699,8 @@ svg.in-reply-to-icon } .status-hide:checked + .status .status-data, -.status-hide:checked + .status .pfp-td +.status-hide:checked + .status .pfp-td, +.status-hide:checked + .status .notification-info { display: none; } @@ -719,7 +720,7 @@ svg.in-reply-to-icon object-fit: cover; } -.status tr +.status table tr { width: auto; } diff --git a/static/search_all.tmpl b/static/search_all.tmpl new file mode 100644 index 0000000..8804b65 --- /dev/null +++ b/static/search_all.tmpl @@ -0,0 +1,18 @@ + + + + + + +
+ + + + +
+ +
+ {{%s:results}} +
diff --git a/static/status.tmpl b/static/status.tmpl index e22b423..df09286 100644 --- a/static/status.tmpl +++ b/static/status.tmpl @@ -1,49 +1,51 @@ - +
{{ %s : notif_info }} -
- - + +
- - -
- {{%s:username}} - {{%s:acct}} - -
+