changes to make add-ons manager more LCARS-style
[themes.git] / LCARStrek / mozapps / extensions / extensions.css
index 868a43b930a36206389bb64ccccf14a7b0c0497b..20797a38191adacc45293b96ebd80bc6422f164d 100644 (file)
@@ -1,43 +1,13 @@
-/* ***** 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 ***** */
+/* 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/inContentUI.css");
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+#addons-page {
+  padding: 3px;
+  margin: 0;
+}
 
 .nav-button {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
 /*** category selector ***/
 
 #categories {
-  -moz-appearance: none;
-  border: none;
-  -moz-margin-end: -1px;
-  background-color: transparent;
+  background-color: #A09090;
   position: relative;
-  margin-top: 31px;
+  padding-top: 31px;
+  margin: 0px;
+  border: none;
 }
 
 .category {
-  background-color: transparent;
-  color: #FF9F00;
+  background-color: #000000;
+  color: #FFCF00;
   min-height: 0;
   padding: 10px 4px;
-  border-width: 1px;
-  border-style: solid;
-  border-color: transparent;
   -moz-box-align: center;
   overflow: hidden;
 }
 
-.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:not([disabled]):hover {
+  background-color: #FFCF00;
+  color: #000000;
 }
 
 .category[disabled] {
   border-bottom: 0;
   height: 0;
   opacity: 0;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 1s, 0.8s;
+  transition-property: height, opacity;
+  transition-duration: 1s, 0.8s;
 }
 
 .category:not([disabled]) {
   height: 52px;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 1s, 0.8s;
+  transition-property: height, opacity;
+  transition-duration: 1s, 0.8s;
 }
 
 .category[selected] {
   background-color: #008484;
   color: #FFCF00;
-  border-color: #9C9CFF;
 }
 
 .category-name {
 #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-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");
 }
   list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png");
 }
 
+/*** main content ***/
+
+#addons-page > hbox {
+  /* This applied both to the header and the box surrounding the main content. */
+  background-color: #A09090;
+}
+
+.main-content {
+  background-color: #000000;
+  border: none;
+  border-top: 3px solid #000000;
+  -moz-border-start: 3px solid #000000;
+  border-radius: 1em 0 0 0;
+}
 
 /*** header ***/
 
 #header {
-  margin-bottom: 18px;
   height: 2em;
+  padding: 3px;
+  border-radius: 1em 0 0 0;
 }
 
 #header-search {
   color: #E7ADE7;
   border: 1px solid #9C9CFF;
   border-radius: 4px;
-  padding: 3px;
   background-color: #000000;
   margin: 0;
 }
 
-#header-search .textbox-input:-moz-placeholder {
+#header-search .textbox-input::-moz-placeholder {
   color: #8050B0;
 }
 
   border-color: #008484;
 }
 
+@media (max-width: 600px) {
+  #header-search {
+    width: 12em;
+  }
+}
+
 #header-utils-btn {
   list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
   -moz-margin-end: 16px;
   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%;
   font-weight: bold;
   height: 0;
   overflow: hidden;
   opacity: 0;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 0.5s, 0.5s;
+  transition-property: height, opacity;
+  transition-duration: 0.5s, 0.5s;
 }
 
 .addon[show-relnotes] .relnotes-container {
   opacity: 1;
-  -moz-transition-property: height, opacity;
-  -moz-transition-duration: 0.5s, 0.5s;
+  transition-property: height, opacity;
+  transition-duration: 0.5s, 0.5s;
 }
 
 .addon .relnotes-header {
 
 #detail-view[loading-extended] .loading {
   opacity: 1;
-  -moz-transition-property: opacity;
-  -moz-transition-duration: 1s;
+  transition-property: opacity;
+  transition-duration: 1s;
 }
 
 .detail-view-container {
 }
 
 #detail-screenshot[loading] {
-  background-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
+  background-image: url("chrome://communicator/skin/brand/throbber-anim.png");
   background-position: 50% 50%;
   background-repeat: no-repeat;
 }
@@ -901,15 +891,25 @@ 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;
   -moz-margin-start: 2em;
+  white-space: pre-wrap;
 }
 
-setting[type="string"] > .setting-input > textbox {
-  -moz-box-flex: 1;
+.preferences-description:empty {
+  display: none;
 }
 
 setting[type="radio"] > radiogroup {
@@ -1062,15 +1062,19 @@ menulist { /* Fixes some styling inconsistencies */
 
 /*** buttons ***/
 
-.addon-control[disabled="true"] {
+.addon-control[disabled="true"]:not(.no-auto-hide) {
   display: none;
 }
 
+.no-auto-hide .addon-control {
+  display: block !important;
+}
+
 button.button-link {
   background: transparent;
   border: none;
   text-decoration: underline;
-  color: blue;
+  color: #3333FF;
   cursor: pointer;
   min-width: 0;
   margin: 0 6px;
@@ -1079,3 +1083,30 @@ button.button-link {
 /* 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;
+}