<?xml version="1.0" encoding="UTF-8"?>
<!--
****************************************************************************

     File Name:   windowGadgetStyles.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"?>

<?import href="box://aimToolkit/theme/coreStyles.box"?>

<library xmlns="http://www.aol.com/boxely/resource.xsd"
 accStyles="box://aimToolkit/theme/accWindowGadgetStyles.box">

    <bitmap id="bmp.title.close" src="box://aimToolkit/theme/images/title_bar_close.png"/>

    <linearGradientBrush id="dialogGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#D5DBE3"/>
            <gradientStop offset="100%" color="#FFFFFF"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#D5DBE3"/>
            <gradientStop offset="100%" color="#B3B7BE"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowTitleBarGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#FFFFFF"/>
            <gradientStop offset="100%" color="#D5DBE3"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowTitleBarGradientFlip">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#D5DBE3"/>
            <gradientStop offset="100%" color="#FFFFFF"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="appWindowTitleBarGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#FFFFFF"/>
            <gradientStop offset="45%" color="#FFFFFF"/>
            <gradientStop offset="55%" color="#f1f4f8"/>
            <gradientStop offset="100%" color="#D2D6DD"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="appWindowTitleBarGradientFlip">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#D5DBE3"/>
            <gradientStop offset="50%" color="#FFFFFF"/>
            <gradientStop offset="100%" color="#FFFFFF"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowTitleBarDivDark">
        <gradientStops>
            <gradientStop offset="0%" color="#00A8ADC8"/>
            <gradientStop offset="5%" color="#00A8ADC8"/>
            <gradientStop offset="50%" color="#FFA8ADC8"/>
            <gradientStop offset="95%" color="#00A8ADC8"/>
            <gradientStop offset="100%" color="#00A8ADC8"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowTitleBarDivLight">
        <gradientStops>
            <gradientStop offset="0%" color="#00FFFFFF"/>
            <gradientStop offset="5%" color="#00FFFFFF"/>
            <gradientStop offset="50%" color="#FFFFFFFF"/>
            <gradientStop offset="95%" color="#00FFFFFF"/>
            <gradientStop offset="100%" color="#00FFFFFF"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowContentGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#D2D6DD"/>
            <gradientStop offset="100%" color="#B3B7BE"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowGripLeftGradient">
        <rotateTransform center="50% 50%" angle="0"/>
        <gradientStops>
            <gradientStop offset="0%" color="#FFFFFF"/>
            <gradientStop offset="15%" color="#FFFFFF"/>
            <gradientStop offset="50%" color="#EFEFEF"/>
            <gradientStop offset="100%" color="#B4B4B4"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowGripRightGradient">
        <rotateTransform center="50% 50%" angle="0"/>
        <gradientStops>
            <gradientStop offset="0%" color="#B4B4B4"/>
            <gradientStop offset="50%" color="#FFFFFF"/>
            <gradientStop offset="100%" color="#FFFFFF"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowGripBottomGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#B4B4B4"/>
            <gradientStop offSet="50%" color="#FFFFFF"/>
            <gradientStop offset="100%" color="#F1F1F1"/>
        </gradientStops>
    </linearGradientBrush>

    <linearGradientBrush id="windowGripTopGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#B4B4B4"/>
            <gradientStop offSet="50%" color="#FFFFFF"/>
            <gradientStop offset="100%" color="#F1F1F1"/>
        </gradientStops>
    </linearGradientBrush>


    <style id="mainMenuBarStyle" flex="1" vAlign="center" hAlign="start" padding="-2 0 -1 0" margin="0" marginLeft="4" fill="none">
        <attribute name="largeIcon" value="true" minHeight="22" marginLeft="0"/> 
    </style>

    <style tag="aolDialog" id="aolDialogStyle" top="center" left="center" padding="1 3 3 3" fill="url(#brush.aimWindow.innerBorder)"
            stroke="url(#pen.aimWindow.border)" strokeCornerRadius="4 4 0 0" fillCornerRadius="4 4 0 0" overflow="none"
            translucent="false" chromeless="true" width="350" height="240">

        <part name="titleBar" padding="1 0 1 0" fill="url(#gradient.aimWindow.titleBar)"
                vAlign="center" orient="horizontal" overflow="hidden">
            <attribute name="active" value="false" />
       </part>
        <part name="titleBarIcon" maxWidth="18" maxHeight="18" marginTop="3">
            <attribute name="active" value="false" opacity="50%"/>
        </part>
        <part name="titleGroup" fill="url(#gradient.aimWindow.titleBar)">
            <attribute name="active" value="false" />
        </part>
        <part name="titleBarLabel" crop="right" flex="1" width="50" maxWidth="auto"
            fontFamily="Arial" fontSize="14px" fontBold="true" textColor="url(#brush.aimWindow.title)" textShadowColor="url(#brush.aimWindow.titleDropShadow)"
            textShadowOffsetX="1" textShadowOffsetY="1" padding="0" margin="3 0 0 4" >
                <attribute name="isFlashing" value="false">
                    <attribute name="active" value="false" textColor="#C8C8C8"/>
                </attribute>
                <attribute name="flash" value="true" textColor="#C8C8C8"/>
        </part>
        <part name="windowControls" vAlign="center" hSpace="1" padding="1 1 1 2" margin="0 -1 0 0" stroke="white" strokeWidth="2" strokeCornerRadius="0 6 0 6" >
            <attribute name="minimizable" value="false" strokeCornerRadius="0 6 0 0" />
        </part>
        <part name="titleBarMin" >
            <attribute name="isFlashing" value="false">
                <attribute name="active" value="false" opacity="30%"/>
            </attribute>
            <attribute name="flash" value="true" opacity="50%"/>
        </part>
        <part name="titleBarMax" >
            <attribute name="isFlashing" value="false">
                <attribute name="active" value="false" opacity="30%"/>
            </attribute>
            <attribute name="flash" value="true" opacity="50%"/>
        </part>
        <part name="titleBarRestore" >
            <attribute name="isFlashing" value="false">
                <attribute name="active" value="false" opacity="30%"/>
            </attribute>
            <attribute name="flash" value="true" opacity="50%"/>
        </part>
        <part name="titleBarClose" >
            <attribute name="isFlashing" value="false">
                <attribute name="active" value="false" opacity="30%"/>
            </attribute>
            <attribute name="flash" value="true" opacity="50%"/>
        </part>

        <part name="titleBarSpacer" fill="url(#brush.aimWindow.titleBarEndColor);" height="3" left="0" right="0" />
        <part name="windowContent" flex="1" fill="url(#gradient.aimWindow.windowContent)" margin="0" padding="0">
            <attribute name="isFlashing" value="false">
                <attribute name="active" value="false" />
            </attribute>
            <attribute name="flash" value="true" />
        </part>
        <part name="windowInnerContent" inherits="#aimWindowContentArea" />
    </style>

    <style id="aolSmallDialog" inherits="#aolDialog" width="250" height="140"/>
    <style id="aolMediumDialog" inherits="#aolDialog" width="350" height="240"/>
    <style id="aolLargeDialog" inherits="#aolDialog" width="450" height="310"/>

</library>