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 @@ - +