Focus: a sea-glass panel over the shader background

501e3e7 · gmorell · 2026-12-03 05:35

20 files +27 -3
Message
{commit_body(@commit)}

Files changed

modified assets/f/css/style.css
+13 −2
@@ -59,8 +59,8 @@
59 59
60 60 /* Shader background (f/js/shader_background.js). The canvas sits behind
61 61 everything; while it's on, the content column becomes an opaque base-100
62 − panel, so the pattern shows only around it and text contrast is exactly
63 − the theme's own. The header, menus, cards and the reader overlay have
62 + panel (sea glass on Focus pages, below), so on Classic pages the pattern
63 + shows only around it and text contrast is exactly the theme's own. The header, menus, cards and the reader overlay have
64 64 opaque backgrounds already. */
65 65 #site-shader {
66 66 position: fixed;
@@ -80,6 +80,17 @@ html[data-shader] #content > div {
80 80 padding: 2rem;
81 81 }
82 82 }
83 +/* Focus pages: sea glass instead of the opaque panel -- neiam-org's
84 + .neiam-glass (the me.neiam.org cards, matrix.neiam.org, Argo CD's login
85 + box): the theme's base-100 at 72% over a 10px blur, so the pattern reads
86 + as soft colour behind the page rather than detail under the text. The
87 + tiles, rails and reader inside keep their own opaque surfaces. */
88 +html[data-shader] #content[data-layout="focus"] > div {
89 + background-color: var(--fallback-b1, oklch(var(--b1) / 0.72));
90 + -webkit-backdrop-filter: blur(10px) saturate(1.1);
91 + backdrop-filter: blur(10px) saturate(1.1);
92 + box-shadow: 0 1.5rem 4rem rgba(20, 0, 3, 0.45);
93 +}
83 94 /* /shaders: the card in use. */
84 95 [data-shader-card][data-active] {
85 96 outline: 4px solid oklch(var(--a));
modified templates/admin/categories_focus.html
+1 −0
@@ -5,6 +5,7 @@
5 5 as the other Focus pages. #}
6 6 {% block width %}w-full max-w-none{% endblock %}
7 7 {% block main_class %}px-3 py-3 sm:px-4 lg:px-5{% endblock %}
8 +{% block layout %}focus{% endblock %}
8 9 {% block content %}
9 10 <div class="space-y-4 text-left">
10 11 <div class="flex flex-wrap items-center justify-between gap-3">
modified templates/admin/flags_focus.html
+1 −0
@@ -1,6 +1,7 @@
1 1 {% extends "root.html" %}
2 2 {% block width %}w-full max-w-none{% endblock %}
3 3 {% block main_class %}px-3 py-3 sm:px-4 lg:px-5{% endblock %}
4 +{% block layout %}focus{% endblock %}
4 5 {% block content %}
5 6 <div class="space-y-4 text-left">
6 7 {% include "admin/_mod_nav.html" %}
modified templates/admin/log_focus.html
+1 −0
@@ -1,6 +1,7 @@
1 1 {% extends "root.html" %}
2 2 {% block width %}w-full max-w-none{% endblock %}
3 3 {% block main_class %}px-3 py-3 sm:px-4 lg:px-5{% endblock %}
4 +{% block layout %}focus{% endblock %}
4 5 {% block content %}
5 6 <div class="space-y-4 text-left">
6 7 {% include "admin/_mod_nav.html" %}
modified templates/admin/users_focus.html
+1 −0
@@ -1,6 +1,7 @@
1 1 {% extends "root.html" %}
2 2 {% block width %}w-full max-w-none{% endblock %}
3 3 {% block main_class %}px-3 py-3 sm:px-4 lg:px-5{% endblock %}
4 +{% block layout %}focus{% endblock %}
4 5 {% block content %}
5 6 <div class="space-y-4 text-left">
6 7 {% include "admin/_mod_nav.html" %}
modified templates/auth/invites_focus.html
+1 −0

Click to load diff…

modified templates/forum/focus.html
+1 −0

Click to load diff…

modified templates/forum/focus_list.html
+1 −0

Click to load diff…

modified templates/forum/home_visual.html
+1 −0

Click to load diff…

modified templates/forum/landing_focus.html
+1 −0

Click to load diff…

modified templates/forum/topic_focus.html
+1 −0

Click to load diff…

modified templates/root.html
+3 −1

Click to load diff…

modified templates/tags_focus.html
+1 −0

Click to load diff…

Parents: e4557c2