зеркало из https://github.com/mozilla/pjs.git
Bug 423137: Switch to use 0-5 for add-on ratings. r=robstrong
This commit is contained in:
Родитель
0eaa256728
Коммит
4618975119
|
@ -67,7 +67,7 @@ interface nsIAddonSearchResult : nsISupports
|
|||
readonly attribute AString description;
|
||||
|
||||
/**
|
||||
* The rating of the add-on, 0-10 or -1 if unrated.
|
||||
* The rating of the add-on, 0-5 or -1 if unrated.
|
||||
*/
|
||||
readonly attribute long rating;
|
||||
|
||||
|
|
|
@ -281,23 +281,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
|
|||
-moz-image-region: rect(0px 70px 14px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="1"], .addonRating[rating="2"] {
|
||||
.addonRating[rating="1"] {
|
||||
-moz-image-region: rect(14px 70px 28px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="3"], .addonRating[rating="4"] {
|
||||
.addonRating[rating="2"] {
|
||||
-moz-image-region: rect(28px 70px 42px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="5"], .addonRating[rating="6"] {
|
||||
.addonRating[rating="3"] {
|
||||
-moz-image-region: rect(42px 70px 56px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="7"], .addonRating[rating="8"] {
|
||||
.addonRating[rating="4"] {
|
||||
-moz-image-region: rect(56px 70px 70px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="9"], .addonRating[rating="10"] {
|
||||
.addonRating[rating="5"] {
|
||||
-moz-image-region: rect(70px 70px 84px 0px);
|
||||
}
|
||||
|
||||
|
|
|
@ -278,23 +278,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
|
|||
-moz-image-region: rect(0px 68px 12px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="1"], .addonRating[rating="2"] {
|
||||
.addonRating[rating="1"] {
|
||||
-moz-image-region: rect(12px 68px 24px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="3"], .addonRating[rating="4"] {
|
||||
.addonRating[rating="2"] {
|
||||
-moz-image-region: rect(24px 68px 36px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="5"], .addonRating[rating="6"] {
|
||||
.addonRating[rating="3"] {
|
||||
-moz-image-region: rect(36px 68px 48px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="7"], .addonRating[rating="8"] {
|
||||
.addonRating[rating="4"] {
|
||||
-moz-image-region: rect(48px 68px 60px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="9"], .addonRating[rating="10"] {
|
||||
.addonRating[rating="5"] {
|
||||
-moz-image-region: rect(60px 68px 72px 0px);
|
||||
}
|
||||
|
||||
|
|
|
@ -272,23 +272,23 @@ richlistitem[opType="needs-uninstall"] .notifyBadge {
|
|||
-moz-image-region: rect(0px 63px 11px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="1"], .addonRating[rating="2"] {
|
||||
.addonRating[rating="1"] {
|
||||
-moz-image-region: rect(11px 63px 22px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="3"], .addonRating[rating="4"] {
|
||||
.addonRating[rating="2"] {
|
||||
-moz-image-region: rect(22px 63px 33px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="5"], .addonRating[rating="6"] {
|
||||
.addonRating[rating="3"] {
|
||||
-moz-image-region: rect(33px 63px 44px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="7"], .addonRating[rating="8"] {
|
||||
.addonRating[rating="4"] {
|
||||
-moz-image-region: rect(44px 63px 55px 0px);
|
||||
}
|
||||
|
||||
.addonRating[rating="9"], .addonRating[rating="10"] {
|
||||
.addonRating[rating="5"] {
|
||||
-moz-image-region: rect(55px 63px 66px 0px);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче