styling and fond sweetalert font override
This commit is contained in:
@@ -331,6 +331,14 @@ body {
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-category {
|
||||||
|
background: #e0e0e0;
|
||||||
|
color: #5a5a7a;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.badge-pending { background: #fff3cd; color: #856404; }
|
.badge-pending { background: #fff3cd; color: #856404; }
|
||||||
.badge-approved { background: #d4edda; color: #155724; }
|
.badge-approved { background: #d4edda; color: #155724; }
|
||||||
.badge-rejected { background: #f8d7da; color: #721c24; }
|
.badge-rejected { background: #f8d7da; color: #721c24; }
|
||||||
@@ -486,6 +494,16 @@ body {
|
|||||||
.back-link a { color: #5a5a7a; }
|
.back-link a { color: #5a5a7a; }
|
||||||
|
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------------
|
||||||
|
SweetAlert2 Font Override
|
||||||
|
----------------------------------------------------------------- */
|
||||||
|
.swal2-input,
|
||||||
|
.swal2-textarea,
|
||||||
|
.swal2-select {
|
||||||
|
font-family: 'Segoe UI', system-ui, sans-serif !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* -----------------------------------------------------------------
|
/* -----------------------------------------------------------------
|
||||||
Mobile Responsive
|
Mobile Responsive
|
||||||
----------------------------------------------------------------- */
|
----------------------------------------------------------------- */
|
||||||
|
|||||||
@@ -234,6 +234,10 @@ $counts['total'] = count($all_contributions);
|
|||||||
<div class="contribution-row-header" onclick="toggleRow(this.parentElement)">
|
<div class="contribution-row-header" onclick="toggleRow(this.parentElement)">
|
||||||
<div class="contribution-row-summary">
|
<div class="contribution-row-summary">
|
||||||
<span class="title"><?= htmlspecialchars($item['title']) ?></span>
|
<span class="title"><?= htmlspecialchars($item['title']) ?></span>
|
||||||
|
<span class="badge badge-category">
|
||||||
|
<i class="fa-solid <?= $cat['faIcon'] ?>"></i>
|
||||||
|
<?= $cat['label'] ?>
|
||||||
|
</span>
|
||||||
<span class="badge badge-<?= $item['status'] ?>"><?= $status_label[$item['status']] ?? $item['status'] ?></span>
|
<span class="badge badge-<?= $item['status'] ?>"><?= $status_label[$item['status']] ?? $item['status'] ?></span>
|
||||||
</div>
|
</div>
|
||||||
<i class="fa-solid fa-chevron-down collapse-icon"></i>
|
<i class="fa-solid fa-chevron-down collapse-icon"></i>
|
||||||
@@ -256,10 +260,6 @@ $counts['total'] = count($all_contributions);
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="detail-meta">
|
<div class="detail-meta">
|
||||||
<span>
|
|
||||||
<i class="fa-solid <?= $cat['faIcon'] ?>" style="color:<?= $cat['color'] ?>;"></i>
|
|
||||||
<?= $cat['label'] ?>
|
|
||||||
</span>
|
|
||||||
<span><i class="fa-solid fa-user"></i> <?= htmlspecialchars($item['author_name']) ?></span>
|
<span><i class="fa-solid fa-user"></i> <?= htmlspecialchars($item['author_name']) ?></span>
|
||||||
<span><i class="fa-solid fa-calendar"></i> <?= date('d.m.Y, H:i', strtotime($item['created_at'])) ?> Uhr</span>
|
<span><i class="fa-solid fa-calendar"></i> <?= date('d.m.Y, H:i', strtotime($item['created_at'])) ?> Uhr</span>
|
||||||
<span>
|
<span>
|
||||||
@@ -670,7 +670,7 @@ function show_login_page($municipality, $error = null) {
|
|||||||
<h1><i class="fa-solid fa-shield-halved"></i> Moderationsportal</h1>
|
<h1><i class="fa-solid fa-shield-halved"></i> Moderationsportal</h1>
|
||||||
<p>Bitte geben Sie das Moderationspasswort ein.</p>
|
<p>Bitte geben Sie das Moderationspasswort ein.</p>
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="login-error"><?= htmlspecialchars($error) ?></div>
|
<div class="login-error"><i class="fa-solid fa-triangle-exclamation"></i> <?= htmlspecialchars($error) ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<form method="POST" action="admin.php?page=login">
|
<form method="POST" action="admin.php?page=login">
|
||||||
<input type="password" name="password" placeholder="Passwort" autofocus>
|
<input type="password" name="password" placeholder="Passwort" autofocus>
|
||||||
|
|||||||
Reference in New Issue
Block a user