style box height
Moderators: leecollings, htilburgs, robgeerts
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
style box height
Hi,
i have a device with the content of a weatheralarm. Lot of text i below the box. Is there a way the change the height of the box or to autoadjust or scrool the box?
i have a device with the content of a weatheralarm. Lot of text i below the box. Is there a way the change the height of the box or to autoadjust or scrool the box?
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: style box height
I use the Machinon theme which has scrolling included. Works a treat!
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
ok, i am gonna try it! how do i install/use that?
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
OK,
1. does this effect my current installatio?
2. When i want the old config, simple change the theme ?
3. the doc on github/wiki only mentions domoticz not dashticz, is this gonna work on dashticz?
1. does this effect my current installatio?
2. When i want the old config, simple change the theme ?
3. the doc on github/wiki only mentions domoticz not dashticz, is this gonna work on dashticz?
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
3) Nopvklink wrote: Tuesday 04 June 2019 21:08 OK,
1. does this effect my current installatio?
2. When i want the old config, simple change the theme ?
3. the doc on github/wiki only mentions domoticz not dashticz, is this gonna work on dashticz?
You want to show the value of a Domoticz text device in a bigger Dashticz block?
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
With Dashticz you can have different configurations. Just place your config files in the folder custom_2 and load index2.html.
Blah blah blah
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
@lokonli : yes
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: style box height
Sorry. I was quick in answering and not reading properly so I missed the Dashticz bit. Machinon is a theme for Domoticz and has nothing to do with Dashticz. So sorry for wasting your time.
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
ok, no problem!
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
I see that the 'log' does has a slider. Is it possible to use this for a switch with text like the weather(alarm)
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
If the domoticz text id is 124 then to change the block height add the following to custom.css:
Code: Select all
.block_124 {
height: 500px !important;
}
Code: Select all
.block_124 {
height: 200px !important;
}
.block_124 .col-data {
height: 100%;
overflow-y: auto;
}
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
thanks!
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
Works perfect! Thank you lokonli!
Does this also works for default buildin blocks like buttons.webcam and calenders.fam?
i tried to change height in calender.fam, that did nothing...
calendars.fam = { maxitems: 6, title: 'Familie kalender', url:'https://calendar.google.com/calendar/em ... x',icalurl: 'xxx.ics' }
buttons.webcam1 = {width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'xxx', url: 'xxx'}
Does this also works for default buildin blocks like buttons.webcam and calenders.fam?
i tried to change height in calender.fam, that did nothing...
calendars.fam = { maxitems: 6, title: 'Familie kalender', url:'https://calendar.google.com/calendar/em ... x',icalurl: 'xxx.ics' }
buttons.webcam1 = {width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'xxx', url: 'xxx'}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
To be able to select the calendar you have to add a key-parameter, for instance:pvklink wrote: Thursday 06 June 2019 19:08 Works perfect! Thank you lokonli!
Does this also works for default buildin blocks like buttons.webcam and calenders.fam?
i tried to change height in calender.fam, that did nothing...
calendars.fam = { maxitems: 6, title: 'Familie kalender', url:'https://calendar.google.com/calendar/em ... x',icalurl: 'xxx.ics' }
buttons.webcam1 = {width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'xxx', url: 'xxx'}
Code: Select all
calendars.fam = { key:'mycal', maxitems: 6, title: 'Familie kalender', url:'https://calendar.google.com/calendar/embed?height=2000&wkst=1&bgcolor=%23666666&src=xxxx',icalurl: 'xxx.ics' }
Code: Select all
div[data-id='calendars.mycal'] {
height: 100px;
}
div[data-id='calendars.mycal'] .items {
height: 100%;
overflow-y: auto;
}
buttons.webcam1 = {key:'cam', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'xxx', url: 'xxx'}
and in custom.css:
Code: Select all
div[data-id='buttons.cam'] {
height: 100px;
overflow-y: auto;
}
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
Both did not work.. put them on the bottom of my css
also tried !important after 400px did not work either..
div[data-id='calendars.fam'] {height: 400px;}
div[data-id='calendars.fam'] .items {height: 100%;overflow-y: auto;}
div[data-id='buttons.webcam1'] {height: 400px;overflow-y: auto;}
div[data-id='buttons.webcam2'] {height: 400px;overflow-y: auto;}
also tried !important after 400px did not work either..
div[data-id='calendars.fam'] {height: 400px;}
div[data-id='calendars.fam'] .items {height: 100%;overflow-y: auto;}
div[data-id='buttons.webcam1'] {height: 400px;overflow-y: auto;}
div[data-id='buttons.webcam2'] {height: 400px;overflow-y: auto;}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
Did you add key: 'fam', key:'webcam1' and key 'webcam2' to your button and calendar definitions?
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
oeps..
now i understand how it works..
going to add it after work...
now i understand how it works..
going to add it after work...
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
pvklink
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: style box height
mmm.. still not working,,
css
div[data-id='calendars.divfam'] {height: 150px;}
div[data-id='calendars.divfam'] .items {height: 100%;overflow-y: auto;}
js
calendars.fam = { key:'divfam',maxitems: 6, title: 'Familie kalender', url: 'x',icalurl: 'x' }
The bottons do work!
buttons.webcam1 = {key:'divcam1', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
buttons.webcam2 = {key:'divcam2', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
div[data-id='buttons.divcam1'] {height: 300px;overflow-y: auto;}
div[data-id='buttons.divcam2'] {height: 300px;overflow-y: auto;}
css
div[data-id='calendars.divfam'] {height: 150px;}
div[data-id='calendars.divfam'] .items {height: 100%;overflow-y: auto;}
js
calendars.fam = { key:'divfam',maxitems: 6, title: 'Familie kalender', url: 'x',icalurl: 'x' }
The bottons do work!
buttons.webcam1 = {key:'divcam1', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
buttons.webcam2 = {key:'divcam2', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
div[data-id='buttons.divcam1'] {height: 300px;overflow-y: auto;}
div[data-id='buttons.divcam2'] {height: 300px;overflow-y: auto;}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
Lokonli
- Posts: 2292
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: style box height
The buttons are working, but sizing of the calendar doesn't work. Correct?pvklink wrote: Friday 07 June 2019 20:29 mmm.. still not working,,
css
div[data-id='calendars.divfam'] {height: 150px;}
div[data-id='calendars.divfam'] .items {height: 100%;overflow-y: auto;}
js
calendars.fam = { key:'divfam',maxitems: 6, title: 'Familie kalender', url: 'x',icalurl: 'x' }
The bottons do work!
buttons.webcam1 = {key:'divcam1', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
buttons.webcam2 = {key:'divcam2', width:6, isimage:true, forcerefresh:false, refreshimage: 5000, refreshurl: 5000, image: 'x', url: 'x'}
div[data-id='buttons.divcam1'] {height: 300px;overflow-y: auto;}
div[data-id='buttons.divcam2'] {height: 300px;overflow-y: auto;}
Do you see the calendar? It's displayed as normal?
If you right-click on your calendar and then on 'inspect' a window should open.
Can you make a screenshot of the element starting with:
<div data-id="calendars.....
and the few lines underneath.
Who is online
Users browsing this forum: No registered users and 1 guest