2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* 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/. */
|
2010-05-01 22:04:44 +04:00
|
|
|
|
2010-08-23 21:46:30 +04:00
|
|
|
@namespace xhtml "http://www.w3.org/1999/xhtml";
|
|
|
|
|
|
|
|
/* HTML link elements do weird things to the layout if they are not hidden */
|
|
|
|
xhtml|link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
#categories {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#categories-list");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.category {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#category");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.sort-controls {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#sorters");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.addon[status="installed"] {
|
2010-08-23 21:46:05 +04:00
|
|
|
-moz-box-orient: vertical;
|
2010-05-06 22:12:59 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-generic");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.addon[status="installing"] {
|
2011-01-10 05:58:10 +03:00
|
|
|
-moz-box-orient: vertical;
|
2010-05-06 22:12:59 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-installing");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-08-23 21:46:05 +04:00
|
|
|
.addon[pending="uninstall"] {
|
2010-05-06 22:12:59 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#addon-uninstalled");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.creator {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#creator-link");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.meta-rating {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#rating");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-12-07 03:28:49 +03:00
|
|
|
.download-progress, .download-progress[mode="undetermined"] {
|
2010-05-06 22:12:59 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#download-progress");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-05-06 22:12:59 +04:00
|
|
|
.install-status {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#install-status");
|
2010-05-01 22:04:44 +04:00
|
|
|
}
|
|
|
|
|
2010-09-01 20:57:48 +04:00
|
|
|
.detail-row {
|
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/extensions.xml#detail-row");
|
|
|
|
}
|
|
|
|
|
2012-09-16 02:17:32 +04:00
|
|
|
.text-list {
|
|
|
|
white-space: pre-line;
|
|
|
|
-moz-user-select: element;
|
|
|
|
}
|
|
|
|
|
2011-06-29 03:08:44 +04:00
|
|
|
setting, row[unsupported="true"] {
|
|
|
|
display: none;
|
2011-06-03 03:33:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="bool"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-bool");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="bool"][localized="true"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-localized-bool");
|
|
|
|
}
|
|
|
|
|
2015-07-08 12:31:00 +03:00
|
|
|
setting[type="bool"]:not([learnmore]) .preferences-learnmore,
|
|
|
|
setting[type="boolint"]:not([learnmore]) .preferences-learnmore {
|
2015-02-13 22:55:37 +03:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2011-06-03 03:33:55 +04:00
|
|
|
setting[type="boolint"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-boolint");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="integer"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-integer");
|
|
|
|
}
|
|
|
|
|
2014-01-18 06:52:53 +04:00
|
|
|
setting[type="integer"]:not([size]) textbox {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
2011-06-03 03:33:55 +04:00
|
|
|
setting[type="control"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-control");
|
|
|
|
}
|
|
|
|
|
|
|
|
setting[type="string"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-03 03:33:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-string");
|
|
|
|
}
|
|
|
|
|
2011-06-14 03:59:02 +04:00
|
|
|
setting[type="color"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-14 03:59:02 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-color");
|
|
|
|
}
|
|
|
|
|
2011-06-15 04:15:55 +04:00
|
|
|
setting[type="file"],
|
|
|
|
setting[type="directory"] {
|
2011-06-29 03:08:44 +04:00
|
|
|
display: -moz-grid-line;
|
2011-06-15 04:15:55 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-path");
|
|
|
|
}
|
|
|
|
|
2011-08-14 08:05:24 +04:00
|
|
|
setting[type="radio"],
|
|
|
|
setting[type="menulist"] {
|
2011-08-14 07:53:49 +04:00
|
|
|
display: -moz-grid-line;
|
2011-08-14 08:05:24 +04:00
|
|
|
-moz-binding: url("chrome://mozapps/content/extensions/setting.xml#setting-multi");
|
2011-08-14 07:53:49 +04:00
|
|
|
}
|
|
|
|
|
2010-09-03 08:41:06 +04:00
|
|
|
#addonitem-popup > menuitem[disabled="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonitem-popup[addontype="theme"] > #menuitem_enableItem,
|
|
|
|
#addonitem-popup[addontype="theme"] > #menuitem_disableItem,
|
|
|
|
#addonitem-popup:not([addontype="theme"]) > #menuitem_enableTheme,
|
|
|
|
#addonitem-popup:not([addontype="theme"]) > #menuitem_disableTheme {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-02-25 02:37:32 +03:00
|
|
|
#show-disabled-unsigned-extensions .button-text {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 3px !important;
|
|
|
|
margin-inline-end: 2px !important;
|
2016-02-25 02:37:32 +03:00
|
|
|
}
|
|
|
|
|
2010-07-21 22:34:45 +04:00
|
|
|
#header-searching:not([active]) {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-list[local="false"] > .addon[remote="false"],
|
|
|
|
#search-list[remote="false"] > .addon[remote="true"] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-09-01 20:57:48 +04:00
|
|
|
#detail-view {
|
2010-10-07 01:58:17 +04:00
|
|
|
overflow: auto;
|
2010-09-01 20:57:48 +04:00
|
|
|
}
|
|
|
|
|
2010-08-23 21:46:05 +04:00
|
|
|
.addon:not([notification="warning"]) .warning,
|
|
|
|
.addon:not([notification="error"]) .error,
|
|
|
|
.addon:not([notification="info"]) .info,
|
|
|
|
.addon:not([pending]) .pending,
|
|
|
|
.addon:not([upgrade="true"]) .update-postfix,
|
|
|
|
.addon[active="true"] .disabled-postfix,
|
|
|
|
.addon[pending="install"] .update-postfix,
|
|
|
|
.addon[pending="install"] .disabled-postfix,
|
2017-04-29 02:11:39 +03:00
|
|
|
.addon[legacy="false"] .legacy-warning,
|
2010-09-01 20:57:48 +04:00
|
|
|
#detail-view:not([notification="warning"]) .warning,
|
|
|
|
#detail-view:not([notification="error"]) .error,
|
|
|
|
#detail-view:not([notification="info"]) .info,
|
|
|
|
#detail-view:not([pending]) .pending,
|
|
|
|
#detail-view:not([upgrade="true"]) .update-postfix,
|
|
|
|
#detail-view[active="true"] .disabled-postfix,
|
2017-04-29 02:11:39 +03:00
|
|
|
#detail-view[legacy="false"] .legacy-warning,
|
2010-10-07 04:20:06 +04:00
|
|
|
#detail-view[loading] .detail-view-container,
|
2011-01-12 04:05:55 +03:00
|
|
|
#detail-view:not([loading]) .alert-container,
|
2010-08-28 06:45:11 +04:00
|
|
|
.detail-row:not([value]),
|
2017-05-13 07:29:38 +03:00
|
|
|
#search-list[remote="false"] #search-allresults-link,
|
|
|
|
#legacy-list .addon .disabled-postfix {
|
2010-05-01 22:04:44 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2010-06-02 13:13:03 +04:00
|
|
|
|
2011-01-18 04:11:22 +03:00
|
|
|
#addons-page:not([warning]) #list-view > .global-warning-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-05-13 07:29:38 +03:00
|
|
|
#addon-list .date-updated,
|
|
|
|
#legacy-list .date-updated {
|
2011-01-18 04:11:22 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-09-10 12:20:12 +04:00
|
|
|
.view-pane:not(#updates-view) .addon .relnotes-toggle,
|
|
|
|
.view-pane:not(#updates-view) .addon .include-update,
|
|
|
|
#updates-view:not([updatetype="available"]) .addon .include-update,
|
|
|
|
#updates-view[updatetype="available"] .addon .update-available-notice {
|
2010-06-02 13:13:03 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2010-09-02 03:40:20 +04:00
|
|
|
|
|
|
|
#addons-page:not([warning]) .global-warning,
|
|
|
|
#addons-page:not([warning="safemode"]) .global-warning-safemode,
|
|
|
|
#addons-page:not([warning="checkcompatibility"]) .global-warning-checkcompatibility,
|
|
|
|
#addons-page:not([warning="updatesecurity"]) .global-warning-updatesecurity {
|
|
|
|
display: none;
|
|
|
|
}
|
2010-10-07 04:20:06 +04:00
|
|
|
|
2010-12-07 03:31:32 +03:00
|
|
|
/* Plugins aren't yet disabled by safemode (bug 342333),
|
|
|
|
so don't show that warning when viewing plugins. */
|
2011-05-17 23:57:38 +04:00
|
|
|
#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container,
|
2010-12-07 03:31:32 +03:00
|
|
|
#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-12-20 05:47:46 +03:00
|
|
|
#addons-page .view-pane:not([type="theme"]) #getthemes-container,
|
|
|
|
#addons-page .view-pane:not([type="plugin"]) #plugindeprecation-notice,
|
2014-03-20 02:02:58 +04:00
|
|
|
#addons-page .view-pane:not([type="experiment"]) .experiment-info-container {
|
2011-05-17 23:57:38 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-07 04:20:06 +04:00
|
|
|
.addon .relnotes {
|
|
|
|
-moz-user-select: text;
|
|
|
|
}
|
2014-03-15 15:59:00 +04:00
|
|
|
#detail-name, #detail-desc, #detail-fulldesc {
|
|
|
|
-moz-user-select: text;
|
|
|
|
}
|
2011-01-12 04:05:55 +03:00
|
|
|
|
|
|
|
/* Make sure we're not animating hidden images. See bug 623739. */
|
|
|
|
#view-port:not([selectedIndex="0"]) #discover-view .loading,
|
|
|
|
#discover-view:not([selectedIndex="0"]) .loading {
|
|
|
|
display: none;
|
|
|
|
}
|
2011-02-09 21:23:47 +03:00
|
|
|
|
|
|
|
/* Elements in unselected richlistitems cannot be focused */
|
|
|
|
richlistitem:not([selected]) * {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
2011-03-01 11:31:35 +03:00
|
|
|
|
|
|
|
#header-search {
|
|
|
|
width: 22em;
|
|
|
|
}
|
2013-04-10 06:13:13 +04:00
|
|
|
|
2014-03-04 18:37:08 +04:00
|
|
|
#header-utils-btn {
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2013-04-10 06:13:13 +04:00
|
|
|
.discover-button[disabled="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-20 02:02:58 +04:00
|
|
|
|
|
|
|
#experiments-learn-more[disabled="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#experiments-change-telemetry[disabled="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-04-23 16:34:48 +04:00
|
|
|
|
2017-05-13 07:29:38 +03:00
|
|
|
.view-pane:not(#legacy-view) .addon-control.replacement {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-04-23 16:34:48 +04:00
|
|
|
.view-pane[type="experiment"] .error,
|
|
|
|
.view-pane[type="experiment"] .warning,
|
2014-05-15 13:28:31 +04:00
|
|
|
.view-pane[type="experiment"] .addon:not([pending="uninstall"]) .pending,
|
2014-04-23 16:34:48 +04:00
|
|
|
.view-pane[type="experiment"] .disabled-postfix,
|
|
|
|
.view-pane[type="experiment"] .update-postfix,
|
2015-11-10 02:02:29 +03:00
|
|
|
.view-pane[type="experiment"] .addon-control.enable,
|
|
|
|
.view-pane[type="experiment"] .addon-control.disable,
|
2014-04-23 16:34:48 +04:00
|
|
|
#detail-view[type="experiment"] .alert-container,
|
|
|
|
#detail-view[type="experiment"] #detail-version,
|
2015-11-10 02:02:29 +03:00
|
|
|
#detail-view[type="experiment"] #detail-creator,
|
|
|
|
#detail-view[type="experiment"] #detail-enable-btn,
|
|
|
|
#detail-view[type="experiment"] #detail-disable-btn {
|
2014-04-23 16:34:48 +04:00
|
|
|
display: none;
|
|
|
|
}
|
2014-04-23 16:34:49 +04:00
|
|
|
|
|
|
|
.view-pane:not([type="experiment"]) .experiment-container,
|
|
|
|
.view-pane:not([type="experiment"]) #detail-experiment-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-05-07 22:48:07 +04:00
|
|
|
|
|
|
|
.addon[type="experiment"][status="installing"] .experiment-time,
|
|
|
|
.addon[type="experiment"][status="installing"] .experiment-state {
|
|
|
|
display: none;
|
|
|
|
}
|