Python Forum

Full Version: Dark theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Iven this theme can be turned into dark one. The new CSS rules have to be imported after the main ones.
(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).
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?
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.
(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]
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?
I didn't manage to import an image and just post the link :)
So that is fixed. The problem now is the codebox
The icons for forums with no new post and the ones with new are with almost the same color
(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
Pages: 1 2 3