Dashticz - Themes

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Dashticz - Themes

Post by DewGew »

In latest beta is Themes in settings. You can now create your own themes.

Create a new folder in themes folder eg. 'mytheme' then create 'mytheme.css'. The css file and folder must have the same name. (eg. mytheme/mytheme.css). Edit your mytheme.css for your needs.

Note: Theme.css will be override by custom.css

How to use:
Add your theme name in screen tab in settings or add to your CONFIG.js:

Code: Select all

config['theme'] = 'mytheme';
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Themes

Post by EdwinK »

Cool, I think. Hope we will see loads of nice themes :)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Themes

Post by DewGew »

Here is an example of a theme:
theme.jpg
theme.jpg (90.78 KiB) Viewed 3827 times

When hover over a switch, the switch scales up:
theme_hover.jpg
theme_hover.jpg (93.74 KiB) Viewed 3827 times
theme.css:

Code: Select all

/* CSS Document */
@import url(https://fonts.googleapis.com/css?family=Damion);

.fa,.wi {
   font-size:24px !important;
}
.transbg.col-xs-1,
.transbg.col-xs-2,
.transbg.col-xs-3,
.transbg.col-xs-4,
.transbg.col-xs-5,
.transbg.col-xs-6 {
	padding-top:15px;
	padding-bottom:15px;
	border: 1px solid rgba(24,24,24,0) !important;
    background: #97bf0d;
    background-clip: padding-box;
}
.transbg.col-xs-7,
.transbg.col-xs-8, 
.transbg.col-xs-9,
.transbg.col-xs-10,
.transbg.col-xs-11 {
	padding-top:15px;
	padding-bottom:15px;
	border: 1px solid rgba(24,24,24,0) !important;
    background: #cb2025;
    background-clip: padding-box;
}
.transbg.col-xs-12,
.transbg.dark.col-xs-1,
.transbg.dark.col-xs-2,
.transbg.dark.col-xs-3,
.transbg.dark.col-xs-4,
.transbg.dark.col-xs-5,
.transbg.dark.col-xs-6,
.transbg.dark.col-xs-7,
.transbg.dark.col-xs-8,
.transbg.dark.col-xs-9,
.transbg.dark.col-xs-10,
.transbg.dark.col-xs-11,
.transbg.dark.col-xs-12 {
	border: 1px solid rgba(24,24,24,0);
    background: #00506b;
    background-clip: padding-box;
}
.transbg.col-xs-1.hover:hover,
.transbg.col-xs-2.hover:hover,
.transbg.col-xs-3.hover:hover,
.transbg.col-xs-4.hover:hover,
.transbg.col-xs-5.hover:hover,
.transbg.col-xs-6.hover:hover {
	box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.2);
	background: #97bf0d;
}
.transbg.col-xs-7.hover:hover,
.transbg.col-xs-8.hover:hover,
.transbg.col-xs-9.hover:hover,
.transbg.col-xs-10.hover:hover,
.transbg.col-xs-11.hover:hover,
.transbg.col-xs-12.hover:hover {
    box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.2);
	background: #cb2025;
}

.colbar.transbg .logo {
    font-size: 30px;
   	font-weight: 200;
    margin-top: -4px;
    margin-bottom: -4px;
	font-family: 'Damion', sans-serif;
}

.colbar.transbg .fa {
    margin-top: 8px;
    font-size: 20px !important;
	margin-left: 10px;
}
.on.icon {
	color: #3EFF00 /* green */
}
.ui-slider-handle {
    border-radius: 25px;
 }
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Themes

Post by EdwinK »

Like the look of your 'mytheme' :)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Themes

Post by robgeerts »

Oy my, just noticed this topic 5 minutes ago ;)
I already saw it in github but didnt see the screenshots.
Great work!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest