From 839d066dbcfe96e40eeab022bfe266674fe03a10 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 10 Oct 2021 06:28:48 +0200 Subject: [PATCH] fdsdfs --- files/assets/css/4chan.css | 2 +- files/assets/css/coffee.css | 2 +- files/assets/css/dark.css | 2 +- files/assets/css/main.css | 4 ---- files/assets/css/midnight.css | 2 +- files/assets/css/transparent.css | 2 +- files/assets/css/tron.css | 6 +----- files/assets/css/win98.css | 2 +- files/classes/user.py | 1 + files/templates/authforms.html | 6 +++--- files/templates/award_modal.html | 2 +- files/templates/changelog.html | 2 +- files/templates/comments.html | 4 ++-- files/templates/default.html | 10 +++++----- files/templates/emoji_modal.html | 2 +- files/templates/gif_modal.html | 2 +- files/templates/header.html | 2 +- files/templates/log.html | 6 +++--- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/mobile_navigation_bar.html | 2 +- files/templates/report_post_modal.html | 2 +- files/templates/settings.html | 4 ++-- files/templates/settings2.html | 4 ++-- files/templates/sign_up.html | 4 ++-- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submission.html | 8 ++++---- files/templates/submission_listing.html | 2 +- files/templates/submit.html | 8 ++++---- files/templates/userpage.html | 2 +- 30 files changed, 47 insertions(+), 54 deletions(-) diff --git a/files/assets/css/4chan.css b/files/assets/css/4chan.css index e037953e9..f32600b29 100644 --- a/files/assets/css/4chan.css +++ b/files/assets/css/4chan.css @@ -90,7 +90,7 @@ blockquote p { } #frontpage .post-title a:visited { - color: #949494; + color: #949494 !important; } .btn { diff --git a/files/assets/css/coffee.css b/files/assets/css/coffee.css index d876aa985..00367a5d6 100644 --- a/files/assets/css/coffee.css +++ b/files/assets/css/coffee.css @@ -51,7 +51,7 @@ blockquote { } #frontpage .post-title a:visited { - color: #949494; + color: #949494 !important; } .btn { diff --git a/files/assets/css/dark.css b/files/assets/css/dark.css index 0daa17907..b805c0a02 100644 --- a/files/assets/css/dark.css +++ b/files/assets/css/dark.css @@ -67,5 +67,5 @@ pre { } #frontpage .post-title a:visited { - color: #7a7a7a; + color: #7a7a7a !important; } \ No newline at end of file diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 7abf36b5c..c11c20b26 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -14489,10 +14489,6 @@ img.emoji { color: var(--white) !important; } -#frontpage .post-title a:visited { - color: var(--gray-200); -} - @media (max-width: 767.98px) { .settings-nav .nav-link { font-size: 0.9rem; diff --git a/files/assets/css/midnight.css b/files/assets/css/midnight.css index 3f48dd818..19b436798 100644 --- a/files/assets/css/midnight.css +++ b/files/assets/css/midnight.css @@ -30,5 +30,5 @@ body, .navbar-light, .navbar-dark, .card, .modal-content, .comment-write textare } #frontpage .post-title a:visited { - color: #6e6e6e; + color: #6e6e6e !important; } \ No newline at end of file diff --git a/files/assets/css/transparent.css b/files/assets/css/transparent.css index 755a12323..a527ed550 100644 --- a/files/assets/css/transparent.css +++ b/files/assets/css/transparent.css @@ -78,5 +78,5 @@ pre { } #frontpage .post-title a:visited { - color: #7a7a7a; + color: #7a7a7a !important; } \ No newline at end of file diff --git a/files/assets/css/tron.css b/files/assets/css/tron.css index 5cb2565f4..b10cc4c8a 100644 --- a/files/assets/css/tron.css +++ b/files/assets/css/tron.css @@ -22,10 +22,6 @@ } -#frontpage .post-title a:visited { - color: var(--white); -} - .comment-box { border: 2px solid var(--gray-200); } @@ -75,7 +71,7 @@ } #frontpage .post-title a:visited { - color: #b0b0b0; + color: #b0b0b0 !important; } .followsyou { diff --git a/files/assets/css/win98.css b/files/assets/css/win98.css index fc9caffb5..fb45067f7 100644 --- a/files/assets/css/win98.css +++ b/files/assets/css/win98.css @@ -129,7 +129,7 @@ blockquote { } #frontpage .post-title a:visited { - color: #5c5c5c; + color: #5c5c5c !important; } .post-actions a { diff --git a/files/classes/user.py b/files/classes/user.py index 460af97bd..3a3bfbddb 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -535,6 +535,7 @@ class User(Base): return [x[0] for x in posts.offset(25 * (page - 1)).limit(26).all()] + @lazy def saved_comment_idlist(self): saved = [x[0] for x in g.db.query(SaveRelationship.comment_id).options(lazyload('*')).filter(SaveRelationship.user_id == self.id).all()] diff --git a/files/templates/authforms.html b/files/templates/authforms.html index f3cba1821..629fea8ce 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -15,11 +15,11 @@ {% if v %} - - {% if v.agendaposter %}{% elif v.css %}{% endif %} + + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index fd5640fe5..026978b0f 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -1,4 +1,4 @@ - +