<?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="UrlBar.ImageButton.Forward">
        <item name="android:contentDescription">@string/forward</item>
        <item name="android:layout_width">45dip</item>
        <item name="android:layout_height">38dip</item>
        <item name="android:paddingLeft">10dp</item>
        <item name="android:paddingTop">7dp</item>
        <item name="android:paddingBottom">7dp</item>
        <item name="android:layout_gravity">center_vertical</item>
        <item name="android:layout_centerVertical">true</item>
        <item name="android:src">@drawable/ic_menu_forward</item>
        <item name="android:background">@drawable/url_bar_nav_button</item>
        <!-- Start with the button hidden -->
        <item name="android:alpha">0</item>
        <item name="android:layout_marginLeft">@dimen/forward_default_offset</item>
    </style>

   <style name="UrlBar.Button.Container">
        <item name="android:layout_marginTop">6dp</item>
        <item name="android:layout_marginBottom">6dp</item>
        <!-- Start with forward hidden -->
        <item name="android:orientation">horizontal</item>
    </style>

    <style name="TabsList" parent="TabsListBase">
         <item name="android:orientation">horizontal</item>
    </style>

    <style name="TabsItem">
         <item name="android:nextFocusDown">@+id/close</item>
    </style>

    <style name="TabsItemClose">
         <item name="android:nextFocusUp">@+id/info</item>
    </style>

    <style name="Toast">
        <item name="android:layout_width">300dp</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_centerHorizontal">true</item>

        <!-- Copied from root Toast style. Margin-left/right were removed since they
             large tablets are never going to be 300dp wide. -->
        <item name="android:layout_alignParentBottom">true</item>
        <item name="android:layout_marginBottom">64dp</item>
        <item name="android:orientation">horizontal</item>
        <item name="android:background">@drawable/toast</item>
        <item name="android:clickable">true</item>
        <item name="android:showDividers">middle</item>
        <item name="android:dividerPadding">16dp</item>

        <item name="android:paddingTop">0dp</item>
        <item name="android:paddingBottom">0dp</item>
        <item name="android:paddingLeft">0dp</item>
        <item name="android:paddingRight">0dp</item>
    </style>

    <style name="Widget.MenuItemActionBar">
        <item name="android:layout_width">@dimen/browser_toolbar_height</item>
        <item name="android:layout_height">@dimen/browser_toolbar_height</item>
        <item name="android:padding">@dimen/browser_toolbar_button_padding</item>
        <item name="android:background">@drawable/action_bar_button</item>
        <item name="android:scaleType">fitCenter</item>
    </style>

    <style name="Widget.BookmarksListView" parent="Widget.HomeListView">
        <item name="android:paddingTop">30dp</item>
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
        <item name="topDivider">true</item>
    </style>

    <style name="Widget.TopSitesGridView" parent="Widget.GridView">
        <item name="android:paddingLeft">5dp</item>
        <item name="android:paddingRight">5dp</item>
        <item name="android:paddingBottom">30dp</item>
        <item name="android:horizontalSpacing">10dp</item>
        <item name="android:verticalSpacing">10dp</item>
    </style>

    <style name="Widget.TopSitesListView" parent="Widget.BookmarksListView">
        <item name="topDivider">false</item>
    </style>

    <style name="Widget.ReadingListView" parent="Widget.BookmarksListView"/>

    <style name="Widget.Home.HistoryPanelTitle" parent="Widget.Home.HistoryTabIndicator">
        <item name="android:layout_marginLeft">32dp</item>
        <item name="android:layout_marginRight">32dp</item>
    </style>

    <style name="Widget.Home.HistoryListView">
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
    </style>

    <style name="Widget.HomeBanner">
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
    </style>

</resources>
