diff --git a/.gitignore b/.gitignore index ec649c25..465ad7d8 100644 --- a/.gitignore +++ b/.gitignore @@ -159,7 +159,6 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea/ -app/static/*.css.map /app/static/media/ celery_worker.py diff --git a/app/static/styles.css b/app/static/styles.css index 2d407725..dd28dba6 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -765,19 +765,15 @@ div.navbar { bottom: -12px; left: 10px; } -.post_list .post_teaser .main_row .post_utilities a { +.post_list .post_teaser .main_row .post_utilities a, .post_list .post_teaser .main_row .post_utilities > div, .post_list .post_teaser .main_row .post_utilities > span { display: inline-block; min-width: 44px; line-height: 44px; text-align: center; } -.post_list .post_teaser .main_row .post_utilities a:first-child { +.post_list .post_teaser .main_row .post_utilities a:first-child, .post_list .post_teaser .main_row .post_utilities > div:first-child, .post_list .post_teaser .main_row .post_utilities > span:first-child { text-align: left; } -.post_list .post_teaser .main_row .post_options { - position: absolute; - bottom: -1px; -} .post_list .post_teaser .utilities_row a { display: inline-block; min-width: 44px; @@ -785,9 +781,6 @@ div.navbar { justify-content: center; align-content: center; } -.post_list .post_teaser .utilities_row .preview_image, .post_list .post_teaser .utilities_row .post_options { - text-align: center; -} .post_list .post_teaser .thumbnail { float: right; padding-left: 0; @@ -1070,9 +1063,7 @@ div.navbar { } .voting_buttons_new .upvote_button, .voting_buttons_new .downvote_button { display: inline-block; - padding: 5px 0 5px 3px; text-align: center; - position: relative; cursor: pointer; color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)); min-width: 44px; @@ -1095,16 +1086,10 @@ div.navbar { color: darkred; font-weight: bold; } -.voting_buttons_new .upvote_button { - top: 1px; -} .voting_buttons_new .upvote_button .htmx-indicator { left: 13px; top: 7px; } -.voting_buttons_new .downvote_button { - top: 1px; -} .voting_buttons_new .downvote_button .htmx-indicator { left: 12px; top: 5px; @@ -1238,12 +1223,16 @@ div.navbar { border-radius: 50%; vertical-align: middle; } -.comment .comment_author a.unhide { +.comment .comment_community { + display: inline-block; +} +.comment .comment_community img { + height: 1rem; + width: auto; +} +.comment a.unhide { display: none; text-decoration: none; - padding: 5px 15px; - position: relative; - top: 3px; } .comment .comment_actions { margin-top: -10px; @@ -1259,7 +1248,10 @@ div.navbar { .comment .comment_actions .hide_button a { padding: 5px 15px; } -.comment .comment_actions .notif_toggle { +.comment .comment_actions .notify_toggle { + display: inline-block; +} +.comment .comment_actions .notify_toggle a { text-decoration: none; font-size: 87%; padding: 5px 15px; @@ -1711,7 +1703,7 @@ form h5 { text-decoration: none; } -.notif_toggle { +.notify_toggle { display: block; position: absolute; top: 2px; diff --git a/app/static/styles.scss b/app/static/styles.scss index 4c6b1b19..bec3c443 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -356,7 +356,7 @@ div.navbar { position: absolute; bottom: -12px; left: 10px; - a { + a, > div, > span { display: inline-block; min-width: 44px; line-height: 44px; @@ -367,11 +367,6 @@ div.navbar { } } } - - .post_options { - position: absolute; - bottom: -1px; - } } .utilities_row { @@ -382,9 +377,6 @@ div.navbar { justify-content: center; align-content: center; } - .preview_image, .post_options { - text-align: center; - } } .thumbnail { @@ -710,9 +702,7 @@ div.navbar { .upvote_button, .downvote_button { display: inline-block; - padding: 5px 0 5px 3px; text-align: center; - position: relative; cursor: pointer; color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1)); min-width: $min-touch-target; @@ -741,8 +731,6 @@ div.navbar { } .upvote_button { - top: 1px; - .htmx-indicator { left: 13px; top: 7px; @@ -750,7 +738,6 @@ div.navbar { } .downvote_button { - top: 1px; .htmx-indicator { left: 12px; top: 5px; @@ -900,16 +887,21 @@ div.navbar { border-radius: 50%; vertical-align: middle; } + } - a.unhide { - display: none; - text-decoration: none; - padding: 5px 15px; - position: relative; - top: 3px; + .comment_community { + display: inline-block; + img { + height: 1rem; + width: auto; } } + a.unhide { + display: none; + text-decoration: none; + } + .comment_actions { margin-top: -10px; position: relative; @@ -926,10 +918,13 @@ div.navbar { } } - .notif_toggle { - text-decoration: none; - font-size: 87%; - padding: 5px 15px; + .notify_toggle { + display: inline-block; + a { + text-decoration: none; + font-size: 87%; + padding: 5px 15px; + } } } @@ -1416,7 +1411,7 @@ form { text-decoration: none; } -.notif_toggle { +.notify_toggle { display: block; position: absolute; top: 2px; diff --git a/app/templates/admin/deleted_posts.html b/app/templates/admin/deleted_posts.html index 1ad63f32..420ef09e 100644 --- a/app/templates/admin/deleted_posts.html +++ b/app/templates/admin/deleted_posts.html @@ -21,7 +21,10 @@
{{ _('No deleted comments.') }}
{% endfor %} @@ -38,4 +41,4 @@{{ _('No comments have been bookmarked. Use the three dots on each comment to find the bookmark function.') }}
{% endfor -%} diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index 7d9ec758..c1b3984c 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -122,7 +122,10 @@