<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>

    <style name="Mozac.Browser.Menu" parent="">
        <item name="cardBackgroundColor">@color/mozac_browser_menu_background</item>
    </style>

    <!-- Item Divider -->
    <style name="Mozac.Browser.Menu.Item.Divider" parent="">
        <item name="android:background">?android:attr/listDivider</item>
    </style>

    <style name="Mozac.Browser.Menu.Item.Divider.Horizontal">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/mozac_browser_menu_item_divider_height</item>
    </style>
    <!-- Item Divider -->

    <style name="Mozac.Browser.Menu.Item.Container" parent="">
        <item name="android:layout_height">@dimen/mozac_browser_menu_item_container_layout_height</item>
        <item name="android:paddingStart">@dimen/mozac_browser_menu_item_container_padding_start</item>
        <item name="android:paddingEnd">@dimen/mozac_browser_menu_item_container_padding_end</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>

    <style name="Mozac.Browser.Menu.Item.Text" parent="@android:style/TextAppearance.Material.Menu">
        <item name="android:background">?android:attr/selectableItemBackground</item>
        <item name="android:textSize">@dimen/mozac_browser_menu_item_text_size</item>
        <item name="android:ellipsize">end</item>
        <item name="android:lines">1</item>
        <item name="android:focusable">true</item>
        <item name="android:clickable">true</item>
    </style>

    <!-- BrowserMenuImageText -->
    <style name="Mozac.Browser.Menu.Item.ImageText.Icon" parent="">
        <item name="android:layout_width">@dimen/mozac_browser_menu_item_image_text_icon_width</item>
        <item name="android:layout_height">@dimen/mozac_browser_menu_item_image_text_icon_height</item>
    </style>

    <style name="Mozac.Browser.Menu.Item.ImageText.Label" parent="Mozac.Browser.Menu.Item.Text">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:paddingStart">@dimen/mozac_browser_menu_item_image_text_label_padding_start</item>
    </style>
    <!-- BrowserMenuImageText -->
</resources>
