Enable title and/or bigger iconsize 'sunrise'

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Maikel76
Posts: 71
Joined: Friday 14 August 2020 6:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Bangkok
Contact:

Enable title and/or bigger iconsize 'sunrise'

Post by Maikel76 »

Hi all,
I just implemented the 'sunrise' block on my dashboard and found code to change the color and font size which helps a bit.
I however would like to make the icons bigger or change them or i would like to have a title visible
my CUSTOM.js;

Code: Select all

blocks['riseset'] = {type: 'sunrise', title: 'Sunrise Sunset', width:6}	<-- type and width works, title doesnt appear
my custom.css

Code: Select all

.sunriseholder, .sunriseholder .wi { font-size: 15px !important;font-weight: bold !important;height:60px }	<-- these 3 work
.sunriseholder .wi-sunrise {color: yellow !important; }
.sunriseholder .wi-sunset {padding-left: 20px !important; color: orange !important;}
/*.sunriseholder .title { display: flex !important; }*/ 				<-- doesnt work, contents and list-item also tried 
/*.sunriseholder .wi-sunrise img {max-width: 50px !important;}*/ 	<-- doesnt work, with the 2nd line .wisunriseholder .wi-sunrise size no result
unfortunately google doesn't helps me much because i don't know in which placeholder i need to change things
Any help is greatly appreciated
Scripting is my passion, dzVents, LUA, Bash
Dashticz v3.10.7 Beta --Raspbian Buster
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest