All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.skin.web.resources.datefield.xml Maven / Gradle / Ivy

<skin>

    <!-- com.alee.extended.date.WebDateField -->

    <!-- Date field -->
    <style type="datefield">
        <component>
            <opaque>false</opaque>
            <background>white</background>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <ColorBackground color="white" />
                </decoration>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
            </decorations>
        </painter>

        <!-- Date text field -->
        <style type="formattedtextfield" id="field" padding="2" extends="undecorated" />

        <!-- Choose button -->
        <style type="button" id="button" extends="icon-hover">
            <painter>
                <selectedForeground>black</selectedForeground>
                <decorations>
                    <decoration>
                        <WebShape round="0" sides="0,1,0,0" />
                        <WebShadow type="outer" width="0" />
                    </decoration>
                </decorations>
            </painter>
        </style>

        <!-- Popup -->
        <style type="rootpane" id="popup" extends="popover">

            <!-- Calendar -->
            <style type="panel" id="calendar" extends="calendar">
                <painter>
                    <decorations>
                        <decoration>
                            <WebShape round="3" />
                            <WebShadow type="outer" width="0" />
                            <LineBorder opacity="0" />
                        </decoration>
                        <decoration states="focused">
                            <LineBorder opacity="0" />
                        </decoration>
                    </decorations>
                </painter>
            </style>

        </style>

    </style>

    <!-- Date field undecorated -->
    <style type="datefield" id="undecorated">
        <painter>
            <decorations>
                <decoration visible="false" />
            </decorations>
        </painter>
    </style>

    <!-- Date field without focus decoration -->
    <style type="datefield" id="nofocus">
        <painter>
            <decorations>
                <decoration states="focused">
                    <LineBorder color="170,170,170" />
                </decoration>
            </decorations>
        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy