GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing wiki.eclipse.org — Nebula CSS RoundedSwitch - Eclipsepedia
Jump to: navigation,
search
Nebula CSS RoundedSwitchIntroductionThis page explains how to use the CSS theming for the Rounded Switch widget. InstallationIn you e4 application you can install :
PropertiesBorder Width
ColorsYou can customize the widget for 4 states
ExamplesHere is a full example : /*
CSS for Rounded Switch
*/
RoundedSwitch {
switch-border-width:2px;
}
.custom:checkedEnabled {
switch-border-color: #75B936;
switch-circle-color: #FFFFFF;
switch-background-color: #75B936;
}
.custom:uncheckedEnabled {
switch-border-color: #FF0000;
switch-circle-color: darkred;
switch-background-color: #FF0000;
}
.custom:checkedDisabled {
switch-border-color: #C9C9C9;
switch-circle-color: #FFFFFF;
switch-background-color: #C9C9C9;
}
.custom:uncheckedDisabled {
switch-border-color: #C9C9C9;
switch-circle-color: #FFFFFF;
switch-background-color: #C9C9C9;
}
An e4 example application called org.eclipse.nebula.widgets.roundedswitch.example.e4 shows how to customize the Rounded Switch widget.
This page was last modified 13:49, 30 July 2020 by Eclipsepedia anonymous user Unnamed Poltroon. | ||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |