7 Commits
staging ... Dev

Author SHA1 Message Date
d21c9e583c Merge branch 'master' into Dev 2026-07-05 09:03:33 +00:00
f1b9a254ae Fixes theme colors 2026-07-05 10:59:28 +02:00
856a207e9a Fix things 2026-07-01 13:56:38 +02:00
afa569588d Improve topbar 2026-07-01 13:37:28 +02:00
1f463b9bb1 Merge pull request 'Last before production' (#1) from Dev into master
Reviewed-on: #1
2026-06-28 12:10:28 +00:00
6838df4c44 Update menu entries and fixes some profile picture problems.
Added help pages too.
2026-06-28 14:07:20 +02:00
055be8e462 SEO Time 2026-06-24 19:20:32 +02:00
16 changed files with 513 additions and 476 deletions

View File

@@ -1 +1,3 @@
[]
{
"romhackplaza": "styles/romhackplaza"
}

View File

@@ -23,6 +23,7 @@
@xf-contentAltBg: @xf-paletteColor3;
@xf-contentBg: @xf-paletteColor2;
@xf-contentHighlightBg: @xf-paletteColor3;
@xf-emailPublicLogoUrl: ~'data/assets/email_logo/plaza-logo.webp';
@xf-errorBg: #e57373;
@xf-errorColor: @xf-paletteNeutral1;
@xf-fontFamilyBody: 'Segoe UI', 'San Francisco', 'Helvetica Neue', sans-serif;
@@ -32,6 +33,8 @@
@xf-linkHoverColor: @xf-paletteAccent2;
@xf-linkUgcColor: @xf-paletteAccent3;
@xf-linkUgcHoverColor: @xf-paletteAccent2;
@xf-nodeListDescriptionDisplay: inline;
@xf-nodeListSubDisplay: flat;
@xf-pageBg: @xf-paletteColor1;
@xf-paletteAccent1: hsl(35, 90%, 95%);
@xf-paletteAccent2: #e56700;
@@ -44,6 +47,8 @@
@xf-paletteNeutral1: #f1f1f1;
@xf-paletteNeutral2: #a1a1aa;
@xf-paletteNeutral3: #111111;
@xf-publicIconUrl: ~'data/assets/logo/plaza-logo-text.webp';
@xf-publicIconUrlLarge: ~'data/assets/logo/plaza-logo-text.webp';
@xf-publicLogoUrl: ~'data/assets/logo_default/plaza-logo-wide.webp';
@xf-selectedItemBgColor: @xf-paletteAccent1;
@xf-selectedItemColor: @xf-paletteAccent3;
@@ -59,11 +64,35 @@
@xf-textColorFeature: @xf-paletteNeutral1;
@xf-textColorMuted: @xf-paletteNeutral2;
.xf-blockMinorHeader()
{
font-size: @xf-fontSizeLarge;
color: @xf-textColor;
}
.xf-blockMinorTabHeaderSelected()
{
color: @xf-textColor;
border-color: @xf-minorHeadingTextColor;
}
.xf-blockTabHeaderSelected()
{
color: @xf-linkColor;
border-color: @xf-paletteColor2;
}
.xf-blockTextHeader()
{
font-size: @xf-fontSizeLarge;
color: @xf-textColor;
}
@xf-blockMinorHeader--font-size: @xf-fontSizeLarge;
@xf-blockMinorHeader--color: @xf-textColor;
@xf-blockMinorTabHeaderSelected--color: @xf-textColor;
@xf-blockMinorTabHeaderSelected--border-color: @xf-minorHeadingTextColor;
@xf-blockTabHeaderSelected--color: @xf-linkColor;
@xf-blockTabHeaderSelected--border-color: @xf-paletteColor2;
@xf-blockTextHeader--font-size: @xf-fontSizeLarge;
@xf-blockTextHeader--color: @xf-textColor;

View File

@@ -1,4 +1,10 @@
{
"blockMinorHeader.json": {
"hash": "7731a8c090a6de368ba735f3cfdc973d"
},
"blockMinorTabHeaderSelected.json": {
"hash": "f40116bfcc55ac8be7b1dcc646efc37a"
},
"blockTabHeaderBg.json": {
"hash": "f548168a30a1d58f885379c826512664"
},
@@ -8,6 +14,9 @@
"blockTabHeaderTextColor.json": {
"hash": "60987b64d0d5440a964a29356f62c9a6"
},
"blockTextHeader.json": {
"hash": "2632f59dbe2d84a048a962dc57ce3be9"
},
"borderColor.json": {
"hash": "188643a00ec1edff6b6c9a56ac2ee460"
},
@@ -68,6 +77,9 @@
"contentHighlightBg.json": {
"hash": "3f25b8f5a6851ecae0eaf5e3791c9cd9"
},
"emailPublicLogoUrl.json": {
"hash": "a47025c3de1bbb9bc269501d9a13fcae"
},
"errorBg.json": {
"hash": "0640f2a117475e7615a8004007937f3a"
},
@@ -95,6 +107,12 @@
"linkUgcHoverColor.json": {
"hash": "fd483e9f6ebed528993ea0c5b3db6880"
},
"nodeListDescriptionDisplay.json": {
"hash": "670e207dd001de30388317de6135e93f"
},
"nodeListSubDisplay.json": {
"hash": "ea17dc87cc3efc49db6a0174168a7ef1"
},
"pageBg.json": {
"hash": "25b20f46219dd7b5cbccc5a1bc93d63d"
},
@@ -131,6 +149,12 @@
"paletteNeutral3.json": {
"hash": "1ec2ef5d3d83ad10b6b7232aaa08c440"
},
"publicIconUrl.json": {
"hash": "431736e0ac4c14f139c3dd525ca56724"
},
"publicIconUrlLarge.json": {
"hash": "f0d4ac2c45c2ab501d4860092e674c41"
},
"publicLogoUrl.json": {
"hash": "aabe78e8cf804421f6dfa2a20b5028da"
},

View File

@@ -0,0 +1,22 @@
{
"group_name": "block",
"title": "Block minor header",
"description": "Sub-headings in blocks use these settings",
"property_type": "css",
"css_components": [
"text",
"background",
"border",
"extra"
],
"value_type": "",
"value_parameters": "",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": {
"font-size": "@xf-fontSizeLarge",
"color": "@xf-textColor"
},
"display_order": 20400
}

View File

@@ -0,0 +1,22 @@
{
"group_name": "block",
"title": "Block minor tab header - selected tab",
"description": "Selected tabs from block sub-headings",
"property_type": "css",
"css_components": [
"text",
"background",
"border_color_simple",
"extra"
],
"value_type": "",
"value_parameters": "",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": {
"color": "@xf-textColor",
"border-color": "@xf-minorHeadingTextColor"
},
"display_order": 20600
}

View File

@@ -0,0 +1,22 @@
{
"group_name": "block",
"title": "Block text header",
"description": "Text headers are used for subtle identification of content areas, without changing the background style or color",
"property_type": "css",
"css_components": [
"text",
"background",
"border",
"extra"
],
"value_type": "",
"value_parameters": "",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": {
"font-size": "@xf-fontSizeLarge",
"color": "@xf-textColor"
},
"display_order": 20700
}

View File

@@ -0,0 +1,14 @@
{
"group_name": "email",
"title": "Email logo URL",
"description": "Defines the logo URL to be used in emails. We do not recommend specifying SVG images here.",
"property_type": "value",
"css_components": [],
"value_type": "string",
"value_parameters": "asset=email_logo",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": "data/assets/email_logo/plaza-logo.webp",
"display_order": 50
}

View File

@@ -0,0 +1,14 @@
{
"group_name": "nodeList",
"title": "Description display style",
"description": "To save vertical space, it is possible to hide node descriptions until the node title is hovered, at which point they are displayed in a tooltip",
"property_type": "value",
"css_components": [],
"value_type": "radio",
"value_parameters": "tooltip={{ phrase('tooltip') }}\ninline={{ phrase('inline') }}\nnone={{ phrase('none') }}",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": "inline",
"display_order": 400
}

View File

@@ -0,0 +1,14 @@
{
"group_name": "nodeList",
"title": "Sub-forums display style",
"description": "Choose the style in which sub-forums will be displayed within a particular node element, according to the amount of space you want them to occupy",
"property_type": "value",
"css_components": [],
"value_type": "radio",
"value_parameters": "menu={{ phrase('popup_menu') }}\nflat={{ phrase('listed_below_node') }}\nnone={{ phrase('none') }}",
"has_variations": false,
"depends_on": "",
"value_group": "",
"property_value": "flat",
"display_order": 300
}

View File

@@ -0,0 +1,14 @@
{
"group_name": "basic",
"title": "Icon URL (192x192)",
"description": "The path to your icon image. This should be a 192x192 image and usually a PNG.",
"property_type": "value",
"css_components": [],
"value_type": "string",
"value_parameters": "asset=logo",
"has_variations": false,
"depends_on": "",
"value_group": "logo",
"property_value": "data/assets/logo/plaza-logo-text.webp",
"display_order": 210
}

View File

@@ -0,0 +1,14 @@
{
"group_name": "basic",
"title": "Icon URL (512x512)",
"description": "The path to your large icon image. This should be a 512x512 image and usually a PNG.",
"property_type": "value",
"css_components": [],
"value_type": "string",
"value_parameters": "asset=logo",
"has_variations": false,
"depends_on": "",
"value_group": "logo",
"property_value": "data/assets/logo/plaza-logo-text.webp",
"display_order": 220
}

View File

@@ -3,7 +3,7 @@
"addon_id": "XF",
"version_id": 2031070,
"version_string": "2.3.10",
"hash": "bbe8ebb41f6606f1f41782ba1aaa5509"
"hash": "fe120070b080c42ea99ad31622baa0d5"
},
"public/account_alerts_popup.html": {
"addon_id": "XF",
@@ -39,7 +39,7 @@
"addon_id": "XF",
"version_id": 2031070,
"version_string": "2.3.10",
"hash": "e96c4ea665df26ce03dd38cd21ebc565"
"hash": "3e8d3229f5dd7752871a1be1ca03e2ab"
},
"public/member_tooltip.html": {
"addon_id": "XF",
@@ -73,8 +73,8 @@
},
"public/topbar_actions.html": {
"addon_id": "RomhackPlaza/Master",
"version_id": 1000000,
"version_string": "1.0.0",
"hash": "ee896c17cf565f9351ec2bfd2da1b7c1"
"version_id": 1010170,
"version_string": "1.1.1",
"hash": "47e3ddab51eb7ba2077a514c54850ee1"
}
}

View File

@@ -100,8 +100,12 @@
<div class="$menu-group">
<div class="$menu-group-title">{{ $navEntry.title }}</div>
<xf:foreach loop="$navEntry.children" key="$childNavId" value="$childNavEntry" i="$j">
<a href="{{ $childNavEntry.href }}" class="$menu-item" >
<i data-lucide="{{ $childNavEntry.attributes.icon}}"></i><span>{{ $childNavEntry.title }}</span>
<a href="{{ $childNavEntry.href }}"
class="$menu-item"
style="{{ $childNavEntry.attributes.color ? 'color:' . $childNavEntry.attributes.color : '' }}"
target="{{ $childNavEntry.attributes.target }}"
>
<i data-lucide="{{ $childNavEntry.attributes.icon }}"></i><span>{{ $childNavEntry.title }}</span>
</a>
</xf:foreach>
</div>
@@ -258,6 +262,17 @@
</div>
</xf:if>
<xf:if contentcheck="true">
<div class="p-footer-debug">
<xf:contentcheck>
<xf:macro id="debug_macros::debug"
arg-controller="{$controller}"
arg-action="{$actionMethod}"
arg-template="{$template}" />
</xf:contentcheck>
</div>
</xf:if>
<xf:ad position="container_breadcrumb_bottom_above" />
<xf:macro id="breadcrumbs"
arg-breadcrumbs="{$breadcrumbs}"

View File

@@ -0,0 +1,53 @@
<div class="$settings-section">
<div class="$settings-section-title">
<i data-lucide="sun-moon" size="14"></i>
Theme
</div>
<xf:if is="$xf.visitor.style_variation === 'default'">
<button type="button" href="{{ link_type( 'public', link('misc/style-variation'), null, {
'variation': 'alternate',
'reset': null,
't': csrf_token(),
'_xfRedirect': $redirect
}) }}" class="$settings-theme-toggle" rel="nofollow" data-xf-click="style-variation" data-variation="alternate">
<span class="$settings-theme-toggle-inner">
<i data-lucide="moon" size="15"></i>
Dark
<span class="$settings-theme-toggle-badge">ON</span>
</span>
</button>
</xf:if>
<xf:if is="$xf.visitor.style_variation === 'alternate'">
<button type="button" href="{{ link_type( 'public', link('misc/style-variation'), null, {
'variation': 'default',
'reset': null,
't': csrf_token(),
'_xfRedirect': $redirect
}) }}" class="$settings-theme-toggle" rel="nofollow" data-xf-click="style-variation" data-variation="default">
<span class="$settings-theme-toggle-inner">
<i data-lucide="sun" size="15"></i>
Light
<span class="$settings-theme-toggle-badge">ON</span>
</span>
</button>
</xf:if>
</div>
<div class="$settings-separator"></div>
<div class="$settings-section">
<div class="$settings-section-title">
<i data-lucide="user-cog" size="14"></i>
Account
</div>
<a href="{{ link('account') }}" class="$settings-link">
<i data-lucide="settings-2" size="14"></i>
XenForo settings
<i data-lucide="external-link" size="12" style="margin-left:auto"></i>
</a>
</div>
<script>
if( window.refreshIcons !== undefined ) {
window.refreshIcons();
}
</script>

View File

@@ -10,7 +10,8 @@ body {
background-color: var(--bg);
color: var(--text);
display: flex;
height: 100vh;
height: 100dvh;
min-height: 100dvh;
overflow: hidden;
}
@@ -71,6 +72,9 @@ ul {
/* Menu settings */
--menu-size: 260px;
--menu-user-avatar-bg: #555;
/* Gap */
--gap: 15px;
}
.\$light-mode {
@@ -132,6 +136,8 @@ ul {
background-color: var(--bg2);
border: 1px solid var(--border);
display: flex;
min-width: 0;
max-width: 100%;
flex-direction: column;
transition: transform 0.2s, border-color 0.2s;
cursor: pointer;
@@ -144,6 +150,7 @@ ul {
.\$entry-cover-wrapper {
position: relative;
aspect-ratio: 4/3;
min-width: 0;
background-color: var(--bg);
border-bottom: 1px solid var(--border);
display: flex;
@@ -173,6 +180,7 @@ ul {
.\$entry-card-info {
padding: 15px;
flex-grow: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
@@ -183,12 +191,16 @@ ul {
font-size: 1.1rem;
margin-bottom: 5px;
line-height: 1.3;
overflow-wrap: anywhere;
word-break: break-word;
}
.\$entry-card-author {
color: var(--rhpz-orange);
font-size: 0.85rem;
margin-bottom: 10px;
overflow-wrap: anywhere;
word-break: break-word;
}
.\$entry-card-meta {
@@ -248,6 +260,9 @@ ul {
.\$entry-card-meta {
font-size: 0.75rem;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
}
@@ -328,6 +343,45 @@ ul {
background-color: rgba(129, 199, 132, 0.1);
}
.\$back-to-top {
display: none;
}
@media (max-width: 768px) {
.\$back-to-top {
display: none;
align-items: center;
justify-content: center;
gap: 8px;
position: fixed;
right: 14px;
bottom: 14px;
z-index: 1000;
padding: 10px 14px;
border-radius: 999px;
background-color: var(--bg2);
border: 1px solid var(--border);
color: var(--text);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
opacity: 0;
pointer-events: none;
transform: translateY(10px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.\$back-to-top.visible {
display: inline-flex;
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}
.\$back-to-top span {
font-size: 0.78rem;
font-weight: 600;
}
}
/* BLOCK */
.\$block {
@@ -379,21 +433,36 @@ ul {
color: var(--text3);
border-color: var(--rhpz-orange);
}
.\$badge.blue, .\$badge.translations {
.\$badge.blue, .\$badge.romhacks {
background-color: var(--info);
color: var(--text);
border-color: var(--info);
}
.\$badge.green, .\$badge.romhacks {
.\$badge.green, .\$badge.translations {
background-color: var(--success2);
color: var(--text);
border-color: var(--success2);
}
.\$badge.red, .\$badge.homebrew {
background-color: #bf2323;
color: var(--text);
border-color: #bf2323;
}
.\$badge.yellow, .\$badge.utilities {
background-color: #fdeb0f;
color: #000;
border-color: #fdeb0f;
}
.\$badge.purple, .\$badge.documents{
background-color: #8b23bf;
color: var(--text);
border-color: #8b23bf;
}
.\$badge.brown, .\$badge.lua-scripts {
background-color: #b4825f;
color: var(--text);
border-color: #b4825f;
}
.\$topbar-badge {
position: absolute;
@@ -569,448 +638,6 @@ ul {
}
/* File: resources/css/components/database.css */
.\$filter-bar {
display: flex;
gap: 15px;
background-color: var(--bg2);
padding: 15px;
border: 1px solid var(--border);
margin-bottom: 20px;
flex-wrap: wrap;
align-items: center;
.\$filter-bar-search {
flex: 1;
max-width: 400px;
background-color: var(--bg);
border: 1px solid var(--border);
display: flex;
align-items: center;
padding: 8px 12px;
gap: 8px;
}
}
.\$database-wrapper {
display: flex;
gap: 20px;
align-items: flex-start;
.\$database-filters {
width: 300px;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 2px;
background-color: var(--bg2);
border: 1px solid var(--border);
.\$filter-group {
border-bottom: 1px solid var(--border);
overflow: hidden;
&:last-child {
border-bottom: none;
}
}
.\$filter-title-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
background-color: var(--bg3);
cursor: pointer;
user-select: none;
.\$filter-title {
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--text2);
margin: 0;
}
}
.\$filter-mode {
display: flex;
gap: 4px;
}
.\$filter-btn-mode {
background: none;
border: 1px solid var(--border);
color: var(--text2);
font-size: 0.7rem;
font-weight: 600;
padding: 2px 7px;
cursor: pointer;
font-family: var(--typography);
transition: all 0.15s;
letter-spacing: 0.5px;
&:hover {
border-color: var(--rhpz-orange);
color: var(--rhpz-orange);
}
&.\$active {
background-color: var(--rhpz-orange);
border-color: var(--rhpz-orange);
color: var(--text3);
}
}
.\$filter-options {
padding: 6px 0;
max-height: 180px;
overflow-y: auto;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: var(--bg2);
}
&::-webkit-scrollbar-thumb {
background: var(--border);
}
}
.\$filter-option {
display: flex;
align-items: center;
gap: 9px;
padding: 6px 14px;
font-size: 0.88rem;
color: var(--text);
cursor: pointer;
transition: background-color 0.1s;
&:hover {
background-color: var(--bg4);
}
}
.\$filter-option input[type="checkbox"] {
accent-color: var(--rhpz-orange);
width: 14px;
height: 14px;
cursor: pointer;
flex-shrink: 0;
}
}
.\$database-results {
flex: 1;
min-width: 0;
.\$database-sort {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid var(--border);
flex-wrap: wrap;
.\$btn {
font-size: 0.85rem;
padding: 6px 12px;
&.\$active {
border-color: var(--rhpz-orange);
color: var(--rhpz-orange);
}
}
}
.\$database-results-count {
margin-left: auto;
font-size: 0.85rem;
color: var(--text2);
}
.\$database-active-filters {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 15px;
}
.\$database-active-filter-tag {
display: inline-flex;
align-items: center;
gap: 6px;
background-color: var(--bg3);
border: 1px solid var(--border);
padding: 3px 10px;
font-size: 0.8rem;
color: var(--text);
.\$tag-type {
color: var(--rhpz-orange);
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
button {
background: none;
border: none;
color: var(--text2);
cursor: pointer;
padding: 0;
display: flex;
align-items: center;
transition: color 0.15s;
&:hover {
color: var(--text);
}
}
}
.\$database-empty {
grid-column: 1 / -1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
color: var(--text2);
background-color: var(--bg2);
border: 1px solid var(--border);
gap: 15px;
text-align: center;
i {
color: var(--border);
}
p {
font-size: 0.95rem;
}
}
}
}
.\$database-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 4px;
margin-top: 20px;
.\$btn {
min-width: 36px;
padding: 6px 10px;
font-size: 0.85rem;
display: flex;
align-items: center;
justify-content: center;
}
.\$active {
background-color: var(--rhpz-orange);
border-color: var(--rhpz-orange);
color: #111;
font-weight: 600;
}
}
.\$database-search {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
@media (max-width: 900px) {
.\$database-layout {
flex-direction: column;
}
.\$database-wrapper {
flex-direction: column;
}
.\$database-filters {
width: 100%;
display: grid;
grid-template-columns: repeat(2,1fr);
}
.\$database-filter-group:last-child {
border-bottom: 1px solid var(--border);
}
.\$database-results-count {
margin-left: 0;
width: 100%;
}
}
@media (max-width: 768px) {
.\$database-search {
gap: 8px;
margin-bottom: 15px;
flex-wrap: wrap;
}
.\$database-wrapper {
flex-direction: column;
gap: 15px;
}
.\$database-filters {
width: 100%;
grid-template-columns: 1fr;
order: -1;
margin-bottom: 10px;
}
.\$database-filter-group {
padding: 12px 0;
}
.\$grid-entries {
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
}
@media (max-width: 600px) {
.\$database-search {
flex-direction: column;
}
.\$database-filters {
grid-template-columns: 1fr;
}
.\$grid-entries {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.\$database-filter-group {
padding: 10px 0;
}
}
@media (max-width: 420px) {
.\$grid-entries {
grid-template-columns: 1fr;
gap: 10px;
}
.\$database-search input {
font-size: 0.85rem;
padding: 6px 8px;
}
}
.\$filter-chevron {
transition: transform 0.2s ease;
color: var(--text2);
flex-shrink: 0;
}
.\$filter-chevron.rotated {
transform: rotate(-90deg);
}
.\$internal-filter-search {
display: flex;
align-items: center;
gap: 7px;
padding: 7px 14px;
border-bottom: 1px solid var(--border);
background-color: var(--bg);
i {
color: var(--text2);
flex-shrink: 0;
}
input {
background: none;
border: none;
outline: none;
color: var(--text);
font-family: var(--typography);
font-size: 0.85rem;
width: 100%;
&::placeholder {
color: var(--text2);
}
}
}
.\$filter-title-left {
display: flex;
align-items: center;
gap: 7px;
}
.\$filter-title-right {
display: flex;
align-items: center;
gap: 6px;
}
.\$internal-filter-count {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: var(--rhpz-orange);
color: #111;
font-size: 0.7rem;
font-weight: 700;
min-width: 18px;
height: 18px;
padding: 0 5px;
line-height: 1;
}
.\$internal-filter-clear {
background: none;
border: 1px solid var(--border);
color: var(--text2);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
padding: 0;
transition: all 0.15s;
&:hover {
border-color: var(--error);
color: var(--error);
}
}
.\$filter-search-clear {
background: none;
border: none;
color: var(--text2);
cursor: pointer;
display: flex;
align-items: center;
padding: 0;
flex-shrink: 0;
transition: color 0.15s;
&:hover {
color: var(--text);
}
}
/* File: resources/css/components/drafts.css */
.\$drafts-count {
font-size: 0.85rem;
@@ -1791,6 +1418,37 @@ ul {
min-width: 20px;
text-align: center;
}
.\$gallery-mobile-controls {
display: none;
}
@media (max-width: 1024px) {
.\$gallery-mobile-controls {
display: flex;
justify-content: flex-end;
gap: 6px;
margin-top: 6px;
}
.\$gallery-move-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border: 1px solid var(--border);
background-color: var(--bg2);
color: var(--text);
cursor: pointer;
padding: 0;
}
.\$gallery-move-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
}
.\$authors-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
@@ -1908,13 +1566,30 @@ ul {
}
@media (max-width: 600px) {
.\$upload-item-actions {
.\$upload-item {
flex-direction: column;
align-items: stretch;
}
.\$upload-item-info {
width: 100%;
flex: 1 1 auto;
min-width: 0;
}
.\$upload-item-actions {
flex-direction: row;
justify-content: flex-end;
align-items: center;
gap: 8px;
width: 100%;
margin-top: 8px;
flex-basis: 100%;
}
.\$upload-item-actions .\$btn {
width: 100%;
width: auto;
flex: 0 0 auto;
}
}
.file-state-icon { width: 18px; height: 18px; }
@@ -2071,10 +1746,18 @@ ul {
.\$grid-hashes {
grid-template-columns: 1fr;
}
.\$grid-credits {
grid-template-columns: 1fr;
}
.\$grid-first {
display: none;
}
.\$hash-first {
display: none;
}
.\$author-search-selected {
display: none;
}
}
@media (max-width: 600px) {
@@ -2104,6 +1787,22 @@ ul {
.\$form-error-text {
font-size: 0.8rem;
}
.\$form-type-of-checkboxes {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
label {
box-sizing: border-box;
margin: 0;
}
input[type="checkbox"] {
transform: scale(1.5);
margin-right: 1.33rem;
}
}
}
@@ -2140,11 +1839,41 @@ ul {
.\$grid-entries {
display: grid;
grid-template-columns: repeat(6,1fr);
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 20px;
margin-bottom: 20px;
}
@media (max-width: 1400px) {
.\$grid-entries {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}
@media (max-width: 1200px) {
.\$grid-entries {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
.\$grid-entries {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.\$grid-entries {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 420px) {
.\$grid-entries {
grid-template-columns: 1fr;
}
}
/* File: resources/css/components/hovercard.css */
@@ -4018,7 +3747,7 @@ ul {
.\$activity-tl-card-description {
font-size: 0.8rem;
color: var(--text2);
white-space: nowrap;
word-break: break-word;
text-overflow: ellipsis;
line-height: 1.3;
}
@@ -4060,13 +3789,15 @@ ul {
@media (max-width: 600px) {
.activity-tl-header { flex-direction: column; align-items: flex-start; }
.activity-tl-thumb { display: none; }
.activity-tl-left { display: none; }
.activity-tl-card-description { display: none; }
.activity-day-sep { padding-left: 44px; }
.activity-tl-left { width: 44px; }
.\$activity-tl-date {
font-size: 0.75rem;
}
.\$activity-tl-content-title {
font-size: 0.9rem;
}
@@ -4074,7 +3805,7 @@ ul {
@media (max-width: 768px) {
.\$activity-timeline {
padding-left: 50px;
padding-left: 0px;
}
.\$activity-tl-left {
@@ -4356,6 +4087,7 @@ ul {
display: flex;
flex-direction: column;
overflow: hidden;
min-height: 0;
}
#topbar {
@@ -4668,6 +4400,30 @@ ul {
line-height: 1.6;
color: var(--text);
margin-bottom: 30px;
word-break: break-word;
p {
margin: 0 0 14px;
&:last-child {
margin-bottom: 0;
}
}
pre {
max-width: 100%;
overflow-x: auto;
white-space: pre-wrap;
word-break: break-word;
padding: 12px;
border-radius: 6px;
margin: 0 0 14px;
}
code {
white-space: pre-wrap;
word-break: break-word;
}
}
.\$entry-gallery {
@@ -4787,6 +4543,9 @@ ul {
overflow: hidden;
background-color: var(--bg4);
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
img {
width: 100%;
@@ -5169,6 +4928,7 @@ ul {
flex-shrink: 0;
transition: transform 0.3s ease;
z-index: 100;
overflow: hidden;
.\$menu-header {
padding: 10px;
@@ -5206,9 +4966,12 @@ ul {
}
.\$menu-navigation {
flex-grow: 1;
flex: 1 1 auto;
min-height: 0;
padding: 10px 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
.\$menu-group {
margin-bottom: 20px;
@@ -5258,7 +5021,9 @@ ul {
}
.\$menu-user {
padding: 15px 20px;
flex-shrink: 0;
margin-top: auto;
padding: 15px 20px calc(15px + env(safe-area-inset-bottom)) 20px;
border-top: 1px solid var(--border);
display: flex;
align-items: center;
@@ -5277,6 +5042,14 @@ ul {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
}
.\$menu-user-info {
display: flex;
@@ -5285,6 +5058,7 @@ ul {
&.\$username {
font-size: 0.9rem;
font-weight: 600;
text-decoration: none !important;
}
&.\$user_role {
font-size: 0.75rem;
@@ -5913,7 +5687,9 @@ ul {
position: fixed;
left: 0;
top: 60px;
height: calc(100vh - 60px);
height: calc(100dvh - 60px);
max-height: calc(100dvh - 60px);
min-height: 0;
transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
z-index: 999;

View File

@@ -4,10 +4,10 @@
<div class="$topbar-actions">
<xf:if is="$xf.visitor.is_admin">
<xf:set var="$topbarAdminSeparator" value="true" />
<a href="{{ base_url('admin.php') }}" class="$btn topbar-admin-btn">
<a href="{{ base_url('admin.php') }}" class="$btn topbar-admin-btn" title="Admin">
<i data-lucide="landmark" size="18"></i>
</a>
<a href="{{ $xf.options.homePageUrl }}/manage" class="$btn topbar-admin-btn">
<a href="{{ $xf.options.homePageUrl }}/manage" class="$btn topbar-admin-btn" title="Manage">
<i data-lucide="shield-cog" size="18"></i>
</a>
</xf:if>
@@ -16,13 +16,13 @@
</xf:if>
<xf:if is="$xf.visitor.is_moderator">
<xf:set var="$topbarModSeparator" value="true" />
<a href="{{ $xf.options.homePageUrl }}/modcp" class="$btn $topbar-mod-btn">
<a href="{{ $xf.options.homePageUrl }}/modcp" class="$btn $topbar-mod-btn" title="ModCP">
<i data-lucide="siren" size="18"></i>
</a>
<a href="{{ link('approval-queue') }}" class="$btn $topbar-mod-btn">
<a href="{{ link('approval-queue') }}" class="$btn $topbar-mod-btn" title="Approval queue">
<i data-lucide="message-circle-check" size="18"></i>
</a>
<a href="{{ link('reports') }}" class="$btn $topbar-mod-btn badgeContainer badgeContainer--visible {{ ($xf.session.reportCounts.total && ($xf.session.reportCounts.lastBuilt > $xf.session.reportLastRead) OR $xf.session.reportCounts.assigned) ? ' badgeContainer--highlighted' : '' }}" data-badge="{{ $xf.session.reportCounts.assigned ? $xf.session.reportCounts.assigned|number . ' / ' . $xf.session.reportCounts.total|number : $xf.session.reportCounts.total|number }}">
<a href="{{ link('reports') }}" class="$btn $topbar-mod-btn badgeContainer badgeContainer--visible {{ ($xf.session.reportCounts.total && ($xf.session.reportCounts.lastBuilt > $xf.session.reportLastRead) OR $xf.session.reportCounts.assigned) ? ' badgeContainer--highlighted' : '' }}" data-badge="{{ $xf.session.reportCounts.assigned ? $xf.session.reportCounts.assigned|number . ' / ' . $xf.session.reportCounts.total|number : $xf.session.reportCounts.total|number }}" title="Reports">
<i data-lucide="triangle-alert" size="18"></i>
</a>
</xf:if>
@@ -84,7 +84,7 @@
</script>
<xf:if is="$xf.visitor.canCreateEntry()">
<a href="{{ $xf.options.homePageUrl }}/submit" class="$btn">
<a href="{{ $xf.options.homePageUrl }}/submit" class="$btn" title="Submit">
<i data-lucide="hard-drive-upload" size="18"></i>
</a>
</xf:if>
@@ -92,7 +92,7 @@
<!-- Notifications -->
<a href="{{ link('account/alerts') }}" class="$btn js-badge--alerts" data-badge="{$xf.visitor.alerts_unviewed|number}" data-xf-click="menu" data-xf-key="{{ phrase('shortcut.alerts_menu')|for_attr }}" title="" aria-expanded="false"
<a href="{{ link('account/alerts') }}" class="$btn js-badge--alerts badgeContainer{{ $xf.visitor.alerts_unviewed ? ' badgeContainer--highlighted' : '' }}" data-badge="{$xf.visitor.alerts_unviewed|number}" data-xf-click="menu" data-xf-key="{{ phrase('shortcut.alerts_menu')|for_attr }}" aria-expanded="false" title="Notifications"
aria-haspopup="true">
<i data-lucide="bell" size="18"></i>
</a>
@@ -113,16 +113,18 @@
</div>
</div>
<div class="js-alertsMenuBody">
<div class="notifications-loading">
<i data-lucide="loader-2" class="$spin"></i>
<div class="menu-scroller">
<div class="js-alertsMenuBody">
<div class="notifications-loading">
<i data-lucide="loader-2" class="$spin"></i>
</div>
</div>
</div>
</div>
</div>
<a class="$btn js-badge--conversations badgeContainer{{ $xf.visitor.conversations_unread ? ' badgeContainer--highlighted' : '' }}" data-badge="{$xf.visitor.conversations_unread|number}" data-xf-click="menu" data-xf-key="{{ phrase('shortcut.conversations_menu')|for_attr }}" data-menu-pos-ref="< .p-navgroup" title="{{ phrase('direct_messages')|for_attr }}" aria-haspopup="true">
<a class="$btn js-badge--conversations badgeContainer{{ $xf.visitor.conversations_unread ? ' badgeContainer--highlighted' : '' }}" data-badge="{$xf.visitor.conversations_unread|number}" data-xf-click="menu" data-xf-key="{{ phrase('shortcut.conversations_menu')|for_attr }}" data-menu-pos-ref="< .p-navgroup" aria-haspopup="true" aria-expanded="false" title="Messages">
<i data-lucide="mail" size="18"></i>
</a>
<div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"
@@ -150,7 +152,7 @@
</div>
</xf:if>
<a class="$btn" data-xf-click="menu" data-menu-pos-ref="< .p-navgroup" title="{{ phrase('settings')|for_attr }}" aria-haspopup="true">
<a class="$btn" title="Settings" data-xf-click="menu" data-menu-pos-ref="< .p-navgroup" title="{{ phrase('settings')|for_attr }}" aria-haspopup="true">
<i data-lucide="settings" size="18"></i>
</a>
<div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"