From 3d8dad829601f9f8a69e9e03a1c94b893cd0d9a4 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Fri, 29 Dec 2006 21:44:36 +0000 Subject: [PATCH] fix for bug #364316 [places] some favicons in the historu sidebar and the bookmarks dialog are bigger than 16px by 16px. r=mano git-svn-id: svn://10.0.0.236/trunk@217544 18797224-902f-48f8-a5cc-f745e15eee43 --- .../themes/pinstripe/browser/places/places.css | 13 +++++-------- .../themes/winstripe/browser/places/places.css | 3 ++- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/mozilla/browser/themes/pinstripe/browser/places/places.css b/mozilla/browser/themes/pinstripe/browser/places/places.css index b61ce9044ad..a9fc84ec505 100755 --- a/mozilla/browser/themes/pinstripe/browser/places/places.css +++ b/mozilla/browser/themes/pinstripe/browser/places/places.css @@ -37,6 +37,11 @@ -moz-appearance: listbox; } +treechildren::-moz-tree-image(title) { + width: 16px; + height: 16px; +} + treechildren::-moz-tree-image(title, container), treechildren::-moz-tree-image(title, open) { padding-right: 2px; @@ -62,13 +67,6 @@ treechildren::-moz-tree-cell-text(date, session-continue) { color:white; } -treechildren::-moz-tree-image(title, separator) { - list-style-image: none; - width: 0px !important; - height: 0px !important; - margin: 0px; -} - treechildren::-moz-tree-cell-text(title, separator) { color: ThreeDShadow; margin: 0px 5px; @@ -88,7 +86,6 @@ treechildren::-moz-tree-cell-text(title, separator, selected, focus) { margin-top: 0px; } - .commandGroupButton.first { margin-right: -10px; } diff --git a/mozilla/browser/themes/winstripe/browser/places/places.css b/mozilla/browser/themes/winstripe/browser/places/places.css index 79361e7c10a..b5cd383e847 100755 --- a/mozilla/browser/themes/winstripe/browser/places/places.css +++ b/mozilla/browser/themes/winstripe/browser/places/places.css @@ -38,6 +38,8 @@ treechildren::-moz-tree-image { treechildren::-moz-tree-image(title) { list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; -moz-image-region: rect(0px, 16px, 16px, 0px); + width: 16px; + height: 16px; } treechildren::-moz-tree-image(title, container) { @@ -88,7 +90,6 @@ treechildren::-moz-tree-cell-text(title, separator, selected, focus) { margin-top: 0px; } - .commandGroupButton.first { margin-right: -10px; }