I have made a block "gordijnen" and added a css_class like this.
Code: Select all
blocks['gordijnendicht'] = {
addClass: 'gordijn',
idx:250,
image:'gordijnen dicht.png',
hide_data : true,
last_update : false,
}
but i can not change the image size.
tried:
Code: Select all
.gordijn image{
max-width: 130px;
width: 110px;
}
Code: Select all
blocks["camera voor"] = {
type: "camera",
key : "CAM",
cameras: [
{
title: "Camera Voor",
imageUrl: "http://192.168.x.x.x/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pwd",
},
],
width: 8,
height: 150,
refresh: 0.1,
traytimeout: 3,
slidedelay: 3,
forcerefresh: 1,
};
and in css
Code: Select all
.blocks[data-id='CAM'] {
margin-left:50px;
}
Jan