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.

Customize spinner
#6
Use this CSS for vertical spinner for both show control and pop-up element (icon display). You need to set additional classes to s-vertical, icon display will only work correctly with 2020 RC2 firmware.
Code:
.pcontrol-s-vertical .popover-content,
.usermode .s-vertical .popover-content {
  display: flex;
  flex-direction: column-reverse;
}
.pcontrol-s-vertical .spinner-up,
.usermode .s-vertical .spinner-up {
  border-radius: 4px 4px 0 0 !important;
}
.pcontrol-s-vertical .spinner-down,
.usermode .s-vertical .spinner-down {
  border-radius: 0 0 4px 4px !important;
}
.pcontrol-s-vertical .spinner-up,
.usermode .s-vertical .spinner-up,
.pcontrol-s-vertical .spinner-down,
.usermode .s-vertical .spinner-down {
  width: 54px !important;
  margin: 0 !important;
}
.pcontrol-s-vertical .spinner-value,
.usermode .s-vertical .spinner-value {
  width: 52px;
  border-top-width: 0;
  border-bottom-width: 0;
}
You can add multiple classes to an element if you want to change colors or other properties. For pop-up element display classes are prefixed with pcontrol- so s-vertical becomes pcontrol-s-vertical:
       
Reply


Messages In This Thread
Customize spinner - by ncgnick - 08.07.2020, 13:15
RE: Customize spinner - by Daniel - 08.07.2020, 13:31
RE: Customize spinner - by ncgnick - 08.07.2020, 14:55
RE: Customize spinner - by admin - 08.07.2020, 14:59
RE: Customize spinner - by ncgnick - 08.07.2020, 16:49
RE: Customize spinner - by admin - 09.07.2020, 07:32

Forum Jump: