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

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

Go to download

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications

There is a newer version: 2.2.1
Show newest version
<skin>

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

    <!-- Calendar -->
    <style type="panel" id="calendar" extends="focusable">
        <painter>
            <decorations>
                <decoration>
                    <GradientBackground>
                        <color>white</color>
                        <color>223,223,223</color>
                    </GradientBackground>
                </decoration>
            </decorations>
        </painter>

        <!-- Header panel -->
        <style type="panel" id="header" extends="transparent">

            <!-- Control buttons -->
            <style type="button" id="control" extends="icon-hover">
                <painter>
                    <decorations>
                        <decoration>
                            <WebShape round="2" />
                        </decoration>
                    </decorations>
                </painter>
            </style>
            <style type="button" id="prev-year" extends="control" />
            <style type="button" id="prev-month" extends="control" />
            <style type="button" id="next-month" extends="control" />
            <style type="button" id="next-year" extends="control" />

            <!-- Title label -->
            <style type="label" id="title" extends="shade">
                <component>
                    <horizontalAlignment>0</horizontalAlignment>
                </component>
            </style>

        </style>

        <!-- Week titles panel -->
        <style type="panel" id="week-titles" extends="decorated" padding="2,1,3,1">
            <painter>
                <decorations>
                    <decoration>
                        <WebShape round="0" sides="1,0,1,0" />
                        <WebShadow type="outer" width="0" />
                    </decoration>
                </decorations>
            </painter>

            <!-- Week title separator -->
            <style type="separator" id="separator" padding="0,1,0,1">
                <painter>
                    <lines>
                        <line>
                            <color fraction="0.0">176,182,188,5</color>
                            <color fraction="0.5">176,182,188</color>
                            <color fraction="1.0">176,182,188,5</color>
                        </line>
                    </lines>
                </painter>
            </style>

            <!-- Week title label -->
            <style type="label" id="title" extends="shade">
                <component>
                    <horizontalAlignment>0</horizontalAlignment>
                </component>
            </style>

        </style>

        <!-- Month panel -->
        <style type="panel" id="month" extends="transparent" padding="1,1,1,1">

            <!-- Week title separator -->
            <style type="separator" id="separator" padding="0,1,0,1">
                <painter>
                    <lines>
                        <line>
                            <color fraction="0.0">176,182,188,5</color>
                            <color fraction="0.25">176,182,188</color>
                            <color fraction="0.95">176,182,188</color>
                            <color fraction="1.0">176,182,188,5</color>
                        </line>
                    </lines>
                </painter>
            </style>

            <!-- Month date buttons -->
            <style type="togglebutton" id="date" extends="hover">
                <component>
                    <horizontalAlignment>4</horizontalAlignment>
                </component>
                <painter>
                    <decorations>
                        <decoration>
                            <WebShape round="2" />
                        </decoration>
                    </decorations>
                </painter>
            </style>
            <style type="togglebutton" id="previous-date" extends="date">
                <component>
                    <foreground>90,90,90</foreground>
                </component>
            </style>
            <style type="togglebutton" id="current-date" extends="date" />
            <style type="togglebutton" id="weekend-date" extends="date">
                <component>
                    <foreground>160,0,0</foreground>
                </component>
            </style>
            <style type="togglebutton" id="next-date" extends="date">
                <component>
                    <foreground>90,90,90</foreground>
                </component>
            </style>

        </style>

    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy