michael@0: %if 0 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: %endif michael@0: michael@0: /* Responsive Mode */ michael@0: michael@0: .browserContainer[responsivemode] { michael@0: background: #222 url("chrome://browser/skin/devtools/responsive-background.png"); michael@0: padding: 0 20px 20px 20px; michael@0: } michael@0: michael@0: .browserStack[responsivemode] { michael@0: box-shadow: 0 0 7px black; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbar { michael@0: -moz-appearance: none; michael@0: background: transparent; michael@0: /* text color is textColor from dark theme, since no theme is applied to michael@0: * the responsive toolbar. michael@0: */ michael@0: color: hsl(210,30%,85%); michael@0: margin: 10px 0; michael@0: padding: 0; michael@0: box-shadow: none; michael@0: border-bottom-width: 0; michael@0: } michael@0: michael@0: .devtools-responsiveui-menulist, michael@0: .devtools-responsiveui-toolbarbutton { michael@0: -moz-appearance: none; michael@0: -moz-box-align: center; michael@0: min-width: 32px; michael@0: min-height: 22px; michael@0: text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); michael@0: border: 1px solid hsla(210,8%,5%,.45); michael@0: border-radius: 0; michael@0: background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; michael@0: box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, 0 0 0 1px hsla(210,16%,76%,.15) inset, 0 1px 0 hsla(210,16%,76%,.15); michael@0: margin: 0 3px; michael@0: color: inherit; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { michael@0: -moz-box-orient: horizontal; michael@0: } michael@0: michael@0: .devtools-responsiveui-menulist:-moz-focusring, michael@0: .devtools-responsiveui-toolbarbutton:-moz-focusring { michael@0: outline: 1px dotted hsla(210,30%,85%,0.7); michael@0: outline-offset: -4px; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { michael@0: display: none; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { michael@0: border-color: hsla(210,8%,5%,.6); michael@0: background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); michael@0: box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); michael@0: } michael@0: michael@0: .devtools-responsiveui-menulist[open=true], michael@0: .devtools-responsiveui-toolbarbutton[open=true], michael@0: .devtools-responsiveui-toolbarbutton[checked=true] { michael@0: border-color: hsla(210,8%,5%,.6) !important; michael@0: background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); michael@0: box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[checked=true] { michael@0: color: hsl(208,100%,60%); michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[checked=true]:hover { michael@0: background-color: transparent !important; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[checked=true]:hover:active { michael@0: background-color: hsla(210,8%,5%,.2) !important; michael@0: } michael@0: michael@0: .devtools-responsiveui-menulist > .menulist-label-box { michael@0: text-align: center; michael@0: } michael@0: michael@0: .devtools-responsiveui-menulist > .menulist-dropmarker { michael@0: -moz-appearance: none; michael@0: display: -moz-box; michael@0: background-color: transparent; michael@0: list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); michael@0: -moz-box-align: center; michael@0: border-width: 0; michael@0: min-width: 16px; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { michael@0: -moz-appearance: none; michael@0: color: inherit; michael@0: border-width: 0; michael@0: -moz-border-end: 1px solid hsla(210,8%,5%,.45); michael@0: box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15); michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { michael@0: box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15); michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[type=menu-button] { michael@0: padding: 0 1px; michael@0: -moz-box-align: stretch; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, michael@0: .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { michael@0: -moz-appearance: none !important; michael@0: list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); michael@0: -moz-box-align: center; michael@0: padding: 0 3px; michael@0: } michael@0: michael@0: .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, michael@0: .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child { michael@0: margin-left: 0; michael@0: } michael@0: michael@0: .devtools-responsiveui-close { michael@0: list-style-image: url("chrome://browser/skin/devtools/close.png"); michael@0: } michael@0: michael@0: .devtools-responsiveui-rotate { michael@0: list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png"); michael@0: } michael@0: michael@0: .devtools-responsiveui-touch { michael@0: list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png"); michael@0: -moz-image-region: rect(0px,16px,16px,0px); michael@0: } michael@0: michael@0: .devtools-responsiveui-touch[checked] { michael@0: -moz-image-region: rect(0px,32px,16px,16px); michael@0: } michael@0: michael@0: .devtools-responsiveui-screenshot { michael@0: list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png"); michael@0: } michael@0: michael@0: .devtools-responsiveui-resizebarV { michael@0: width: 7px; michael@0: height: 24px; michael@0: cursor: ew-resize; michael@0: transform: translate(12px, -12px); michael@0: background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png"); michael@0: } michael@0: michael@0: .devtools-responsiveui-resizebarH { michael@0: width: 24px; michael@0: height: 7px; michael@0: cursor: ns-resize; michael@0: transform: translate(-12px, 12px); michael@0: background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png"); michael@0: } michael@0: michael@0: .devtools-responsiveui-resizehandle { michael@0: width: 16px; michael@0: height: 16px; michael@0: cursor: se-resize; michael@0: transform: translate(12px, 12px); michael@0: background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png"); michael@0: }