Elemental Theme

Moderator: leecollings

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

Re: Elemental Theme

Post by raym »

Well wouldn't you know it... After updating to the latest beta, I can't repro the issue anymore. Just forget I ever mentioned it ;)
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Elemental Theme

Post by Nautilus »

nayr wrote:i'll do some more work cleaning up selector switches soon, but @Nautilus I think i have that as wide as I could get it without breaking it for other devices.. I'll revisit though since I am going to need to refactor that device, mebe you'll get lucky :)
Hi, it's been a while but I revisited the subject and decided to use "select menu" instead of the buttons on selector switches that did not fit the buttons on one row. But I ran into a new issue when using the "compact" mode in dashboard. The select menu is not resized to fit the smaller area and thus it hovers below the switch area. Would there be some easy fix for this? :)

edit: while I'm at it I also noticed there is one image missing that is referenced in the theme .css:

Code: Select all

.dimslider {
	z-index:1;
	border-width: 1px;
	border-style: solid;
	border-color: #333 #333 #777 #333;
	border-radius: 25px;
	margin-top: 0px;
	margin-bottom: .5em;
	height: 13px;
	width: calc(98% - 70px) !important;
	position: relative;
	background-color: #8e8d8d;
	background: url('images/bg-track.png') repeat top left;
	box-shadow: inset 0 1px 5px 0px rgba(0, 0, 0, .5), 
    				  0 1px 0 0px rgba(250, 250, 250, .5);
}
Seems there is no such image (bg-track.png) in the repository...
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Elemental Theme

Post by remb0 »

this theme make domoticz a low nicer for sure!!

But I have one question: when a dimmable light is off, the bar to the dot (in the slider) is this blue.
is that possible to be grey when the light is out?
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Elemental Theme

Post by Nautilus »

Nautilus wrote:...when using the "compact" mode in dashboard. The select menu is not resized to fit the smaller area and thus it hovers below the switch area...
On another look this seems to affect other themes as well so maybe some general fix would be needed. Is there some preferred way to report this so that possibly someone with skills to develop the web front end could take a look at it?
bxlouis
Posts: 45
Joined: Wednesday 16 December 2015 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Belgium
Contact:

Re: Elemental Theme

Post by bxlouis »

Hi!

Sorry if I sound stupid but I love this theme but I would like to change the background picture.
I'd like some plain color background, I like it very simple.

How may I achieve that ?

Anyway, thank you very much for your hard work, it is really great !
jjnj

Re: Elemental Theme

Post by jjnj »

You can switch the background image to the one you desire. If you check the theme installed you should be able to find the current wallpaper in that folder. Simply replace with the one you want (exact same naming should be used) and you are done.

Verstuurd vanaf mijn LG-H850 met Tapatalk
bxlouis
Posts: 45
Joined: Wednesday 16 December 2015 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Belgium
Contact:

Re: Elemental Theme

Post by bxlouis »

Hi!

Thank you for your help, I found the background image!

I think I found a visual bug on mobile (iPhone 6). When using a selector switch, the margin on the right seems wrong.
See the "Media Chambre" selector switch on the screenshot.

Is it possible to align the set of button on the right? Such as the other regular buttons?

Thank you!

Image
sylvaing26
Posts: 2
Joined: Tuesday 16 August 2016 17:26
Target OS: -
Domoticz version:
Contact:

Re: Elemental Theme

Post by sylvaing26 »

Hi,
I'm french too :)

I have the same problem and I've modified a part of the CSS file like this :

Code: Select all

@media (max-width: 767px) {
  	.nav > li > a > img {
  		display: inline;
 	}
	.navbar .nav { margin: 2px !important; }
	#timesun { display: none; }
	#dashcontent .selectorlevels {
		font-size: 0.95em;
		margin-top: -10px !important;
		text-align: right;
	}
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Elemental Theme

Post by Nautilus »

sylvaing26 wrote:Hi,
I'm french too :)

I have the same problem and I've modified a part of the CSS file like this :
Hi,

could perhaps make a git pull request to merge the fix to the master branch? Otherwise it'll be overwritten with each update, yes?
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Elemental Theme

Post by gizmocuz »

This is close, but not the way it is solved.
We can also have mobile modes on screens larger then 768 pixels (you can also force your dashboard in mobile mode)
Therefor i made a patch in the dashboard controller (beta #5510)

It was also not related to a theme

But maybe i'm wrong, but why a new table row for this switch ? I would have put it in the 'status' field (like the ITHO),
this way, you do not have an extra line/space

A patch for this is welcome
Quality outlives Quantity!
sylvaing26
Posts: 2
Joined: Tuesday 16 August 2016 17:26
Target OS: -
Domoticz version:
Contact:

Re: Elemental Theme

Post by sylvaing26 »

gizmocuz wrote: But maybe i'm wrong, but why a new table row for this switch ? I would have put it in the 'status' field (like the ITHO),
this way, you do not have an extra line/space
Good remark
gizmocuz wrote: A patch for this is welcome
Thanks for your great job !
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Elemental Theme

Post by Nautilus »

I think the issue that I mentioned about selector switches with "select menu" option on dashboard is existing in all themes (i.e. not a theme related issue). Could someone with proper .css / html etc. skills take a look at this? This happens at least on screen sizes where the item's area needs to be resized to a smaller size, in this case the selector menu is not resized and it disappears somewhere:
Screen Shot 2016-08-17 at 23.34.04.png
Screen Shot 2016-08-17 at 23.34.04.png (221.71 KiB) Viewed 5205 times
Check the upper left item for example, the menu is behind the lower item :)
bxlouis
Posts: 45
Joined: Wednesday 16 December 2015 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Belgium
Contact:

Re: Elemental Theme

Post by bxlouis »

Solved in the latest builds. A big thank to all of you for your work !
Fainted
Posts: 21
Joined: Thursday 08 September 2016 13:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Elemental Theme

Post by Fainted »

Hi good work nayr!

I was wondering how to change the color of the bar as pictured
Attachments
1.png
1.png (26.45 KiB) Viewed 4866 times
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Elemental Theme

Post by Awst6000 »

Nice theme.
A small remark: the background of the blind switches are not transparant. They are white.
I hope Nayr still supports this theme.

Also:
Is there perhaps a way to show 5 or 6 columns of switches?
Txs!
Awst6000
Posts: 108
Joined: Thursday 12 February 2015 7:51
Target OS: Linux
Domoticz version:
Contact:

Re: Elemental Theme

Post by Awst6000 »

Unfortunately Nayr didn't respond to an email I sent.
natywna
Posts: 2
Joined: Tuesday 20 June 2017 20:01
Target OS: Linux
Domoticz version:
Contact:

Re: Elemental Theme

Post by natywna »

With such theme OpenSource will be beautiful!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests