'ThinkTheme' - a new flat design theme

Moderator: leecollings

wimmme
Posts: 21
Joined: Sunday 11 October 2015 23:38
Target OS: Windows
Domoticz version:
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by wimmme »

thanks, looks lovely !
raym
Posts: 81
Joined: Tuesday 03 November 2015 5:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by raym »

Fantastic theme! Am I right though that this kind of modification is lost whenever I update Domoticz to the latest version? Would I need to re-install it each time?

Thanks.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by ThinkPad »

raym wrote:Fantastic theme! Am I right though that this kind of modification is lost whenever I update Domoticz to the latest version? Would I need to re-install it each time?

Thanks.
Thank you!

The icons overwrite other icons, i have seen (in my own experience when updating) that these will get overwritten by the default icons on every update indeed.
The .css file is an additional file, so this will stick is my experience.

But just keep the files on your harddrive / in your Domoticz backup and if it breaks, just copy over the files again :)
I am not active on this forum anymore.
tlpeter
Posts: 191
Joined: Wednesday 26 November 2014 18:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by tlpeter »

I just installed it and i like it.
raym
Posts: 81
Joined: Tuesday 03 November 2015 5:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by raym »

Have you considered integrating this into the main branch, so it becomes an official part of the product? I would think it is good enough for serious consideration by the devs... But then again, I'm not sure what's involved in achieving this.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by ThinkPad »

raym wrote:Have you considered integrating this into the main branch, so it becomes an official part of the product? I would think it is good enough for serious consideration by the devs... But then again, I'm not sure what's involved in achieving this.
Yes, i have considered that.

But you know, that would probably end up in me having to fix every bug/problem that people might occur with this theme.
And i don't want that; don't have the time for it, and also not the knowledge. I am not a webdeveloper, this theme was created by digging through the code to find the color values, and replacing them by other values. If someone has a weird problem with things being broken (due to CSS conflicting or so) it is very hard for me to solve.

That's why i like to keep it non-commital ('vrijblijvend' in Dutch). See also my disclaimer in the first post: theme broken? Sorry but you have to figure it out yourself, no warranty on support from me.

But feel free to do something with the theme, just like i said: if you use large parts of it, it would be nice if you link back to this topic.
I am not active on this forum anymore.
iMiMx
Posts: 9
Joined: Wednesday 21 January 2015 18:38
Target OS: Linux
Domoticz version:

Re: 'ThinkTheme' - a new flat design template

Post by iMiMx »

Updated to latest checkout today, v2.3847, assume there were some default theme changes - seems to be a Domoticz icon top left that I don't recall seeing before. I made the following changes as it pushed the Domoticz header text and version below where it should be.

Code: Select all

.brand h1 {
   /*margin-left: -7px; */
   /* margin-top: -14px; */

Code: Select all

.brand h2 {
   float: left;
   margin-left: 155px;
   margin-top: -23px;
iMiMx
Posts: 9
Joined: Wednesday 21 January 2015 18:38
Target OS: Linux
Domoticz version:

Re: 'ThinkTheme' - a new flat design template

Post by iMiMx »

Or, just putting the below at the bottom of the original CSS file hides the Domoticz icon in the top left.

Code: Select all

img[src*="images/logo/57.png"] {
    display: none;
}
No idea if there is any other fall out, i.e that icon/image is hidden when it would be helpful to see it.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by ThinkPad »

iMiMx wrote:Updated to latest checkout today, v2.3847, assume there were some default theme changes - seems to be a Domoticz icon top left that I don't recall seeing before. I made the following changes as it pushed the Domoticz header text and version below where it should be.

[...]
Thank you very much. I just updated to v2.3865 because of your post and i saw the same.
Your change did fix the problem. I have updated the code at Bitbucket, thanks for providing :)
I am not active on this forum anymore.
Chakkie
Posts: 33
Joined: Wednesday 23 December 2015 11:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by Chakkie »

Hi all I have uploaded the custom.css file to the www/css folder using Filezilla client. I cleared the cache of my browser and restarted domoticz. However the theme is the same and I could not choose the theme in the setting. Did I do something wrong? Or Did I miss a step? Also the FLAT ICON from the other post did not works.

thanks
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by ThinkPad »

Chakkie wrote:Hi all I have uploaded the custom.css file to the www/css folder using Filezilla client. I cleared the cache of my browser and restarted domoticz. However the theme is the same and I could not choose the theme in the setting. Did I do something wrong? Or Did I miss a step? Also the FLAT ICON from the other post did not works.

thanks
The CSS file needs to be in a folder inside the 'styles' folder.

/home/pi/domoticz/www/styles/ThinkTheme/custom.css

Iconpack: i don't know, i didn't make that one. See that topic for instructions.
I am not active on this forum anymore.
Chakkie
Posts: 33
Joined: Wednesday 23 December 2015 11:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by Chakkie »

Hi ThinkPad,

It was my fault. I put the custom.css in the wrong folder. My bad.

So basically you have to make a new folder and name it "Thinkpad" in ~/styles. You are awesome. I have got the icons working too.

I am using Chrome. To clear the cache I use CCleaner. And remember the Chrome has to be completely closed. Open the Task Manager and see if the Chrome is still running in the background.

Thanks theme looks absolutely amazing.

You rock
gflvern
Posts: 19
Joined: Monday 29 December 2014 11:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by gflvern »

Great theme, thanks for putting it together.
DaaNMaGeDDoN
Posts: 55
Joined: Thursday 23 October 2014 19:01
Target OS: Linux
Domoticz version: beta
Location: Eindhoven, the Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by DaaNMaGeDDoN »

Just wanted to let you know i've been using this theme for a couple of weeks now, looks and works excellent :) great job!
I vouch this should become the default theme
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by nayr »

Since it was you ThinkPad that urged me to submit my theme to the main repo for inclusion, I am now going to return the favor...

common now, look at these guys struggling to install your theme.. just give it to em out of the box ;)
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by ThinkPad »

My theme is available for the developers to include in Domoticz, no problem.

But i don't want to have the responsibility for it, i don't have enough coding knowledge to fix CSS-problems and such.

Also, i have moved to the Zipato Zipabox a few weeks ago (Dutch explanation here, if interested), which means i am being a lot less involved with Domoticz now. So i think development from my side, regarding this theme is stopping here.

But like i said, use it like you want. However when using big parts (or the code 1:1), mentioning me is appreciated :)
I am not active on this forum anymore.
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by deejc »

hi
i reinstalled the thinktheme but since then i get an error every time i load the home page, any ideas ?

Application Cache Progress event (483 of 548) http://DOMOTICZ-IP:8080/acttheme/index. ... gw5fi0ELFg
Application Cache Error event: Resource fetch failed (404) http://DOMOTICZ-IP:8080/acttheme/index. ... gw5fi0ELFg
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
Maarten112
Posts: 6
Joined: Wednesday 06 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by Maarten112 »

Thanks! This theme is awesome!! :mrgreen: :mrgreen: :mrgreen:
User avatar
BartdaMan
Posts: 20
Joined: Sunday 22 May 2016 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Amersfoort
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by BartdaMan »

I know ThinkPad has moved away from Domoticz and this theme is not maintained, but... It is awesome and I like it very much. Big thanks to everybody who contributed.

One small request though, in the log there are 3 tabs. The log messages under All and Status are readable, but the error messages under tab Error are hardly readable. Dark red on black, I cannot see the difference.

Any chance I can change this myself? What must be the extra code?

Tnx.
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: RE: Re: 'ThinkTheme' - a new flat design theme

Post by stlaha2007 »

BartdaMan wrote:I know ThinkPad has moved away from Domoticz and this theme is not maintained, but... It is awesome and I like it very much. Big thanks to everybody who contributed.

One small request though, in the log there are 3 tabs. The log messages under All and Status are readable, but the error messages under tab Error are hardly readable. Dark red on black, I cannot see the difference.

Any chance I can change this myself? What must be the extra code?

Tnx.
Used it myself till a month ago... Upgraded Domoticz, and had no time to investigate it further...
However, what i have done to modify it myself.... Used Firefox Debug screen, so i could see which html-tags where called including the id's and classes. After figuring out which i started looking into the supplied .css file.

Or if it's not defined already (i believe one of the last things ThinPad did was implement the Log) you can add it.
Most html-tags have same id's and classes...

I'll hope you find it yourself, as CV-Tuning (tweakers-blog) and OTGW, watermeter with IR-Photocel and RFID identification System are my main targets at the moment ;-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest