com.alee.skin.dark.resources.checkbox.xml Maven / Gradle / Ivy
<skin xmlns="http://weblookandfeel.com/XmlSkin"> <!-- com.alee.laf.checkbox.WebCheckBox --> <!-- Checkbox --> <style type="checkbox"> <painter> <decorations> <decoration> <ButtonLayout> <SimpleButtonIcon constraints="icon" /> <ButtonText constraints="text" color="245,245,245" /> </ButtonLayout> </decoration> <decoration states="disabled"> <ButtonLayout> <ButtonText color="180,180,180" /> </ButtonLayout> </decoration> </decorations> <!-- Check state painter --> <checkStatePainter> <decorations> <decoration size="17,17"> <WebShape round="2" /> <WebShadow type="outer" width="2" /> <LineBorder color="20,20,20" /> <GradientBackground type="radial" from="0.5,0.5" to="2,0.5"> <color>77,81,83</color> <color>black</color> </GradientBackground> </decoration> <decoration states="checked"> <CheckIcon bounds="margin" stroke="basic;2" color="255,255,255,235" /> </decoration> <decoration states="focused"> <LineBorder color="black" /> </decoration> <decoration states="disabled"> <WebShadow type="outer" opacity="0" /> <LineBorder color="68,72,74" /> <ColorBackground color="80,80,80" /> </decoration> <decoration states="disabled,checked"> <CheckIcon bounds="margin" color="130,130,130" /> </decoration> </decorations> </checkStatePainter> </painter> </style> <!-- Checkbox supporting styled text --> <style type="checkbox" id="styled"> <painter> <decorations> <decoration> <ButtonLayout> <StyledButtonText constraints="text" color="245,245,245" /> </ButtonLayout> </decoration> <decoration states="disabled"> <ButtonLayout> <StyledButtonText color="180,180,180" ignoreStyleColors="true" /> </ButtonLayout> </decoration> </decorations> </painter> </style> <!-- Link-like checkbox --> <style type="checkbox" id="link" extends="styled"> <painter> <decorations> <decoration cursor="hand" /> <decoration states="hover"> <ButtonLayout> <StyledButtonText globalStyle="u" /> </ButtonLayout> </decoration> <decoration states="disabled"> <ButtonLayout> <StyledButtonText globalStyle="" /> </ButtonLayout> </decoration> </decorations> </painter> </style> </skin>