|| Copyright (C) 1998-2008, Sumisho Computer Systems Corp.  All Rights Reserved.

{curl-file-attributes character-encoding = "utf8"}

{import * from CURL.GUI.STANDARD}
{import * from COM.CURL.GUI.STYLED-CONTROLS, override? = true}

{StyleSheet
    {StyleRule "LookAndFeel",
        font-size = 10pt,
        accent-color = "skyblue"
    },
    {StyleRule "TabContainer",
        background = "transparent",
        panes-skin =
            {ShadedSkinSpec
                "navajowhite","navajowhite",
                border-color = "darkorange",
                draw-top-edge? = false,
                orientation-transform = "rotate-border"
            }
    },
||--    the close button
    {StyleRule "TabContainer/close-button", ||.first
        skin = {ShadedSkinSpec
                   "skyblue", "dodgerblue",
                   border-color = "blue",
                   rollover-start-color = "skyblue",
                   rollover-end-color = "blue",
                   rollover-border-color = "dodgerblue",
                   highlight-alpha-1 = .5,
                   overlay-decoration = "x",
                   corner-radius = 2px
               }
    },
||--    the tabs
    {StyleRule "TabContainer/selector", ||.first
        font-weight = "bold",
        skin = {ShadedSkinSpec
                   "white", "navajowhite",
                   border-color = "darkorange",
                   rollover-start-color = "navajowhite",
                   rollover-end-color = "orangered",
                   rollover-border-color = "darkorange",
                   highlight-alpha-1 = .5,
                   draw-bottom-edge? = false,
                   lower-left-rounded? = false,
                   lower-right-rounded? = false,
                   orientation-transform = "rotate-border",
                   corner-radius = 5px
               }
    },
||--    the dropdown that gives access to tabs when they don't all fit
    {StyleRule "DropdownList.tab-dropdown-list-control",
        width = {make-elastic minimum-size = 15px,
                    preferred-size = 1m},
        height = {make-elastic minimum-size = 15px,
                     preferred-size = 1m},
        margin = 2px,
        skin =
            {ShadedSkinSpec
                "skyblue", "dodgerblue",
                border-color = "blue",
                rollover-start-color = "skyblue",
                rollover-end-color = "blue",
                rollover-border-color = "dodgerblue",
                highlight-alpha-1 = .5,
                corner-radius = 2px,
                overlay-decoration = "triangle-down",
                margin-spec = 7px
            },
        focus-skin = null
    },
||--    space between tabs in tab control
    {StyleRule "Fill.tab-selector-interval-spacer",
        width = 0px,
        height = 0px
    },
||--    space between end of selectors and end of tab control
    {StyleRule "Fill.tab-selectors-list-spacer",
        width = 0px,
        height = 0px
    },


    
    {StyleRule "DropdownList", 
        vorigin = 0.73,
        skin = 
            {ShadedSkinSpec
                content-background-inset = 0,
                draw-content-background? = true,
                margin-spec = {OffsetSpec 1px},
                "red",
                "red",
                highlight-alpha-1 = .2,
                highlight-alpha-2 = .2,
                border-color = "green",
                corner-radius = 2px
            }

    },
    {StyleRule "DropdownList/item-frame",
        border-color = "transparent",
        outside-margin = {OffsetSpec bottom = 1px},
        border-spec = 
            {BorderSpec 
                left-border-width = 2px, right-border-width = 2px
            },
        margin = 2px
    },
    {StyleRule "DropdownList/drop-button", 
        width = 14px,
        height = 22px,
        skin = {ShadedSkinSpec
                   "skyblue", "dodgerblue",
                   border-color = "darkblue",
                   rollover-start-color = "skyblue",
                   rollover-end-color = "blue",
                   rollover-border-color = "dodgerblue",
                   highlight-alpha-1 = .5,
||--                   orientation-transform = "rotate-base",
||--                   orientation-transform = "rotate-border",
                   overlay-decoration = "triangle-down",
                   corner-radius = 2px
               }

    }
}
