Commit | Line | Data |
---|---|---|
351107c9 | 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 ***** */ | |
37 | ||
38 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
39 | ||
c79d2bbe RK |
40 | /** |
41 | * Tabbrowser Tabs | |
42 | */ | |
b1eaa419 | 43 | |
44 | .tabbrowser-tabs { | |
c79d2bbe RK |
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 | */ | |
b1eaa419 | 51 | } |
52 | ||
c79d2bbe RK |
53 | .tabbrowser-tabs[overflow="true"] { |
54 | -moz-padding-start: 0px; | |
55 | } | |
56 | ||
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 0px 1px !important; | |
66 | padding: 0px !important; | |
67 | border: none !important; | |
68 | height: 22px !important; | |
69 | */ | |
b1eaa419 | 70 | } |
71 | ||
c79d2bbe 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; | |
74 | } | |
75 | ||
76 | .tabbrowser-tab[selected="true"] { | |
77 | font-weight: bold; | |
78 | } | |
79 | ||
80 | .tab-icon-image { | |
351107c9 | 81 | margin-top: 1px; |
c79d2bbe | 82 | -moz-margin-end: 3px; |
351107c9 | 83 | width: 16px; |
84 | height: 16px; | |
c79d2bbe 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 | */ | |
351107c9 | 89 | } |
90 | ||
c79d2bbe | 91 | .tabs-bottom { |
3d6dd546 | 92 | } |
93 | ||
c79d2bbe | 94 | tabpanels { |
351107c9 | 95 | } |
96 | ||
c79d2bbe RK |
97 | .tabs-left, |
98 | .tabs-right { | |
99 | width: 3px; | |
100 | border-bottom-width: 0px; | |
b1eaa419 | 101 | } |
102 | ||
c79d2bbe RK |
103 | /* tabbrowser-tab focus ring */ |
104 | .tabbrowser-tab > .tab-image-middle > .tab-text { | |
105 | border: 1px dotted transparent; | |
106 | } | |
b1eaa419 | 107 | |
c79d2bbe RK |
108 | .tabbrowser-tab:focus > .tab-image-middle > .tab-text { |
109 | border: 1px dotted #008484; | |
110 | } | |
111 | ||
112 | /** | |
113 | * Tab Drag and Drop | |
114 | */ | |
115 | ||
116 | .tab-drop-indicator-bar { | |
117 | visibility: hidden; | |
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; | |
b1eaa419 | 129 | } |
130 | ||
c79d2bbe RK |
131 | .tab-drop-indicator-bar[dragging="true"] { |
132 | visibility: visible; | |
edb23828 | 133 | } |
134 | ||
c79d2bbe RK |
135 | /** |
136 | * In-tab close button | |
137 | */ | |
138 | .tab-close-button > .toolbarbutton-icon { | |
139 | -moz-margin-end: 0px !important; | |
140 | margin-top: 1px; | |
351107c9 | 141 | } |
edb23828 | 142 | |
c79d2bbe RK |
143 | .tab-close-button { |
144 | border: none !important; | |
edb23828 | 145 | padding: 0px; |
c79d2bbe RK |
146 | cursor: default; |
147 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
6046f027 | 148 | } |
149 | ||
c79d2bbe RK |
150 | |
151 | .tab-close-button:focus { | |
152 | outline: none !important; | |
6046f027 | 153 | } |
154 | ||
c79d2bbe 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 { | |
6046f027 | 167 | } |
d84b9613 | 168 | |
c79d2bbe RK |
169 | .tabs-alltabs-button { |
170 | } | |
171 | ||
172 | .tabs-alltabs-box-animate { | |
173 | } | |
174 | */ | |
175 | ||
176 | /** | |
177 | * All Tabs Menupopup | |
178 | */ | |
179 | ||
180 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
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 | } |