Moonclaw Theme port

AI-generated summary

Moonclaw Theme port discussion summary:

featheredtoast has ported an old phpbb theme, Moonclaw, to Discourse and shared it with the community. The theme is available on GitHub and can be installed by adding the repository URL to the themes list and selecting “Moonclaw” as the color scheme.

GokulNC reported an issue with the theme, where the right-side preview pane becomes small due to large padding sizes for icons in the formatting toolbar. Johani suggested that the issue is caused by adding too many icons to the toolbar, which can cause problems on any theme.

GokulNC provided a screenshot from another theme, showing that it does not have the same issue, and later found a fix by removing padding from the btn CSS class. featheredtoast agreed to take the change if it can be targeted to only affect the buttons on the d-editor-button-bar class.

GokulNC requested that featheredtoast make the change, which was later implemented in a commit to the theme’s GitHub repository.

I got around to porting an old favorite phpbb theme this weekend for my forum, for nostalgia’s sake. I’ve cleaned it up and thought I’d share it here - Let me know what you guys think!

Installation: Add https://github.com/featheredtoast/discourse-moonclaw-theme to your themes, and picking “Moonclaw” as your color scheme. Colors aren’t yet customizable just yet, as many have been hardcoded to get this out the door quickly.

GitHub - featheredtoast/discourse-moonclaw-theme: moonclaw theme clone from phpbb · GitHub

Header:

Footer

Composer

Install guide

How to install a theme or theme component

「いいね!」 25

Very nice, bringing some good memories :slight_smile: . Feels perfect for an rpg community / wow clan etc.

「いいね!」 2

@featheredtoast さん、こんにちは
素敵なテーマをありがとうございます :fire:

新規トピック作成時に発生している以下のバグについてご連絡いたします。

ご覧の通り、書式設定ツールバーのアイコンに対する余白が大きいため、右側のプレビューペインが非常に小さくなってしまっています。他のテーマではこの問題は発生していません(プラグインを使用してツールバーにいくつかのアイコンを追加しています)。

ご確認いただけますでしょうか?

「いいね!」 1

確かにそうでしょうか?作曲ツールバーにこれほど多くのアイコンを追加すると、どのテーマでも同じ問題が発生します。つまり、ここには修正すべきことは何もありません。

この問題の根本原因は、ツールバーにアイコンを追加しすぎていることです。すべての機能が必要であれば、一部を作曲画面のギアメニューに移動することを検討してください。

別のテーマからのスクリーンショット:

最初のスクリーンショットと同じ数のアイコンが表示されていることがわかります。

btn CSS クラスから padding を削除することで動作するようにできました。(d-editor-button-bar クラスに固有のものかどうかは確信がありません)

これで他のテーマと完全に一致するようになりました。
もしこれが正しい対応であれば、テーマにこの修正を適用してプッシュしていただけますか?@Johani

「いいね!」 1

ここでの問題は、依然として 同じ です。コンポーザーのツールバーにボタンを入れすぎているため、狭いデスクトップ画面でもモバイルでも、あらゆるテーマでコンポーザーのレイアウトが崩れてしまいます。

このテーマは、Discourse のデフォルトレイアウト用に設計されています。あなたのサイトが 非常に多くの 追加ボタンを必要とする場合は、それを修正するのはあなたの責任です。すでにその方法を把握されていると思います :+1:

このテーマで CSS をオーバーライドする必要がある場合は、それらのオーバーライドを含む テーマコンポーネント を作成し、それをテーマに追加してください。

「いいね!」 3

あなたが求めているのは私です - Johani は私のテーマにすらアクセスできません! :wink:

d-editor-button-bar クラスのボタンだけをターゲットに設定していただければ、その変更を受け入れます。そうしないと、あちこちのボーダーのスタイルがすべて失われてしまいます!

「いいね!」 1

お時間が空いた時に、この変更をお願いします。@featheredtoast
私はフロントエンドの専門家ではないので、簡単にミスをしてしまうかもしれません。:slight_smile:

今すぐ試す

「いいね!」 3