<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2017 Zhihu Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="AppThemeLoginM" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="android:windowTranslucentStatus" tools:ignore="NewApi">false</item>
        <item name="android:statusBarColor" tools:ignore="NewApi">@android:color/transparent</item>
        <item name="colorPrimary">@color/zhihu_album_popup_bg</item>
        <item name="colorPrimaryDark">@color/zhihu_album_popup_bg</item>
        <item name="colorAccent">@color/zhihu_album_popup_bg</item>
        <item name="windowActionBar">false</item>
        <item name="android:windowBackground">@color/zhihu_album_popup_bg</item>
        <item name="android:navigationBarColor">@color/zhihu_album_popup_bg</item>
        <!-- 隐藏Activity窗口的Title标题栏 -->
        <item name="windowNoTitle">true</item>
    </style>

    //====================================== Theme Zhihu ===========================================

    <style name="Matisse.Zhihu" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">@color/zhihu_page_bg</item>
        <item name="colorPrimaryDark">@color/zhihu_page_bg</item>
        <item name="toolbar">@style/Toolbar.Zhihu</item>
        <item name="album.dropdown.title.color">@color/zhihu_album_dropdown_title_text</item>
        <item name="album.dropdown.count.color">@color/zhihu_album_dropdown_count_text</item>
        <item name="album.element.color">@android:color/black</item>
        <item name="album.thumbnail.placeholder">@color/zhihu_album_dropdown_thumbnail_placeholder</item>
        <item name="album.emptyView">@drawable/ic_empty_zhihu</item>
        <item name="album.emptyView.textColor">@color/zhihu_album_empty_view</item>
        <item name="item.placeholder">@color/zhihu_item_placeholder</item>
        <item name="item.checkCircle.backgroundColor">@color/zhihu_item_checkCircle_backgroundColor</item>
        <item name="item.checkCircle.borderColor">@color/zhihu_item_checkCircle_borderColor</item>
        <item name="page.bg">@color/zhihu_page_bg</item>
        <item name="bottomToolbar.bg">@color/zhihu_bottom_toolbar_bg</item>
        <item name="bottomToolbar.preview.textColor">@color/zhihu_bottom_toolbar_preview</item>
        <item name="bottomToolbar.apply.textColor">@color/zhihu_bottom_toolbar_apply</item>
        <item name="preview.bottomToolbar.back.textColor">@color/zhihu_preview_bottom_toolbar_back_text</item>
        <item name="preview.bottomToolbar.apply.textColor">@color/zhihu_preview_bottom_toolbar_apply</item>
        <item name="listPopupWindowStyle">@style/Popup.Zhihu</item>
        <item name="capture.textColor">@color/zhihu_capture</item>
    </style>

    <style name="Toolbar.Zhihu" parent="ThemeOverlay.AppCompat.Dark.ActionBar">

    </style>

    <style name="Popup.Zhihu" parent="Widget.AppCompat.Light.ListPopupWindow">
        <item name="android:popupBackground">@color/zhihu_album_popup_bg</item>
    </style>

    //===================================== Theme Dracula ==========================================

<!--    <style name="Matisse.Dracula" parent="Theme.AppCompat.NoActionBar">-->
<!--        <item name="colorPrimary">@color/dracula_primary_dark</item>-->
<!--        <item name="colorPrimaryDark">@color/dracula_primary_dark</item>-->
<!--        <item name="toolbar">@style/Toolbar.Dracula</item>-->
<!--        <item name="album.dropdown.title.color">@color/dracula_primary_dark</item>-->
<!--        <item name="album.dropdown.count.color">@color/dracula_primary_dark</item>-->
<!--        <item name="album.element.color">@android:color/black</item>-->
<!--        <item name="album.thumbnail.placeholder">@color/dracula_primary_dark</item>-->
<!--        <item name="album.emptyView">@drawable/ic_empty_dracula</item>-->
<!--        <item name="album.emptyView.textColor">@color/dracula_album_empty_view</item>-->
<!--        <item name="item.placeholder">@color/dracula_primary_dark</item>-->
<!--        <item name="item.checkCircle.backgroundColor">@color/dracula_item_checkCircle_backgroundColor</item>-->
<!--        <item name="item.checkCircle.borderColor">@color/dracula_item_checkCircle_borderColor</item>-->
<!--        <item name="page.bg">@color/dracula_primary_dark</item>-->
<!--        <item name="bottomToolbar.bg">@color/dracula_primary_dark</item>-->
<!--        <item name="bottomToolbar.preview.textColor">@color/dracula_bottom_toolbar_preview</item>-->
<!--        <item name="bottomToolbar.apply.textColor">@color/dracula_bottom_toolbar_apply</item>-->
<!--        <item name="preview.bottomToolbar.back.textColor">@color/dracula_preview_bottom_toolbar_back_text</item>-->
<!--        <item name="preview.bottomToolbar.apply.textColor">@color/dracula_preview_bottom_toolbar_apply</item>-->
<!--        <item name="android:listPopupWindowStyle">@style/Popup.Dracula</item>-->
<!--        <item name="listPopupWindowStyle">@style/Popup.Dracula</item>-->
<!--        <item name="capture.textColor">@color/dracula_capture</item>-->
<!--    </style>-->


    <style name="Matisse.Dracula" parent="Theme.AppCompat.NoActionBar">
        <item name="colorPrimary">@color/dracula_primary</item>
        <item name="colorPrimaryDark">@color/dracula_primary_dark</item>
        <item name="toolbar">@style/Toolbar.Dracula</item>
        <item name="album.dropdown.title.color">@color/dracula_capture</item>
        <item name="album.dropdown.count.color">@color/dracula_capture</item>
        <item name="album.element.color">@color/dracula_capture</item>
        <item name="album.thumbnail.placeholder">@color/dracula_album_dropdown_thumbnail_placeholder</item>
        <item name="album.emptyView">@drawable/ic_empty_dracula</item>
        <item name="album.emptyView.textColor">@color/dracula_album_empty_view</item>
        <item name="item.placeholder">@color/dracula_item_placeholder</item>
        <item name="item.checkCircle.backgroundColor">@color/dracula_item_checkCircle_backgroundColor</item>
        <item name="item.checkCircle.borderColor">@color/dracula_item_checkCircle_borderColor</item>
        <item name="page.bg">@color/dracula_page_bg</item>
        <item name="bottomToolbar.bg">@color/dracula_bottom_toolbar_bg</item>
        <item name="bottomToolbar.preview.textColor">@color/dracula_bottom_toolbar_preview</item>
        <item name="bottomToolbar.apply.textColor">@color/dracula_bottom_toolbar_apply</item>
        <item name="preview.bottomToolbar.back.textColor">@color/dracula_preview_bottom_toolbar_back_text</item>
        <item name="preview.bottomToolbar.apply.textColor">@color/dracula_preview_bottom_toolbar_apply</item>
        <item name="android:listPopupWindowStyle">@style/Popup.Dracula</item>
        <item name="listPopupWindowStyle">@style/Popup.Dracula</item>
        <item name="capture.textColor">@color/dracula_capture</item>
    </style>


    <style name="Toolbar.Dracula" parent="ThemeOverlay.AppCompat.Dark.ActionBar">

    </style>

    <style name="Popup.Dracula" parent="Widget.AppCompat.ListPopupWindow">
        <item name="android:popupBackground">@color/dracula_primary</item>
    </style>

</resources>