<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   accMenuGadgetStyles.box

****************************************************************************
   C O P Y R I G H T   A N D   C O N F I D E N T I A L I T Y   N O T I C E
****************************************************************************

//      Copyright (c) 2006 AOL LLC.  All rights reserved.
//      This software contains valuable confidential and proprietary
//      information of AOL LLC. and is subject to applicable
//      licensing agreements.  Unauthorized reproduction, transmission or
//      distribution of this file and its contents is a violation of
//      applicable laws.
//
//            A O L   C O N F I D E N T I A L

****************************************************************************
-->


<?boxely version="1.0"?>


<library xmlns="http://www.aol.com/boxely/resource.xsd">


<style 
    id="accAolMenuBarStyle" 
    accStyleFor="aolMenuBarStyle"
    fill="sysColorMenu">
</style>


<style 
    id="accAolMenuLook" 
    accStyleFor="aolMenuLook"
    inherits="#aolMenuItem" fill="sysColorMenu">
    
    <part name="leftGutter" width="12"/>
    <part name="dropmark" width="5" height="9" right="15" top="middle" fill="sysColorMenuText" mask="url(#mask.menuPopupDropmark)" />
    
    <part name="topMenuLabel" crop="right" textColor="sysColorMenuText" maxWidth="350">
        <attribute name="current" value="true" textColor="sysColorItemHighlightText" />
    </part>
    <attribute name="current" value="true" fill="sysColorItemHighlight" />
</style>


<style 
    id="accAolMenuBarItemStyle" 
    accStyleFor="aolMenuBarItemStyle"
    inherits="#accAolMenuLook" 
    maxWidth="0" fill="sysColorMenu" padding="0 3">
    
    <part name="topMenuLabel" crop="none">
        <attribute name="current" value="true" textColor="sysColorItemHighlightText" />
    </part>
    <attribute name="current" value="true" textColor="sysColorItemHighlightText" fill="sysColorItemHighlight"/>
</style>


<style 
    id="accAolCheckMenuItemStyle" 
    accStyleFor="aolCheckMenuItemStyle"
    inherits="#accAolMenuItemStyle">
    
    <part name="menuLabel" fill="sysColorMenu" textColor="sysColorMenuText">
        <attribute name="current" fill="sysColorItemHighlight" value="true" textColor="sysColorItemHighlightText"/>
    </part>
    
    <part name="leftGutter" width="12" vAlign="center" hAlign="center"/>
    <part name="checkmark" width="7" height="6">
        <attribute name="toggled" value="true" fill="sysColorMenuText" mask="url(#mask.aolmenucheckmark.on)">
            <attribute name="current" value="true" fill="sysColorItemHighlightText" mask="url(#mask.aolmenucheckmark.on)"/>
        </attribute>
    </part>
</style>


<style 
    id="accAolMenuSeparatorStyle" 
    accStyleFor="aolMenuSeparatorStyle"
    height="1px" fill="sysColor3DShadow">
</style> 


<style 
    id="accAolMenuButtonStyle" 
    accStyleFor="aolMenuButtonStyle"
    inherits="#accAolButtonLook" 
    hSpace="5" vSpace="5" vAlign="center">
    
    <part name="menuBoxLabel" inherits="#controlText" textColor="sysColorButtonText" margin="0" padding="-1 0 0 0"
            crop="right" flex="1" vAlign="center" hAlign="center">
        <state name="disabled" textColor="sysColorGrayText"/>
        <state name="focused" stroke="sysColorWindowText" strokeWidth="2" strokePattern="dotted"/>
    </part>
    
    <part name="dropmark" width="8" height="4" fill="sysColorButtonText" mask="url(#mask.comboDropArrow)"/>
    <state name="popped" padding="5 5 3 7" fill="OSTheme(button,pushbutton,pressed)"/>
</style>


<style 
    id="accAolMenuBoxStyle" 
    accStyleFor="aolMenuBoxStyle"
    inherits="#accAolButtonLook" 
    hSpace="5" vSpace="5" vAlign="center" >
    
    <part name="label" flex="1" inherits="#controlText" hAlign="left"/>
    <part name="dropmark" margin="0" icon="url(#bmp.aoldropmark)"/>
    
    <part name="preLightLayer" opacity="0" focusMode="ignore" position="fixed" top="-2" bottom="-6" left="-2" right="-6" fill="url(#brush.button_halo.blue)">
        <attribute name="defaultButton" value="true" fill="url(#brush.button_halo.green)"/>
        <state name="focused" opacity="100" />
    </part>
    <state name="popped" padding="5 5 3 7" fill="url(#buttonPressedGradient)"/>
</style>


<style 
    id="accComboPopupStyle" 
    accStyleFor="comboPopupStyle"
    top="100%">
    
    <attribute name="opened" value="true" />      
    <part name="container" fill="sysColorWindow" padding="2 2 2 2" stroke="sysColorWindowText" strokeWidth="2"/>
</style>


<style 
    id="accAolEditableComboboxStyle" 
    accStyleFor="aolEditableComboboxStyle"
    stroke="#92A2B2" strokeWidth="1" strokeCornerRadius="2" 
    fillCornerRadius="2" fill="sysColorWindow" padding="1" 
    vAlign="stretch" hAlign="stretch" orient="horizontal">
    
    <part name="inputContainer" flex="1" overflow="hidden" maxWidth="auto"/>
    <part name="inputField" flex="1" padding="1 4 1 4" fill="none" minWidth="10" maxWidth="auto" hscrollable="true" stroke="none" margin="0"/>
    <part name="separator" minWidth="1" fill="black"/>
    <part name="dropdown" width="8" height="4" fill="sysColorButtonText" mask="url(#mask.comboDropArrow)"/>
    
    <part name="menuArea" vAlign="center" hAlign="center" width="20" stroke="sysColorWindowText" fill="syscolor3dface"
          strokeWidth="1" strokeCornerRadius="2" fillCornerRadius="2">
        <state name="pressed" padding="2 0 0 0" />
        <state name="popped" padding="2 0 0 0" />
    </part>
    <part name="thePopup" stroke="sysColorWindowText" strokeWidth="2" cursor="arrow"/>
</style>


<style 
    id="accAolComboboxStyle" 
    accStyleFor="aolComboboxStyle"
    padding="0" vAlign="stretch" fill="sysColorWindow" 
    stroke="#92A2B2" strokeWidth="1" strokeCornerRadius="2" 
    fillCornerRadius="2" minHeight="20">
     
    <part name="icon" padding="1 1 1 1" margin="0"/>
    
    <part 
        name="label" margin="2" flex="1" fill="sysColorItemHighlight" minWidth="50" 
        textColor="sysColorItemHighlightText" stroke="sysColorItemHighlightText"
        strokeWidth="2" strokeLayer="above" strokePattern="dotted" fontBold="false">
    </part>
    
    <part name="separator" minWidth="1" fill="black"/>
    <part name="dropdown" width="8" height="4" fill="sysColorButtonText" mask="url(#mask.comboDropArrow)"/>
    
    <part name="menuArea" vAlign="center" hAlign="center" width="20" stroke="sysColorWindowText" fill="syscolor3dface"
          strokeWidth="1" strokeCornerRadius="2" fillCornerRadius="2">
        <state name="pressed" padding="2 0 0 0" />
        <state name="popped" padding="2 0 0 0" />
    </part>
    <part name="thePopup" stroke="sysColorWindowText" strokeWidth="2" />
</style>


<style 
    id="accControlOverflowMenuItemStyle" 
    accStyleFor="controlOverflowMenuItemStyle"
    inherits="#aolMenuItem" hSpace="2">
    
    <part name="leftGutter" width="12"/>
    <part name="menuLabel" inherits="#controlTextNoFocus" fill="sysColorMenu" textColor="sysColorMenuText" hAlign="start" flex="1" crop="right" overflow="hidden" maxWidth="350">
        <attribute name="current" value="true" fill="sysColorItemHighlight" textColor="sysColorItemHighlightText">
            <state name="disabled" textColor="sysColorGrayText"/>
        </attribute>
    </part>
    <part name="acceleratorText" inherits="#controlTextNoFocus">
        <attribute name="current" value="true" fill="sysColorItemHighlight" textColor="sysColorItemHighlightText">
            <state name="disabled" textColor="sysColorGrayText"/>
        </attribute>
    </part>
    <part name="checkmark" width="7" height="6">
        <attribute name="selected" value="true" fill="sysColorMenuText" mask="url(#mask.aolmenucheckmark.on)">
            <attribute name="current" value="true" fill="sysColorItemHighlightText" mask="url(#mask.aolmenucheckmark.on)">
                <state name="disabled" fill="sysColorItemHighlightText" mask="url(#mask.aolmenucheckmark.on)"/>
            </attribute>
        </attribute>
    </part>
</style>

</library>