michael@0: /* Copyright 2012 Mozilla Foundation michael@0: * michael@0: * Licensed under the Apache License, Version 2.0 (the "License"); michael@0: * you may not use this file except in compliance with the License. michael@0: * You may obtain a copy of the License at michael@0: * michael@0: * http://www.apache.org/licenses/LICENSE-2.0 michael@0: * michael@0: * Unless required by applicable law or agreed to in writing, software michael@0: * distributed under the License is distributed on an "AS IS" BASIS, michael@0: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. michael@0: * See the License for the specific language governing permissions and michael@0: * limitations under the License. michael@0: */ michael@0: michael@0: * { michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: html { michael@0: height: 100%; michael@0: /* Font size is needed to make the activity bar the correct size. */ michael@0: font-size: 10px; michael@0: } michael@0: michael@0: body { michael@0: height: 100%; michael@0: background-color: #404040; michael@0: background-image: url(images/texture.png); michael@0: } michael@0: michael@0: body, michael@0: input, michael@0: button, michael@0: select { michael@0: font: message-box; michael@0: outline: none; michael@0: } michael@0: michael@0: .hidden { michael@0: display: none !important; michael@0: } michael@0: [hidden] { michael@0: display: none !important; michael@0: } michael@0: michael@0: #viewerContainer:-moz-full-screen { michael@0: top: 0px; michael@0: border-top: 2px solid transparent; michael@0: background-color: #000; michael@0: width: 100%; michael@0: height: 100%; michael@0: overflow: hidden; michael@0: cursor: none; michael@0: } michael@0: michael@0: #viewerContainer:fullscreen { michael@0: top: 0px; michael@0: border-top: 2px solid transparent; michael@0: background-color: #000; michael@0: width: 100%; michael@0: height: 100%; michael@0: overflow: hidden; michael@0: cursor: none; michael@0: } michael@0: michael@0: :-moz-full-screen .page { michael@0: margin-bottom: 100%; michael@0: border: 0; michael@0: } michael@0: michael@0: :fullscreen .page { michael@0: margin-bottom: 100%; michael@0: border: 0; michael@0: } michael@0: michael@0: :-moz-full-screen a:not(.internalLink) { michael@0: display: none; michael@0: } michael@0: michael@0: :fullscreen a:not(.internalLink) { michael@0: display: none; michael@0: } michael@0: michael@0: :-moz-full-screen .textLayer > div { michael@0: cursor: none; michael@0: } michael@0: michael@0: :fullscreen .textLayer > div { michael@0: cursor: none; michael@0: } michael@0: michael@0: #viewerContainer.presentationControls, michael@0: #viewerContainer.presentationControls .textLayer > div { michael@0: cursor: default; michael@0: } michael@0: michael@0: /* outer/inner center provides horizontal center */ michael@0: .outerCenter { michael@0: pointer-events: none; michael@0: position: relative; michael@0: } michael@0: html[dir='ltr'] .outerCenter { michael@0: float: right; michael@0: right: 50%; michael@0: } michael@0: html[dir='rtl'] .outerCenter { michael@0: float: left; michael@0: left: 50%; michael@0: } michael@0: .innerCenter { michael@0: pointer-events: auto; michael@0: position: relative; michael@0: } michael@0: html[dir='ltr'] .innerCenter { michael@0: float: right; michael@0: right: -50%; michael@0: } michael@0: html[dir='rtl'] .innerCenter { michael@0: float: left; michael@0: left: -50%; michael@0: } michael@0: michael@0: #outerContainer { michael@0: width: 100%; michael@0: height: 100%; michael@0: position: relative; michael@0: } michael@0: michael@0: #sidebarContainer { michael@0: position: absolute; michael@0: top: 0; michael@0: bottom: 0; michael@0: width: 200px; michael@0: visibility: hidden; michael@0: transition-duration: 200ms; michael@0: transition-timing-function: ease; michael@0: michael@0: } michael@0: html[dir='ltr'] #sidebarContainer { michael@0: transition-property: left; michael@0: left: -200px; michael@0: } michael@0: html[dir='rtl'] #sidebarContainer { michael@0: transition-property: right; michael@0: right: -200px; michael@0: } michael@0: michael@0: #outerContainer.sidebarMoving > #sidebarContainer, michael@0: #outerContainer.sidebarOpen > #sidebarContainer { michael@0: visibility: visible; michael@0: } michael@0: html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer { michael@0: left: 0px; michael@0: } michael@0: html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer { michael@0: right: 0px; michael@0: } michael@0: michael@0: #mainContainer { michael@0: position: absolute; michael@0: top: 0; michael@0: right: 0; michael@0: bottom: 0; michael@0: left: 0; michael@0: min-width: 320px; michael@0: transition-duration: 200ms; michael@0: transition-timing-function: ease; michael@0: } michael@0: html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { michael@0: transition-property: left; michael@0: left: 200px; michael@0: } michael@0: html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { michael@0: transition-property: right; michael@0: right: 200px; michael@0: } michael@0: michael@0: #sidebarContent { michael@0: top: 32px; michael@0: bottom: 0; michael@0: overflow: auto; michael@0: position: absolute; michael@0: width: 200px; michael@0: background-color: hsla(0,0%,0%,.1); michael@0: } michael@0: html[dir='ltr'] #sidebarContent { michael@0: left: 0; michael@0: box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25); michael@0: } michael@0: html[dir='rtl'] #sidebarContent { michael@0: right: 0; michael@0: box-shadow: inset 1px 0 0 hsla(0,0%,0%,.25); michael@0: } michael@0: michael@0: #viewerContainer { michael@0: overflow: auto; michael@0: position: absolute; michael@0: top: 32px; michael@0: right: 0; michael@0: bottom: 0; michael@0: left: 0; michael@0: outline: none; michael@0: } michael@0: html[dir='ltr'] #viewerContainer { michael@0: box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05); michael@0: } michael@0: html[dir='rtl'] #viewerContainer { michael@0: box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05); michael@0: } michael@0: michael@0: .toolbar { michael@0: position: relative; michael@0: left: 0; michael@0: right: 0; michael@0: z-index: 9999; michael@0: cursor: default; michael@0: } michael@0: michael@0: #toolbarContainer { michael@0: width: 100%; michael@0: } michael@0: michael@0: #toolbarSidebar { michael@0: width: 200px; michael@0: height: 32px; michael@0: background-color: #424242; /* fallback */ michael@0: background-image: url(images/texture.png), michael@0: linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95)); michael@0: } michael@0: html[dir='ltr'] #toolbarSidebar { michael@0: box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25), michael@0: inset 0 -1px 0 hsla(0,0%,100%,.05), michael@0: 0 1px 0 hsla(0,0%,0%,.15), michael@0: 0 0 1px hsla(0,0%,0%,.1); michael@0: } michael@0: html[dir='rtl'] #toolbarSidebar { michael@0: box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25), michael@0: inset 0 1px 0 hsla(0,0%,100%,.05), michael@0: 0 1px 0 hsla(0,0%,0%,.15), michael@0: 0 0 1px hsla(0,0%,0%,.1); michael@0: } michael@0: michael@0: #toolbarContainer, .findbar, .secondaryToolbar { michael@0: position: relative; michael@0: height: 32px; michael@0: background-color: #474747; /* fallback */ michael@0: background-image: url(images/texture.png), michael@0: linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95)); michael@0: } michael@0: html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar { michael@0: box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08), michael@0: inset 0 1px 1px hsla(0,0%,0%,.15), michael@0: inset 0 -1px 0 hsla(0,0%,100%,.05), michael@0: 0 1px 0 hsla(0,0%,0%,.15), michael@0: 0 1px 1px hsla(0,0%,0%,.1); michael@0: } michael@0: html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar { michael@0: box-shadow: inset -1px 0 0 hsla(0,0%,100%,.08), michael@0: inset 0 1px 1px hsla(0,0%,0%,.15), michael@0: inset 0 -1px 0 hsla(0,0%,100%,.05), michael@0: 0 1px 0 hsla(0,0%,0%,.15), michael@0: 0 1px 1px hsla(0,0%,0%,.1); michael@0: } michael@0: michael@0: #toolbarViewer { michael@0: height: 32px; michael@0: } michael@0: michael@0: #loadingBar { michael@0: position: relative; michael@0: width: 100%; michael@0: height: 6px; michael@0: background-color: #333; michael@0: border-bottom: 1px solid #333; michael@0: } michael@0: michael@0: #loadingBar .progress { michael@0: position: absolute; michael@0: top: 0; michael@0: left: 0; michael@0: width: 0%; michael@0: height: 100%; michael@0: background-color: #ddd; michael@0: overflow: hidden; michael@0: transition: width 200ms; michael@0: } michael@0: michael@0: @keyframes progressIndeterminate { michael@0: 0% { left: 0%; } michael@0: 50% { left: 100%; } michael@0: 100% { left: 100%; } michael@0: } michael@0: michael@0: #loadingBar .progress.indeterminate { michael@0: background-color: #999; michael@0: transition: none; michael@0: } michael@0: michael@0: #loadingBar .indeterminate .glimmer { michael@0: position: absolute; michael@0: top: 0; michael@0: left: 0; michael@0: height: 100%; michael@0: width: 50px; michael@0: michael@0: background-image: linear-gradient(to right, #999 0%, #fff 50%, #999 100%); michael@0: background-size: 100% 100%; michael@0: background-repeat: no-repeat; michael@0: michael@0: animation: progressIndeterminate 2s linear infinite; michael@0: } michael@0: michael@0: .findbar, .secondaryToolbar { michael@0: top: 32px; michael@0: position: absolute; michael@0: z-index: 10000; michael@0: height: 32px; michael@0: michael@0: min-width: 16px; michael@0: padding: 0px 6px 0px 6px; michael@0: margin: 4px 2px 4px 2px; michael@0: color: hsl(0,0%,85%); michael@0: font-size: 12px; michael@0: line-height: 14px; michael@0: text-align: left; michael@0: cursor: default; michael@0: } michael@0: michael@0: html[dir='ltr'] .findbar { michael@0: left: 68px; michael@0: } michael@0: michael@0: html[dir='rtl'] .findbar { michael@0: right: 68px; michael@0: } michael@0: michael@0: .findbar label { michael@0: -moz-user-select: none; michael@0: } michael@0: michael@0: #findInput[data-status="pending"] { michael@0: background-image: url(images/loading-small.png); michael@0: background-repeat: no-repeat; michael@0: background-position: right; michael@0: } michael@0: michael@0: .secondaryToolbar { michael@0: padding: 6px; michael@0: height: auto; michael@0: z-index: 30000; michael@0: } michael@0: html[dir='ltr'] .secondaryToolbar { michael@0: right: 4px; michael@0: } michael@0: html[dir='rtl'] .secondaryToolbar { michael@0: left: 4px; michael@0: } michael@0: michael@0: #secondaryToolbarButtonContainer { michael@0: max-width: 200px; michael@0: max-height: 400px; michael@0: overflow-y: auto; michael@0: margin-bottom: -4px; michael@0: } michael@0: michael@0: .doorHanger, michael@0: .doorHangerRight { michael@0: border: 1px solid hsla(0,0%,0%,.5); michael@0: border-radius: 2px; michael@0: box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); michael@0: } michael@0: .doorHanger:after, .doorHanger:before, michael@0: .doorHangerRight:after, .doorHangerRight:before { michael@0: bottom: 100%; michael@0: border: solid transparent; michael@0: content: " "; michael@0: height: 0; michael@0: width: 0; michael@0: position: absolute; michael@0: pointer-events: none; michael@0: } michael@0: .doorHanger:after, michael@0: .doorHangerRight:after { michael@0: border-bottom-color: hsla(0,0%,32%,.99); michael@0: border-width: 8px; michael@0: } michael@0: .doorHanger:before, michael@0: .doorHangerRight:before { michael@0: border-bottom-color: hsla(0,0%,0%,.5); michael@0: border-width: 9px; michael@0: } michael@0: michael@0: html[dir='ltr'] .doorHanger:after, michael@0: html[dir='rtl'] .doorHangerRight:after { michael@0: left: 13px; michael@0: margin-left: -8px; michael@0: } michael@0: michael@0: html[dir='ltr'] .doorHanger:before, michael@0: html[dir='rtl'] .doorHangerRight:before { michael@0: left: 13px; michael@0: margin-left: -9px; michael@0: } michael@0: michael@0: html[dir='rtl'] .doorHanger:after, michael@0: html[dir='ltr'] .doorHangerRight:after { michael@0: right: 13px; michael@0: margin-right: -8px; michael@0: } michael@0: michael@0: html[dir='rtl'] .doorHanger:before, michael@0: html[dir='ltr'] .doorHangerRight:before { michael@0: right: 13px; michael@0: margin-right: -9px; michael@0: } michael@0: michael@0: #findMsg { michael@0: font-style: italic; michael@0: color: #A6B7D0; michael@0: } michael@0: michael@0: .notFound { michael@0: background-color: rgb(255, 137, 153); michael@0: } michael@0: michael@0: html[dir='ltr'] #toolbarViewerLeft { michael@0: margin-left: -1px; michael@0: } michael@0: html[dir='rtl'] #toolbarViewerRight { michael@0: margin-right: -1px; michael@0: } michael@0: michael@0: html[dir='ltr'] #toolbarViewerLeft, michael@0: html[dir='rtl'] #toolbarViewerRight { michael@0: position: absolute; michael@0: top: 0; michael@0: left: 0; michael@0: } michael@0: html[dir='ltr'] #toolbarViewerRight, michael@0: html[dir='rtl'] #toolbarViewerLeft { michael@0: position: absolute; michael@0: top: 0; michael@0: right: 0; michael@0: } michael@0: html[dir='ltr'] #toolbarViewerLeft > *, michael@0: html[dir='ltr'] #toolbarViewerMiddle > *, michael@0: html[dir='ltr'] #toolbarViewerRight > *, michael@0: html[dir='ltr'] .findbar > * { michael@0: position: relative; michael@0: float: left; michael@0: } michael@0: html[dir='rtl'] #toolbarViewerLeft > *, michael@0: html[dir='rtl'] #toolbarViewerMiddle > *, michael@0: html[dir='rtl'] #toolbarViewerRight > *, michael@0: html[dir='rtl'] .findbar > * { michael@0: position: relative; michael@0: float: right; michael@0: } michael@0: michael@0: html[dir='ltr'] .splitToolbarButton { michael@0: margin: 3px 2px 4px 0; michael@0: display: inline-block; michael@0: } michael@0: html[dir='rtl'] .splitToolbarButton { michael@0: margin: 3px 0 4px 2px; michael@0: display: inline-block; michael@0: } michael@0: html[dir='ltr'] .splitToolbarButton > .toolbarButton { michael@0: border-radius: 0; michael@0: float: left; michael@0: } michael@0: html[dir='rtl'] .splitToolbarButton > .toolbarButton { michael@0: border-radius: 0; michael@0: float: right; michael@0: } michael@0: michael@0: .toolbarButton, michael@0: .secondaryToolbarButton { michael@0: border: 0 none; michael@0: background-color: rgba(0, 0, 0, 0); michael@0: width: 32px; michael@0: height: 25px; michael@0: } michael@0: michael@0: .toolbarButton > span { michael@0: display: inline-block; michael@0: width: 0; michael@0: height: 0; michael@0: overflow: hidden; michael@0: } michael@0: michael@0: .toolbarButton[disabled], michael@0: .secondaryToolbarButton[disabled] { michael@0: opacity: .5; michael@0: } michael@0: michael@0: .toolbarButton.group { michael@0: margin-right: 0; michael@0: } michael@0: michael@0: .splitToolbarButton.toggled .toolbarButton { michael@0: margin: 0; michael@0: } michael@0: michael@0: .splitToolbarButton:hover > .toolbarButton, michael@0: .splitToolbarButton:focus > .toolbarButton, michael@0: .splitToolbarButton.toggled > .toolbarButton, michael@0: .toolbarButton.textButton { michael@0: background-color: hsla(0,0%,0%,.12); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); michael@0: background-clip: padding-box; michael@0: border: 1px solid hsla(0,0%,0%,.35); michael@0: border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, michael@0: 0 0 1px hsla(0,0%,100%,.15) inset, michael@0: 0 1px 0 hsla(0,0%,100%,.05); michael@0: transition-property: background-color, border-color, box-shadow; michael@0: transition-duration: 150ms; michael@0: transition-timing-function: ease; michael@0: michael@0: } michael@0: .splitToolbarButton > .toolbarButton:hover, michael@0: .splitToolbarButton > .toolbarButton:focus, michael@0: .dropdownToolbarButton:hover, michael@0: .overlayButton:hover, michael@0: .toolbarButton.textButton:hover, michael@0: .toolbarButton.textButton:focus { michael@0: background-color: hsla(0,0%,0%,.2); michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, michael@0: 0 0 1px hsla(0,0%,100%,.15) inset, michael@0: 0 0 1px hsla(0,0%,0%,.05); michael@0: z-index: 199; michael@0: } michael@0: .splitToolbarButton > .toolbarButton { michael@0: position: relative; michael@0: } michael@0: html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child, michael@0: html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child { michael@0: position: relative; michael@0: margin: 0; michael@0: margin-right: -1px; michael@0: border-top-left-radius: 2px; michael@0: border-bottom-left-radius: 2px; michael@0: border-right-color: transparent; michael@0: } michael@0: html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child, michael@0: html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child { michael@0: position: relative; michael@0: margin: 0; michael@0: margin-left: -1px; michael@0: border-top-right-radius: 2px; michael@0: border-bottom-right-radius: 2px; michael@0: border-left-color: transparent; michael@0: } michael@0: .splitToolbarButtonSeparator { michael@0: padding: 8px 0; michael@0: width: 1px; michael@0: background-color: hsla(0,0%,0%,.5); michael@0: z-index: 99; michael@0: box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); michael@0: display: inline-block; michael@0: margin: 5px 0; michael@0: } michael@0: html[dir='ltr'] .splitToolbarButtonSeparator { michael@0: float: left; michael@0: } michael@0: html[dir='rtl'] .splitToolbarButtonSeparator { michael@0: float: right; michael@0: } michael@0: .splitToolbarButton:hover > .splitToolbarButtonSeparator, michael@0: .splitToolbarButton.toggled > .splitToolbarButtonSeparator { michael@0: padding: 12px 0; michael@0: margin: 1px 0; michael@0: box-shadow: 0 0 0 1px hsla(0,0%,100%,.03); michael@0: transition-property: padding; michael@0: transition-duration: 10ms; michael@0: transition-timing-function: ease; michael@0: } michael@0: michael@0: .toolbarButton, michael@0: .dropdownToolbarButton, michael@0: .overlayButton, michael@0: .secondaryToolbarButton { michael@0: min-width: 16px; michael@0: padding: 2px 6px 0; michael@0: border: 1px solid transparent; michael@0: border-radius: 2px; michael@0: color: hsla(0,0%,100%,.8); michael@0: font-size: 12px; michael@0: line-height: 14px; michael@0: -moz-user-select: none; michael@0: /* Opera does not support user-select, use <... unselectable="on"> instead */ michael@0: cursor: default; michael@0: transition-property: background-color, border-color, box-shadow; michael@0: transition-duration: 150ms; michael@0: transition-timing-function: ease; michael@0: } michael@0: michael@0: html[dir='ltr'] .toolbarButton, michael@0: html[dir='ltr'] .overlayButton, michael@0: html[dir='ltr'] .dropdownToolbarButton { michael@0: margin: 3px 2px 4px 0; michael@0: } michael@0: html[dir='rtl'] .toolbarButton, michael@0: html[dir='rtl'] .overlayButton, michael@0: html[dir='rtl'] .dropdownToolbarButton { michael@0: margin: 3px 0 4px 2px; michael@0: } michael@0: michael@0: .toolbarButton:hover, michael@0: .toolbarButton:focus, michael@0: .dropdownToolbarButton, michael@0: .overlayButton, michael@0: .secondaryToolbarButton:hover, michael@0: .secondaryToolbarButton:focus { michael@0: background-color: hsla(0,0%,0%,.12); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); michael@0: background-clip: padding-box; michael@0: border: 1px solid hsla(0,0%,0%,.35); michael@0: border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); michael@0: box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, michael@0: 0 0 1px hsla(0,0%,100%,.15) inset, michael@0: 0 1px 0 hsla(0,0%,100%,.05); michael@0: } michael@0: michael@0: .toolbarButton:hover:active, michael@0: .overlayButton:hover:active, michael@0: .dropdownToolbarButton:hover:active, michael@0: .secondaryToolbarButton:hover:active { michael@0: background-color: hsla(0,0%,0%,.2); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); michael@0: border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45); michael@0: box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, michael@0: 0 0 1px hsla(0,0%,0%,.2) inset, michael@0: 0 1px 0 hsla(0,0%,100%,.05); michael@0: transition-property: background-color, border-color, box-shadow; michael@0: transition-duration: 10ms; michael@0: transition-timing-function: linear; michael@0: } michael@0: michael@0: .toolbarButton.toggled, michael@0: .splitToolbarButton.toggled > .toolbarButton.toggled, michael@0: .secondaryToolbarButton.toggled { michael@0: background-color: hsla(0,0%,0%,.3); michael@0: background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); michael@0: border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5); michael@0: box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, michael@0: 0 0 1px hsla(0,0%,0%,.2) inset, michael@0: 0 1px 0 hsla(0,0%,100%,.05); michael@0: transition-property: background-color, border-color, box-shadow; michael@0: transition-duration: 10ms; michael@0: transition-timing-function: linear; michael@0: } michael@0: michael@0: .toolbarButton.toggled:hover:active, michael@0: .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active, michael@0: .secondaryToolbarButton.toggled:hover:active { michael@0: background-color: hsla(0,0%,0%,.4); michael@0: border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55); michael@0: box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset, michael@0: 0 0 1px hsla(0,0%,0%,.3) inset, michael@0: 0 1px 0 hsla(0,0%,100%,.05); michael@0: } michael@0: michael@0: .dropdownToolbarButton { michael@0: width: 120px; michael@0: max-width: 120px; michael@0: padding: 3px 2px 2px; michael@0: overflow: hidden; michael@0: background: url(images/toolbarButton-menuArrows.png) no-repeat; michael@0: } michael@0: html[dir='ltr'] .dropdownToolbarButton { michael@0: background-position: 95%; michael@0: } michael@0: html[dir='rtl'] .dropdownToolbarButton { michael@0: background-position: 5%; michael@0: } michael@0: michael@0: .dropdownToolbarButton > select { michael@0: -moz-appearance: none; /* in the future this might matter, see bugzilla bug #649849 */ michael@0: min-width: 140px; michael@0: font-size: 12px; michael@0: color: hsl(0,0%,95%); michael@0: margin: 0; michael@0: padding: 0; michael@0: border: none; michael@0: background: rgba(0,0,0,0); /* Opera does not support 'transparent'