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.
كما ترون، أصبح جزء المعاينة على الجانب الأيمن صغيرًا جدًا بسبب حجم الحشوة الكبير لأيقونات شريط تنسيق الأدوات. لا أواجه هذه المشكلة مع قوالب أخرى. (نعم، لقد أضفت بعض الأيقونات الإضافية إلى شريط الأدوات باستخدام إضافة)
هل أنت متأكد؟ إضافة هذا العدد الكبير من الأيقونات إلى شريط أدوات المحرر سيسبب نفس المشكلة في أي سمة. لذا، لا يوجد ما يمكن إصلاحه هنا فعليًا.
المشكلة هنا هي أنك أضفت عددًا كبيرًا جدًا من الأيقونات إلى شريط الأدوات. إذا كنت بحاجة إلى كل هذه الوظائف، ففكر في نقل بعضها إلى قائمة الترس في المحرر.
المشكلة هنا لا تزال هي نفسها. لقد أضفت الكثير من الأزرار إلى شريط أدوات المحرر. هذا يكسر تخطيط المحرر في كل من عرض سطح المكتب الضيق وعلى الجوال - في أي سمة.
تم تصميم هذه السمة لتخطيط Discourse الافتراضي. إذا كان موقعك يتطلب الكثير من الأزرار الإضافية، فإن الأمر يعود إليك لإصلاحه. أعتقد أنك قد عرفت بالفعل كيفية القيام بذلك
إذا كنت بحاجة إلى تجاوز تنسيقات CSS في هذه السمة، فقم بإنشاء مكون سمة يحتوي على هذه التعديلات وأضفه إلى سمتك.