make add-ons view have a correct LCARS look again
[themes.git] / LCARStrek / mozapps / extensions / extensions.css
index d8840b551b9aea2cd078d5013bc36dd0b94b1a6e..c8ad94a084d54f13b84b0f5ffa7f04dd1c6aa8d1 100644 (file)
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is the Extension Manager UI.
- *
- * The Initial Developer of the Original Code is
- * the Mozilla Foundation.
- * Portions created by the Initial Developer are Copyright (C) 2010
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Blair McBride <bmcbride@mozilla.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-
-.pane-splitter {
-  -moz-appearance: none;
-  border: none;
-  -moz-border-start: 1px solid #9C9CFF;
-  background-color: transparent;
+/* 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/. */
+
+@import url("chrome://global/skin/in-content/common.css");
+
+#addons-page {
+  padding: 3px;
+  margin: 0;
+}
+
+.main-content {
+  padding: 0;
+}
+
+#nav-header {
+  min-height: 39px;
+}
+
+.view-pane > .list > scrollbox {
+  border-radius: 1em 0 0 0;
+/*  padding-right: 48px;
+  padding-left: 48px; */
+}
+
+#search-list > scrollbox {
+  border-radius: 0;
+}
+
+/*** global warnings ***/
+
+.global-warning-container {
+  overflow-x: hidden;
+}
+
+.global-warning {
+  -moz-box-align: center;
+  padding: 0 8px;
+  color: #000000;
+  font-weight: bold;
+}
+
+#addons-page[warning] .global-warning-container {
+  background-color: #FFCF00;
+}
+
+#detail-view .global-warning {
+  padding: 4px 12px;
+  border-bottom: 3px solid #000000;
+}
+
+@media (max-width: 600px) {
+  .global-warning-text {
+    display: none;
+  }
+
+  .global-warning .warning-icon {
+    /* background-color: #FFF;
+    box-shadow: 0px 0px 2px 5px #FFF;
+    border-radius: 10px; */
+  }
+}
+
+/*** global informations ***/
+
+/* 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;
-  min-width: 1px;
 }
 
-.view-pane {
-  background-color: #000000;
+/*** notification icons ***/
+
+.warning-icon,
+.error-icon,
+.pending-icon,
+.info-icon {
+  width: 16px;
+  height: 16px;
+  margin: 1px 0;
 }
 
+.warning-icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg");
+}
 
-/*** category selector ***/
+.error-icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.svg");
+}
 
-#categories {
-  -moz-appearance: none;
-  border: none;
-  margin: 0px;
+.pending-icon,
+.info-icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.svg");
 }
 
-.category {
-  border: none;
-  -moz-border-radius: 8px;
-  padding: 10px 4px;
+.addon-view[pending="disable"] .pending-icon,
+.addon-view[pending="uninstall"] .pending-icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg");
+}
+
+/*** view alert boxes ***/
+
+.alert-container {
   -moz-box-align: center;
-  overflow: hidden;
-  min-height: 0px;
+  margin-right: 48px;
+  margin-left: 48px;
+  padding-top: .5em;
+}
+
+.alert-spacer-before {
+  -moz-box-flex: 1;
+}
+
+.alert-spacer-after {
+  -moz-box-flex: 3;
+}
+
+.alert {
+  -moz-box-align: center;
+  padding: 10px;
+  color: #FF9F00;
+  border: 1px solid #9C9CFF;
+  border-radius: 8px;
+  background-color: #000000;
+  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.png");
+  padding-left: 20px;
+  padding-right: 20px;
+}
+
+@media (min-resolution: 1.1dppx) {
+  .loading > image {
+    width: 16px;
+    list-style-image: url("chrome://global/skin/icons/loading@2x.png");
+  }
+}
+
+button.warning {
+  list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg");
+}
+
+/*** category selector ***/
+
+#categories {
+  padding-top: 0;/*31px;*/
 }
 
 .category[disabled] {
-  height: 0px;
+  min-height: 0;
   opacity: 0;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 1s, 0.8s;
+  transition-property: min-height, opacity;
+  transition-duration: 1s, 0.8s;
 }
 
 .category:not([disabled]) {
-  height: 52px;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 1s, 0.8s;
-}
-
-.category[selected] {
-  background-color: #008484;
-  color: #FFCF00;
+  min-height: 40px;
+  transition-property: min-height, opacity;
+  transition-duration: 1s, 0.8s;
 }
 
-.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: #E7ADE7;
   padding: 2px 8px;
-  margin: 6px 0px;
-  -moz-border-radius: 100%;
+  margin: 6px 0;
+  margin-inline-start: 6px;
+  border-radius: 100%;
   color: #000000;
   font-weight: bold;
   text-align: center;
 }
 
 .category-badge[value="0"] {
-  visibility: hidden;
-}
-
-.category-icon {
-  width: 32px;
-  height: 32px;
-  -moz-margin-start: 6px;
+  display: none;
 }
 
 #category-search > .category-icon {
 #category-discover > .category-icon {
   list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png");
 }
-#category-languages > .category-icon {
+#category-locale > .category-icon {
   list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png");
 }
-#category-searchengines > .category-icon {
-  list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png");
-}
-#category-extensions > .category-icon {
+#category-extension > .category-icon {
   list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png");
 }
-#category-themes > .category-icon {
+#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-plugins > .category-icon {
+#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");
+}
+
+/*** main content ***/
+
+#addons-page > hbox {
+  /* This applies to the box surrounding all content. */
+  background-color: #A09090;
+  border-radius: 1em 0 0 0;
+}
 
+.main-content {
+  border: none;
+  padding-bottom: 0;
+}
+
+#view-port {
+}
+
+#headered-views-content {
+  border-radius: 1em 0 0 0;
+  background-color: #000000;
+}
 
 /*** header ***/
 
 #header {
-  background-color: #FF9F00;
-  -moz-border-radius: 8px;
-  padding: 2px 4em;
-  margin: 3px;
-  -moz-box-align: center;
-  height: 4.5em;
+  height: 2em;
+  padding: 3px;
+  background-color: #A09090;
 }
 
-#header-name, #header-link {
-  color: #000000;
+@media (max-width: 600px) {
+  #header-search {
+    width: 12em;
+  }
 }
 
-#header-name {
-  font-size: 180%;
+#header-utils-btn {
+  list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities");
+  margin-inline-end: 16px;
 }
 
-#header-link {
-  -moz-appearance: none;
-  border: none;
-  background: transparent;
-  font-size: 120%;
-  cursor: pointer;
-  list-style-image: url("chrome://mozapps/skin/extensions/go-back.png");
+#header-utils-btn:hover,
+#header-utils-btn:hover:active,
+#header-utils-btn[open="true"] {
+  list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-hover");
 }
 
-#header-link .button-icon {
-  -moz-margin-end: 6px;
+#header-utils-btn > .button-box > .button-menu-dropmarker {
+  border: none;
+  background: transparent;
 }
 
-#header-searching {
-  list-style-image: url("chrome://global/skin/icons/loading.gif");
+#header-utils-btn:hover > .button-box > .button-menu-dropmarker {
+  list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
 }
 
 .view-header {
+  margin: 0 48px;
   background-color: #9C9CFF;
   color: #000000;
-  -moz-border-radius: 8px;
-  padding: 0px 4em;
+  border-radius: 8px;
+  padding: 0px 1em;
   margin: 3px;
 }
 
+.header-button {
+}
+
+.header-button[disabled="true"] > .toolbarbutton-icon {
+}
+
+.header-button:not([disabled="true"]):hover,
+#header-utils-btn:not([disabled="true"]):hover {
+  cursor: pointer;
+}
+
+.header-button > .toolbarbutton-text {
+  display: none;
+}
+
+.nav-button {
+  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
+}
+
+#forward-btn {
+  border-inline-start: none;
+}
+
+#back-btn:-moz-locale-dir(ltr),
+#forward-btn:-moz-locale-dir(rtl) {
+  -moz-image-region: rect(42px 25px 63px 0px);
+}
+
+#back-btn[disabled="true"]:-moz-locale-dir(ltr),
+#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {
+  -moz-image-region: rect(42px 50px 63px 25px);
+}
+
+#back-btn:-moz-locale-dir(rtl),
+#forward-btn:-moz-locale-dir(ltr) {
+  -moz-image-region: rect(63px 25px 84px 0px);
+}
+
+#back-btn[disabled="true"]:-moz-locale-dir(rtl),
+#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {
+  -moz-image-region: rect(63px 50px 84px 25px);
+}
 
 /*** sorters ***/
 
 .sort-controls {
-  -moz-appearance: none;
+  border-right: 3px solid #000000;
 }
 
 .sorter {
-  -moz-appearance: none;
   border: none;
   border-left: 3px solid #000000;
-  border-right: 3px solid #000000;
   background-color: transparent;
-  -moz-border-radius: 0;
-  padding: 0px 6px;
-  margin: 0px 6px;
+  color: #000000;
+  border-radius: 0;
+  margin: 0;
   min-width: 12px !important;
   -moz-box-direction: reverse;
 }
+.sorter:hover {
+  background-color: #FFCF00;
+  color: #000000;
+}
 
+.sorter .button-box {
+  padding-top: 0;
+  padding-bottom: 0;
+}
 
 .sorter[checkState="1"],
 .sorter[checkState="2"] {
 }
 
 .sorter .button-icon {
-  -moz-margin-start: 4px;
+  margin-inline-start: 6px;
 }
 
 
-/*** empty list notification ***/
+/*** discover view ***/
 
-.empty-list-notice {
-  -moz-box-align: center;
+#discover-view {
+  background-image: linear-gradient(#A09090 28px, #000000 28px, #000000 100%);
+}
+
+.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");
+  margin-inline-end: 15px;
 }
 
-.empty-list-notice > button {
-  margin: 20px;
+.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;
+}
+
+#discover-browser {
+  border-radius: 1em 0px 0px;
+}
 
 /*** list ***/
 
 .list {
-  -moz-appearance: none;
-  margin: 0px;
-  border: none;
+  margin: 0;
+  border-width: 0 !important;
+  background-color: transparent;
 }
 
-.addon[status="installed"], .addon[status="installing"] {
-  background-color: #000000;
-  -moz-border-radius: 10px;
-  border: 1px solid #9C9CFF;
-  padding: 6px 7px;
-  margin: 3px;
+.list > scrollbox > .scrollbox-innerbox {
+  border: 1px dotted transparent;
 }
 
-.addon[status="installing"] {
+.list:-moz-focusring > scrollbox > .scrollbox-innerbox {
+  border-color: #008484;
+}
+
+.addon {
+  border-bottom: 1px solid #9C9CFF;
+  padding: 5px;
+  background-origin: border-box;
+}
+
+.addon:not(:only-child):last-child {
+  border-bottom-width: 0;
+}
+
+.details {
+  cursor: pointer;
+  margin: 0;
+  margin-inline-start: 10px;
+}
+
+.icon-container {
+  width: 48px;
+  height: 48px;
+  margin: 3px 7px;
   -moz-box-align: center;
-  border-color: #FF9F00;
+  -moz-box-pack: center;
 }
 
-.addon[selected]:not([status="uninstalled"]) {
-  background-color: #008484;
-  color: #FFCF00;
+.icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg");
+  max-width: 48px;
+  max-height: 48px;
 }
 
-.addon[status="installed"][selected]:not([pending="true"]) {
-  border: none;
-  padding: 7px 8px;
+.content-inner-container {
+  margin-inline-end: 5px;
 }
 
-.addon[status="installed"][active="false"] .fade {
-  opacity: 0.5;
+.addon[active="false"] .icon {
+  filter: grayscale(1);
 }
 
-.addon[status="installed"][pending="true"] {
-  border-color: red;
+.addon-view[type="theme"] .icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
 }
 
-.addon[selected] {
-  /* color: -moz-dialogtext; */
+.addon-view[type="locale"] .icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
 }
 
-.addon[selected] .text-link {
-  /* color: -moz-nativehyperlinktext; */
+.addon-view[type="plugin"] .icon {
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
 }
 
-.addon .toggle-more {
-  padding: 0px 6px;
-  margin: 0px 6px;
-  min-width: 12px !important;
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
-  -moz-box-direction: reverse;
-  /* border: 1px solid transparent;
-  background: transparent; */
-  cursor: pointer;
+.addon-view[type="dictionary"] .icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
 }
 
-.addon .toggle-more > .button-box > .button-icon {
-  -moz-padding-start: 4px;
+.addon-view[type="experiment"] .icon {
+  list-style-image: url("chrome://mozapps/skin/extensions/experimentGeneric.png");
 }
 
-.addon[show-extra] .toggle-more {
-  list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
+.name-container {
+  font-size: 1.3rem;
+  font-weight: bold;
+  color: #9C9CFF;
+  margin-bottom: 0;
+  -moz-box-align: end;
+  -moz-box-flex: 1;
 }
 
-.addon .toggle-more:hover {
-  /* background-color: #FFCF00;
-  color: #FFCF00; */
+.creator {
+  font-weight: bold;
 }
 
-.addon[selected] .toggle-more:hover {
-  /* background-color: #FFCF00;
-  color: #FFCF00; */
+.description-container {
+  margin-inline-start: 6px;
+  -moz-box-align: center;
+  font-size: 1.25rem;
 }
 
-.addon .extra-details {
-  height: 0px;
-  overflow: hidden;
-  opacity: 0;
-  text-align: end;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 0.5s, 0.5s;
+.description {
+  margin: 0;
 }
 
-.addon[show-extra] .extra-details {
-  opacity: 1;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 0.5s, 0.5s;
+.warning,
+.pending,
+.error,
+.info {
+  margin-inline-start: 48px;
+  font-weight: bold;
+  -moz-box-align: center;
 }
 
-.addon .icon {
-  margin: 7px 5px;
-  width: 32px;
-  height: 32px;
-  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
+.content-container,
+.basicinfo-container {
+  -moz-box-align: start;
 }
 
-.addon[type="theme"] .icon {
-  list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
+.addon[status="installing"] > .content-container {
+  -moz-box-align: stretch;
 }
 
-.addon[type="locale"] .icon {
-  list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
+.update-info-container {
+  -moz-box-align: center;
 }
 
-.addon[type="plugin"] .icon {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
+.update-available {
+  -moz-box-align: end;
 }
 
-.addon .name-container {
+.install-status-container {
+  -moz-box-pack: end;
   -moz-box-align: end;
 }
 
-.addon .name,
-.addon .version {
-  font-size: 150%;
-  margin-bottom: 0px;
+.name-outer-container {
+  -moz-box-pack: center;
+}
+
+.relnotes-toggle-container,
+.icon-outer-container {
+  -moz-box-pack: start;
 }
 
-.addon .disabled-postfix {
-  font-size: 130%;
+.status-container,
+.control-container {
+  -moz-box-pack: end;
 }
 
-.addon .description {
-  margin-top: 8px;
-  -moz-margin-start: 6px;
+.addon-view .warning {
+  color: #FFCF00;
 }
 
-.addon .warning {
+.addon-view .error {
   color: #FF0000;
-  -moz-box-align: start;
 }
 
-.addon .warning-icon {
-  opacity: 0.7;
-  list-style-image: url("chrome://global/skin/icons/warning-16.png");
+.addon-view .pending {
+  color: #008484;
+}
+
+.addon-view[pending="disable"] .pending,
+.addon-view[pending="uninstall"] .pending {
+  color: #FF9C00;
+}
+
+.addon .relnotes-container {
+  -moz-box-align: start;
+  margin-inline-start: 6px;
+  height: 0;
+  overflow: hidden;
+  opacity: 0;
+  transition-property: height, opacity;
+  transition-duration: 0.5s, 0.5s;
 }
 
-.addon[selected] .warning-icon {
+.addon[show-relnotes] .relnotes-container {
   opacity: 1;
+  transition-property: height, opacity;
+  transition-duration: 0.5s, 0.5s;
 }
 
-.addon .details-container {
-  -moz-box-align: end;
-  -moz-margin-start: 20px;
+.addon .relnotes-header {
+  font-weight: bold;
+  margin: 10px 0;
 }
 
-.addon .control-container {
-  -moz-box-align: center;
-  -moz-box-pack: end;
-  margin-top: 6px;
+.addon .relnotes-toggle {
+  border: none;
+  background: transparent;
+  font-weight: bold;
+  -moz-box-direction: reverse;
+  cursor: pointer;
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.addon .relnotes-toggle > .button-box > .button-icon {
+  padding-inline-start: 4px;
+}
+
+.addon[show-relnotes] .relnotes-toggle {
+  list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
+}
+
+.addon-view[notification],
+.addon-view[pending] {
+  --view-highlight-color: transparent;
+  /*
+  background-image: radial-gradient(at 50% 0%,
+                                    var(--view-highlight-color) 0%,
+                                    transparent 75%);
+  */
+  background-color: var(--view-highlight-color);
+}
+
+.addon-view[notification="warning"] {
+  --view-highlight-color: #FFCF00;
+  color: #000000;
+}
+
+.addon-view[notification="warning"] .warning {
+  color: #000000;
+}
+
+.addon-view[notification="warning"] .name-container {
+  color: #000000;
+}
+
+.addon-view[notification="warning"] .text-link:hover {
+  color: #000000;
+}
+
+.addon-view[notification="error"] {
+  --view-highlight-color: #FF0000;
+  color: #000000;
+}
+
+.addon-view[notification="error"] .error {
+  color: #000000;
+}
+
+.addon-view[notification="info"] {
+  --view-highlight-color: #9C9CFF;
+  color: #000000;
+}
+
+.addon-view[pending="enable"],
+.addon-view[pending="upgrade"],
+.addon-view[pending="install"] {
+  --view-highlight-color: #008484;
+}
+
+.addon-view[pending="enable"] .pending,
+.addon-view[pending="upgrade"] .pending,
+.addon-view[pending="install"] .pending {
+  color: #000000;
 }
 
-.addon[selected] .details-container {
-  border-color: #FFCF00;
+.addon-view[pending="disable"],
+.addon-view[pending="uninstall"] {
+  color: #8050B0;
 }
 
 
   -moz-box-align: center;
   padding: 4px 20px;
   background-color: #8050B0;
-  -moz-border-radius: 8px;
+  border-radius: 8px;
   font-size: 120%;
 }
 
   background-color: transparent;
 }
 
+.addon[selected] {
+  background-color: #008484;
+  color: #FF9F00;
+}
+
+.addon[selected] .name-container {
+  color: #FFCF00;
+}
+
+.addon[active="false"] {
+  background-color: #8050B0;
+  color: #E7ADE7;
+}
+
+.addon-view[active="false"] .name-container {
+  color: #E7ADE7;
+  color: #000000;
+}
+
+.addon[active="false"][selected] {
+  color: #E7ADE7;
+}
+
+.addon[active="false"][selected] .name-container {
+  color: #E7ADE7;
+}
 
 
 /*** search view ***/
 
-.search-filter {
-  padding: 20px;
+#search-filter {
+  padding: 5px 20px;
+/*  margin-right: 48px;
+  margin-left: 48px;*/
   -moz-box-align: center;
   background-color: #000000;
   font-size: 120%;
+  border-bottom: 1px solid #9C9CFF;
+  overflow-x: hidden;
+}
+
+#search-filter-label {
+  font-weight: bold;
+  color: #FFCF00;
+  margin-inline-end: 10px;
 }
 
+#search-allresults-link {
+  margin-top: 1em;
+  margin-bottom: 2em;
+}
 
 /*** detail view ***/
 
-#detail-view[active="false"] .fade {
-  opacity: 0.5;
+#detail-view .loading {
+  opacity: 0;
 }
 
-#detail-view > .loading {
-  opacity: 0;
+#detail-view[loading-extended] .loading {
+  opacity: 1;
+  transition-property: opacity;
+  transition-duration: 1s;
 }
 
-#detail-view:not([loading]) > .loading {
-  visibility: collapse;
+.detail-view-container {
+  padding: 0 2em 2em 2em;
+  font-size: 1.25rem;
 }
 
-#detail-view[loading-extended] > .loading {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  opacity: 1;
-  -moz-transition-property: opacity;
-  -moz-transition-duration: 1s;
+#detail-notifications {
+  margin-top: 1em;
+  margin-bottom: 2em;
 }
 
-#detail-view > .loading > image {
-  list-style-image: url("chrome://global/skin/icons/loading.gif");
+#detail-notifications .warning,
+#detail-notifications .pending,
+#detail-notifications .error {
+  margin-inline-start: 0;
 }
 
-.detail-view-container {
-  overflow: auto;
-  padding: 10px 20px;
+#detail-icon-container {
+  width: 64px;
+  margin-inline-end: 10px;
+  margin-top: 6px;
 }
 
-.detail-basicinfo {
-  padding: 10px 0px;
-  -moz-box-align: center;
+#detail-icon {
+  max-width: 64px;
+  max-height: 64px;
 }
 
-.detail-extra {
-  margin-top: 20px;
+#detail-summary {
+  margin-bottom: 2em;
 }
 
-#detail-desc {
-  min-height: 40px;
-  margin-bottom: 20px;
+#detail-name-container {
+  font-size: 2.5rem;
+  font-weight: normal;
 }
 
-#detail-icon {
-  width: 32px;
-  height: 32px;
-  -moz-margin-end: 10px;
-  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
+#detail-screenshot-box {
+  margin-inline-end: 2em;
+/*  background-color: white;*/
 }
 
-#detail-view[type="theme"] #detail-icon {
-  list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
+
+#detail-screenshot {
+  max-width: 300px;
+  max-height: 300px;
 }
 
-#detail-view[type="locale"] #detail-icon {
-  list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
+#detail-screenshot[loading] {
+  background-image: url("chrome://global/skin/icons/loading.png");
+  background-position: 50% 50%;
+  background-repeat: no-repeat;
 }
 
-#detail-view[type="plugin"] #detail-icon {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
+@media (min-resolution: 1.1dppx) {
+  #detail-screenshot[loading] {
+    background-image: url("chrome://global/skin/icons/loading@2x.png");
+    background-size: 16px;
+  }
 }
 
-#detail-name {
-  font-size: 200%;
+#detail-screenshot[loading="error"] {
+  background-image: url("chrome://global/skin/icons/alert-error.gif");
 }
 
-#detail-screenshot {
-  width: 140px;
-  height: 140px;
-  background-color: #9C9CFF;
-  margin: 0px 10px 0px 0px;
+#detail-desc-container {
+  margin-bottom: 2em;
 }
 
-.detail-prefs {
-  -moz-box-align: start;
+#detail-desc, #detail-fulldesc {
+  margin-inline-start: 6px;
+  white-space: pre-wrap;
+  /* This is necessary to fix layout issues with multi-line descriptions, see
+     bug 592712*/
+  outline: solid transparent;
+  min-width: 8em;
+}
+
+#detail-fulldesc {
+  margin-top: 1em;
+}
+
+#detail-contributions {
+  border-radius: 5px;
+  border: 1px solid #9C9CFF;
+  margin-bottom: 2em;
+  padding: 1em;
+  background-color: #FFCF00;
+}
+
+#detail-contrib-description {
+  font-style: italic;
+  margin-bottom: 1em;
+  color: #000000;
 }
 
-.meta-label {
+#detail-contrib-suggested {
+  color: #8050B0;
   font-weight: bold;
 }
 
-#detail-notification {
+#detail-contrib-btn {
+  list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
+}
+
+#detail-contrib-btn .button-icon {
+  margin-inline-end: 3px;
+}
+
+#detail-grid {
+  min-width: 15em;
+  margin-bottom: 2em;
+}
+
+#detail-grid > columns > column:first-child {
+  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 #9C9CFF;
   -moz-box-align: center;
-  -moz-box-pack: center;
-  margin: 0px 50px;
-  padding: 4px 20px;
-  background-color: #FFCF00;
-  -moz-border-radius: 8px;
-  font-size: 120%;
+  min-height: 35px;
+  line-height: 20px;
+}
+
+#detail-controls {
+  margin-bottom: 1em;
+}
+
+.inline-options-browser,
+setting[first-row="true"] {
+  margin-top: 2em;
+}
+
+setting {
+  -moz-box-align: start;
+}
+
+.preferences-alignment {
+  min-height: 30px;
+  -moz-box-align: center;
+}
+
+.preferences-description {
+  font-size: 90.9%;
+  color: #808080;
+  margin-top: -2px;
+  margin-inline-start: 2em;
+  white-space: pre-wrap;
 }
 
+.preferences-description:empty {
+  display: none;
+}
+
+setting[type="radio"] > radiogroup {
+  -moz-box-orient: horizontal;
+}
 
 /*** creator ***/
 
 .creator > label {
-  -moz-margin-start: 0px;
-  -moz-margin-end: 0px;
+  margin-inline-end: 0;
 }
 
 .creator > .text-link {
 /*** rating ***/
 
 .meta-rating {
-  -moz-margin-start: 0px;
-  -moz-margin-end: 0px;
-  vertical-align: text-top;
+  margin-inline-end: 0;
+  padding-top: 2px;
 }
 
-.meta-rating[showrating="average"] > .star {
+.meta-rating > .star {
   list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png");
-  padding: 0px 1px;
-}
-
-.meta-rating[showrating="user"] > .star {
-  list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png");
-  padding: 2px 3px;
+  padding: 0 1px;
 }
 
-.meta-rating > .star[on="true"],
-.meta-rating[showrating="user"] > .star[hover] {
+.meta-rating > .star[on="true"] {
   list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png");
-  padding: 0px 1px;
 }
 
 
 
 .download-progress {
   background-color: #000000;
-  -moz-border-radius: 100%;
+  border-radius: 2px;
   border: 1px solid #FF9F00;
   width: 200px;
-  height: 24px;
-  margin: 0px 8px;
+  height: 30px;
+  margin: 2px 4px;
+}
+
+.download-progress[mode="undetermined"] {
+  border-color: #A09090;
 }
 
 .download-progress .start-cap,
 .download-progress[complete] .end-cap,
+.download-progress[mode="undetermined"] .end-cap,
 .download-progress .progress .progress-bar {
   background-color: #008484;
 }
 
+.download-progress .progress .progress-bar  {
+  border-left-width: 0;
+  border-right-width: 0;
+  min-height: 21px;
+}
+
 .download-progress .progress {
   background-color: transparent;
+  padding: 0;
+  margin: 0;
+  border: none;
 }
 
 .download-progress .start-cap, .download-progress .end-cap {
   width: 12px;
 }
 
-.download-progress .start-cap {
-  -moz-border-radius: 100% 0 0 100%;
+.download-progress .start-cap:-moz-locale-dir(ltr),
+.download-progress .end-cap:-moz-locale-dir(rtl) {
+  border-radius: 1px 0 0 1px;
 }
 
-.download-progress .end-cap {
-  -moz-border-radius: 0 100% 100% 0;
+.download-progress .end-cap:-moz-locale-dir(ltr),
+.download-progress .start-cap:-moz-locale-dir(rtl) {
+  border-radius: 0 1px 1px 0;
 }
 
-.download-progress .progress {
+.download-progress .cancel {
   -moz-appearance: none;
-  padding: 0px;
-  margin: 0px;
+  background-color: #8050B0;
+  border: 1px solid #9C9CFF;
+  padding: 3px;
+  min-width: 0;
+  width: 20px;
+  height: 20px;
+  margin: 3px;
+}
+
+.download-progress .cancel .button-box {
+  padding: 0;
   border: none;
 }
 
-.download-progress .pause, .download-progress .cancel {
-  -moz-appearance: none;
-  background-color: #8050B0;
-  border-width: 1px 0px 0px 1px;
-  border-style: solid;
-  -moz-border-radius: 100%;
-  min-width: 16px;
-  width: 16px;
-  height: 16px;
-  margin: 3px;
+.download-progress .cancel .button-text {
+  display: none;
 }
 
-.download-progress .pause {
-  list-style-image: url('chrome://mozapps/skin/extensions/pause.png');
+.download-progress .cancel .button-icon {
+  margin-inline-start: 0;
 }
 
 .download-progress .cancel {
   -moz-box-align: center;
 }
 
+.download-progress .status {
+/*  text-shadow: #FFF 0 0 2px; */
+}
 
 /*** install status ***/
 
   -moz-box-align: center;
 }
 
-#updates-installed, #updates-downloaded {
+#updates-container .button-link {
+  font-weight: bold;
+}
+
+#updates-installed,
+#updates-downloaded {
   color: #008484;
   font-weight: bold;
 }
 
+#update-selected {
+  margin: 12px;
+}
 
 /*** buttons ***/
 
-.addon-control {
-  padding: 0px 5px;
-}
-
-.addon-control[disabled="true"] {
+.addon-control[disabled="true"]:not(.no-auto-hide) {
   display: none;
 }
 
-.contribute {
-  -moz-padding-start: 20px;
-  -moz-padding-end: 4px;
+.no-auto-hide .addon-control {
+  display: block !important;
 }
 
-.button-link {
+button.button-link {
   background: transparent;
   border: none;
   text-decoration: underline;
-  color: blue;
+  color: #3333FF;
   cursor: pointer;
   min-width: 0;
+  margin: 0 6px;
+}
+
+/* Needed to override normal button style from inContent.css */
+button.button-link:not([disabled="true"]):active:hover {
+}
+
+/*** 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: #8050B0;
+}
+
+.addon[active="true"] .experiment-bullet,
+#detail-view[active="true"] #detail-experiment-bullet {
+  fill: #FFCF00;
+}
+
+/*** info UI for add-ons that have been disabled for being unsigned ***/
+
+#show-disabled-unsigned-extensions:not(:hover) {
+  background-color: #FF0000;
+}
+
+#disabled-unsigned-addons-info {
+  margin-bottom: 2em;
+  margin-right: 48px;
+  margin-left: 48px;
+}
+
+#disabled-unsigned-addons-heading {
+  font-size: 1.4em;
+  font-weight: bold;
+  margin-bottom: .5em;
+}
+
+#signing-dev-info {
+  font-style: italic;
 }