Dashticz - Show your dashboard and how-to's!

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Chris12 »

HansieNL wrote: Saturday 31 October 2020 13:48
Chris12 wrote: Saturday 31 October 2020 12:16 Hi, running the latest beta (3.6.6) and I was wondering if I can change the page slide buttons/dots to another color? Especially the inactive page slider are hardly seen when using a dark background. Can the inactive dots color be manipulated via the custom.css file?

Maybe a nice enhancement would be that the color can be set per page, so you can have different colors based on the backgroud (morning/noon/afternoon/night). And maybe the dot can be build like a circle with an outer line and fill, which can be different colors as well?
You can play with following settings:

Code: Select all

.-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 0.2 !important;
}
.swiper-pagination-bullet {
    opacity: 0.8 !important;
}
It doesn't seem to do a thing when adding the above/below code into my custom.css, when changing the opacity the dotted bullet stays white, and only the active one is shown. The other (2 in my case) are not visable.
I also tried changing the color to yellow, but that doens;t work as well.

Code: Select all

/* Page slider buttons */
.-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 0.8 !important;
    color: yellow !important;
}
.swiper-pagination-bullet {
    opacity: 0.8 !important;
    color: yellow !important;
}
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

Spoiler: show
Chris12 wrote: Saturday 31 October 2020 14:13
HansieNL wrote: Saturday 31 October 2020 13:48
Chris12 wrote: Saturday 31 October 2020 12:16 Hi, running the latest beta (3.6.6) and I was wondering if I can change the page slide buttons/dots to another color? Especially the inactive page slider are hardly seen when using a dark background. Can the inactive dots color be manipulated via the custom.css file?

Maybe a nice enhancement would be that the color can be set per page, so you can have different colors based on the backgroud (morning/noon/afternoon/night). And maybe the dot can be build like a circle with an outer line and fill, which can be different colors as well?
You can play with following settings:

Code: Select all

.-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 0.2 !important;
}
.swiper-pagination-bullet {
    opacity: 0.8 !important;
}
It doesn't seem to do a thing when adding the above/below code into my custom.css, when changing the opacity the dotted bullet stays white, and only the active one is shown. The other (2 in my case) are not visable.
I also tried changing the color to yellow, but that doens;t work as well.

Code: Select all

/* Page slider buttons */
.-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 0.8 !important;
    color: yellow !important;
}
.swiper-pagination-bullet {
    opacity: 0.8 !important;
    color: yellow !important;
}
Looks like a minus - is copied during copying the code. Just remove it from .-pagination
Blah blah blah
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

@Chris12 Opacity is working, but looks like change color is over ruled by other code.
Blah blah blah
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Chris12 »

@HansieNL Yes opacity is working , but only the active button is show.
What I want to accomplish is, to also make the inactive buttons visable on a black background.
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

Spoiler: show
Chris12 wrote: Saturday 31 October 2020 15:26 @HansieNL Yes opacity is working , but only the active button is show.
What I want to accomplish is, to also make the inactive buttons visable on a black background.
I now think the colors are fixed: white (active) and black (inactive). Then you won’t see the black dot on a dark background. We’ll have to ask @Lokonli if we can change this.

EDIT: @Chris12 Can you try with background-color:
Blah blah blah
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

HansieNL wrote: Saturday 31 October 2020 16:06
Spoiler: show
Chris12 wrote: Saturday 31 October 2020 15:26 @HansieNL Yes opacity is working , but only the active button is show.
What I want to accomplish is, to also make the inactive buttons visable on a black background.
I now think the colors are fixed: white (active) and black (inactive). Then you won’t see the black dot on a dark background. We’ll have to ask @Lokonli if we can change this.

EDIT: @Chris12 Can you try with background-color:
You can configure the styling via custom.css.

Examples:

Code: Select all

.swiper-pagination .swiper-pagination-bullet {
    opacity: 1;
    border: white solid 1px;
    background-color: green;
    width: 15px;
    height: 15px;
}
.swiper-pagination .swiper-pagination-bullet-active {
    border: white solid 1px !important;
    background-color: orange !important;
    width: 25px;
    height: 25px;
}

.swiper-pagination .swiper-pagination-bullet:nth-child(2) {
    background-color: red;
    width: 5px;
    height: 5px;
}

This will give a big active orange bullet, smaller green not active bullets. The second bullet will be small and red.
pagination.jpg
pagination.jpg (2.14 KiB) Viewed 1680 times
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Chris12 »

Thanks!! @Lokonli & @HansieNL, it now works like a charm.
Spoiler: show

Code: Select all

/* Page slider buttons */
.swiper-pagination .swiper-pagination-bullet-active {
	border: yellow solid 2px !important;
        opacity: 1.0 !important;
	width: 15px;
	height: 15px;
	background-color: black !important;
}
.swiper-pagination-bullet {
	border: white solid 1px !important;
        opacity: 1.0 !important;
	width: 15px;
	height: 15px;
	background-color: black !important;
}
Maybe one last thing which might can be changed as well: can the spacing between the bullets also be wider, so on a touchscreen (tablet) is more easier to use (without fail-clicking/pressing).
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

Spoiler: show
Chris12 wrote: Saturday 31 October 2020 17:08 Thanks!! @Lokonli & @HansieNL, it now works like a charm.
Spoiler: show

Code: Select all

/* Page slider buttons */
.swiper-pagination .swiper-pagination-bullet-active {
	border: yellow solid 2px !important;
        opacity: 1.0 !important;
	width: 15px;
	height: 15px;
	background-color: black !important;
}
.swiper-pagination-bullet {
	border: white solid 1px !important;
        opacity: 1.0 !important;
	width: 15px;
	height: 15px;
	background-color: black !important;
}
Maybe one last thing which might can be changed as well: can the spacing between the bullets also be wider, so on a touchscreen (tablet) is more easier to use (without fail-clicking/pressing).
You can change the space between the bullets by changing the 4px to your needs:

Code: Select all

.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 4px;
}
Blah blah blah
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Chris12 »

thanks! appreciate the quick help & sollutions offered!
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
joostnl
Posts: 68
Joined: Wednesday 03 February 2016 19:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by joostnl »

Worked out great :D :D
Lokonli wrote: Friday 30 October 2020 23:13 See:
https://dashticz.readthedocs.io/en/beta ... ml#styling

Most easy to do this via custom.css

To remove the complete header:

Code: Select all

[data-id='my_multi_plant'].graph .graphheader {
    display: none
}
(The documentation was not correct, which has been fixed in the beta version)
nfuse
Posts: 32
Joined: Thursday 26 March 2020 11:37
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by nfuse »

annybody any idea how to make the blocks smaller? high: is not an options in blocks and cannot figure it out.

Image

like this

Image
docker with sonos http api / mosquitto / zigbee2mqtt assistant / portainer / dashticz / nodeJS on windows with Zigbee2Mqtt, and some flask builds of my own
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

nfuse wrote: Monday 02 November 2020 14:56 annybody any idea how to make the blocks smaller? high: is not an options in blocks and cannot figure it out.

Image

like this

Image
You can add the following to custom.css:

Code: Select all

div.mh {
    height: 50px;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
User avatar
madpatrick
Posts: 639
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by madpatrick »

Lokonli,

I want to make the height of my Garbage block large and tried this.

Code: Select all

div.mh.trash {
    height: 70px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Unfortunaly nothing happens, not even with only div.mh
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

madpatrick wrote: Monday 02 November 2020 17:14 Lokonli,

I want to make the height of my Garbage block large and tried this.

Code: Select all

div.mh.trash {
    height: 70px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Unfortunaly nothing happens, not even with only div.mh
Can you try with:

Code: Select all

[data-id='garbage']
    height: 70px !important; 
}
Blah blah blah
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

HansieNL wrote: Monday 02 November 2020 19:02
madpatrick wrote: Monday 02 November 2020 17:14 Lokonli,

I want to make the height of my Garbage block large and tried this.

Code: Select all

div.mh.trash {
    height: 70px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Unfortunaly nothing happens, not even with only div.mh
Can you try with:

Code: Select all

[data-id='garbage']
    height: 70px !important; 
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Blah blah blah
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

madpatrick wrote: Monday 02 November 2020 17:14 Lokonli,

I want to make the height of my Garbage block large and tried this.

Code: Select all

div.mh.trash {
    height: 70px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Unfortunaly nothing happens, not even with only div.mh
Can you try with:

Code: Select all

[data-id='garbage']
    height: 70px !important; 
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Blah blah blah
User avatar
madpatrick
Posts: 639
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by madpatrick »

nope. doesn't change the height
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

madpatrick wrote: Monday 02 November 2020 19:08 nope. doesn't change the height
The { was missing. Can you try again, because it's working here:

Code: Select all

[data-id='garbage'] {
    height: 70px !important; 
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
Blah blah blah
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

or:

Code: Select all

div.trash {
    height: 70px !important; 
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
User avatar
madpatrick
Posts: 639
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by madpatrick »

Thanks guys !

Both options are working
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest