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; | |
56029caf | 65 | margin: 0px 0px 1px !important; |
df8c26c4 RK |
66 | padding: 0px !important; |
67 | border: none !important; | |
68 | height: 22px !important; | |
df8c26c4 | 69 | */ |
74d14f90 | 70 | } |
71 | ||
df8c26c4 RK |
72 | .tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image { |
73 | list-style-image: url("chrome://global/skin/icons/loading.gif") !important; | |
74d14f90 | 74 | } |
75 | ||
df8c26c4 RK |
76 | .tabbrowser-tab[selected="true"] { |
77 | font-weight: bold; | |
78 | } | |
79 | ||
80 | .tab-icon-image { | |
2d09e496 | 81 | margin-top: 1px; |
df8c26c4 | 82 | -moz-margin-end: 3px; |
2d09e496 | 83 | width: 16px; |
84 | height: 16px; | |
df8c26c4 RK |
85 | /* XXX: Firefox rules - look into those when we support FF |
86 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
87 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
88 | */ | |
2d09e496 | 89 | } |
90 | ||
df8c26c4 | 91 | .tabs-bottom { |
76983f4c | 92 | } |
93 | ||
df8c26c4 | 94 | tabpanels { |
74d14f90 | 95 | } |
96 | ||
df8c26c4 RK |
97 | .tabs-left, |
98 | .tabs-right { | |
99 | width: 3px; | |
100 | border-bottom-width: 0px; | |
101 | } | |
102 | ||
103 | /* tabbrowser-tab focus ring */ | |
104 | .tabbrowser-tab > .tab-image-middle > .tab-text { | |
105 | border: 1px dotted transparent; | |
f6e0a33f | 106 | } |
107 | ||
df8c26c4 RK |
108 | .tabbrowser-tab:focus > .tab-image-middle > .tab-text { |
109 | border: 1px dotted #666699; | |
110 | } | |
74d14f90 | 111 | |
df8c26c4 RK |
112 | /** |
113 | * Tab Drag and Drop | |
114 | */ | |
115 | ||
116 | .tab-drop-indicator-bar { | |
56029caf | 117 | visibility: hidden; |
df8c26c4 RK |
118 | height: 9px; |
119 | margin-top: -9px; | |
120 | position: relative; | |
121 | } | |
122 | ||
123 | .tab-drop-indicator { | |
124 | height: 11px; | |
125 | width: 11px; | |
126 | margin-bottom: -5px; | |
127 | position: relative; | |
128 | background: url('chrome://global/skin/icons/tab-drag-indicator.gif') 50% 50% no-repeat; | |
74d14f90 | 129 | } |
130 | ||
df8c26c4 | 131 | .tab-drop-indicator-bar[dragging="true"] { |
56029caf | 132 | visibility: visible; |
f6e0a33f | 133 | } |
1232bf8e | 134 | |
df8c26c4 RK |
135 | /** |
136 | * In-tab close button | |
137 | */ | |
138 | .tab-close-button > .toolbarbutton-icon { | |
139 | -moz-margin-end: 0px !important; | |
140 | margin-top: 1px; | |
141 | } | |
142 | ||
143 | .tab-close-button { | |
144 | border: none !important; | |
1232bf8e | 145 | padding: 0px; |
df8c26c4 RK |
146 | cursor: default; |
147 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
e68e2f2b | 148 | } |
149 | ||
df8c26c4 RK |
150 | |
151 | .tab-close-button:focus { | |
152 | outline: none !important; | |
e68e2f2b | 153 | } |
154 | ||
df8c26c4 RK |
155 | /** |
156 | * Tab Scrollbox Arrow Buttons | |
157 | */ | |
158 | ||
159 | /* XXX: Firefox rules - look into those when we support FF */ | |
160 | ||
161 | /** | |
162 | * All Tabs Button | |
163 | */ | |
164 | ||
165 | /* XXX: Firefox rules - look into those when we support FF | |
166 | .tabs-alltabs-box { | |
167 | } | |
168 | ||
169 | .tabs-alltabs-button { | |
170 | } | |
171 | ||
172 | .tabs-alltabs-box-animate { | |
e68e2f2b | 173 | } |
df8c26c4 | 174 | */ |
d84b9613 | 175 | |
df8c26c4 RK |
176 | /** |
177 | * All Tabs Menupopup | |
178 | */ | |
179 | ||
180 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
df8c26c4 RK |
181 | /* XXX: Firefox rules - look into those when we support FF |
182 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
183 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
184 | */ | |
185 | } | |
186 | ||
187 | .alltabs-item[selected="true"] { | |
188 | font-weight: bold; | |
189 | } | |
190 | ||
191 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
192 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
d84b9613 | 193 | } |