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: %include ../../global/shared.inc michael@0: michael@0: @namespace html url("http://www.w3.org/1999/xhtml"); 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: color: #916D15; michael@0: font-weight: bold; michael@0: } michael@0: michael@0: .global-warning, michael@0: .global-warning .button-link { michael@0: text-shadow: @loweredShadow@; 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: min-height: 31px; michael@0: border-bottom: 1px solid rgba(50, 65, 92, 0.4); 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: .global-warning .warning-icon { michael@0: background-color: rgba(255, 255, 255, 0.7); michael@0: box-shadow: 0px 0px 2px 4px rgba(255, 255, 255, 0.7); michael@0: border-radius: 10px; michael@0: } michael@0: } michael@0: michael@0: /*** global informations ***/ michael@0: #addons-page .global-info-container { michael@0: background-color: #e3e6eb; michael@0: border-top-right-radius: 5px; michael@0: border-top-left-radius: 5px; 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("chrome://mozapps/skin/extensions/alerticon-warning.png"); michael@0: width: 16px; michael@0: height: 15px; michael@0: margin: 3px 0; michael@0: } michael@0: michael@0: .error-icon { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.png"); michael@0: width: 16px; michael@0: height: 15px; michael@0: margin: 3px 0; michael@0: } michael@0: michael@0: .pending-icon, michael@0: .info-icon { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.png"); michael@0: width: 16px; michael@0: height: 15px; michael@0: margin: 3px 0; michael@0: } michael@0: michael@0: .addon-view[pending="disable"] .pending-icon, michael@0: .addon-view[pending="uninstall"] .pending-icon { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); michael@0: width: 16px; michael@0: height: 15px; michael@0: margin: 3px 0; michael@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: color: #373D48; michael@0: font-size: 12px; michael@0: border: 1px solid #A8B8D1; michael@0: border-radius: 8px; michael@0: background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(236, 241, 247, 0.7)); michael@0: background-clip: padding-box; michael@0: box-shadow: 0 -3px 0 rgba(58, 78, 103, 0.05) inset, michael@0: 0 3px 0 rgba(175, 195, 220, 0.3); 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: 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: 31px; michael@0: } michael@0: michael@0: .category { michael@0: -moz-appearance: none; michael@0: color: #252F3B; michael@0: border-width: 1px; 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: } 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: rgba(255, 255, 255, 0.35); michael@0: color: -moz-dialogtext; michael@0: border-color: rgba(50, 65, 92, 0.4); michael@0: -moz-border-end-color: #C9CFD7; 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: #55D4FF; michael@0: padding: 2px 8px; michael@0: margin: 6px 0; michael@0: border-radius: 10000px; michael@0: color: #FFF; 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: list-style-image: url(chrome://mozapps/skin/extensions/navigation.png); michael@0: } michael@0: michael@0: #back-btn:-moz-locale-dir(ltr), michael@0: #forward-btn:-moz-locale-dir(rtl) { michael@0: border-top-right-radius: 0; michael@0: border-bottom-right-radius: 0; michael@0: border-right: none; michael@0: -moz-image-region: rect(0, 20px, 20px, 0); michael@0: padding-right: 3px; michael@0: } michael@0: michael@0: #back-btn:-moz-locale-dir(rtl), michael@0: #forward-btn:-moz-locale-dir(ltr) { michael@0: border-top-left-radius: 0; michael@0: border-bottom-left-radius: 0; michael@0: -moz-image-region: rect(0, 40px, 20px, 20px); michael@0: padding-left: 3px; michael@0: } michael@0: michael@0: #header-utils-btn { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); michael@0: -moz-margin-end: 18px; michael@0: } michael@0: michael@0: #header-utils-btn > .toolbarbutton-menu-dropmarker { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/toolbarbutton-dropmarker.png"); michael@0: padding: 0; michael@0: -moz-margin-start: 2px; michael@0: } michael@0: michael@0: #header-search { michael@0: margin: 0; michael@0: -moz-appearance: none; michael@0: padding: 3px 5px 2px; michael@0: border: 1px solid rgba(60,73,97,0.5); michael@0: border-radius: 10000px; michael@0: box-shadow: inset 0 1px 1px rgba(0,0,0,0.15), 0 1px rgba(255,255,255,0.25); michael@0: background: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.3)); michael@0: background-clip: padding-box; 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: #header-search[focused] { michael@0: box-shadow: @focusRingShadow@, inset 0 1px 1px rgba(0,0,0,0.15); michael@0: border-color: -moz-mac-focusring; michael@0: } michael@0: michael@0: #header-search > .textbox-input-box { michael@0: -moz-padding-start: 15px; michael@0: background: url("chrome://mozapps/skin/extensions/search.png") left no-repeat; michael@0: } michael@0: michael@0: #header-search > .textbox-input-box:-moz-locale-dir(rtl) { michael@0: background-position: right; michael@0: } michael@0: michael@0: #header-search > .textbox-input-box > html|*.textbox-input::-moz-placeholder { michael@0: color: #5C6470; michael@0: opacity: 1.0; michael@0: } michael@0: michael@0: .view-header { michael@0: padding: 4px; michael@0: margin: 0; michael@0: min-height: 31px; michael@0: border-bottom: 1px solid rgba(50, 65, 92, 0.4); michael@0: background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)); 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 { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: color: #41434B; michael@0: background-color: transparent; michael@0: border-radius: 10000px; michael@0: padding: 0 6px; michael@0: margin: 0 6px; michael@0: min-width: 12px !important; michael@0: -moz-box-direction: reverse; michael@0: } michael@0: michael@0: .sorter[checkState="1"], michael@0: .sorter[checkState="2"], michael@0: .sorter:active:hover { michael@0: text-shadow: @loweredShadow@; michael@0: background-color: #C0C3CB; michael@0: box-shadow: inset #A3A6AC 0 1px 1px, @loweredShadow@; michael@0: } michael@0: michael@0: .sorter:hover { michael@0: text-shadow: @loweredShadow@; michael@0: background-color: #C0C3CB; michael@0: } michael@0: michael@0: .sorter[checkState="1"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); michael@0: } michael@0: michael@0: .sorter[checkState="2"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); michael@0: } michael@0: michael@0: .sorter .button-icon { michael@0: -moz-margin-start: 4px; 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 #B6B1B9; michael@0: padding: 5px; michael@0: color: #373D48; 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: color: #000; michael@0: text-shadow: @loweredShadow@; 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: .creator .text-link { michael@0: color: #0066CC; michael@0: } michael@0: michael@0: .description-container { michael@0: margin-top: 8px; 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: font-weight: bold; michael@0: text-shadow: @loweredShadow@; 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: .update-info-container { michael@0: -moz-box-align: center; michael@0: } michael@0: michael@0: .advancedinfo-container, 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 .warning { michael@0: color: #916D15; michael@0: } michael@0: michael@0: .addon-view .error { michael@0: color: #864441; michael@0: } michael@0: michael@0: .addon-view .pending { michael@0: color: #1B7123; michael@0: } michael@0: michael@0: .addon-view[pending="disable"] .pending, michael@0: .addon-view[pending="uninstall"] .pending { michael@0: color: #62666E; michael@0: } michael@0: michael@0: .addon-view[notification="warning"] { michael@0: background-image: linear-gradient(rgba(255, 255, 0, 0.2), rgba(255, 255, 0, 0.1)); michael@0: } michael@0: michael@0: .addon-view[notification="error"] { michael@0: background-image: linear-gradient(rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1)); michael@0: } michael@0: michael@0: .addon-view[notification="info"] { michael@0: background-image: linear-gradient(rgba(0, 0, 255, 0.2), rgba(0, 0, 255, 0.1)); 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: linear-gradient(rgba(0, 255, 0, 0.2), rgba(0, 255, 0, 0.1)); michael@0: } michael@0: michael@0: .addon-view[pending="disable"], michael@0: .addon-view[pending="uninstall"] { michael@0: background-image: linear-gradient(rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0.1)); 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: -moz-box-direction: reverse; michael@0: cursor: pointer; michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); michael@0: } michael@0: michael@0: .addon .relnotes-toggle > .button-box > .button-icon { michael@0: -moz-padding-start: 4px; michael@0: } michael@0: michael@0: .addon[show-relnotes] .relnotes-toggle { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); michael@0: } michael@0: michael@0: .addon[active="false"] { michael@0: background-color: rgba(135, 135, 135, 0.1); michael@0: background-image: linear-gradient(rgba(135, 135, 135, 0), michael@0: rgba(135, 135, 135, 0.1)); michael@0: } michael@0: michael@0: .addon-view[active="false"], michael@0: .addon-view[active="false"] .name-container { michael@0: color: #686A6B; 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[selected] { michael@0: background-color: rgba(105, 125, 149, 0.39); michael@0: color: black; michael@0: } michael@0: michael@0: .addon[selected] .name-container { michael@0: text-shadow: @loweredShadow@; michael@0: } michael@0: michael@0: .addon[active="false"][selected] .name-container { michael@0: color: #3F3F3F; 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 rgba(50, 65, 92, 0.4); michael@0: } michael@0: michael@0: #search-filter-label { michael@0: font-weight: bold; michael@0: color: #666; michael@0: } michael@0: michael@0: .search-filter-radio { michael@0: -moz-appearance: none; michael@0: padding: 0 10px; michael@0: margin: 0 3px; michael@0: border-radius: 10000px; michael@0: } michael@0: michael@0: .search-filter-radio[selected] { michael@0: text-shadow: @loweredShadow@; michael@0: background-color: #C0C3CB; michael@0: box-shadow: inset #A3A6AC 0 1px 1px, @loweredShadow@; michael@0: } michael@0: michael@0: .search-filter-radio:hover { michael@0: text-shadow: @loweredShadow@; michael@0: background-color: #C0C3CB; michael@0: } michael@0: michael@0: .search-filter-radio .radio-check { michael@0: display: none; michael@0: } michael@0: michael@0: .search-filter-radio .radio-icon { michael@0: display: none; 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 .loading { michael@0: opacity: 0; michael@0: } michael@0: michael@0: #detail-view[loading-extended] .loading { 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: margin-top: 6px; 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: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); michael@0: background-position: 50% 50%; michael@0: background-repeat: no-repeat; michael@0: border-radius: 3px; michael@0: } michael@0: michael@0: #detail-screenshot[loading="error"] { michael@0: background-image: url("chrome://global/skin/media/error.png"), michael@0: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); 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 rgba(50, 65, 92, 0.3); michael@0: margin-bottom: 2em; michael@0: padding: 1em; michael@0: background-color: rgba(255, 255, 255, 0.35); michael@0: } michael@0: michael@0: #detail-contrib-description { michael@0: font-style: italic; michael@0: margin-bottom: 1em; michael@0: color: #373D48; michael@0: } michael@0: michael@0: #detail-contrib-suggested { michael@0: color: grey; michael@0: font-weight: bold; michael@0: } michael@0: michael@0: #detail-contrib-btn { michael@0: -moz-appearance: none; michael@0: color: #FFF; michael@0: border: 1px solid #3A4EEE; michael@0: border-radius: 3px; michael@0: list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); michael@0: background-color: #2F73EF; michael@0: background-image: linear-gradient(rgba(251, 252, 253, 0.70), rgba(246, 247, 248, 0.27) 49%, michael@0: rgba(231, 232, 233, 0.25) 51%, rgba(225, 226, 229, 0.1)); michael@0: } michael@0: michael@0: #detail-contrib-btn .button-box { michael@0: padding: 0 6px 1px 6px; michael@0: } michael@0: michael@0: #detail-contrib-btn .button-icon { michael@0: -moz-margin-end: 3px; michael@0: } michael@0: michael@0: #detail-contrib-btn:not(:active):hover { michael@0: border-color: #4271FF; michael@0: background-color: #0459F7; michael@0: box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), michael@0: 0 0 3.5px hsl(190, 90%, 80%); michael@0: transition: background-color .4s ease-in, michael@0: border-color .3s ease-in, michael@0: box-shadow .3s ease-in; michael@0: } michael@0: michael@0: #detail-contrib-btn:active:hover { michael@0: background-color: #8FA1C1; michael@0: border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5); michael@0: box-shadow: 0 0 6.5px rgba(0, 0, 0, 0.4) inset, michael@0: 0 0 2px rgba(0, 0, 0, 0.4) inset; 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: 2px solid; michael@0: -moz-border-top-colors: rgba(28, 31, 37, 0.2) rgba(255, 255, 255, 0.2); michael@0: -moz-box-align: center; michael@0: min-height: 30px; 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: 30px; 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: setting[type="radio"] > radiogroup { michael@0: -moz-box-orient: horizontal; michael@0: } 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: margin-top: 2px; michael@0: } michael@0: michael@0: .meta-rating > .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 > .star[on="true"] { michael@0: list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); michael@0: } michael@0: michael@0: michael@0: /*** download progress ***/ michael@0: michael@0: .download-progress { michael@0: background-image: linear-gradient(#DCDEE3, #CBCED6); michael@0: border: 1px solid #858898; michael@0: border-radius: 3px; michael@0: box-shadow: inset #E3E8EC 0 1px 1px, @loweredShadow@; michael@0: width: 200px; michael@0: height: 21px; michael@0: margin: 0 8px; michael@0: } michael@0: michael@0: .download-progress[mode="undetermined"] .progress { michael@0: -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); michael@0: } michael@0: michael@0: .download-progress[mode="undetermined"] { michael@0: border-color: #2E773A; michael@0: } michael@0: michael@0: .download-progress[mode="undetermined"] .status-container { michael@0: padding: 0 2px; michael@0: } michael@0: michael@0: .download-progress .start-cap, michael@0: .download-progress[complete] .end-cap, michael@0: .download-progress[mode="undetermined"] .end-cap, michael@0: .download-progress .progress .progress-bar { michael@0: -moz-appearance: none; michael@0: background-image: linear-gradient(#6AC47E, #4FAC6A); michael@0: margin-top: -1px; michael@0: margin-bottom: -1px; michael@0: border: 1px solid #2E773A; michael@0: } michael@0: michael@0: .download-progress .start-cap { michael@0: -moz-margin-start: -1px; michael@0: -moz-border-end-width: 0; michael@0: } michael@0: michael@0: .download-progress .end-cap { michael@0: -moz-margin-end: -1px; michael@0: -moz-border-start-width: 0px !important; michael@0: } michael@0: michael@0: .download-progress .progress .progress-bar { michael@0: border-left-width: 0; michael@0: border-right-width: 0; michael@0: min-height: 21px; michael@0: } michael@0: michael@0: .download-progress .progress { michael@0: -moz-appearance: none; michael@0: background-color: transparent; michael@0: padding: 0; michael@0: margin: 0; michael@0: border: none; michael@0: } michael@0: michael@0: .download-progress .start-cap, michael@0: .download-progress .end-cap { michael@0: width: 4px; michael@0: } michael@0: michael@0: .download-progress .start-cap:-moz-locale-dir(ltr), michael@0: .download-progress .end-cap:-moz-locale-dir(rtl) { michael@0: border-radius: 3px 0 0 3px; michael@0: } michael@0: michael@0: .download-progress .end-cap:-moz-locale-dir(ltr), michael@0: .download-progress .start-cap:-moz-locale-dir(rtl) { michael@0: border-radius: 0 3px 3px 0; michael@0: } michael@0: michael@0: .download-progress .cancel { michael@0: -moz-appearance: none; michael@0: background-color: rgba(255, 255, 255, 0.15); michael@0: border: 1px solid rgba(0, 0, 0, 0.4); michael@0: padding: 3px; michael@0: border-radius: 3px; michael@0: min-width: 0; michael@0: margin: 3px; michael@0: } michael@0: michael@0: .download-progress .cancel .button-text { michael@0: display: none; michael@0: } michael@0: michael@0: .download-progress .cancel .button-icon { michael@0: -moz-margin-start: 0; 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: .download-progress .status { michael@0: text-shadow: @loweredShadow@; 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: color: #3C735C; 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: button.button-link { michael@0: -moz-appearance: none; michael@0: background: transparent; michael@0: border: none; michael@0: box-shadow: none; michael@0: text-decoration: underline; michael@0: color: #0066CC; michael@0: cursor: pointer; michael@0: min-width: 0; michael@0: margin: 0 6px; michael@0: } michael@0: michael@0: .text-link { michael@0: color: #3386D5; michael@0: } michael@0: michael@0: .button-link:hover, michael@0: .text-link:hover { michael@0: color: #3DA1FF; michael@0: } michael@0: michael@0: /* Needed to override normal button style from inContent.css */ michael@0: button.button-link:not([disabled="true"]):active:hover { michael@0: background: transparent; michael@0: border: none; michael@0: box-shadow: none; michael@0: } michael@0: michael@0: .header-button { michael@0: -moz-appearance: none; michael@0: padding: 0 4px; michael@0: margin: 0; michael@0: height: 22px; michael@0: border: 1px solid rgba(60,73,97,0.5); michael@0: border-radius: @toolbarbuttonCornerRadius@; michael@0: box-shadow: inset 0 1px rgba(255,255,255,0.25), 0 1px rgba(255,255,255,0.25); michael@0: background: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0)); michael@0: background-clip: padding-box; michael@0: } michael@0: michael@0: .header-button .toolbarbutton-text { michael@0: display: none; michael@0: } michael@0: michael@0: .header-button[disabled="true"] .toolbarbutton-icon { michael@0: opacity: 0.4; michael@0: } michael@0: michael@0: .header-button:not([disabled="true"]):active:hover, michael@0: .header-button[open="true"] { michael@0: border-color: rgba(45,54,71,0.7); michael@0: box-shadow: inset 0 0 4px rgb(45,54,71), 0 1px rgba(255,255,255,0.25); michael@0: background-image: linear-gradient(rgba(45,54,71,0.6), rgba(45,54,71,0)); 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: }