Commit | Line | Data |
---|---|---|
e0c47e26 RK |
1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
2 | /* ***** BEGIN LICENSE BLOCK ***** | |
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
4 | * | |
5 | * The contents of this file are subject to the Mozilla Public License Version | |
6 | * 1.1 (the "License"); you may not use this file except in compliance with | |
7 | * the License. You may obtain a copy of the License at | |
8 | * http://www.mozilla.org/MPL/ | |
9 | * | |
10 | * Software distributed under the License is distributed on an "AS IS" basis, | |
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
12 | * for the specific language governing rights and limitations under the | |
13 | * License. | |
14 | * | |
15 | * The Original Code is Style Editor code. | |
16 | * | |
17 | * The Initial Developer of the Original Code is Mozilla Foundation. | |
18 | * Portions created by the Initial Developer are Copyright (C) 2011 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Cedric Vivier <cedricv@neonux.com> (original author) | |
23 | * Paul Rouget <paul@mozilla.com> | |
24 | * | |
25 | * Alternatively, the contents of this file may be used under the terms of | |
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
28 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
29 | * of those above. If you wish to allow use of your version of this file only | |
30 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
31 | * use your version of this file under the terms of the MPL, indicate your | |
32 | * decision by deleting the provisions above and replace them with the notice | |
33 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
34 | * the provisions above, a recipient may use your version of this file under | |
35 | * the terms of any one of the MPL, the GPL or the LGPL. | |
36 | * | |
37 | * ***** END LICENSE BLOCK ***** */ | |
38 | ||
39 | .splitview-nav-container { | |
e0b5363a | 40 | background-color: #000000; |
e0c47e26 RK |
41 | color: #FF9F00; |
42 | } | |
43 | ||
44 | .loading .splitview-nav-container { | |
45 | background-image: url("chrome://global/skin/icons/loading.gif"); | |
46 | background-repeat: no-repeat; | |
47 | background-position: center center; | |
48 | } | |
49 | ||
50 | .splitview-nav { | |
51 | -moz-appearance: none; | |
52 | margin: 0; | |
53 | border-right: #9C9CFF; | |
54 | } | |
55 | ||
56 | .splitview-nav > li { | |
57 | color: white; | |
58 | background-clip: padding-box; | |
59 | border-bottom: 1px solid #008484; | |
60 | -moz-padding-end: 8px; | |
61 | -moz-box-align: center; | |
62 | } | |
63 | ||
64 | .splitview-nav { | |
65 | list-style-image: none; | |
66 | list-style: none; | |
67 | padding: 0; | |
68 | margin: 0; | |
69 | } | |
70 | ||
71 | .splitview-nav > li { | |
72 | outline: 0; | |
73 | vertical-align: bottom; | |
74 | } | |
75 | ||
76 | .placeholder { | |
77 | -moz-box-flex: 1; | |
e0c47e26 RK |
78 | text-align: center; |
79 | } | |
80 | ||
81 | .splitview-nav > li.splitview-active { | |
82 | background-image: url("itemArrow-ltr.png"); | |
83 | background-repeat: no-repeat, no-repeat, repeat-x; | |
84 | background-position: center right, top right, top left; | |
85 | background-size: auto, 1px 100%, auto; | |
86 | border-bottom: 1px solid #008484; | |
87 | } | |
88 | ||
89 | .splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { | |
90 | background-image: url("itemArrow-rtl.png"); | |
91 | background-repeat: no-repeat, no-repeat, repeat-x; | |
92 | background-position: center left, top left, top right; | |
93 | } | |
94 | ||
95 | /* Toolbars */ | |
96 | ||
97 | .devtools-toolbar { | |
98 | height: 26px; | |
99 | background-origin: border-box; | |
100 | background-clip: border-box; | |
5a3cfc14 RK |
101 | } |
102 | ||
103 | .splitview-main > toolbar { | |
104 | -moz-padding-end: 3px; | |
105 | } | |
106 | ||
107 | .splitview-details > toolbar { | |
108 | -moz-padding-start: 3px; | |
e0c47e26 RK |
109 | } |
110 | ||
111 | .splitview-main > toolbar:-moz-locale-dir(ltr) { | |
112 | border-right: 1px solid #008484; | |
113 | } | |
114 | ||
115 | .splitview-main > toolbar:-moz-locale-dir(rtl) { | |
116 | border-left: 1px solid #008484; | |
117 | } | |
118 | ||
119 | .devtools-toolbarbutton { | |
e0c47e26 RK |
120 | width: auto; |
121 | min-width: 48px; | |
122 | min-height: 0; | |
123 | } | |
124 | ||
125 | ||
126 | /* Resizers */ | |
127 | ||
128 | .splitview-landscape-resizer { | |
129 | -moz-appearance: none; | |
130 | width: 7px; | |
5a3cfc14 RK |
131 | background-image: -moz-linear-gradient(left, #000000 1px, #FFCF00 1px); |
132 | background-size: 2px 15px; | |
e0c47e26 RK |
133 | background-clip: padding-box; |
134 | background-repeat: repeat-x; | |
5a3cfc14 | 135 | /* border-width: 1px; |
e0c47e26 | 136 | border-style: solid; |
5a3cfc14 | 137 | border-color: #9C9CFF;*/ |
e0c47e26 | 138 | margin: 5px 0; |
5a3cfc14 | 139 | -moz-transform: translateX(-22px); /* account for startcap as well */ |
e0c47e26 RK |
140 | } |
141 | ||
142 | .splitview-landscape-resizer:-moz-locale-dir(rtl) { | |
5a3cfc14 | 143 | -moz-transform: translateX(22px); |
e0c47e26 RK |
144 | } |
145 | ||
146 | .splitview-portrait-resizer { | |
147 | -moz-appearance: none; | |
5a3cfc14 | 148 | background: -moz-linear-gradient(top, #000000 1px, #FFCF00 1px); |
e0c47e26 RK |
149 | height: 12px; |
150 | background-size: 10px 2px, 100% 12px; | |
151 | background-clip: content-box, border-box; | |
152 | background-repeat: repeat-y, no-repeat; | |
153 | background-position: center center; | |
154 | padding: 2px 0; | |
155 | border-top: 1px solid #008484; | |
156 | border-bottom: 1px solid #008484; | |
157 | } |