com.alee.skin.dark.resources.passwordfield.xml Maven / Gradle / Ivy
<skin xmlns="http://weblookandfeel.com/XmlSkin"> <!-- com.alee.laf.text.WebPasswordField --> <!-- Password field --> <style type="passwordfield" padding="2"> <component> <opaque>false</opaque> <foreground>245,245,245</foreground> <selectedTextColor>245,245,245</selectedTextColor> <selectionColor>black</selectionColor> <caretColor>white</caretColor> </component> <painter> <inputPromptHorizontalPosition>10</inputPromptHorizontalPosition> <inputPromptVerticalPosition>1</inputPromptVerticalPosition> <inputPromptForeground>200,200,200</inputPromptForeground> <inputPromptOnlyWhenEditable>true</inputPromptOnlyWhenEditable> <hideInputPromptOnFocus>false</hideInputPromptOnFocus> <decorations> <decoration> <WebShape round="2" /> <WebShadow type="outer" width="2" /> <LineBorder color="20,20,20" /> <ColorBackground color="106,110,112" /> </decoration> <decoration states="focused"> <LineBorder color="black" /> </decoration> <decoration states="disabled"> <WebShadow type="outer" opacity="0" /> <LineBorder color="68,72,74" /> </decoration> </decorations> </painter> </style> <!-- Non-opaque password field --> <style type="passwordfield" id="non-opaque"> <component> <opaque>false</opaque> </component> <painter> <decorations overwrite="true"> <decoration> <BoundsShape /> <ColorBackground color="106,110,112" /> </decoration> </decorations> </painter> </style> <!-- Transparent password field --> <style type="passwordfield" id="transparent" extends="non-opaque"> <painter> <decorations overwrite="true" /> </painter> </style> <!-- Password field without focus decoration --> <style type="passwordfield" id="nofocus"> <painter> <decorations> <decoration states="focused"> <LineBorder color="black" /> </decoration> </decorations> </painter> </style> </skin>