Fix http auth dialog for Holo theme
Bug 3083992
Removed style/color overrides for majority of dialogs
in preparation for UX refresh
Change-Id: I1ff6d0271b802af1e7682c19e077d85025656c09
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 95105e1..822c3b4 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -20,20 +20,8 @@
<!-- FIXME: Change the name of this file! It is now being used generically
for the browser -->
<resources>
- <color name="username_text">#ffffffff</color>
- <color name="username_edit">#ff000000</color>
-
- <color name="password_text">#ffffffff</color>
- <color name="password_edit">#ff000000</color>
-
- <color name="ssl_text_label">#ffffffff</color>
- <color name="ssl_text_value">#ffffffff</color>
-
<color name="white">#ffffffff</color>
<color name="black">#ff000000</color>
- <color name="tab_title_selected">#ffffffff</color>
- <color name="tab_title_unselected">#ff808080</color>
-
<color name="geolocation_permissions_prompt_background">#ffdddddd</color>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 895c1d0..a1ca842 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,10 +18,13 @@
*/
-->
<resources>
- <style name="BrowserTheme" parent="@android:Theme.Holo">
+ <style name="BrowserTheme" parent="@android:Theme.Black">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
+ <style name="Dialog" parent="@android:style/Theme.Dialog">
+ <item name="android:background">@color/black</item>
+ </style>
<style name="ActionBar" parent="@android:style/Widget.ActionBar">
<item name="android:background">@color/black</item>
</style>
@@ -45,12 +48,15 @@
<item name="android:background">@drawable/browserbarbutton</item>
</style>
<style name="TabTitleSelected" parent="@android:style/TextAppearance.Small">
- <item name="android:textColor">@color/tab_title_selected</item>
+ <item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:textStyle">bold</item>
</style>
<style name="TabTitleUnselected" parent="@android:style/TextAppearance.Small">
- <item name="android:textColor">@color/tab_title_unselected</item>
+ <item name="android:textColor">?android:attr/textColorSecondary</item>
<item name="android:textStyle">normal</item>
</style>
+ <style name="SuggestionLineMedium" parent="@android:style/TextAppearance.Medium">
+ </style>
+ <style name="SuggestionLineSmall" parent="@android:style/TextAppearance.Small">
+ </style>
</resources>
-