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