<?xml version="1.0" encoding="UTF-8" ?>
<!--
****************************************************************************

     File Name:   sheetDialogStyle.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

****************************************************************************
-->


<?import href="box://aimToolkit/theme/toolkit.box"?>

<library xmlns="http://www.aol.com/boxely/resource.xsd"
         xmlns:box="http://www.aol.com/boxely/box.xsd"
         xmlns:s="http://www.aol.com/boxely/style.xsd"
         xmlns:on="http://www.aol.com/boxely/reaction.xsd"
         persists="true">

    <style id="sheetWindowStyle" minHeight="0" minWidth="0" height="0" width="0"
           maxWidth="auto" maxHeight="auto" padding="0" margin="0" fill="#00FFFFFF"
           stroke="none" strokeWidth="1"/>

    <style id="tintedBackground" minWidth="0" minHeight="0" opacity="0" fill="#1B4E83" position="fixed" layer="above" zIndex="1">
        <attribute name="doStartupAnimation" animate="url(#ani.sheetBG.opacityFadeIn)" animateExit="url(#ani.sheetBG.opacityFadeOut)"/>
    </style>

    <animation id="ani.sheetBG.opacityFadeIn">
        <animate name="opacity" type="style" from="before" to="displayOpacity" begin="0ms" end="200" />
    </animation>
    <animation id="ani.sheetBG.opacityFadeOut">
        <animate name="opacity" type="style" from="before" to="after" begin="0ms" end="100ms" />
    </animation>

    <style id="sheetPaneStyle" fill="#FFFFFF" marginTop="25"
            vAlign="start" hAlign="center"
            left="0" top="0" position="fixed" layer="above" zIndex="2"
            opacity="100" height="0" width="200" minHeight="0" minWidth="400"
            overflow="hidden"
            stroke="#FF555555" strokeWidth="1"
            shadowColor="#000000" shadowRadius="2" shadowLeft="0" shadowRight="0" shadowBottom="5" shadowTop="0" shadowOpacity="0%">
        <attribute name="doSheetAnimation" shadowOpacity="35%" animate="url(#ani.sheetPane.startup)" animateExit="url(#ani.sheetPane.finish)"/>
    </style>
    <animation id="ani.sheetPane.startup">
        <animate name="height" type="style" from="0" to="expandHeight" begin="0ms" end="350ms" dynamics="ease"/>
    </animation>
    <animation id="ani.sheetPane.finish">
        <animate name="height" type="style" from="before" to="after" begin="0ms" end="125" dynamics="sSpline"/>
        <animate name="shadowOpacity" type="style" from="before" to="after" begin="0ms" end="125" dynamics="sSpline"/>
        <animate name="stroke" type="style" from="before" to="#00000000" begin="0ms" end="125" dynamics="sSpline"/>
        <animate name="collapsed" type="attribute" from="false" to="true" begin="125" end="125" />
    </animation>

    <style id="sheetContentsStyle"
        position="fixed" bottom="0" left="0" right="0"
        opacity="0" padding="1" maxHeight="auto">
        <attribute name="doSheetContentsAnimation" opacity="100" animate="url(#ani.sheetContents.opacity)" animateExit="url(#ani.sheetContents.opacity.exit)"/>
    </style>
    
    <style id="sheetTitleBarStyle" fill="url(#sheetTitleBarGradient)" height="28" 
            stroke="#DADADA" strokeWidth="1"
            hAlign="center" vAlign="center"
            maxHeight="auto" maxWidth="auto">
    
    </style>
    
    <linearGradientBrush id="sheetTitleBarGradient">
        <rotateTransform center="50% 50%" angle="-90"/>
        <gradientStops>
            <gradientStop offset="0%" color="#FFFFFF"/>
            <gradientStop offset="65%" color="#FFFFFF"/>
            <gradientStop offset="95%" color="#DFDFDF"/>
            <gradientStop offset="100%" color="#8E8E8E"/>
        </gradientStops>
    </linearGradientBrush>

    <style id="sheetTitleText" textColor="#333333" fontSize="12" fontBold="true" fontFamily="Tahoma" crop="right" maxWidth="auto"/>

    <style id="sheetBodyContainerStyle"
        vSpace="5" hSpace="5"
        padding="15 20 15 20" maxHeight="auto">
    </style>
    
    <animation id="ani.sheetContents.opacity">
        <animate name="opacity" type="style" from="before" to="after" begin="0ms" end="500ms" dynamics="ease"/>
    </animation>
    <animation id="ani.sheetContents.opacity.exit">
        <animate name="opacity" type="style" from="before" to="after" begin="0ms" end="100ms" />
    </animation>

    <style id="sheetBodyText" padding="0" margin="0" flex="1" fontSize="12" textColor="#FF333333"/>
    <style id="sheetDialogBody" flex="1" maxWidth="auto" vAlign="center" hAlign="stretch" minHeight="80" vSpace="5"/>

</library>


