X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=20797a38191adacc45293b96ebd80bc6422f164d;hp=a9e58c501e0bdc38e1a74eb2bbc4ce63449a1bc8;hb=f2e2cfd1ea1fddddb9c182e832bd2946d609d7d9;hpb=c1f7cc847f45047fb26e27daed4a3e24d9ad2f25 diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index a9e58c50..20797a38 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -1,55 +1,12 @@ -/* ***** 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 - * - * 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 ***** */ - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +/* 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/. */ -#addons-page { - background-color: #000000; - color: #FF9F00; - margin: 20px; -} +@import url("chrome://global/skin/inContentUI.css"); -#view-port-container { - /* Needed to allow the radius to clip the inner content, see bug 595656 */ - /* Disabled because of bug 623615 - overflow: hidden; - */ - border: 1px solid #9C9CFF; - border-radius: 5px; +#addons-page { + padding: 3px; + margin: 0; } .nav-button { @@ -100,10 +57,10 @@ #detail-view .global-warning { padding: 4px 12px; - border-bottom: 3px solid #000000; + border-bottom: 3px solid #000000; } -@media all and (max-width: 600px) { +@media (max-width: 600px) { .global-warning-text { display: none; } @@ -115,6 +72,13 @@ } } +/*** global informations ***/ +#addons-page .global-info-container { + background-color: #9C9CFF; + border-top-right-radius: 5px; + border-top-left-radius: 5px; +} + /* 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, @@ -187,7 +151,7 @@ margin-bottom: 15px; } -.alert .addon-control { +.alert button { margin: 1em 2em; } @@ -201,34 +165,25 @@ /*** 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] { @@ -236,20 +191,19 @@ 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 { @@ -257,7 +211,7 @@ } /* Maximize the size of the viewport when the window is small */ -@media all and (max-width: 800px) { +@media (max-width: 800px) { .category-name { display: none; } @@ -289,21 +243,30 @@ #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 { +#category-searchengine > .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"); } @@ -311,24 +274,38 @@ 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; } @@ -336,6 +313,12 @@ 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; @@ -485,7 +468,7 @@ } .addon[active="false"] .icon { -/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ + filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); } .addon-view[type="theme"] .icon { @@ -500,6 +483,14 @@ 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%; font-weight: bold; @@ -595,14 +586,14 @@ 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 { @@ -628,12 +619,13 @@ } .addon[active="false"] { - /* background-color: rgba(135, 135, 135, 0.1); */ + background-color: #8050B0; + color: #E7ADE7; } -.addon-view[active="false"], .addon-view[active="false"] .name-container { color: #E7ADE7; + color: #000000; } .addon-view[notification="warning"] { @@ -765,8 +757,8 @@ #detail-view[loading-extended] .loading { opacity: 1; - -moz-transition-property: opacity; - -moz-transition-duration: 1s; + transition-property: opacity; + transition-duration: 1s; } .detail-view-container { @@ -785,9 +777,13 @@ -moz-margin-start: 0; } -#detail-icon { +#detail-icon-container { + width: 64px; -moz-margin-end: 10px; margin-top: 6px; +} + +#detail-icon { max-width: 64px; max-height: 64px; } @@ -806,6 +802,16 @@ max-height: 300px; } +#detail-screenshot[loading] { + background-image: url("chrome://communicator/skin/brand/throbber-anim.png"); + background-position: 50% 50%; + background-repeat: no-repeat; +} + +#detail-screenshot[loading="error"] { + background-image: url("chrome://global/skin/icons/alert-error.gif"); +} + #detail-desc-container { margin-bottom: 2em; } @@ -851,22 +857,26 @@ } #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"] { +.detail-row-complex[first-row="true"], +setting[first-row="true"] { border-top: none; } .detail-row, -.detail-row-complex { +.detail-row-complex, +setting { border-top: 1px solid #9C9CFF; -moz-box-align: center; -} - -.detail-row-value { - -moz-margin-start: 0; + min-height: 30px; } #detail-controls { @@ -877,6 +887,39 @@ /* background-color: foo; */ } +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; +} + +.preferences-description:empty { + display: none; +} + +setting[type="radio"] > radiogroup { + -moz-box-orient: horizontal; +} + +menulist { /* Fixes some styling inconsistencies */ + margin: 1px 5px 2px 5px; +} + /*** creator ***/ .creator > label { @@ -892,7 +935,6 @@ /*** rating ***/ .meta-rating { - -moz-margin-start: 0; -moz-margin-end: 0; padding-top: 2px; } @@ -1020,16 +1062,51 @@ /*** buttons ***/ -.addon-control[disabled="true"] { +.addon-control[disabled="true"]:not(.no-auto-hide) { display: none; } -.button-link { +.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; } + +/* 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; +}