michael@0: /* vim:set ts=2 sw=2 sts=2 et: */ 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: %filter substitution michael@0: %define smw_marginDark #000 michael@0: %define smw_marginLight #aaa michael@0: %define smw_itemDarkTopBorder rgba(0,0,0,0.2) michael@0: %define smw_itemDarkBottomBorder rgba(128,128,128,0.15) michael@0: %define smw_itemLightTopBorder rgba(128,128,128,0.15) michael@0: %define smw_itemLightBottomBorder transparent michael@0: michael@0: .loading .splitview-nav-container { michael@0: background-image: url(chrome://global/skin/icons/loading_16.png); michael@0: background-repeat: no-repeat; michael@0: background-position: center center; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav-container { michael@0: background: url(background-noise-toolbar.png), #343c45; michael@0: } michael@0: michael@0: .splitview-nav { michael@0: -moz-appearance: none; michael@0: list-style-image: none; michael@0: list-style: none; michael@0: padding: 0; michael@0: margin: 0; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav { michael@0: box-shadow: inset -1px 0 0 @smw_marginDark@; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav:-moz-locale-dir(rtl) { michael@0: box-shadow: inset 1px 0 0 @smw_marginDark@; michael@0: } michael@0: michael@0: .theme-light .splitview-nav { michael@0: box-shadow: inset -1px 0 0 @smw_marginLight@; michael@0: } michael@0: michael@0: .theme-light .splitview-nav:-moz-locale-dir(rtl) { michael@0: box-shadow: inset 1px 0 0 @smw_marginLight@; michael@0: } michael@0: michael@0: .splitview-nav > li { michael@0: /* To compensate for the top and bottom borders */ michael@0: margin-top: -1px; michael@0: margin-bottom: -1px; michael@0: -moz-padding-end: 8px; michael@0: -moz-box-align: center; michael@0: outline: 0; michael@0: vertical-align: bottom; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav > li { michael@0: border-top: 1px solid @smw_itemDarkTopBorder@; michael@0: border-bottom: 1px solid @smw_itemDarkBottomBorder@; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav > li:last-of-type { michael@0: box-shadow: inset 0 -1px 0 @smw_itemDarkTopBorder@; michael@0: } michael@0: michael@0: .theme-light .splitview-nav > li { michael@0: border-top: 1px solid @smw_itemLightTopBorder@; michael@0: border-bottom: 1px solid @smw_itemLightBottomBorder@; michael@0: } michael@0: michael@0: .theme-light .splitview-nav > li:last-of-type { michael@0: box-shadow: inset 0 -1px 0 @smw_itemLightTopBorder@; michael@0: } michael@0: michael@0: .placeholder { michael@0: -moz-box-flex: 1; michael@0: text-align: center; michael@0: } michael@0: michael@0: .splitview-nav > li.splitview-active { michael@0: background-repeat: no-repeat, no-repeat, repeat-x; michael@0: background-position: center right, center right, top left; michael@0: background-size: auto, 1px, auto; michael@0: } michael@0: michael@0: .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { michael@0: background-repeat: no-repeat, no-repeat, repeat-x; michael@0: background-position: center left, center left, top right; michael@0: } michael@0: michael@0: .theme-dark .splitview-nav > li.splitview-active { michael@0: background-image: url(itemArrow-dark-ltr.png), michael@0: linear-gradient(@smw_marginDark@, @smw_marginDark@), michael@0: linear-gradient(#1d4f73, #1d4f73); michael@0: } michael@0: michael@0: .theme-dark .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { michael@0: background-image: url(itemArrow-dark-rtl.png), michael@0: linear-gradient(@smw_marginDark@, @smw_marginDark@), michael@0: linear-gradient(#1d4f73, #1d4f73); michael@0: } michael@0: michael@0: .theme-light .splitview-nav > li.splitview-active { michael@0: background-image: url(itemArrow-ltr.svg), michael@0: linear-gradient(@smw_marginLight@, @smw_marginLight@), michael@0: linear-gradient(#4c9ed9, #4c9ed9); michael@0: } michael@0: michael@0: .theme-light .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { michael@0: background-image: url(itemArrow-rtl.svg), michael@0: linear-gradient(@smw_marginLight@, @smw_marginLight@), michael@0: linear-gradient(#4c9ed9, #4c9ed9); michael@0: } michael@0: michael@0: /* Toolbars */ michael@0: michael@0: .splitview-main > .devtools-toolbar { michael@0: background-origin: border-box; michael@0: background-clip: border-box; michael@0: } michael@0: michael@0: .theme-dark .splitview-main > toolbar, michael@0: .theme-dark .loading .splitview-nav-container { michael@0: -moz-border-end: 1px solid @smw_marginDark@; michael@0: } michael@0: michael@0: .theme-light .splitview-main > toolbar, michael@0: .theme-light .loading .splitview-nav-container { michael@0: -moz-border-end: 1px solid @smw_marginLight@; michael@0: } michael@0: michael@0: .splitview-main > .devtools-toolbarbutton { michael@0: font-size: 11px; michael@0: padding: 0 8px; michael@0: width: auto; michael@0: min-width: 48px; michael@0: min-height: 0; michael@0: } michael@0: michael@0: michael@0: /* Resizers */ michael@0: michael@0: .splitview-portrait-resizer { michael@0: -moz-appearance: none; michael@0: background: linear-gradient(black 1px, rgba(255,255,255,0.2) 1px), michael@0: linear-gradient(hsl(210,11%,36%), hsl(210,11%,18%)); michael@0: height: 12px; michael@0: background-size: 10px 2px, 100% 12px; michael@0: background-clip: content-box, border-box; michael@0: background-repeat: repeat-y, no-repeat; michael@0: background-position: center center; michael@0: padding: 2px 0; michael@0: border-top: 1px solid hsla(210,8%,5%,.5); michael@0: border-bottom: 1px solid hsla(210,8%,5%,.5); michael@0: }