This commit is contained in:
Aevann1 2022-04-05 15:26:53 +02:00
parent f6baf24306
commit 30ac8ae1b8
19 changed files with 30 additions and 35 deletions

View file

@ -145,6 +145,6 @@ blockquote a {
color: #117743 !important;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #ffffff88 !important;
}

View file

@ -506,7 +506,7 @@ a.nav-link:hover {
padding-bottom: 0 !important;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #88888833 !important;
padding: 12px;
}

View file

@ -97,6 +97,6 @@ blockquote {
color: #cfcfcf !important;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #ffffff88 !important;
}

View file

@ -79,6 +79,6 @@ blockquote {
color: var(--gray-400) !important;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #00000055 !important;
}

View file

@ -4461,11 +4461,6 @@ blockquote p {
padding-bottom: 0.7rem;
padding-top: 0.7rem;
}
.unread {
padding: 10px 10px 0 10px!important;
border: 2px solid var(--primary) !important;
margin-bottom: 1rem;
}
@media (min-width: 576px) {
.modal-dialog {
max-width: 50% !important;
@ -4812,7 +4807,7 @@ html {
content: '';
display: block;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #ffffff33 !important;
padding: 12px;
}

View file

@ -159,6 +159,6 @@ blockquote {
color: #cfcfcf !important;
}
.comment-anchor:target, .unread2 {
.comment-anchor:target, .unread {
background: #ffffffaa !important;
}

View file

@ -15,7 +15,7 @@
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.agendaposter %}
<style>
html {
@ -39,7 +39,7 @@
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
{% endif %}
</head>

View file

@ -14,8 +14,8 @@
<title>Chat</title>
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.css %}
<link rel="stylesheet" href="/@{{v.username}}/css">
{% endif %}

View file

@ -867,7 +867,7 @@
{% for c in p.comments %}
{% if not (v and v.id==c.author_id) and not c.voted %}
if ({{c.created_utc*1000}} > lastCount.t)
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread2')}
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread')}
catch(e) {}
{% endif %}
{% endfor %}
@ -898,7 +898,7 @@
{% for c in p.comments %}
{% if not (v and v.id==c.author_id) and not c.voted %}
if ({{c.created_utc*1000}} > lastCount.t)
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread2')}
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread')}
catch(e) {}
{% endif %}
{% endfor %}

View file

@ -7,8 +7,8 @@
<script src="/assets/js/bootstrap.js?v=245"></script>
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.agendaposter %}
<style>
html {
@ -32,8 +32,8 @@
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
{% endif %}
{% if sub and sub.css and not request.path.endswith('settings') %}

View file

@ -6,7 +6,7 @@
{% block content %}
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.agendaposter %}
<style>
html {
@ -30,7 +30,7 @@
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
{% endif %}
<div class="row justify-content-around">

View file

@ -18,8 +18,8 @@
{% endblock %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
</head>

View file

@ -14,7 +14,7 @@
<title>2-Step Login - {{SITE_NAME}}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
</head>

View file

@ -34,7 +34,7 @@
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=190"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=190"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.agendaposter %}
<style>
html {

View file

@ -39,10 +39,10 @@
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
{% endif %}
</head>

View file

@ -31,7 +31,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}Sign up - {{SITE_NAME}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
</head>

View file

@ -32,7 +32,7 @@
<title>{% if ref_user %}{{ref_user.username}} invites you to {{SITE_NAME}}{% else %}{{SITE_NAME}}{% endif %}</title>
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
</head>

View file

@ -1007,7 +1007,7 @@
{% for c in p.comments %}
{% if not (v and v.id==c.author_id) and not c.voted %}
if ({{c.created_utc*1000}} > lastCount.t)
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread2')}
try {document.getElementById("comment-{{c.id}}-only").classList.add('unread')}
catch(e) {}
{% endif %}
{% endfor %}

View file

@ -26,7 +26,7 @@
{% block stylesheets %}
{% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207"><link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=41">
{% if v.agendaposter %}
<style>
html {
@ -50,8 +50,8 @@
{% endif %}
{% else %}
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=206">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=40">
<link rel="stylesheet" href="/assets/css/main.css?v=207">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=41">
{% endif %}
{% endblock %}