Backed out changeset 4c16c59c8158 (bug 989469) for browser_gmpProvider.js failures.

This commit is contained in:
Ryan VanderMeulen 2015-04-10 12:46:23 -04:00
parent a3f18af79a
commit b60c95062c
15 changed files with 3833 additions and 1675 deletions

View File

@ -2635,7 +2635,6 @@ var gListView = {
showEmptyNotice: function gListView_showEmptyNotice(aShow) {
this._emptyNotice.hidden = !aShow;
this._listBox.hidden = aShow;
},
onSortChanged: function gListView_onSortChanged(aSortBy, aAscending) {
@ -2782,7 +2781,6 @@ var gDetailView = {
version.hidden = true;
}
var screenshotbox = document.getElementById("detail-screenshot-box");
var screenshot = document.getElementById("detail-screenshot");
if (aAddon.screenshots && aAddon.screenshots.length > 0) {
if (aAddon.screenshots[0].thumbnailURL) {
@ -2795,9 +2793,9 @@ var gDetailView = {
screenshot.height = aAddon.screenshots[0].height;
}
screenshot.setAttribute("loading", "true");
screenshotbox.hidden = false;
screenshot.hidden = false;
} else {
screenshotbox.hidden = true;
screenshot.hidden = true;
}
var desc = document.getElementById("detail-desc");
@ -3453,8 +3451,8 @@ var gUpdatesView = {
self.showEmptyNotice(false);
self._updateSelected.hidden = true;
while (self._listBox.childNodes.length > 0)
self._listBox.removeChild(self._listBox.firstChild);
while (self._listBox.itemCount > 0)
self._listBox.removeItemAt(0);
}
var elements = [];
@ -3488,7 +3486,6 @@ var gUpdatesView = {
showEmptyNotice: function gUpdatesView_showEmptyNotice(aShow) {
this._emptyNotice.hidden = !aShow;
this._listBox.hidden = aShow;
},
isManualUpdate: function gUpdatesView_isManualUpdate(aInstall, aOnlyAvailable) {

View File

@ -787,7 +787,7 @@
<xul:spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
</xul:hbox>
<xul:hbox class="content-container" align="center">
<xul:hbox class="content-container">
<xul:vbox class="icon-container">
<xul:image anonid="icon" class="icon"/>
</xul:vbox>
@ -842,77 +842,77 @@
oncommand="document.getBindingParent(this).toggleReleaseNotes();"/>
</xul:hbox>
</xul:vbox>
</xul:hbox>
</xul:vbox>
<xul:vbox class="status-control-wrapper">
<xul:hbox class="status-container">
<xul:hbox anonid="checking-update" hidden="true">
<xul:image class="spinner"/>
<xul:label value="&addon.checkingForUpdates.label;"/>
</xul:hbox>
<xul:vbox anonid="update-available" class="update-available"
hidden="true">
<xul:checkbox anonid="include-update" class="include-update"
label="&addon.includeUpdate.label;" checked="true"
oncommand="document.getBindingParent(this).onIncludeUpdateChanged();"/>
<xul:hbox class="update-info-container">
<xul:label class="update-available-notice"
value="&addon.updateAvailable.label;"/>
<xul:button anonid="update-btn" class="addon-control update"
label="&addon.updateNow.label;"
tooltiptext="&addon.updateNow.tooltip;"
oncommand="document.getBindingParent(this).upgrade();"/>
<xul:vbox class="status-control-wrapper">
<xul:hbox class="status-container">
<xul:hbox anonid="checking-update" hidden="true">
<xul:image class="spinner"/>
<xul:label value="&addon.checkingForUpdates.label;"/>
</xul:hbox>
<xul:vbox anonid="update-available" class="update-available"
hidden="true">
<xul:checkbox anonid="include-update" class="include-update"
label="&addon.includeUpdate.label;" checked="true"
oncommand="document.getBindingParent(this).onIncludeUpdateChanged();"/>
<xul:hbox class="update-info-container">
<xul:label class="update-available-notice"
value="&addon.updateAvailable.label;"/>
<xul:button anonid="update-btn" class="addon-control update"
label="&addon.updateNow.label;"
tooltiptext="&addon.updateNow.tooltip;"
oncommand="document.getBindingParent(this).upgrade();"/>
</xul:hbox>
</xul:vbox>
<xul:hbox anonid="install-status" class="install-status"
hidden="true"/>
</xul:hbox>
<xul:hbox anonid="control-container" class="control-container">
<xul:button anonid="preferences-btn"
class="addon-control preferences"
#ifdef XP_WIN
label="&cmd.showPreferencesWin.label;"
tooltiptext="&cmd.showPreferencesWin.tooltip;"
#else
label="&cmd.showPreferencesUnix.label;"
tooltiptext="&cmd.showPreferencesUnix.tooltip;"
#endif
oncommand="document.getBindingParent(this).showPreferences();"/>
<!-- label="&cmd.debugAddon.label;" -->
<xul:button anonid="debug-btn" class="addon-control debug"
label="&cmd.debugAddon.label;"
oncommand="document.getBindingParent(this).debug();"/>
<xul:button anonid="enable-btn" class="addon-control enable"
label="&cmd.enableAddon.label;"
oncommand="document.getBindingParent(this).userDisabled = false;"/>
<xul:button anonid="disable-btn" class="addon-control disable"
label="&cmd.disableAddon.label;"
oncommand="document.getBindingParent(this).userDisabled = true;"/>
<xul:button anonid="remove-btn" class="addon-control remove"
label="&cmd.uninstallAddon.label;"
oncommand="document.getBindingParent(this).uninstall();"/>
<xul:menulist anonid="state-menulist"
class="addon-control state"
tooltiptext="&cmd.stateMenu.tooltip;">
<xul:menupopup>
<xul:menuitem anonid="ask-to-activate-menuitem"
class="addon-control"
label="&cmd.askToActivate.label;"
tooltiptext="&cmd.askToActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = AddonManager.STATE_ASK_TO_ACTIVATE;"/>
<xul:menuitem anonid="always-activate-menuitem"
class="addon-control"
label="&cmd.alwaysActivate.label;"
tooltiptext="&cmd.alwaysActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = false;"/>
<xul:menuitem anonid="never-activate-menuitem"
class="addon-control"
label="&cmd.neverActivate.label;"
tooltiptext="&cmd.neverActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = true;"/>
</xul:menupopup>
</xul:menulist>
</xul:hbox>
</xul:vbox>
<xul:hbox anonid="install-status" class="install-status"
hidden="true"/>
</xul:hbox>
<xul:hbox anonid="control-container" class="control-container">
<xul:button anonid="preferences-btn"
class="addon-control preferences"
#ifdef XP_WIN
label="&cmd.showPreferencesWin.label;"
tooltiptext="&cmd.showPreferencesWin.tooltip;"
#else
label="&cmd.showPreferencesUnix.label;"
tooltiptext="&cmd.showPreferencesUnix.tooltip;"
#endif
oncommand="document.getBindingParent(this).showPreferences();"/>
<!-- label="&cmd.debugAddon.label;" -->
<xul:button anonid="debug-btn" class="addon-control debug"
label="&cmd.debugAddon.label;"
oncommand="document.getBindingParent(this).debug();"/>
<xul:button anonid="enable-btn" class="addon-control enable"
label="&cmd.enableAddon.label;"
oncommand="document.getBindingParent(this).userDisabled = false;"/>
<xul:button anonid="disable-btn" class="addon-control disable"
label="&cmd.disableAddon.label;"
oncommand="document.getBindingParent(this).userDisabled = true;"/>
<xul:button anonid="remove-btn" class="addon-control remove"
label="&cmd.uninstallAddon.label;"
oncommand="document.getBindingParent(this).uninstall();"/>
<xul:menulist anonid="state-menulist"
class="addon-control state"
tooltiptext="&cmd.stateMenu.tooltip;">
<xul:menupopup>
<xul:menuitem anonid="ask-to-activate-menuitem"
class="addon-control"
label="&cmd.askToActivate.label;"
tooltiptext="&cmd.askToActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = AddonManager.STATE_ASK_TO_ACTIVATE;"/>
<xul:menuitem anonid="always-activate-menuitem"
class="addon-control"
label="&cmd.alwaysActivate.label;"
tooltiptext="&cmd.alwaysActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = false;"/>
<xul:menuitem anonid="never-activate-menuitem"
class="addon-control"
label="&cmd.neverActivate.label;"
tooltiptext="&cmd.neverActivate.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = true;"/>
</xul:menupopup>
</xul:menulist>
</xul:hbox>
</xul:vbox>
</xul:hbox>

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,7 @@ function check_list(aItem) {
// Check the children of the list
let list = gManagerWindow.document.getElementById(LIST_ID);
is(list.childNodes.length, aItem ? 1 : 0, "Should get expected number of items in list");
is(list.itemCount, aItem ? 1 : 0, "Should get expected number of items in list");
if (aItem != null) {
let itemName = list.firstChild.getAttribute("name");
is(itemName, aItem.name, "List item should have correct name");

View File

@ -171,7 +171,7 @@ add_test(function() {
is(get("detail-version").value, "2.1", "Version should be correct");
is(get("detail-icon").src, "chrome://foo/skin/icon64.png", "Icon should be correct");
is_element_hidden(get("detail-creator"), "Creator should be hidden");
is_element_hidden(get("detail-screenshot-box"), "Screenshot should be hidden");
is_element_hidden(get("detail-screenshot"), "Screenshot should be hidden");
is(get("detail-screenshot").width, "", "Screenshot dimensions should not be set");
is(get("detail-screenshot").height, "", "Screenshot dimensions should not be set");
is(get("detail-desc").textContent, "Short description", "Description should be correct");
@ -278,7 +278,7 @@ add_test(function() {
is(get("detail-creator")._creatorName.value, "Mozilla", "Creator should be correct");
is_element_hidden(get("detail-creator")._creatorLink, "Creator link should be hidden");
is_element_visible(get("detail-screenshot-box"), "Screenshot should be visible");
is_element_visible(get("detail-screenshot"), "Screenshot should be visible");
is(get("detail-screenshot").src, "chrome://branding/content/about.png", "Should be showing the full sized screenshot");
is(get("detail-screenshot").width, 200, "Screenshot dimensions should be set");
is(get("detail-screenshot").height, 150, "Screenshot dimensions should be set");
@ -335,7 +335,7 @@ add_test(function() {
is(get("detail-creator")._creatorLink.value, "Mozilla", "Creator link should be correct");
is(get("detail-creator")._creatorLink.href, "http://www.mozilla.org", "Creator link href should be correct");
is_element_visible(get("detail-screenshot-box"), "Screenshot should be visible");
is_element_visible(get("detail-screenshot"), "Screenshot should be visible");
is(get("detail-screenshot").src, "chrome://branding/content/icon64.png", "Should be showing the thumbnail");
is(get("detail-screenshot").width, 160, "Screenshot dimensions should be set");
is(get("detail-screenshot").height, 120, "Screenshot dimensions should be set");
@ -730,7 +730,7 @@ add_test(function() {
is(get("detail-version").value, "2.5", "Version should be correct");
is(get("detail-icon").src, "chrome://foo/skin/icon264.png", "Icon should be correct");
is_element_hidden(get("detail-creator"), "Creator should be hidden");
is_element_hidden(get("detail-screenshot-box"), "Screenshot should be hidden");
is_element_hidden(get("detail-screenshot"), "Screenshot should be hidden");
is(get("detail-desc").textContent, "Short description replacement", "Description should be correct");
is(get("detail-fulldesc").textContent, "Longer description replacement", "Full description should be correct");

View File

@ -2,26 +2,318 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%include ../../../shared/extensions/extensions.inc.css
@import url("chrome://global/skin/inContentUI.css");
#header-utils-btn .toolbarbutton-icon {
list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-native");
/*** global warnings ***/
.global-warning-container {
overflow-x: hidden;
}
.global-warning {
-moz-box-align: center;
padding: 0 8px;
font-weight: bold;
}
.global-warning-text {
color: -moz-FieldText;
}
#addons-page[warning] .global-warning-container {
background-color: rgba(255, 255, 0, 0.1);
background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png");
background-repeat: repeat-x;
}
#detail-view .global-warning {
padding: 4px 12px;
border-bottom: 1px solid ThreeDShadow;
min-height: 41px;
}
@media (max-width: 600px) {
.global-warning-text {
display: none;
}
}
/* Plugins aren't yet disabled by safemode (bug 342333),
so don't show that warning when viewing plugins. */
#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container {
background-color: inherit;
background-image: none;
}
/*** notification icons ***/
.warning-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
width: 16px;
height: 16px;
margin: 3px 0;
}
.error-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
width: 16px;
height: 16px;
margin: 3px 0;
}
.pending-icon,
.info-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
width: 16px;
height: 16px;
margin: 3px 0;
}
/*** view alert boxes ***/
.alert-container {
-moz-box-align: center;
}
.alert-spacer-before {
-moz-box-flex: 1;
}
.alert-spacer-after {
-moz-box-flex: 3;
}
.alert {
-moz-box-align: center;
padding: 10px;
font-size: 12px;
border: 1px solid ThreeDShadow;
border-radius: 8px;
color: WindowText;
background-color: Window;
background-clip: padding-box;
}
.alert .alert-title {
font-weight: bold;
font-size: 200%;
margin-bottom: 15px;
}
.alert button {
margin: 1em 2em;
}
.loading {
list-style-image: url("chrome://global/skin/icons/loading_16.png");
padding-left: 20px;
padding-right: 20px;
}
/*** category selector ***/
#categories {
-moz-appearance: none;
border: none;
-moz-margin-end: -1px;
background-color: transparent;
position: relative;
margin-top: 41px;
}
.category {
-moz-appearance: none;
border-width: 1px;
-moz-border-end-width: 0;
border-style: solid;
border-color: transparent;
padding: 10px 4px;
-moz-box-align: center;
overflow: hidden;
min-height: 0;
color: WindowText;
}
.category:-moz-locale-dir(ltr) {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.category:-moz-locale-dir(rtl) {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.category[disabled] {
border-top: 0;
border-bottom: 0;
height: 0;
opacity: 0;
transition-property: height, opacity;
transition-duration: 1s, 0.8s;
}
.category:not([disabled]) {
height: 52px;
transition-property: height, opacity;
transition-duration: 1s, 0.8s;
}
.category[selected] {
background-color: -moz-Field;
color: -moz-FieldText;
border-color: ThreeDShadow;
}
.category-name {
font-size: 150%;
}
/* Maximize the size of the viewport when the window is small */
@media (max-width: 800px) {
.category-name {
display: none;
}
}
.category-badge {
background-color: Highlight;
padding: 2px 8px;
margin: 6px 0;
border-radius: 10000px;
color: HighlightText;
font-weight: bold;
text-align: center;
}
.category-badge[value="0"] {
visibility: hidden;
}
.category-icon {
width: 32px;
height: 32px;
-moz-margin-start: 6px;
}
#category-search > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-search.png");
}
#category-discover > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
}
#category-locale > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
}
#category-searchengine > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
}
#category-extension > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
}
#category-service > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-service.png");
}
#category-theme > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png");
}
#category-plugin > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png");
}
#category-dictionary > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-dictionaries.png");
}
#category-experiment > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-experiments.png");
}
#category-availableUpdates > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-available.png");
}
#category-recentUpdates > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
}
/*** header ***/
#header {
margin-bottom: 18px;
}
.nav-button {
min-width: 0;
}
#back-btn:-moz-locale-dir(ltr) {
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar");
}
#forward-btn:-moz-locale-dir(ltr) {
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar");
}
#back-btn:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar");
}
#forward-btn:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar");
}
#back-btn[disabled="true"]:-moz-locale-dir(ltr) {
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled");
}
#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled");
}
#back-btn[disabled="true"]:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled");
}
#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled");
}
#header-utils-btn {
min-width: 4.5em;
}
#header-utils-btn .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/gtk-preferences?size=toolbar");
}
#header-utils-btn:-moz-focusring > .button-box {
border: none;
}
#header-search {
margin: 0;
}
@media (max-width: 600px) {
#header-search {
width: 12em;
}
}
.view-header {
padding: 4px;
margin: 0;
min-height: 41px;
background-color: ThreeDHighlight;
border-bottom: 1px solid ThreeDShadow;
}
/*** sorters ***/
.sort-controls {
-moz-appearance: none;
}
.sorter[checkState="1"] .button-icon {
@ -34,7 +326,247 @@
list-style-image: url("moz-icon://stock/gtk-sort-ascending?size=16");
}
/*** discover view ***/
.discover-spacer-before,
.discover-spacer-after {
-moz-box-flex: 1;
}
#discover-error .alert {
max-width: 45em;
-moz-box-flex: 1;
}
.discover-logo {
list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png");
-moz-margin-end: 15px;
}
.discover-title {
font-weight: bold;
font-size: 24px;
font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif;
margin: 0 0 15px 0;
}
.discover-description {
text-align: justify;
margin: 0 0 15px 0;
}
.discover-footer {
text-align: justify;
}
/*** list ***/
.list {
-moz-appearance: none;
margin: 0;
border: none;
background-color: transparent;
}
.addon {
border-bottom: 1px solid ThreeDLightShadow;
padding: 5px;
}
.addon[selected] .text-link,
.addon[selected] .button-link {
color: inherit;
}
.details {
cursor: pointer;
margin: 0;
-moz-margin-start: 10px;
}
.icon-container {
width: 48px;
height: 48px;
margin: 3px 7px;
-moz-box-align: center;
-moz-box-pack: center;
}
.icon {
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
max-width: 48px;
max-height: 48px;
}
.addon[active="false"] .icon {
filter: grayscale(1);
}
.addon-view[type="theme"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
.addon-view[type="locale"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
.addon-view[type="plugin"] .icon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
.addon-view[type="dictionary"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
}
.addon-view[type="experiment"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/experimentGeneric.png");
}
.name-container {
font-size: 150%;
margin-bottom: 0;
font-weight: bold;
-moz-box-align: end;
-moz-box-flex: 1;
}
.creator {
font-weight: bold;
}
.addon-view[active="false"]:not([selected]) {
color: GrayText;
}
.description-container {
-moz-margin-start: 6px;
-moz-box-align: center;
}
.description {
margin: 0;
}
.warning,
.pending,
.error {
-moz-margin-start: 48px;
-moz-box-align: center;
}
.content-container,
.basicinfo-container {
-moz-box-align: start;
}
.addon[status="installing"] > .content-container {
-moz-box-align: stretch;
}
.advancedinfo-container,
.update-info-container {
-moz-box-align: center;
}
.update-available {
-moz-box-align: end;
}
.install-status-container {
-moz-box-pack: end;
-moz-box-align: end;
}
.name-outer-container {
-moz-box-pack: center;
}
.relnotes-toggle-container,
.icon-outer-container {
-moz-box-pack: start;
}
.status-container,
.control-container {
-moz-box-pack: end;
}
.addon-view:not([selected]) .warning {
color: #90792E;
}
.addon-view:not([selected]) .error {
color: #7C322B;
}
.addon-view:not([selected]) .pending {
color: #4F7939;
}
.addon[active="false"] {
background-image: linear-gradient(rgba(135, 135, 135, 0.2),
rgba(135, 135, 135, 0.1));
}
.addon-view[notification="warning"] {
background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png"),
linear-gradient(rgba(255, 255, 0, 0.04),
rgba(255, 255, 0, 0));
background-repeat: repeat-x;
}
.addon-view[notification="error"] {
background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"),
linear-gradient(rgba(255, 0, 0, 0.04),
rgba(255, 0, 0, 0));
background-repeat: repeat-x;
}
.addon-view[pending="enable"],
.addon-view[pending="upgrade"],
.addon-view[pending="install"] {
background-image: url("chrome://mozapps/skin/extensions/stripes-info-positive.png"),
linear-gradient(rgba(0, 255, 0, 0.04),
rgba(0, 255, 0, 0));
background-repeat: repeat-x;
}
.addon-view[pending="disable"],
.addon-view[pending="uninstall"] {
background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
linear-gradient(rgba(128, 128, 128, 0.04),
rgba(128, 128, 128, 0));
background-repeat: repeat-x;
}
.addon .relnotes-container {
-moz-box-align: start;
height: 0;
overflow: hidden;
opacity: 0;
transition-property: height, opacity;
transition-duration: 0.5s, 0.5s;
}
.addon[show-relnotes] .relnotes-container {
opacity: 1;
transition-property: height, opacity;
transition-duration: 0.5s, 0.5s;
}
.addon .relnotes-header {
font-weight: bold;
margin: 10px 0;
}
.addon .relnotes-toggle {
-moz-appearance: none;
border: none;
background: transparent;
font-weight: bold;
cursor: pointer;
list-style-image: url("moz-icon://stock/gtk-go-down?size=16");
}
@ -46,6 +578,221 @@
list-style-image: url("moz-icon://stock/gtk-go-up?size=16");
}
/*** search view ***/
#search-filter {
padding: 5px 20px;
font-size: 120%;
overflow-x: hidden;
border-bottom: 1px solid ThreeDShadow;
}
#search-filter-label {
font-weight: bold;
}
#search-allresults-link {
margin-top: 1em;
margin-bottom: 2em;
}
/*** detail view ***/
#detail-view[active="false"] .fade {
opacity: 0.6;
}
#detail-view .loading {
opacity: 0;
}
#detail-view[loading-extended] .loading {
-moz-box-align: center;
-moz-box-pack: center;
opacity: 1;
transition-property: opacity;
transition-duration: 1s;
}
.detail-view-container {
padding: 0 2em 2em 2em;
font-size: 110%;
}
#detail-notifications {
margin-top: 1em;
margin-bottom: 2em;
}
#detail-notifications .warning,
#detail-notifications .pending,
#detail-notifications .error {
-moz-margin-start: 0;
}
#detail-icon-container {
width: 64px;
-moz-margin-end: 10px;
}
#detail-icon {
max-width: 64px;
max-height: 64px;
}
#detail-summary {
margin-bottom: 2em;
}
#detail-name-container {
font-size: 200%;
}
#detail-screenshot {
-moz-margin-end: 2em;
max-width: 300px;
max-height: 300px;
}
#detail-screenshot[loading] {
background-image: url("chrome://global/skin/icons/loading_16.png");
background-position: 50% 50%;
background-repeat: no-repeat;
border: 1px threedshadow solid;
border-radius: 5px;
box-sizing: border-box;
}
#detail-screenshot[loading="error"] {
background-image: url("chrome://global/skin/media/error.png");
}
#detail-desc-container {
margin-bottom: 2em;
}
#detail-desc, #detail-fulldesc {
-moz-margin-start: 6px;
/* This is necessary to fix layout issues with multi-line descriptions, see
bug 592712*/
outline: solid transparent;
white-space: pre-wrap;
min-width: 10em;
}
#detail-fulldesc {
margin-top: 1em;
}
#detail-contributions {
border-radius: 5px;
border: 1px solid ThreeDShadow;
margin-bottom: 2em;
padding: 1em;
background: ThreeDHighlight;
}
#detail-contrib-description {
font-style: italic;
margin-bottom: 1em;
}
#detail-contrib-suggested {
color: GrayText;
}
#detail-grid {
margin-bottom: 2em;
}
#detail-grid > columns > column:first-child {
min-width: 15em;
max-width: 25em;
}
.detail-row[first-row="true"],
.detail-row-complex[first-row="true"],
setting[first-row="true"] {
border-top: none;
}
.detail-row,
.detail-row-complex,
setting {
border-top: 1px solid ThreeDShadow;
-moz-box-align: center;
min-height: 32px;
}
#detail-controls {
margin-bottom: 1em;
}
#detail-view[active="false"]:not([pending]):not([notification]) {
background-image: linear-gradient(rgba(135, 135, 135, 0.1),
rgba(135, 135, 135, 0));
}
setting[first-row="true"] {
margin-top: 2em;
}
setting {
-moz-box-align: start;
}
.preferences-alignment {
min-height: 32px;
-moz-box-align: center;
}
.preferences-description {
font-size: 90.9%;
color: graytext;
margin-top: -2px;
-moz-margin-start: 2em;
white-space: pre-wrap;
}
.preferences-description:empty {
display: none;
}
menulist { /* Fixes some styling inconsistencies */
font-size: 100%;
margin: 1px 5px 2px 5px;
}
colorpicker[type="button"] { /* Fixes some styling inconsistencies */
height: 29px;
margin: 1px 5px 2px 5px;
}
setting[type="radio"] > radiogroup {
-moz-box-orient: horizontal;
}
/*** creator ***/
.creator > label {
-moz-margin-start: 0;
-moz-margin-end: 0;
}
.creator > .text-link {
margin-top: 1px;
margin-bottom: 1px;
}
/*** rating ***/
.meta-rating {
-moz-margin-end: 0;
vertical-align: text-top;
}
.meta-rating[showrating="average"] > .star {
list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
padding: 0 1px;
@ -61,3 +808,149 @@
list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
padding: 0 1px;
}
/*** download progress ***/
.download-progress {
width: 200px;
}
.download-progress .start-cap,
.download-progress .end-cap {
display: none;
}
.download-progress .progress {
padding: 0;
margin: 0;
border: none;
}
.download-progress .cancel {
-moz-appearance: none;
background-color: ButtonFace;
padding-bottom: 1px;
-moz-padding-start: 2px;
border-width: 1px;
border-style: solid;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
border-radius: 10000px;
min-width: 16px;
width: 16px;
height: 16px;
margin: 3px;
}
.download-progress .cancel:hover {
background-color: -moz-ButtonHoverFace;
}
.download-progress .cancel {
list-style-image: url('chrome://mozapps/skin/extensions/cancel.png');
}
.download-progress .status-container {
-moz-box-align: center;
}
/*** install status ***/
.install-status {
-moz-box-align: center;
}
/*** check for updates ***/
#updates-container {
-moz-box-align: center;
}
#updates-installed,
#updates-downloaded {
font-weight: bold;
}
#update-selected {
margin: 12px;
}
/*** buttons ***/
.addon-control[disabled="true"]:not(.no-auto-hide) {
display: none;
}
.no-auto-hide .addon-control {
display: block !important;
}
.addon-control.enable {
list-style-image: url("moz-icon://stock/gtk-yes?size=button");
}
.addon-control.disable {
list-style-image: url("moz-icon://stock/gtk-no?size=button");
}
.addon-control.remove {
list-style-image: url("moz-icon://stock/gtk-remove?size=button");
}
.addon-control.preferences {
list-style-image: url("moz-icon://stock/gtk-preferences?size=button");
}
.addon-control.install,
.addon-control.update {
list-style-image: url("moz-icon://stock/gtk-save?size=button");
}
.button-link {
-moz-appearance: none;
background: transparent;
border: none;
text-decoration: underline;
color: -moz-nativehyperlinktext;
cursor: pointer;
min-width: 0;
margin: 0 6px;
}
.button-link:active {
color: -moz-activehyperlinktext;
}
.header-button .toolbarbutton-text {
display: none;
}
/*** telemetry experiments ***/
#detail-experiment-container {
font-size: 80%;
margin-bottom: 1em;
}
#detail-experiment-bullet-container,
#detail-experiment-state,
#detail-experiment-time,
.experiment-bullet-container,
.experiment-state,
.experiment-time {
vertical-align: middle;
display: inline-block;
}
.addon .experiment-bullet,
#detail-experiment-bullet {
fill: rgb(158, 158, 158);
}
.addon[active="true"] .experiment-bullet,
#detail-view[active="true"] #detail-experiment-bullet {
fill: rgb(106, 201, 20);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -6,7 +6,7 @@ toolkit.jar:
+ skin/classic/mozapps/update/updates.css (update/updates.css)
+ skin/classic/mozapps/downloads/downloadIcon.png (downloads/downloadIcon.png)
+ skin/classic/mozapps/downloads/downloads.css (downloads/downloads.css)
* skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css)
+ skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css)
+ skin/classic/mozapps/extensions/category-search.png (extensions/category-search.png)
+ skin/classic/mozapps/extensions/category-discover.png (extensions/category-discover.png)
+ skin/classic/mozapps/extensions/category-plugins.png (extensions/category-plugins.png)
@ -22,9 +22,6 @@ toolkit.jar:
+ skin/classic/mozapps/extensions/localeGeneric.png (extensions/localeGeneric.png)
+ skin/classic/mozapps/extensions/newaddon.css (extensions/newaddon.css)
+ skin/classic/mozapps/extensions/selectAddons.css (extensions/selectAddons.css)
+ skin/classic/mozapps/extensions/heart.png (extensions/heart.png)
+ skin/classic/mozapps/extensions/navigation.png (../../shared/extensions/navigation.png)
+ skin/classic/mozapps/extensions/utilities.svg (../../shared/extensions/utilities.svg)
+ skin/classic/mozapps/passwordmgr/key-16.png (passwordmgr/key-16.png)
+ skin/classic/mozapps/passwordmgr/key-64.png (passwordmgr/key-64.png)
+ skin/classic/mozapps/plugins/pluginGeneric.png (plugins/pluginGeneric.png)

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@ toolkit.jar:
skin/classic/mozapps/extensions/utilities.svg (../../shared/extensions/utilities.svg)
skin/classic/mozapps/extensions/toolbarbutton-dropmarker.png (extensions/toolbarbutton-dropmarker.png)
skin/classic/mozapps/extensions/heart.png (extensions/heart.png)
skin/classic/mozapps/extensions/navigation.png (../../shared/extensions/navigation.png)
skin/classic/mozapps/extensions/navigation.png (extensions/navigation.png)
skin/classic/mozapps/extensions/stripes-warning.png (extensions/stripes-warning.png)
skin/classic/mozapps/extensions/stripes-error.png (extensions/stripes-error.png)
skin/classic/mozapps/extensions/stripes-info-positive.png (extensions/stripes-info-positive.png)

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -34,7 +34,7 @@ toolkit.jar:
skin/classic/mozapps/extensions/cancel.png (extensions/cancel.png)
skin/classic/mozapps/extensions/utilities.svg (../../shared/extensions/utilities.svg)
skin/classic/mozapps/extensions/heart.png (extensions/heart.png)
skin/classic/mozapps/extensions/navigation.png (../../shared/extensions/navigation.png)
skin/classic/mozapps/extensions/navigation.png (extensions/navigation.png)
skin/classic/mozapps/extensions/stripes-warning.png (extensions/stripes-warning.png)
skin/classic/mozapps/extensions/stripes-error.png (extensions/stripes-error.png)
skin/classic/mozapps/extensions/stripes-info-positive.png (extensions/stripes-info-positive.png)