From 2ea77c708373ae29ad927543e372a819788a776e Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Sat, 1 Mar 2008 20:37:58 -0800 Subject: [PATCH] Bug 414389 - "M3 Windows icons" (Fix RSS icon, AMO ratings, menu-(back|forward), and livemark items) [p=reed r=gavin a1.9b4=shaver a=blocking-firefox3+] --- browser/themes/winstripe/browser/browser.css | 11 ++++++++--- .../winstripe/mozapps/extensions/extensions.css | 16 ++++++++-------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/browser/themes/winstripe/browser/browser.css b/browser/themes/winstripe/browser/browser.css index 38c385692ec..5dde14a6615 100644 --- a/browser/themes/winstripe/browser/browser.css +++ b/browser/themes/winstripe/browser/browser.css @@ -166,6 +166,11 @@ menuitem.bookmark-item { -moz-image-region: auto; } +.bookmark-item[container][livemark] .bookmark-item { + list-style-image: url("chrome://browser/skin/livemark-item.png"); + -moz-image-region: auto; +} + .bookmark-item[container][tagContainer] { list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); -moz-image-region: auto; @@ -631,7 +636,7 @@ toolbar[iconsize="small"] #back-button[chromedir="rtl"]:not([disabled="true"]):h } .unified-nav-back[_moz-menuactive], menupopup[chromedir="rtl"] > .unified-nav-forward[_moz-menuactive] { - list-style-image: url("chrome://browser/skin/menu-back.png"); + list-style-image: url("chrome://browser/skin/menu-back.png") !important; } /* forward button */ @@ -668,7 +673,7 @@ toolbar[iconsize="small"] #forward-button[chromedir="rtl"]:not([disabled="true"] } .unified-nav-forward[_moz-menuactive], menupopup[chromedir="rtl"] > .unified-nav-back[_moz-menuactive] { - list-style-image: url("chrome://browser/skin/menu-forward.png"); + list-style-image: url("chrome://browser/skin/menu-forward.png") !important; } /* stop button */ @@ -1590,7 +1595,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text { } #feed-button[feeds] { - list-style-image: url("chrome://browser/skin/livemark-item.png"); + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); } /* ::::: About Popup Blocking dialog ::::: */ diff --git a/toolkit/themes/winstripe/mozapps/extensions/extensions.css b/toolkit/themes/winstripe/mozapps/extensions/extensions.css index 907966570cd..9a606ef7f9f 100644 --- a/toolkit/themes/winstripe/mozapps/extensions/extensions.css +++ b/toolkit/themes/winstripe/mozapps/extensions/extensions.css @@ -308,33 +308,33 @@ richlistitem[opType="needs-uninstall"] .notifyBadge { .addonRating[rating] { display: -moz-box; - width: 68px; - height: 12px; + width: 63px; + height: 11px; list-style-image: url("chrome://mozapps/skin/extensions/ratings.png"); } .addonRating[rating="0"] { - -moz-image-region: rect(0px 68px 12px 0px); + -moz-image-region: rect(0px 63px 11px 0px); } .addonRating[rating="1"], .addonRating[rating="2"] { - -moz-image-region: rect(12px 68px 24px 0px); + -moz-image-region: rect(11px 63px 22px 0px); } .addonRating[rating="3"], .addonRating[rating="4"] { - -moz-image-region: rect(24px 68px 36px 0px); + -moz-image-region: rect(22px 63px 33px 0px); } .addonRating[rating="5"], .addonRating[rating="6"] { - -moz-image-region: rect(36px 68px 48px 0px); + -moz-image-region: rect(33px 63px 44px 0px); } .addonRating[rating="7"], .addonRating[rating="8"] { - -moz-image-region: rect(48px 68px 60px 0px); + -moz-image-region: rect(44px 63px 55px 0px); } .addonRating[rating="9"], .addonRating[rating="10"] { - -moz-image-region: rect(60px 68px 72px 0px); + -moz-image-region: rect(55px 63px 66px 0px); } .addonType image {