diff --git a/TODO.md b/TODO.md
index e164357..3179ce8 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,8 @@
# TODO
+## Done
+- [x] Replace unicode left arrow (←) with SVG arrow icon in admin nav logo
+
## Fixes
- [x] Fix CSV import UNIQUE constraint crash: skip rows whose identifier already exists in DB
- [x] Auto-migrate both test.db and posterg.db on `just serve` via scripts/migrate.sh
diff --git a/public/assets/css/admin.css b/public/assets/css/admin.css
index e9dd1f0..705b007 100644
--- a/public/assets/css/admin.css
+++ b/public/assets/css/admin.css
@@ -24,13 +24,18 @@ html, body {
min-height: 100vh;
background: var(--admin-bg);
color: var(--admin-text);
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
- "Helvetica Neue", Arial, sans-serif;
+ font-family:
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
+ Arial, sans-serif;
}
/* Admin nav (dark version of site-nav) */
.admin-nav {
- background: linear-gradient(to bottom, var(--admin-purple) 0%, rgba(149, 87, 181, 0.0) 100%);
+ background: linear-gradient(
+ to bottom,
+ var(--admin-purple) 0%,
+ rgba(149, 87, 181, 0.0) 100%
+ );
padding: 0.55rem 1.5rem;
display: flex;
align-items: center;
@@ -612,36 +617,36 @@ html, body {
border: 1px solid #333;
border-radius: 4px;
padding: 1rem 1.25rem;
- margin: .5rem 0 1rem;
- background: rgba(255,255,255,.02);
+ margin: 0.5rem 0 1rem;
+ background: rgba(255, 255, 255, 0.02);
}
.admin-fieldset-legend {
- font-size: .82rem;
+ font-size: 0.82rem;
font-weight: 600;
- letter-spacing: .04em;
+ letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--admin-text-muted);
- padding: 0 .5rem;
+ padding: 0 0.5rem;
}
.admin-jury-row {
display: flex;
align-items: center;
- gap: .75rem;
+ gap: 0.75rem;
flex-wrap: wrap;
}
.admin-jury-list {
display: flex;
flex-direction: column;
- gap: .5rem;
+ gap: 0.5rem;
}
.admin-jury-entry {
display: flex;
align-items: center;
- gap: .75rem;
+ gap: 0.75rem;
flex-wrap: wrap;
}
@@ -654,8 +659,8 @@ html, body {
border: 1px solid #555;
color: var(--admin-text-muted);
border-radius: 3px;
- padding: .2rem .45rem;
- font-size: .8rem;
+ padding: 0.2rem 0.45rem;
+ font-size: 0.8rem;
cursor: pointer;
line-height: 1;
}
@@ -668,23 +673,23 @@ html, body {
.admin-inline-form {
display: flex;
align-items: center;
- gap: .4rem;
+ gap: 0.4rem;
flex-wrap: wrap;
}
.admin-input--inline {
- padding: .28rem .5rem;
- font-size: .82rem;
+ padding: 0.28rem 0.5rem;
+ font-size: 0.82rem;
}
.admin-select--inline {
- padding: .28rem .5rem;
- font-size: .82rem;
+ padding: 0.28rem 0.5rem;
+ font-size: 0.82rem;
}
.admin-btn--sm {
- padding: .28rem .65rem;
- font-size: .8rem;
+ padding: 0.28rem 0.65rem;
+ font-size: 0.8rem;
}
.admin-btn--warning {
@@ -712,9 +717,9 @@ html, body {
background: #1a1a2e;
border: 1px solid #333;
border-radius: 4px;
- padding: .65rem 1rem;
+ padding: 0.65rem 1rem;
margin-bottom: 1.5rem;
- font-size: .88rem;
+ font-size: 0.88rem;
color: var(--admin-text-muted);
}
@@ -727,13 +732,13 @@ html, body {
/* Visibility / access badges */
.status-access {
display: inline-block;
- font-size: .7rem;
- padding: .1rem .4rem;
+ font-size: 0.7rem;
+ padding: 0.1rem 0.4rem;
border-radius: 3px;
- margin-top: .2rem;
+ margin-top: 0.2rem;
background: #333;
color: #aaa;
- letter-spacing: .03em;
+ letter-spacing: 0.03em;
}
.status-access--Libre,
diff --git a/public/assets/css/common.css b/public/assets/css/common.css
index a8733cc..f30c00f 100644
--- a/public/assets/css/common.css
+++ b/public/assets/css/common.css
@@ -32,8 +32,9 @@ body {
}
body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
- "Helvetica Neue", Arial, sans-serif;
+ font-family:
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
+ Arial, sans-serif;
background: var(--white);
color: var(--black);
}
@@ -51,12 +52,17 @@ a:hover {
NAV BAR (shared across all public pages)
============================================================ */
.site-nav {
- background: linear-gradient(to bottom, var(--purple) 0%, rgba(149, 87, 181, 0.0) 100%);
- padding: 0.55rem 1.5rem;
+ background: linear-gradient(
+ to bottom,
+ var(--purple) 0%,
+ rgba(149, 87, 181, 0.0) 100%
+ );
+ padding: 1rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
+ /* height: 3ch; */
}
.site-nav__logo {
diff --git a/templates/admin/head.php b/templates/admin/head.php
index 8d76710..9a092a1 100644
--- a/templates/admin/head.php
+++ b/templates/admin/head.php
@@ -24,7 +24,7 @@
Aller au contenu principal