Commit | Line | Data |
---|---|---|
128000f4 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
4 | * The contents of this file are subject to the Mozilla Public License Version | |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
8 | * | |
9 | * Software distributed under the License is distributed on an "AS IS" basis, | |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
13 | * | |
14 | * The Original Code is "Classic" theme of mozilla.org code. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * the Mozilla Organization. | |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Robert Kaiser <KaiRo@KaiRo.at> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the MPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the MPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
f6e0a33f | 37 | |
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
39 | ||
df8c26c4 RK |
40 | /** |
41 | * Tabbrowser Tabs | |
42 | */ | |
43 | ||
44 | .tabbrowser-tabs { | |
45 | /* XXX: Firefox rules - look into those when we support FF | |
46 | -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tabs") !important; | |
47 | padding-top: 0px; | |
48 | background: -moz-dialog url("chrome://global/skin/icons/tabbrowser-tabs-bkgnd.png") !important; | |
49 | -moz-padding-start: 0px; | |
50 | */ | |
74d14f90 | 51 | } |
52 | ||
df8c26c4 RK |
53 | .tabbrowser-tabs[overflow="true"] { |
54 | -moz-padding-start: 0px; | |
74d14f90 | 55 | } |
56 | ||
df8c26c4 RK |
57 | /** |
58 | * Tab | |
59 | */ | |
60 | ||
61 | .tabbrowser-tab { | |
62 | /* XXX: Firefox rules - look into those when we support FF | |
63 | -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important; | |
64 | background: transparent !important; | |
65 | margin: 0px !important; | |
66 | padding: 0px !important; | |
67 | border: none !important; | |
68 | height: 22px !important; | |
69 | margin-bottom: 1px; | |
70 | */ | |
74d14f90 | 71 | } |
72 | ||
df8c26c4 RK |
73 | .tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image { |
74 | list-style-image: url("chrome://global/skin/icons/loading.gif") !important; | |
74d14f90 | 75 | } |
76 | ||
df8c26c4 RK |
77 | .tabbrowser-tab[selected="true"] { |
78 | font-weight: bold; | |
79 | } | |
80 | ||
81 | .tab-icon-image { | |
2d09e496 | 82 | margin-top: 1px; |
df8c26c4 | 83 | -moz-margin-end: 3px; |
2d09e496 | 84 | width: 16px; |
85 | height: 16px; | |
df8c26c4 RK |
86 | /* XXX: Firefox rules - look into those when we support FF |
87 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
88 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
89 | */ | |
2d09e496 | 90 | } |
91 | ||
df8c26c4 | 92 | .tabs-bottom { |
76983f4c | 93 | } |
94 | ||
df8c26c4 | 95 | tabpanels { |
74d14f90 | 96 | } |
97 | ||
df8c26c4 RK |
98 | .tabs-left, |
99 | .tabs-right { | |
100 | width: 3px; | |
101 | border-bottom-width: 0px; | |
102 | } | |
103 | ||
104 | /* tabbrowser-tab focus ring */ | |
105 | .tabbrowser-tab > .tab-image-middle > .tab-text { | |
106 | border: 1px dotted transparent; | |
f6e0a33f | 107 | } |
108 | ||
df8c26c4 RK |
109 | .tabbrowser-tab:focus > .tab-image-middle > .tab-text { |
110 | border: 1px dotted #666699; | |
111 | } | |
74d14f90 | 112 | |
df8c26c4 RK |
113 | /** |
114 | * Tab Drag and Drop | |
115 | */ | |
116 | ||
117 | .tab-drop-indicator-bar { | |
118 | display:none; | |
119 | height: 9px; | |
120 | margin-top: -9px; | |
121 | position: relative; | |
122 | } | |
123 | ||
124 | .tab-drop-indicator { | |
125 | height: 11px; | |
126 | width: 11px; | |
127 | margin-bottom: -5px; | |
128 | position: relative; | |
129 | background: url('chrome://global/skin/icons/tab-drag-indicator.gif') 50% 50% no-repeat; | |
74d14f90 | 130 | } |
131 | ||
df8c26c4 RK |
132 | .tab-drop-indicator-bar[dragging="true"] { |
133 | display: -moz-box; | |
f6e0a33f | 134 | } |
1232bf8e | 135 | |
df8c26c4 RK |
136 | /** |
137 | * In-tab close button | |
138 | */ | |
139 | .tab-close-button > .toolbarbutton-icon { | |
140 | -moz-margin-end: 0px !important; | |
141 | margin-top: 1px; | |
142 | } | |
143 | ||
144 | .tab-close-button { | |
145 | border: none !important; | |
1232bf8e | 146 | padding: 0px; |
df8c26c4 RK |
147 | cursor: default; |
148 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
e68e2f2b | 149 | } |
150 | ||
df8c26c4 RK |
151 | |
152 | .tab-close-button:focus { | |
153 | outline: none !important; | |
e68e2f2b | 154 | } |
155 | ||
df8c26c4 RK |
156 | /** |
157 | * Tab Scrollbox Arrow Buttons | |
158 | */ | |
159 | ||
160 | /* XXX: Firefox rules - look into those when we support FF */ | |
161 | ||
162 | /** | |
163 | * All Tabs Button | |
164 | */ | |
165 | ||
166 | /* XXX: Firefox rules - look into those when we support FF | |
167 | .tabs-alltabs-box { | |
168 | } | |
169 | ||
170 | .tabs-alltabs-button { | |
171 | } | |
172 | ||
173 | .tabs-alltabs-box-animate { | |
e68e2f2b | 174 | } |
df8c26c4 | 175 | */ |
d84b9613 | 176 | |
df8c26c4 RK |
177 | /** |
178 | * All Tabs Menupopup | |
179 | */ | |
180 | ||
181 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
182 | width: 16px; | |
183 | height: 16px; | |
184 | /* XXX: Firefox rules - look into those when we support FF | |
185 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
186 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
187 | */ | |
188 | } | |
189 | ||
190 | .alltabs-item[selected="true"] { | |
191 | font-weight: bold; | |
192 | } | |
193 | ||
194 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
195 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
d84b9613 | 196 | } |