browser/themes/shared/devtools/splitview.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* vim:set ts=2 sw=2 sts=2 et: */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 %filter substitution
michael@0 7 %define smw_marginDark #000
michael@0 8 %define smw_marginLight #aaa
michael@0 9 %define smw_itemDarkTopBorder rgba(0,0,0,0.2)
michael@0 10 %define smw_itemDarkBottomBorder rgba(128,128,128,0.15)
michael@0 11 %define smw_itemLightTopBorder rgba(128,128,128,0.15)
michael@0 12 %define smw_itemLightBottomBorder transparent
michael@0 13
michael@0 14 .loading .splitview-nav-container {
michael@0 15 background-image: url(chrome://global/skin/icons/loading_16.png);
michael@0 16 background-repeat: no-repeat;
michael@0 17 background-position: center center;
michael@0 18 }
michael@0 19
michael@0 20 .theme-dark .splitview-nav-container {
michael@0 21 background: url(background-noise-toolbar.png), #343c45;
michael@0 22 }
michael@0 23
michael@0 24 .splitview-nav {
michael@0 25 -moz-appearance: none;
michael@0 26 list-style-image: none;
michael@0 27 list-style: none;
michael@0 28 padding: 0;
michael@0 29 margin: 0;
michael@0 30 }
michael@0 31
michael@0 32 .theme-dark .splitview-nav {
michael@0 33 box-shadow: inset -1px 0 0 @smw_marginDark@;
michael@0 34 }
michael@0 35
michael@0 36 .theme-dark .splitview-nav:-moz-locale-dir(rtl) {
michael@0 37 box-shadow: inset 1px 0 0 @smw_marginDark@;
michael@0 38 }
michael@0 39
michael@0 40 .theme-light .splitview-nav {
michael@0 41 box-shadow: inset -1px 0 0 @smw_marginLight@;
michael@0 42 }
michael@0 43
michael@0 44 .theme-light .splitview-nav:-moz-locale-dir(rtl) {
michael@0 45 box-shadow: inset 1px 0 0 @smw_marginLight@;
michael@0 46 }
michael@0 47
michael@0 48 .splitview-nav > li {
michael@0 49 /* To compensate for the top and bottom borders */
michael@0 50 margin-top: -1px;
michael@0 51 margin-bottom: -1px;
michael@0 52 -moz-padding-end: 8px;
michael@0 53 -moz-box-align: center;
michael@0 54 outline: 0;
michael@0 55 vertical-align: bottom;
michael@0 56 }
michael@0 57
michael@0 58 .theme-dark .splitview-nav > li {
michael@0 59 border-top: 1px solid @smw_itemDarkTopBorder@;
michael@0 60 border-bottom: 1px solid @smw_itemDarkBottomBorder@;
michael@0 61 }
michael@0 62
michael@0 63 .theme-dark .splitview-nav > li:last-of-type {
michael@0 64 box-shadow: inset 0 -1px 0 @smw_itemDarkTopBorder@;
michael@0 65 }
michael@0 66
michael@0 67 .theme-light .splitview-nav > li {
michael@0 68 border-top: 1px solid @smw_itemLightTopBorder@;
michael@0 69 border-bottom: 1px solid @smw_itemLightBottomBorder@;
michael@0 70 }
michael@0 71
michael@0 72 .theme-light .splitview-nav > li:last-of-type {
michael@0 73 box-shadow: inset 0 -1px 0 @smw_itemLightTopBorder@;
michael@0 74 }
michael@0 75
michael@0 76 .placeholder {
michael@0 77 -moz-box-flex: 1;
michael@0 78 text-align: center;
michael@0 79 }
michael@0 80
michael@0 81 .splitview-nav > li.splitview-active {
michael@0 82 background-repeat: no-repeat, no-repeat, repeat-x;
michael@0 83 background-position: center right, center right, top left;
michael@0 84 background-size: auto, 1px, auto;
michael@0 85 }
michael@0 86
michael@0 87 .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
michael@0 88 background-repeat: no-repeat, no-repeat, repeat-x;
michael@0 89 background-position: center left, center left, top right;
michael@0 90 }
michael@0 91
michael@0 92 .theme-dark .splitview-nav > li.splitview-active {
michael@0 93 background-image: url(itemArrow-dark-ltr.png),
michael@0 94 linear-gradient(@smw_marginDark@, @smw_marginDark@),
michael@0 95 linear-gradient(#1d4f73, #1d4f73);
michael@0 96 }
michael@0 97
michael@0 98 .theme-dark .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
michael@0 99 background-image: url(itemArrow-dark-rtl.png),
michael@0 100 linear-gradient(@smw_marginDark@, @smw_marginDark@),
michael@0 101 linear-gradient(#1d4f73, #1d4f73);
michael@0 102 }
michael@0 103
michael@0 104 .theme-light .splitview-nav > li.splitview-active {
michael@0 105 background-image: url(itemArrow-ltr.svg),
michael@0 106 linear-gradient(@smw_marginLight@, @smw_marginLight@),
michael@0 107 linear-gradient(#4c9ed9, #4c9ed9);
michael@0 108 }
michael@0 109
michael@0 110 .theme-light .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) {
michael@0 111 background-image: url(itemArrow-rtl.svg),
michael@0 112 linear-gradient(@smw_marginLight@, @smw_marginLight@),
michael@0 113 linear-gradient(#4c9ed9, #4c9ed9);
michael@0 114 }
michael@0 115
michael@0 116 /* Toolbars */
michael@0 117
michael@0 118 .splitview-main > .devtools-toolbar {
michael@0 119 background-origin: border-box;
michael@0 120 background-clip: border-box;
michael@0 121 }
michael@0 122
michael@0 123 .theme-dark .splitview-main > toolbar,
michael@0 124 .theme-dark .loading .splitview-nav-container {
michael@0 125 -moz-border-end: 1px solid @smw_marginDark@;
michael@0 126 }
michael@0 127
michael@0 128 .theme-light .splitview-main > toolbar,
michael@0 129 .theme-light .loading .splitview-nav-container {
michael@0 130 -moz-border-end: 1px solid @smw_marginLight@;
michael@0 131 }
michael@0 132
michael@0 133 .splitview-main > .devtools-toolbarbutton {
michael@0 134 font-size: 11px;
michael@0 135 padding: 0 8px;
michael@0 136 width: auto;
michael@0 137 min-width: 48px;
michael@0 138 min-height: 0;
michael@0 139 }
michael@0 140
michael@0 141
michael@0 142 /* Resizers */
michael@0 143
michael@0 144 .splitview-portrait-resizer {
michael@0 145 -moz-appearance: none;
michael@0 146 background: linear-gradient(black 1px, rgba(255,255,255,0.2) 1px),
michael@0 147 linear-gradient(hsl(210,11%,36%), hsl(210,11%,18%));
michael@0 148 height: 12px;
michael@0 149 background-size: 10px 2px, 100% 12px;
michael@0 150 background-clip: content-box, border-box;
michael@0 151 background-repeat: repeat-y, no-repeat;
michael@0 152 background-position: center center;
michael@0 153 padding: 2px 0;
michael@0 154 border-top: 1px solid hsla(210,8%,5%,.5);
michael@0 155 border-bottom: 1px solid hsla(210,8%,5%,.5);
michael@0 156 }

mercurial