'ThinkTheme' - a new flat design theme

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

Re: 'ThinkTheme' - a new flat design template

Post by wimmme » Monday 07 December 2015 23:45

thanks, looks lovely !

raym
Posts: 127
Joined: Tuesday 03 November 2015 6:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by raym » Tuesday 08 December 2015 15:18

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.

User avatar
ThinkPad
Posts: 1754
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 » Tuesday 08 December 2015 15:32

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 :)
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

tlpeter
Posts: 391
Joined: Wednesday 26 November 2014 19:43
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by tlpeter » Tuesday 08 December 2015 19:11

I just installed it and i like it.

raym
Posts: 127
Joined: Tuesday 03 November 2015 6:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by raym » Monday 14 December 2015 7:43

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.

User avatar
ThinkPad
Posts: 1754
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 » Monday 14 December 2015 8:23

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.
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

iMiMx
Posts: 30
Joined: Wednesday 21 January 2015 19:38
Target OS: Linux
Domoticz version:

Re: 'ThinkTheme' - a new flat design template

Post by iMiMx » Sunday 20 December 2015 14:55

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: 30
Joined: Wednesday 21 January 2015 19:38
Target OS: Linux
Domoticz version:

Re: 'ThinkTheme' - a new flat design template

Post by iMiMx » Sunday 20 December 2015 15:07

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.

User avatar
ThinkPad
Posts: 1754
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 » Sunday 20 December 2015 16:06

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 :)
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

Chakkie
Posts: 16
Joined: Wednesday 23 December 2015 12:27
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by Chakkie » Thursday 24 December 2015 0:07

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

User avatar
ThinkPad
Posts: 1754
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 » Thursday 24 December 2015 8:26

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.
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

Chakkie
Posts: 16
Joined: Wednesday 23 December 2015 12:27
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by Chakkie » Thursday 24 December 2015 11:32

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: 33
Joined: Monday 29 December 2014 12:14
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: 'ThinkTheme' - a new flat design template

Post by gflvern » Wednesday 30 December 2015 12:19

Great theme, thanks for putting it together.

DaaNMaGeDDoN
Posts: 135
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 » Thursday 28 January 2016 23:10

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: 430
Joined: Tuesday 11 November 2014 19:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by nayr » Thursday 28 January 2016 23:21

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

User avatar
ThinkPad
Posts: 1754
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 » Friday 29 January 2016 12:51

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 :)
ThinkTheme - theme for Domoticz
My (Dutch) blog: http://thinkpad.tweakblogs.net - My Domoticz scripts: Bitbucket
I'm not (very) active anymore on this forum as i don't use Domoticz anymore.

User avatar
deejc
Posts: 173
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi
Domoticz version: 3.5641
Location: UK
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by deejc » Monday 01 February 2016 22:53

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: 4
Joined: Wednesday 06 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by Maarten112 » Saturday 10 September 2016 17:38

Thanks! This theme is awesome!! :mrgreen: :mrgreen: :mrgreen:

User avatar
BartdaMan
Posts: 22
Joined: Sunday 22 May 2016 22:58
Target OS: Raspberry Pi
Domoticz version:
Location: Amersfoort
Contact:

Re: 'ThinkTheme' - a new flat design theme

Post by BartdaMan » Friday 18 November 2016 22:41

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: 437
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

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

Post by stlaha2007 » Sunday 20 November 2016 16:43

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