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

com.alee.skin.dark.resources.tabbedpane.xml Maven / Gradle / Ivy

There is a newer version: 1.2.14
Show newest version
<skin xmlns="http://weblookandfeel.com/XmlSkin">

    <!-- com.alee.laf.tabbedpane.WebTabbedPane -->

    <!-- Tabbed pane -->
    <style type="tabbedpane">
        <component>
            <background>68,68,68</background>
            <foreground>245,245,245</foreground>
            <layout class="TabbedPaneLayout$UIResource">
                <ContentSize type="preferred" />
            </layout>
        </component>
        <painter>
            <decorations>
                <decoration states="focused" />
            </decorations>
        </painter>

        <!-- Tab area -->
        <style type="panel" id="tab-area" extends="transparent">
            <component>
                <layout class="TabAreaLayout$UIResource" />
            </component>
            <painter>
                <decorations>
                    <decoration>
                        <BoundsShape />
                        <ColorBackground color="68,68,68" />
                        <Stripes orientation="horizontal" align="bottom" bounds="margin">
                            <Stripe>
                                <color>20,20,20</color>
                            </Stripe>
                        </Stripes>
                    </decoration>
                    <decoration states="left">
                        <Stripes orientation="vertical" align="right" bounds="margin" />
                    </decoration>
                    <decoration states="right">
                        <Stripes orientation="vertical" align="left" bounds="margin" />
                    </decoration>
                    <decoration states="bottom">
                        <Stripes align="top" />
                    </decoration>
                </decorations>
            </painter>

            <!-- Tab viewport -->
            <style type="viewport" id="viewport" extends="transparent">

                <!-- Tab container -->
                <style type="panel" id="container" extends="transparent">
                    <component>
                        <layout class="TabContainerLayout$UIResource">
                            <tabStretchType>multiline</tabStretchType>
                        </layout>
                    </component>

                    <!-- Tab title -->
                    <style type="styledlabel" id="tab" padding="6,10,6,8">
                        <component>
                            <horizontalAlignment>0</horizontalAlignment>
                        </component>
                        <painter>
                            <decorations overwrite="true">
                                <decoration>
                                    <BoundsShape />
                                    <ColorBackground color="68,68,68" />
                                    <Stripes orientation="horizontal" align="bottom" bounds="margin">
                                        <Stripe>
                                            <color>20,20,20</color>
                                        </Stripe>
                                    </Stripes>
                                </decoration>
                                <decoration states="left">
                                    <Stripes orientation="vertical" align="right" bounds="margin" />
                                </decoration>
                                <decoration states="right">
                                    <Stripes orientation="vertical" align="left" bounds="margin" />
                                </decoration>
                                <decoration states="bottom">
                                    <Stripes align="top" />
                                </decoration>
                                <decoration states="enabled,hover">
                                    <ColorBackground color="55,55,55" />
                                </decoration>
                                <decoration states="selected">
                                    <ColorBackground color="45,45,45" />
                                    <Stripes>
                                        <Stripe stroke="basic;5">
                                            <color>106,117,134</color>
                                        </Stripe>
                                    </Stripes>
                                </decoration>
                                <decoration states="enabled,selected,hover">
                                    <ColorBackground color="55,55,55" />
                                </decoration>
                                <decoration states="selected,in-focused-parent">
                                    <Stripes>
                                        <Stripe stroke="basic;5">
                                            <color>64,131,201</color>
                                        </Stripe>
                                    </Stripes>
                                </decoration>
                                <decoration states="has-no-children">
                                    <LabelLayout>
                                        <LabelIcon constraints="icon" />
                                        <TabText constraints="text" color="200,200,200" />
                                    </LabelLayout>
                                </decoration>
                                <decoration states="has-no-children,hover">
                                    <LabelLayout>
                                        <TabText color="245,245,245" />
                                    </LabelLayout>
                                </decoration>
                                <decoration states="has-no-children,selected">
                                    <LabelLayout>
                                        <TabText color="245,245,245" />
                                    </LabelLayout>
                                </decoration>
                                <decoration states="has-no-children,selected,in-focused-parent">
                                    <LabelLayout>
                                        <TabText color="118,185,255" />
                                    </LabelLayout>
                                </decoration>
                                <decoration states="has-no-children,disabled">
                                    <LabelLayout>
                                        <TabText color="180,180,180" ignoreCustomColor="true" ignoreStyleColors="true" />
                                    </LabelLayout>
                                </decoration>
                            </decorations>
                        </painter>
                    </style>

                </style>

            </style>

            <!-- Tab menu button -->
            <style type="button" id="tab-menu-button" extends="undecorated" padding="6,6,6,6">
                <painter>
                    <decorations overwrite="true">
                        <decoration>
                            <SetIcon constraints="icon" icon="menu-dimmed" />
                        </decoration>
                        <decoration states="hover">
                            <SetIcon constraints="icon" icon="menu-hover" />
                        </decoration>
                    </decorations>
                </painter>

                <!-- Popup style -->
                <style type="popupmenu" id="menu">
                    <painter>
                        <popupStyle>simple</popupStyle>
                        <background>68,68,68</background>
                        <borderColor>20,20,20</borderColor>
                        <round>0</round>
                        <shadeWidth>2</shadeWidth>
                        <shadeOpacity>1</shadeOpacity>
                        <opacity>1</opacity>
                    </painter>

                    <!-- Menu item -->
                    <style type="radiobuttonmenuitem" id="item">
                        <painter>
                            <decorations overwrite="true">
                                <decoration>
                                    <WebShape round="0" />
                                    <MenuItemLayout padding="4,10,5,8" stateIconGap="8" iconTextGap="6" textAcceleratorGap="20">
                                        <ButtonIcon constraints="icon" />
                                        <TabMenuItemText constraints="text" />
                                    </MenuItemLayout>
                                </decoration>
                                <decoration states="selected">
                                    <ColorBackground color="55,55,55" />
                                </decoration>
                                <decoration states="checked">
                                    <ColorBackground color="45,45,45" />
                                    <Stripes orientation="vertical" align="left" bounds="margin">
                                        <Stripe stroke="basic;5">
                                            <color>64,131,201</color>
                                        </Stripe>
                                    </Stripes>
                                    <MenuItemLayout>
                                        <TabMenuItemText color="118,185,255" />
                                    </MenuItemLayout>
                                </decoration>
                                <decoration states="checked,selected">
                                    <ColorBackground color="55,55,55" />
                                </decoration>
                                <decoration states="disabled">
                                    <MenuItemLayout>
                                        <TabMenuItemText color="180,180,180" ignoreCustomColor="true" ignoreStyleColors="true" />
                                    </MenuItemLayout>
                                </decoration>
                            </decorations>

                            <!-- State icon painter -->
                            <stateIconPainter overwrite="true" />

                        </painter>
                    </style>

                </style>

            </style>

        </style>

    </style>

    <!-- Tabbed pane with tabs of equal size -->
    <style type="tabbedpane" id="equal">

        <!-- Tab area -->
        <style type="panel" id="tab-area" extends="transparent">

            <!-- Tab viewport -->
            <style type="viewport" id="viewport" extends="transparent">

                <!-- Tab container -->
                <style type="panel" id="container" extends="transparent">
                    <component>
                        <layout class="TabContainerLayout$UIResource">
                            <tabSize>equal</tabSize>
                        </layout>
                    </component>
                </style>

            </style>

        </style>

    </style>

    <!-- Tabbed pane with vertical tabs -->
    <style type="tabbedpane" id="vertical">

        <!-- Tab area -->
        <style type="panel" id="tab-area">

            <!-- Tab viewport -->
            <style type="viewport" id="viewport">

                <!-- Tab container -->
                <style type="panel" id="container">

                    <!-- Tab title -->
                    <style type="styledlabel" id="tab">
                        <painter>
                            <decorations>
                                <decoration states="top">
                                    <LabelLayout rotation="counterClockwise" />
                                </decoration>
                                <decoration states="left">
                                    <LabelLayout rotation="counterClockwise" />
                                </decoration>
                                <decoration states="bottom">
                                    <LabelLayout rotation="counterClockwise" />
                                </decoration>
                                <decoration states="right">
                                    <LabelLayout rotation="clockwise" />
                                </decoration>
                            </decorations>
                        </painter>
                    </style>

                </style>

            </style>

        </style>

    </style>

</skin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy