Definition stationclock in css
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 45
- Joined: Tuesday 03 March 2020 8:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Definition stationclock in css
hi guys, (Lokonli probably )
I'm trying to make the stationclock bigger on the standby screen.
all I manage to do now is center the clock within the screen but i'm unable to make the clock bigger.
this is what i tried:
.standby .stationclock {
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: 800px !important; }
it seems that the container in which the clock exists is getting bigger but not the clock itself.
am I forgetting something behind the .stationclock?
thnx again!
I'm trying to make the stationclock bigger on the standby screen.
all I manage to do now is center the clock within the screen but i'm unable to make the clock bigger.
this is what i tried:
.standby .stationclock {
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: 800px !important; }
it seems that the container in which the clock exists is getting bigger but not the clock itself.
am I forgetting something behind the .stationclock?
thnx again!
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
Challenge acceptedEnz0jacco wrote: ↑Monday 07 December 2020 20:05 hi guys, (Lokonli probably )
I'm trying to make the stationclock bigger on the standby screen.
all I manage to do now is center the clock within the screen but i'm unable to make the clock bigger.
this is what i tried:
.standby .stationclock {
display: flex !important;
justify-content: center !important;
align-items: center !important;
height: 800px !important; }
it seems that the container in which the clock exists is getting bigger but not the clock itself.
am I forgetting something behind the .stationclock?
thnx again!
It was not possible to set the size of the station clock.
I've changed that in latest beta.
By default the size of the stationclock will be the block width.
If needed, you can overrule the size by setting the block parameter 'size' of the station clock block.
Code: Select all
blocks['stationclock'] = {
size: 100,
width: 6
}
-
- Posts: 45
- Joined: Tuesday 03 March 2020 8:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Definition stationclock in css
thnx for the quick reply (as always) !
unfortunately this doesn't work.
just to be sure, this code is for the config.js right?
i deleted everything in css and just put your code in config.js.
unfortunately this doesn't work.
just to be sure, this code is for the config.js right?
i deleted everything in css and just put your code in config.js.
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
Did you update your Dashticz version?
(git pull)
(git pull)
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
- Spoiler: show
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
Fun fact:
As you can see the station clock is 2 seconds ahead of the digital time in the top bar.
The reason is:
The red second dial of the station clock will make a round in 58 seconds. At the whole minute it will wait two seconds to 'synchronize' the time again.
As you can see the station clock is 2 seconds ahead of the digital time in the top bar.
The reason is:
The red second dial of the station clock will make a round in 58 seconds. At the whole minute it will wait two seconds to 'synchronize' the time again.
-
- Posts: 45
- Joined: Tuesday 03 March 2020 8:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Definition stationclock in css
Haha didn’t notice that one. But I use it on the standby screen anyway. Are there are other layout clocks available as well? The boss doesn’t think this clock is tastefull with the rest of the interior...
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
There's also a flipclock. You can add it by adding 'flipclock' to a column.
Blah blah blah
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Definition stationclock in css
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
That's indeed the station clock that is used at the moment. I can make available the configuration parameters.
One of the following could also be implemented:
https://freefrontend.com/css-clocks/
One of the following could also be implemented:
https://freefrontend.com/css-clocks/
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Definition stationclock in css
Those are real cool. !!
Great for the standby screen !
Great for the standby screen !
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
ok, can I have your votes please
- madpatrick
- Posts: 636
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Definition stationclock in css
I think these are the names as mentioned on the site
- WALL CLOCK
- SLIDE CLOCK
- CSS VARIABLE-POWERED CLOCK
- WALL CLOCK
- SLIDE CLOCK
- CSS VARIABLE-POWERED CLOCK
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
I vote for these ones:
- CSS Clock by Nils Rasmusson
- Apple Watch Clock by Malik Dellidj
- CSS Variable-Powered Clock by Emily Hayman
- CSS Clock by Nils Rasmusson
- Apple Watch Clock by Malik Dellidj
- CSS Variable-Powered Clock by Emily Hayman
Blah blah blah
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
Current set of clocks as of beta 3.6.9
- Spoiler: show
-
- Posts: 238
- Joined: Tuesday 18 August 2020 8:41
- Target OS: NAS (Synology & others)
- Domoticz version: 2021.1
- Location: NL
- Contact:
Re: Definition stationclock in css
Nice aditions!
I realy like the:
- The QLOCKTWO
- SVG Clock UI
- CSS Rotary Clock
- Analog Digital Clock
I realy like the:
- The QLOCKTWO
- SVG Clock UI
- CSS Rotary Clock
- Analog Digital Clock
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Definition stationclock in css
An additional clock requires at least two votes.
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
-
- Posts: 45
- Joined: Tuesday 03 March 2020 8:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Definition stationclock in css
I like the following 2:
12. SVG Clock UI
13. CSS Clock
12. SVG Clock UI
13. CSS Clock
Who is online
Users browsing this forum: No registered users and 0 guests