Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
6 | ||
c79d2bbe RK |
7 | /** |
8 | * Tabbrowser Tabs | |
9 | */ | |
b1eaa419 | 10 | |
11 | .tabbrowser-tabs { | |
c79d2bbe RK |
12 | /* XXX: Firefox rules - look into those when we support FF |
13 | -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tabs") !important; | |
14 | padding-top: 0px; | |
15 | background: -moz-dialog url("chrome://global/skin/icons/tabbrowser-tabs-bkgnd.png") !important; | |
16 | -moz-padding-start: 0px; | |
17 | */ | |
b1eaa419 | 18 | } |
19 | ||
c79d2bbe RK |
20 | .tabbrowser-tabs[overflow="true"] { |
21 | -moz-padding-start: 0px; | |
22 | } | |
23 | ||
24 | /** | |
25 | * Tab | |
26 | */ | |
27 | ||
28 | .tabbrowser-tab { | |
29 | /* XXX: Firefox rules - look into those when we support FF | |
30 | -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important; | |
31 | background: transparent !important; | |
32 | margin: 0px 0px 1px !important; | |
33 | padding: 0px !important; | |
34 | border: none !important; | |
35 | height: 22px !important; | |
36 | */ | |
b1eaa419 | 37 | } |
38 | ||
c79d2bbe RK |
39 | .tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image { |
40 | list-style-image: url("chrome://global/skin/icons/loading.gif") !important; | |
41 | } | |
42 | ||
43 | .tabbrowser-tab[selected="true"] { | |
44 | font-weight: bold; | |
45 | } | |
46 | ||
47 | .tab-icon-image { | |
351107c9 | 48 | margin-top: 1px; |
c79d2bbe | 49 | -moz-margin-end: 3px; |
351107c9 | 50 | width: 16px; |
51 | height: 16px; | |
c79d2bbe RK |
52 | /* XXX: Firefox rules - look into those when we support FF |
53 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
54 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
55 | */ | |
351107c9 | 56 | } |
57 | ||
c79d2bbe | 58 | .tabs-bottom { |
3d6dd546 | 59 | } |
60 | ||
c79d2bbe | 61 | tabpanels { |
351107c9 | 62 | } |
63 | ||
c79d2bbe RK |
64 | .tabs-left, |
65 | .tabs-right { | |
66 | width: 3px; | |
67 | border-bottom-width: 0px; | |
b1eaa419 | 68 | } |
69 | ||
c79d2bbe RK |
70 | /* tabbrowser-tab focus ring */ |
71 | .tabbrowser-tab > .tab-image-middle > .tab-text { | |
72 | border: 1px dotted transparent; | |
73 | } | |
b1eaa419 | 74 | |
024ec655 | 75 | .tabbrowser-tab:-moz-focusring > .tab-image-middle > .tab-text { |
c79d2bbe RK |
76 | border: 1px dotted #008484; |
77 | } | |
78 | ||
79 | /** | |
80 | * Tab Drag and Drop | |
81 | */ | |
82 | ||
83 | .tab-drop-indicator-bar { | |
84 | visibility: hidden; | |
85 | height: 9px; | |
86 | margin-top: -9px; | |
87 | position: relative; | |
88 | } | |
89 | ||
90 | .tab-drop-indicator { | |
91 | height: 11px; | |
92 | width: 11px; | |
93 | margin-bottom: -5px; | |
94 | position: relative; | |
95 | background: url('chrome://global/skin/icons/tab-drag-indicator.gif') 50% 50% no-repeat; | |
b1eaa419 | 96 | } |
97 | ||
c79d2bbe RK |
98 | .tab-drop-indicator-bar[dragging="true"] { |
99 | visibility: visible; | |
edb23828 | 100 | } |
101 | ||
c79d2bbe RK |
102 | /** |
103 | * In-tab close button | |
104 | */ | |
105 | .tab-close-button > .toolbarbutton-icon { | |
106 | -moz-margin-end: 0px !important; | |
107 | margin-top: 1px; | |
351107c9 | 108 | } |
edb23828 | 109 | |
c79d2bbe RK |
110 | .tab-close-button { |
111 | border: none !important; | |
edb23828 | 112 | padding: 0px; |
c79d2bbe RK |
113 | cursor: default; |
114 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
6046f027 | 115 | } |
116 | ||
c79d2bbe RK |
117 | |
118 | .tab-close-button:focus { | |
119 | outline: none !important; | |
6046f027 | 120 | } |
121 | ||
c79d2bbe RK |
122 | /** |
123 | * Tab Scrollbox Arrow Buttons | |
124 | */ | |
125 | ||
126 | /* XXX: Firefox rules - look into those when we support FF */ | |
127 | ||
128 | /** | |
129 | * All Tabs Button | |
130 | */ | |
131 | ||
132 | /* XXX: Firefox rules - look into those when we support FF | |
133 | .tabs-alltabs-box { | |
6046f027 | 134 | } |
d84b9613 | 135 | |
c79d2bbe RK |
136 | .tabs-alltabs-button { |
137 | } | |
138 | ||
139 | .tabs-alltabs-box-animate { | |
140 | } | |
141 | */ | |
142 | ||
143 | /** | |
144 | * All Tabs Menupopup | |
145 | */ | |
146 | ||
147 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
148 | /* XXX: Firefox rules - look into those when we support FF | |
149 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
150 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
151 | */ | |
152 | } | |
153 | ||
154 | .alltabs-item[selected="true"] { | |
155 | font-weight: bold; | |
156 | } | |
157 | ||
158 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
159 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
d84b9613 | 160 | } |