From f38eed8c3722ac94301527b55b2f532984157714 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 08:15:26 +0000
Subject: [PATCH 11/32] a11y: clarity issue_block article thumbnail alignment
---
src/themes/clean/assets/css/clean.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 4758820388..9ade9630c3 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -476,6 +476,10 @@ a.btn {
border-bottom: 1px solid var(--border-light);
}
+.article-list .article-item {
+ padding: 2rem;
+}
+
.article-item:last-child {
border-bottom: none;
padding-bottom: 0;
From 32509b96c30b343dc6ed88ea921f233655cce8dc Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 10:54:59 +0000
Subject: [PATCH 12/32] a11y: clarity contrast for text overlaying images
---
src/themes/clean/assets/css/clean.css | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 9ade9630c3..45bb4a77a3 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -234,6 +234,10 @@ main a {
background-color: var(--bg-card-alt);
}
+.card-img-overlay.white-text > .card-text {
+ background: var(--bg-overlay);
+}
+
.card.no-image .card-img-overlay {
position: relative;
background-color: var(--bg-card-alt);
@@ -395,7 +399,7 @@ a.btn {
left: 0;
right: 0;
bottom: 0;
- background: linear-gradient(transparent, rgba(0, 0, 0, var(--recede-opacity)) 20%);
+ background: var(--bg-overlay);
padding: 2rem;
text-align: center;
}
From 3c40fca06243db75700d5a8b547ac54864f0a1fe Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 11:14:27 +0000
Subject: [PATCH 13/32] a11y: clarity reading options button styling
---
src/themes/clean/assets/css/clean.css | 5 ++---
src/themes/clean/templates/elements/journal/reading.html | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 45bb4a77a3..ab471437b0 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -579,9 +579,8 @@ a[href^="http"] {
background-color: var(--bg-body);
}
-.btn-opt {
- border: 1px solid #1C304A;
- background: #f1f1f1;
+#reading-options .btn-background {
+ min-width: 3rem;
}
.dyslexia-friendly{
diff --git a/src/themes/clean/templates/elements/journal/reading.html b/src/themes/clean/templates/elements/journal/reading.html
index 12c6650bbc..7b1c1d24d7 100644
--- a/src/themes/clean/templates/elements/journal/reading.html
+++ b/src/themes/clean/templates/elements/journal/reading.html
@@ -2,7 +2,7 @@
{% trans 'Text display options' %}
-
{% endblock body %}
From 81138a84ff4035d6ceb8aba7eece9bec5616a8b0 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 12:09:19 +0000
Subject: [PATCH 18/32] a11y: clarity news tag pill remove underlining
---
src/themes/clean/assets/css/clean.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 73b20f24fd..84ae7ca729 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -853,6 +853,7 @@ header svg {
.badge-secondary {
background-color: var(--brand-secondary);
color: #fff;
+ text-decoration: none;
}
input + .btn-background {
From 51376b4d39c51e6bc164314d6eae70dcce4dd160 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 12:14:47 +0000
Subject: [PATCH 19/32] a11y: clarity profile don't show empty roles
---
.../templates/core/accounts/public_profile.html | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/themes/clean/templates/core/accounts/public_profile.html b/src/themes/clean/templates/core/accounts/public_profile.html
index a4fc7f37f2..9674c6a7f9 100644
--- a/src/themes/clean/templates/core/accounts/public_profile.html
+++ b/src/themes/clean/templates/core/accounts/public_profile.html
@@ -10,13 +10,15 @@
{% include "common/elements/profile_image.html" with classes="thumbnail img-fluid editorial-image" user=user %}
{{ user.full_name }}
-
{% trans 'Roles' %}:
-
- {% for role in roles %}
- - {{ role.role.name }}
- {% endfor %}
-
-
+ {% if roles %}
+
{% trans 'Roles' %}:
+
+ {% for role in roles %}
+ - {{ role.role.name }}
+ {% endfor %}
+
+
+ {% endif %}
{% include "common/elements/profile_affiliations.html" %}
From a338185c08d0adb548bdb4c5778aa8f998d1f391 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 14:15:41 +0000
Subject: [PATCH 20/32] a11y: clarity remove toc duplicated card
---
src/themes/clean/templates/journal/article.html | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/themes/clean/templates/journal/article.html b/src/themes/clean/templates/journal/article.html
index 59054d30d8..781d55cbb9 100644
--- a/src/themes/clean/templates/journal/article.html
+++ b/src/themes/clean/templates/journal/article.html
@@ -377,11 +377,9 @@
{% trans 'CRediT Roles' %}
{% if article_content %}
-
{% trans "Table of Contents" %}
-
From e26e705e3fe47c2b180782430106c1a2046da82a Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 14:49:15 +0000
Subject: [PATCH 21/32] a11y: clarity midnight - make background buttons
compatible
---
src/themes/clean/assets/css/clean.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 84ae7ca729..b9e38b1601 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -306,7 +306,7 @@ main a {
.btn-background:visited {
background-color: inherit;
color: inherit;
- border: 1px solid var(--brand-primary);
+ border: 1px solid var(--btn-outline-secondary);
padding: 0 10px;
min-width: 7rem;
min-height: 2rem;
@@ -320,9 +320,9 @@ main a {
}
.btn-background:hover {
- color: var(--text-on-dark);
- background-color: var(--brand-primary);
- border-color: var(--brand-primary);
+ color: var(--btn-primary-text);
+ background-color: var(--btn-primary-bg);
+ border-color: var(--btn-primary-border);
transition: var(--transition-standard);
}
From 8e9d6c8afa13430b00583545df81aa77a23dbe8d Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 15:44:54 +0000
Subject: [PATCH 22/32] a11y: clarity midnight - make all colorway inputs
styled
---
src/themes/clean/assets/css/cardinal.css | 3 +++
src/themes/clean/assets/css/clean.css | 12 ++++++++++++
src/themes/clean/assets/css/evergreen.css | 3 +++
src/themes/clean/assets/css/midnight.css | 6 +++++-
src/themes/clean/assets/css/ocean.css | 3 +++
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/themes/clean/assets/css/cardinal.css b/src/themes/clean/assets/css/cardinal.css
index 440873fea2..8cf3d2a922 100644
--- a/src/themes/clean/assets/css/cardinal.css
+++ b/src/themes/clean/assets/css/cardinal.css
@@ -98,4 +98,7 @@
--pagination-active-bg: var(--btn-primary-bg);
--pagination-active-border: var(--btn-primary-border);
--pagination-disabled-color: var(--text-muted);
+
+ /* workarounds, note the fill colour is hardcoded not a variable*/
+ --custom-select-background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23747474' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}
\ No newline at end of file
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index b9e38b1601..f91e40ba3a 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -791,6 +791,18 @@ header svg {
/* ========================================================================
Form Elements
======================================================================== */
+input[type="text"],
+input[type="email"],
+textarea.form-control,
+.custom-select {
+ background: var(--bg-card-alt);
+ color: var(--text-muted);
+ border: solid, 1px, var(--brand-primary);
+}
+.custom-select {
+ background: var(--custom-select-background);
+}
+
.homepage-element-search-bar input[type="text"] {
font-size: 1.5rem;
}
diff --git a/src/themes/clean/assets/css/evergreen.css b/src/themes/clean/assets/css/evergreen.css
index 8b0c9cc687..69bf3de9ee 100644
--- a/src/themes/clean/assets/css/evergreen.css
+++ b/src/themes/clean/assets/css/evergreen.css
@@ -98,4 +98,7 @@
--pagination-active-bg: var(--btn-primary-bg);
--pagination-active-border: var(--btn-primary-border);
--pagination-disabled-color: var(--text-muted);
+
+ /* workarounds, note the fill colour is hardcoded not a variable*/
+ --custom-select-background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23747474' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}
\ No newline at end of file
diff --git a/src/themes/clean/assets/css/midnight.css b/src/themes/clean/assets/css/midnight.css
index b84f8989ac..bd2ebf25a2 100644
--- a/src/themes/clean/assets/css/midnight.css
+++ b/src/themes/clean/assets/css/midnight.css
@@ -1,6 +1,6 @@
:root {
/* Brand & Theme Colors */
- --brand-primary: #0a0f1a;
+ --brand-primary: #4d9fff;;
--brand-secondary: #7eb3ff;
--color-success: #5cb85c;
--text-link-alt: #6ba3ff;
@@ -95,4 +95,8 @@
--pagination-active-bg: var(--btn-primary-bg);
--pagination-active-border: var(--btn-primary-border);
--pagination-disabled-color: var(--text-muted);
+
+ /* workarounds, note the fill colour is hardcoded not a variable*/
+ --custom-select-background: var(--bg-card-alt) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23b0b3b8' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
+
}
diff --git a/src/themes/clean/assets/css/ocean.css b/src/themes/clean/assets/css/ocean.css
index 52714e12a1..b7678ecf9f 100644
--- a/src/themes/clean/assets/css/ocean.css
+++ b/src/themes/clean/assets/css/ocean.css
@@ -98,4 +98,7 @@
--pagination-active-bg: var(--btn-primary-bg);
--pagination-active-border: var(--btn-primary-border);
--pagination-disabled-color: var(--text-muted);
+
+ /* workarounds, note the fill colour is hardcoded not a variable*/
+ --custom-select-background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23747474' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}
\ No newline at end of file
From f3565aed7657f56051769080dc124c2f0d8286bc Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 15:52:45 +0000
Subject: [PATCH 23/32] a11y: clarity midnight - make search icon match search
input
---
src/themes/clean/assets/css/clean.css | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index f91e40ba3a..04b62e8fe9 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -833,6 +833,12 @@ textarea.form-control,
align-items: stretch;
}
+.input-group-text {
+ color: var(--body-text);
+ background: var(--bg-card-alt);
+ border: solid, 1px, var(--brand-primary);
+}
+
.input-group .custom-select,
.input-group .input-group-text {
height: 2.5rem;
From 007e5ea33a284a19b555dd32d24bb6b91b8cbf01 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Mon, 3 Nov 2025 15:56:29 +0000
Subject: [PATCH 24/32] a11y: clarity midnight - news tags text colour as
colourway variable
---
src/themes/clean/assets/css/clean.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 04b62e8fe9..1658a5a453 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -870,7 +870,7 @@ textarea.form-control,
.badge-secondary {
background-color: var(--brand-secondary);
- color: #fff;
+ color: var(--text-white);
text-decoration: none;
}
From d50bfd5510c1f855965b107d4a29d89f302830ce Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 09:08:34 +0000
Subject: [PATCH 25/32] clarity midnight - dyslexia colours
---
src/themes/clean/assets/css/midnight.css | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/themes/clean/assets/css/midnight.css b/src/themes/clean/assets/css/midnight.css
index bd2ebf25a2..4bc0771290 100644
--- a/src/themes/clean/assets/css/midnight.css
+++ b/src/themes/clean/assets/css/midnight.css
@@ -16,7 +16,7 @@
--text-white: #0a0f1a;
--text-header: #ffffff;
--body-text: #e4e6eb;
- --body-text-dyslexia: var(--text-black);
+ --body-text-dyslexia: #F5F5DC;
--nav-text: #b0b3b8;
--nav-text-active: #4d9fff;
--recede-opacity: 70%;
@@ -38,8 +38,8 @@
--bg-card-alt: #1a2235;
--bg-blockquote: #1a2235;
--bg-overlay: rgba(10, 15, 26, 0.9);
- --bg-dyslexia: #F5F5DC;
- --bg-dyslexia-em: #FAFAC8;
+ --bg-dyslexia: black;
+ --bg-dyslexia-em: var(--bg-card-alt);
/* UI State Colors */
--color-danger: #ff6b6b;
From f7421cd7252bc4ee0f8a432d5fae3e2fd2ac1bff Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 14:34:14 +0000
Subject: [PATCH 26/32] clarity public profile key info definition as dd
---
.../common/elements/affiliations_ul.html | 2 +-
src/themes/clean/assets/css/clean.css | 4 +
.../core/accounts/public_profile.html | 46 +++++++---
.../journal/editorial_social_content.html | 84 +++++++++++--------
4 files changed, 88 insertions(+), 48 deletions(-)
diff --git a/src/templates/common/elements/affiliations_ul.html b/src/templates/common/elements/affiliations_ul.html
index 94b350b875..c57b94dbf2 100644
--- a/src/templates/common/elements/affiliations_ul.html
+++ b/src/templates/common/elements/affiliations_ul.html
@@ -1,4 +1,4 @@
-
+
{% for affiliation in affiliations %}
-
{% include "common/elements/affiliation_display.html" %}
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 1658a5a453..ed0d81fb78 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -563,6 +563,10 @@ a.btn {
padding-bottom: var(--spacing-sm);
}
+dt {
+ font-size: larger;
+}
+
a[href^="http"] {
overflow-wrap: anywhere;
}
diff --git a/src/themes/clean/templates/core/accounts/public_profile.html b/src/themes/clean/templates/core/accounts/public_profile.html
index 9674c6a7f9..89b5136d48 100644
--- a/src/themes/clean/templates/core/accounts/public_profile.html
+++ b/src/themes/clean/templates/core/accounts/public_profile.html
@@ -10,16 +10,42 @@
{% include "common/elements/profile_image.html" with classes="thumbnail img-fluid editorial-image" user=user %}
{{ user.full_name }}
- {% if roles %}
- {% trans 'Roles' %}:
-
- {% for role in roles %}
- - {{ role.role.name }}
- {% endfor %}
-
-
- {% endif %}
- {% include "common/elements/profile_affiliations.html" %}
+
+ {% if roles.exists %}
+ -
+ {% blocktrans count counter=roles.count %}
+ Role
+ {% plural %}
+ Roles
+ {% endblocktrans %}
+
+ -
+
+ {% for role in roles %}
+ - {{ role.role.name }}
+ {% endfor %}
+
+
+ {% endif %}
+ {% if user.affiliations.exists %}
+ -
+ {% blocktrans count counter=user.affiliations.count %}
+ Affiliation
+ {% plural %}
+ Affiliations
+ {% endblocktrans %}
+
+ -
+ {% include "common/elements/affiliations_ul.html" with affiliations=user.affiliations %}
+
+ {% endif %}
+ {% if user.website or user.twitter or user.facebook or user.github or user.linkedin %}
+ - {% trans 'Social Media' %}
+ -
+ {% include "elements/journal/editorial_social_content.html" with user=user %}
+
+ {% endif %}
+
{% if user.biography %}
diff --git a/src/themes/clean/templates/elements/journal/editorial_social_content.html b/src/themes/clean/templates/elements/journal/editorial_social_content.html
index 00ca70d043..befcd66c7a 100644
--- a/src/themes/clean/templates/elements/journal/editorial_social_content.html
+++ b/src/themes/clean/templates/elements/journal/editorial_social_content.html
@@ -1,53 +1,63 @@
{% if user.website or user.twitter or user.facebook or user.github or user.linkedin %}
-
+
+
{% endif %}
\ No newline at end of file
From b04853cea3b7688c06bc9ebf9154bc4bec592c63 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 15:19:23 +0000
Subject: [PATCH 27/32] clarity midnight - table caption background
---
src/themes/clean/assets/css/clean.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index ed0d81fb78..881a1792a3 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -951,6 +951,7 @@ span + .btn-background {
.table-caption {
margin-bottom: var(--spacing-sm);
+ background: var(--bg-card-alt) !important;
}
.math-formulae {
From 613a4b47f953db5ec1b6d6e35377e9b1c90604d4 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 15:20:58 +0000
Subject: [PATCH 28/32] clarity midnight - figure caption background
---
src/themes/clean/assets/css/clean.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index 881a1792a3..ba34eec1f7 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -949,7 +949,8 @@ span + .btn-background {
z-index: 999;
}
-.table-caption {
+.table-caption,
+.fig-caption {
margin-bottom: var(--spacing-sm);
background: var(--bg-card-alt) !important;
}
From 909d5a19f63620a3d61a5bed0fbc60dc2eac3452 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 15:55:29 +0000
Subject: [PATCH 29/32] clarity midnight - table modal styling
---
src/themes/clean/assets/css/clean.css | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index ba34eec1f7..c5316f6337 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -346,11 +346,17 @@ a.btn {
border: 1px black solid;
}
-.alert .close {
+.alert .close,
+button.close {
color: var(--color-danger);
opacity: var(--recede-opacity);
}
+button.close:hover {
+ background: var(--color-danger);
+ color: var(--body-text)
+}
+
.btn-outline-secondary {
color: var(--btn-outline-secondary);
border-color: var(--btn-outline-secondary);
@@ -1159,6 +1165,11 @@ span + .btn-background {
min-height: 24px;
}
+.modal-body {
+ background: var(--bg-body);
+ border: var(--border-medium) 1px solid;
+}
+
/* ========================================================================
Accessibility & Skip Navigation
======================================================================== */
From 02c6b31c4c34f0141fb4590401c71b726e293979 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 15:57:15 +0000
Subject: [PATCH 30/32] clarity midnight - how to cite modal header style
---
src/themes/clean/assets/css/clean.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index c5316f6337..c8a783a759 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -1170,6 +1170,10 @@ span + .btn-background {
border: var(--border-medium) 1px solid;
}
+.modal-header {
+ background: var(--bg-card-alt);
+}
+
/* ========================================================================
Accessibility & Skip Navigation
======================================================================== */
From 9f5ba08f1f3fbcdc5de7ddcf519fb79985554b1a Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 15:58:35 +0000
Subject: [PATCH 31/32] clarity midnight - table modal styling continued
---
src/themes/clean/assets/css/clean.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index c8a783a759..fd768ceac0 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -350,6 +350,7 @@ a.btn {
button.close {
color: var(--color-danger);
opacity: var(--recede-opacity);
+ text-shadow: none;
}
button.close:hover {
From d29e2c60ed685adef58b8d2693bbfb34ea82fb99 Mon Sep 17 00:00:00 2001
From: StephDriver <5330770+StephDriver@users.noreply.github.com>
Date: Tue, 4 Nov 2025 16:24:40 +0000
Subject: [PATCH 32/32] clarity - special collections sidebar list styling
---
src/themes/clean/assets/css/clean.css | 6 ++-
.../elements/journal/issue_sidebar.html | 42 ++++++++++---------
2 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/src/themes/clean/assets/css/clean.css b/src/themes/clean/assets/css/clean.css
index fd768ceac0..d9fb334989 100644
--- a/src/themes/clean/assets/css/clean.css
+++ b/src/themes/clean/assets/css/clean.css
@@ -591,7 +591,7 @@ a[href^="http"] {
z-index: 1000;
width: fit-content;
margin-left: auto;
- background-color: var(--bg-body);
+ background-color: var(--bg-card-alt);
}
#reading-options .btn-background {
@@ -1008,6 +1008,10 @@ span + .btn-background {
margin-left: 0;
}
+.line-spaced-list > li {
+ margin-bottom: 0.7rem;
+}
+
.keywords-list {
list-style: none;
padding-left: 0;
diff --git a/src/themes/clean/templates/elements/journal/issue_sidebar.html b/src/themes/clean/templates/elements/journal/issue_sidebar.html
index 78dc725db0..18e249e845 100644
--- a/src/themes/clean/templates/elements/journal/issue_sidebar.html
+++ b/src/themes/clean/templates/elements/journal/issue_sidebar.html
@@ -16,27 +16,29 @@
{% else %} {% trans issue.issue_type.plural_name %}
{% endif %}
-
- {% for issue_item in issues %}
- {% if issue_item.id == issue.id %}
- -
-
-
- {{ issue.display_title }}
-
- ({{ issue.articles.all.count}})
- {% trans 'Articles' %} {% trans 'this page' %}
+ {% spaceless %}
+
- {% elif issue_item.issue_type.code == 'issue' %}
- -
- {{ issue_item.display_title }}
-
- ({{ issue_item.articles.all.count}}) {% trans 'Articles' %}
- {% else %}
- - {{ issue_item.issue_title }}
- {% endif %}
- {% endfor %}
-
+ {% endfor %}
+
+ {% endspaceless %}