Python Forum
Dark theme - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Board (https://python-forum.io/forum-26.html)
+--- Thread: Dark theme (/thread-411.html)

Pages: 1 2 3


RE: Dark theme - wavic - Oct-11-2016

Iven this theme can be turned into dark one. The new CSS rules have to be imported after the main ones.


RE: Dark theme - metulburr - Oct-11-2016

(Oct-11-2016, 02:21 AM)pydsigner Wrote: Glad for the dark theme, although it's definitely missing some stuff. Maybe the best way to go about having our themes would be to have them use the same HTML and base CSS but include additional CSS (and maybe JS) per-theme?

Some plugins used the global templates which resides across all themes, and some did not (which have to be changed per template).


RE: Dark theme - metulburr - Oct-11-2016

I switched the templates to both use the default templates....this does add the codebox numbers...but not the syntax highlighter aspect. If you double click it here to select all code...you get a box at the bottom with it? Not sure about that but it is able to do that. 

Is there anything else regarding the dark theme that is missing?


RE: Dark theme - wavic - Oct-11-2016

At the top left where are the numbers of the pages for every thread, for other pages and the next one they are like button, right? So the style for these is white text on white bg-color.

http://prntscr.com/cshu44

The icons at the left side indicating if there is new post or themes are gone.


RE: Dark theme - pydsigner - Oct-11-2016

(Oct-11-2016, 01:01 PM)wavic Wrote: At the top left where are the numbers of the pages for every thread, for other pages and the next one they are like button, right? So the style for these is white text on white bg-color.

[Image: CbMAjful.png]


RE: Dark theme - metulburr - Oct-11-2016

Im going to have to switch it to use its own templates then and individually change any problem from thereafter. 

@[snippsat]
What are the list of changes you made for the syntax highlighter box for Version 4? For example the the default theme works as normal, but the this new theme, does not show numbers or allows select all. I am assuming that you modified the default templates to allow this?


RE: Dark theme - wavic - Oct-11-2016

I didn't manage to import an image and just post the link :)


RE: Dark theme - metulburr - Oct-11-2016

So that is fixed. The problem now is the codebox


RE: Dark theme - wavic - Oct-11-2016

The icons for forums with no new post and the ones with new are with almost the same color


RE: Dark theme - snippsat - Oct-11-2016

(Oct-11-2016, 01:56 PM)metulburr Wrote: What are the list of changes you made for the syntax highlighter box for Version 4? For example the the default theme works as normal, but the this new theme, does not show numbers or allows select all. I am assuming that you modified the default templates to allow this?
I have build all theme and syntaxhighlighter local with gulp.
Eg for default theme.
gulp build --theme=default
Only thing i have modified in CSS is removing vertical scrollbar.

In MyBB
#Templates --> Default Templates --> Ungroup Tempaltes --> headerinclude
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/syntaxhighlighter.js"></script>

#theme.css
Theme --> Default--> theme.css