Bug 695569 - Adjust transparency for scroll indicators [r=mfinkle]
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 02 Nov 2011 15:59:36 -0400
changeset 83351 885ea82d68205d006fb149d865bf80e1977a6b31
parent 83350 2b9de9749c1ed599070fc5a27e6908437cec4cb0
child 83352 20a2ecb0593d8c275f168bcc35c8e1cdd0103f60
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs695569
milestone10.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 695569 - Adjust transparency for scroll indicators [r=mfinkle] Copy the scroll indicator styling from the default Android browser.css to the gingerbread and honeycomb themes as well, so that they all look the same and have some transparency.
mobile/themes/core/gingerbread/browser.css
mobile/themes/core/honeycomb/browser.css
--- a/mobile/themes/core/gingerbread/browser.css
+++ b/mobile/themes/core/gingerbread/browser.css
@@ -36,22 +36,23 @@
  * ***** END LICENSE BLOCK ***** */
 
 %filter substitution
 %include defines.inc
 
 /* content scrollbars */
 .scroller {
   opacity: 0;
-  background-color: @color_background_scroller@ !important;
+  background-color: rgba(0, 0, 0, 0.4) !important;
   -moz-border-top-colors: none !important;
   -moz-border-bottom-colors: none !important;
   -moz-border-right-colors: none !important;
   -moz-border-left-colors: none !important;
-  border: @border_width_tiny@ solid rgba(0, 0, 0, 0.4) !important;
+  -moz-border-radius: @border_radius_tiny@;
+  border: @border_width_tiny@ solid rgba(255, 255, 255, 0.4) !important;
 }
 
 .scroller[panning="true"] {
   opacity: 1;
 }
 
 .scroller[orient="vertical"] {
   min-width: @scroller_thickness@;
--- a/mobile/themes/core/honeycomb/browser.css
+++ b/mobile/themes/core/honeycomb/browser.css
@@ -37,22 +37,23 @@
 
 %filter substitution
 %include defines.inc
 %define honeycomb 1
 
 /* content scrollbars */
 .scroller {
   opacity: 0;
-  background-color: @color_background_scroller@ !important;
+  background-color: rgba(0, 0, 0, 0.4) !important;
   -moz-border-top-colors: none !important;
   -moz-border-bottom-colors: none !important;
   -moz-border-right-colors: none !important;
   -moz-border-left-colors: none !important;
-  border: @border_width_tiny@ solid rgba(0, 0, 0, 0.4) !important;
+  -moz-border-radius: @border_radius_tiny@;
+  border: @border_width_tiny@ solid rgba(255, 255, 255, 0.4) !important;
 }
 
 .scroller[panning="true"] {
   opacity: 1;
 }
 
 .scroller[orient="vertical"] {
   min-width: @scroller_thickness@;