This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

CSS to Vizu only, not touch
#1
We have a series of custom classes to alter alignment etc. These were designed to work well, and do so, in the usermode Vizu.
But when looking at the touch interface now, it's a mess.
So we want those classes to apply only to the usermode. And maybe lateron some classes only to touch mode.

What do we need to add the the css definition to achieve this selectivity?

Thx,
C.
Don't ask what we can do in KNX but wonder what we can't - www.KNXlogic.eu
Reply
#2
Add .usermode to your CSS rules:
Code:
.usermode .mycustomclass {
  color: red;
}
Reply
#3
(01.09.2022, 07:12)admin Wrote: Add .usermode to your CSS rules:
Code:
.usermode .mycustomclass {
  color: red;
}

Thanks: does the trick. 
I assume '.touch' to be added for touch only then

C.
Don't ask what we can do in KNX but wonder what we can't - www.KNXlogic.eu
Reply
#4
Yes, use .touch for Touch only.
Reply


Forum Jump: