Bug 771159 - Properly set toolbar's background size to handle different densities (r=mfinkle)

This commit is contained in:
Lucas Rocha 2012-07-23 16:47:59 +01:00
parent d7ac31176f
commit 423b0fb52c
10 changed files with 3 additions and 0 deletions

View File

@ -335,6 +335,7 @@ body {
}
.toolbar {
background-size: 48px;
background-image: url('chrome://browser/skin/images/reader-toolbar-bg-port-mdpi.png');
}
@ -355,6 +356,7 @@ body {
}
.toolbar {
background-size: 40px;
background-image: url('chrome://browser/skin/images/reader-toolbar-bg-land-mdpi.png');
}
@ -375,6 +377,7 @@ body {
}
.toolbar {
background-size: 56px;
background-image: url('chrome://browser/skin/images/reader-toolbar-bg-xlarge-mdpi.png');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB