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: html, michael@0: body { michael@0: margin: 0; michael@0: padding: 0; michael@0: background-color: #ced7de; michael@0: -moz-user-select: none; michael@0: font-family: "Segoe UI", sans-serif; michael@0: -moz-text-size-adjust: none; michael@0: } michael@0: michael@0: .toolbar { michael@0: width: 100%; michael@0: height: 3em; michael@0: position: fixed; michael@0: top: 0; michael@0: left: 0; michael@0: z-index: 10; michael@0: box-shadow: 0 0 3px #444; michael@0: background-color: #ced7de; michael@0: color: #000000; michael@0: font-weight: bold; michael@0: border-bottom: 2px solid; michael@0: -moz-border-bottom-colors: #ff9100 #f27900; michael@0: } michael@0: michael@0: .toolbar-container { michael@0: max-width: 40em; michael@0: margin-left: auto; michael@0: margin-right: auto; michael@0: } michael@0: michael@0: #filter-container { michael@0: margin-top: 0.5em; michael@0: margin-bottom: 0.5em; michael@0: margin-right: 0.5em; michael@0: height: 2em; michael@0: border: 1px solid transparent; michael@0: border-image-source: url("chrome://browser/skin/images/textfield.png"); michael@0: border-image-slice: 1 1 3 1; michael@0: border-image-width: 1px 1px 3px 1px; michael@0: overflow: hidden; michael@0: display: flex; michael@0: flex-direction: row; michael@0: } michael@0: michael@0: #filter-input { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: background-image: none; michael@0: background-color: transparent; michael@0: display: inline-block; michael@0: width: 12em; michael@0: min-width: 0; michael@0: color: #000000; michael@0: opacity: 1; michael@0: flex: 1 1 auto; michael@0: } michael@0: michael@0: #filter-input:-moz-placeholder { michael@0: color: rgba(255,255,255,0.5); michael@0: } michael@0: michael@0: .toolbar input { michael@0: display: inline-block; michael@0: height: 100%; michael@0: min-width: 3em; michael@0: box-sizing: border-box; michael@0: opacity: 0.75; michael@0: } michael@0: michael@0: #new-pref-toggle-button { michael@0: background-position: center center; michael@0: background-image: url("chrome://browser/skin/images/reader-plus-icon-xhdpi.png"); michael@0: background-size: 48px 48px; michael@0: height: 48px; michael@0: width: 48px; michael@0: display: inline-block; michael@0: outline-style: none; michael@0: } michael@0: michael@0: #filter-search-button { michael@0: background-image: url("chrome://browser/skin/images/search.png"); michael@0: background-size: 32px 32px; michael@0: height: 32px; michael@0: width: 32px; michael@0: display: inline-block; michael@0: outline-style: none; michael@0: } michael@0: michael@0: #filter-input-clear-button { michael@0: background-image: url("chrome://browser/skin/images/search-clear-30.png"); michael@0: background-size: 32px 32px; michael@0: height: 32px; michael@0: width: 32px; michael@0: display: inline-block; michael@0: outline-style: none; michael@0: } michael@0: michael@0: #filter-input[value=""] + #filter-input-clear-button { michael@0: display: none; michael@0: } michael@0: michael@0: .toolbar-item { michael@0: display: inline-block; michael@0: height: 3em; michael@0: min-width: 3em; michael@0: float: right; michael@0: } michael@0: michael@0: #content { michael@0: position: relative; michael@0: margin: 0; michael@0: margin-left: auto; michael@0: margin-right: auto; michael@0: padding-top: 3em; michael@0: padding-left: 0; michael@0: padding-right: 0; michael@0: min-height: 100%; michael@0: max-width: 40em; michael@0: } michael@0: michael@0: ul { michael@0: list-style-position: inside; michael@0: border: 1px solid #808080; michael@0: background-color: #ffffff; michael@0: min-height: 100%; michael@0: width: 100%; michael@0: padding-top: 0; michael@0: margin: 0; michael@0: padding-left: 0; michael@0: box-sizing: border-box; michael@0: box-shadow: 0 0 5px #000000; michael@0: overflow-x: hidden; michael@0: } michael@0: michael@0: #new-pref-container { michael@0: width: 100%; michael@0: margin: 0; michael@0: background-color: #ffffff; michael@0: box-sizing: border-box; michael@0: box-shadow: 0 0 5px #000000; michael@0: overflow-x: hidden; michael@0: max-width: 40em; michael@0: max-height: 100%; michael@0: position: fixed; michael@0: top: 3em; michael@0: left: auto; michael@0: display: none; michael@0: z-index: 5; michael@0: } michael@0: michael@0: #new-pref-container input, michael@0: #new-pref-container select { michael@0: border: none; michael@0: background-image: none; michael@0: } michael@0: michael@0: #new-pref-container.show { michael@0: display: block; michael@0: } michael@0: michael@0: li { michael@0: list-style-type: none; michael@0: border-bottom: 1px solid #d3d3d3; michael@0: opacity: 1; michael@0: background-color: #ffffff; michael@0: cursor: pointer; michael@0: } michael@0: michael@0: #new-pref-line-boolean, michael@0: #new-pref-value-string, michael@0: #new-pref-value-int { michael@0: display: none; michael@0: } michael@0: #new-pref-item[typestyle="boolean"] #new-pref-line-boolean, michael@0: #new-pref-item[typestyle="string"] #new-pref-value-string, michael@0: #new-pref-item[typestyle="int"] #new-pref-value-int { michael@0: display: block; michael@0: } michael@0: michael@0: .pref-name, michael@0: .pref-value { michael@0: padding: 15px 10px; michael@0: text-align: left; michael@0: text-overflow: ellipsis; michael@0: overflow: hidden; michael@0: background-image: none; michael@0: } michael@0: michael@0: .pref-value { michael@0: color: rgba(0,0,0,0.5); michael@0: flex: 1 1 auto; michael@0: border: none; michael@0: -moz-appearance: none; michael@0: background-image: none; michael@0: background-color: transparent; michael@0: } michael@0: michael@0: .pref-name[locked] { michael@0: padding-right: 20px; michael@0: background-image: url("chrome://browser/skin/images/lock.png"); michael@0: background-repeat: no-repeat; michael@0: background-position: right 50%; michael@0: background-size: auto 60%; michael@0: } michael@0: michael@0: #new-pref-name { michael@0: width: 30em; michael@0: } michael@0: michael@0: #new-pref-type { michael@0: display: inline-block !important; michael@0: border-left: 1px solid #d3d3d3; michael@0: width: 10em; michael@0: text-align: right; michael@0: } michael@0: michael@0: .pref-item-line { michael@0: border-top: 1px solid rgba(0,0,0,0.05); michael@0: color: rgba(0,0,0,0.5); michael@0: display: flex; michael@0: flex-direction: row; michael@0: } michael@0: michael@0: #new-pref-value-boolean { michael@0: flex: 1 1 auto; michael@0: } michael@0: michael@0: /* Disable newPref dialog spinbuttons, use custom version from Android */ michael@0: /* Filed Bug 962359 to enhance the default spinbutton style to be touch-friendly */ michael@0: #new-pref-value-int { michael@0: -moz-appearance: textfield; michael@0: } michael@0: michael@0: #new-pref-container .pref-button.toggle { michael@0: display: inline-block; michael@0: opacity: 1; michael@0: flex: 0 1 auto; michael@0: float: right; michael@0: } michael@0: michael@0: #new-pref-container .pref-button.cancel, michael@0: #new-pref-container .pref-button.create { michael@0: display: inline-block; michael@0: opacity: 1; michael@0: flex: 1 1 auto; michael@0: } michael@0: michael@0: .pref-item-line { michael@0: pointer-events: none; michael@0: } michael@0: michael@0: #new-pref-container .pref-item-line, michael@0: .pref-item.selected .pref-item-line, michael@0: .pref-item:not(.selected) .pref-button.reset { michael@0: pointer-events: auto; michael@0: } michael@0: michael@0: #new-pref-container .pref-button.create[disabled] { michael@0: color: #d3d3d3; michael@0: } michael@0: michael@0: .pref-item.selected { michael@0: background-color: rgba(0,0,255,0.05); michael@0: } michael@0: michael@0: .pref-button { michael@0: display: inline-block; michael@0: box-sizing: border-box; michael@0: text-align: center; michael@0: padding: 10px 1em; michael@0: border-left: 1px solid rgba(0,0,0,0.1); michael@0: opacity: 0; michael@0: transition-property: opacity; michael@0: transition-duration: 500ms; michael@0: } michael@0: michael@0: .pref-item.selected .pref-item-line .pref-button { michael@0: opacity: 1; michael@0: } michael@0: michael@0: .pref-item:not(.selected) .pref-item-line .pref-button:not(.reset) { michael@0: display: none; michael@0: } michael@0: michael@0: .pref-item:not(.selected) .pref-button.reset { michael@0: opacity: 1; michael@0: } michael@0: michael@0: /* Disable detail list item spinbuttons, use custom version from Android */ michael@0: /* Filed Bug 962359 to enhance the default spinbutton style to be touch-friendly */ michael@0: .pref-item input[type="number"] { michael@0: -moz-appearance: textfield; michael@0: } michael@0: michael@0: .pref-button:active { michael@0: background-color: rgba(0,0,255,0.2); michael@0: } michael@0: michael@0: .pref-button[disabled] { michael@0: display: none; michael@0: } michael@0: michael@0: .pref-button.up { michael@0: background-image: url("chrome://browser/skin/images/arrowup-16.png"); michael@0: background-position: center center; michael@0: background-repeat: no-repeat; michael@0: } michael@0: michael@0: .pref-button.down { michael@0: background-image: url("chrome://browser/skin/images/arrowdown-16.png"); michael@0: background-position: center center; michael@0: background-repeat: no-repeat; michael@0: } michael@0: michael@0: #prefs-shield { michael@0: width: 100%; michael@0: height: 100%; michael@0: background-color: rgba(0,0,0,0.5); michael@0: position: fixed; michael@0: top: 0; michael@0: left: 0; michael@0: opacity: 0; michael@0: transition-property: opacity; michael@0: transition-duration: 500ms; michael@0: display: none; michael@0: } michael@0: michael@0: #prefs-shield[shown] { michael@0: display: block; michael@0: opacity: 1; michael@0: } michael@0: michael@0: #loading-container > li { michael@0: background-image: url(chrome://global/skin/media/throbber.png); michael@0: background-position: center center; michael@0: background-repeat: no-repeat; michael@0: padding-left: 40px; michael@0: height: 3em; michael@0: width: 100%; michael@0: }