diff --git a/assets.json b/assets.json index d1abce8..07844c1 100644 --- a/assets.json +++ b/assets.json @@ -1,3 +1,3 @@ { - "romhackplaza": "data/assets/romhackplaza" + "romhackplaza": "styles/romhackplaza" } \ No newline at end of file diff --git a/style_properties/_metadata.json b/style_properties/_metadata.json index ecb9028..90a19ae 100644 --- a/style_properties/_metadata.json +++ b/style_properties/_metadata.json @@ -95,6 +95,12 @@ "linkUgcHoverColor.json": { "hash": "fd483e9f6ebed528993ea0c5b3db6880" }, + "nodeListDescriptionDisplay.json": { + "hash": "670e207dd001de30388317de6135e93f" + }, + "nodeListSubDisplay.json": { + "hash": "ea17dc87cc3efc49db6a0174168a7ef1" + }, "pageBg.json": { "hash": "25b20f46219dd7b5cbccc5a1bc93d63d" }, @@ -131,6 +137,12 @@ "paletteNeutral3.json": { "hash": "1ec2ef5d3d83ad10b6b7232aaa08c440" }, + "publicIconUrl.json": { + "hash": "431736e0ac4c14f139c3dd525ca56724" + }, + "publicIconUrlLarge.json": { + "hash": "f0d4ac2c45c2ab501d4860092e674c41" + }, "publicLogoUrl.json": { "hash": "aabe78e8cf804421f6dfa2a20b5028da" }, diff --git a/style_properties/nodeListDescriptionDisplay.json b/style_properties/nodeListDescriptionDisplay.json new file mode 100644 index 0000000..cc387cd --- /dev/null +++ b/style_properties/nodeListDescriptionDisplay.json @@ -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 +} \ No newline at end of file diff --git a/style_properties/nodeListSubDisplay.json b/style_properties/nodeListSubDisplay.json new file mode 100644 index 0000000..efbb0f8 --- /dev/null +++ b/style_properties/nodeListSubDisplay.json @@ -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 +} \ No newline at end of file diff --git a/style_properties/publicIconUrl.json b/style_properties/publicIconUrl.json new file mode 100644 index 0000000..aee28db --- /dev/null +++ b/style_properties/publicIconUrl.json @@ -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 +} \ No newline at end of file diff --git a/style_properties/publicIconUrlLarge.json b/style_properties/publicIconUrlLarge.json new file mode 100644 index 0000000..1438429 --- /dev/null +++ b/style_properties/publicIconUrlLarge.json @@ -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 +} \ No newline at end of file diff --git a/templates/_metadata.json b/templates/_metadata.json index a06ce4a..5bbd666 100644 --- a/templates/_metadata.json +++ b/templates/_metadata.json @@ -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": "4ac16e08537b5e27002da4232a526515" } } \ No newline at end of file diff --git a/templates/public/topbar_actions.html b/templates/public/topbar_actions.html index ddd3842..5bb4bc3 100644 --- a/templates/public/topbar_actions.html +++ b/templates/public/topbar_actions.html @@ -1,4 +1,4 @@ -
@@ -84,7 +84,7 @@ - + @@ -92,7 +92,7 @@ - @@ -122,7 +122,7 @@
- +