<!--
  ~ Copyright (C) 2014 Vlad Mihalachi
  ~
  ~ This file is part of Turbo Editor.
  ~
  ~ Turbo Editor is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ Turbo Editor is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="android:Theme.Holo">

    </style>

    <style name="AppTheme.Light.Editor" parent="android:Theme.Holo.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="android:windowBackground">@null</item>
        <item name="android:actionBarStyle">@style/ActionBar.Dark</item>
        <item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
        <item name="android:actionBarSize">@dimen/action_bar_height</item>
        <item name="android:windowContentOverlay">@drawable/actionbar_shadow</item>
        <item name="android:homeAsUpIndicator">@drawable/ic_ab_up_compat</item>
    </style>

    <style name="AppTheme.Light" parent="android:Theme.Holo.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="android:windowBackground">@color/window_background_light</item>
        <item name="android:actionBarStyle">@style/ActionBar.Dark</item>
        <item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
        <item name="android:actionBarSize">@dimen/action_bar_height</item>
        <item name="android:windowContentOverlay">@drawable/actionbar_shadow</item>
        <item name="android:homeAsUpIndicator">@drawable/ic_ab_up_compat</item>
    </style>

    <style name="AppTheme.Dark" parent="android:Theme.Holo">
        <!-- Customize your theme here. -->
        <item name="android:windowBackground">@color/window_background</item>
        <item name="android:actionBarStyle">@style/ActionBar.Dark</item>
        <item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
        <item name="android:actionBarSize">@dimen/action_bar_height</item>
        <item name="android:windowContentOverlay">@drawable/actionbar_shadow</item>
        <item name="android:homeAsUpIndicator">@drawable/ic_ab_up_compat</item>
    </style>

    <style name="ActionBar.Light" parent="android:Widget.Holo.Light.ActionBar">

        <item name="android:background">@color/window_background_light</item>
        <item name="android:icon">@drawable/actionbar_icon_placeholder_compat</item>
        <item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
        <item name="android:titleTextStyle">
            @style/ActionBar.TitleLight
        </item>
        <item name="android:subtitleTextStyle">
            @style/ActionBar.SubtitleLight
        </item>
    </style>

    <style name="ActionBar.Dark" parent="android:Widget.Holo.ActionBar">

        <item name="android:background">@color/window_background</item>
        <item name="android:icon">@drawable/actionbar_icon_placeholder_compat</item>
        <item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
        <item name="android:titleTextStyle">
            @style/ActionBar.TitleDark
        </item>
        <item name="android:subtitleTextStyle">
            @style/ActionBar.SubtitleDark
        </item>
    </style>

    <style name="ActionBar.TitleDark" parent="android:TextAppearance.Holo.Widget.ActionBar.Title">
        <item name="android:textColor">
            @color/textColor
        </item>
        <item name="android:textStyle">bold</item>
    </style>

    <style name="ActionBar.SubtitleDark" parent="android:TextAppearance.Holo.Widget.ActionBar.Subtitle">
        <item name="android:textColor">
            @color/textColor
        </item>
    </style>

    <style name="ActionBar.TitleLight" parent="android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse">
        <item name="android:textColor">
            @color/textColorInverted
        </item>
        <item name="android:textStyle">bold</item>
    </style>

    <style name="ActionBar.SubtitleLight" parent="android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse">
        <item name="android:textColor">
            @color/textColorInverted
        </item>
    </style>

    <style name="OverFlow" parent="android:Widget.ActionButton.Overflow">
        <item name="android:src">@drawable/ic_ab_overflow_compat</item>
    </style>

</resources>
