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 | ||
b1e5c9b1 | 7 | /* ::::: sidebar container ::::: */ |
8 | ||
b1eaa419 | 9 | #sidebar-box { |
10 | border: none; | |
11 | } | |
12 | ||
13 | /* ::::: sidebar splitter ::::: */ | |
14 | ||
351107c9 | 15 | #sidebar-panels-splitter[state="collapsed"] { |
b1eaa419 | 16 | margin-bottom: 0px; |
351107c9 | 17 | } |
18 | ||
01d40f5a | 19 | #sidebar-splitter { |
8caa872d | 20 | -moz-margin-start: 0px; |
b1eaa419 | 21 | } |
22 | ||
01d40f5a RK |
23 | #sidebar-splitter:not([state="collapsed"]) { |
24 | border-radius: 0 5px 0 0; | |
25 | } | |
26 | ||
27 | /* Get lower rounded corner right to connect to splitter. */ | |
28 | #sidebar-panels-splitter-box { | |
29 | background-color: #9C9CFF | |
30 | } | |
31 | ||
32 | #sidebar-panels { | |
33 | background-color: #000000; | |
34 | border-radius: 0 5px 0 0; | |
35 | -moz-padding-end: 3px; | |
36 | } | |
37 | ||
38 | #sidebar-splitter:not([state="collapsed"]):-moz-locale-dir(rtl), | |
39 | #sidebar-panels:-moz-locale-dir(rtl) { | |
40 | border-radius: 5px 0 0 0; | |
41 | } | |
42 | ||
b1eaa419 | 43 | /* ::::: sidebar header ::::: */ |
44 | ||
45 | .sidebarheader-main { | |
46 | border: none; | |
01d40f5a RK |
47 | color: #000000; |
48 | background-color: #9C9CFF; | |
02920d2b | 49 | padding: 0px 2px; |
01d40f5a RK |
50 | -moz-padding-start: 3px; |
51 | -moz-padding-end: 8px; | |
3e7d9b4d | 52 | height: auto; |
351107c9 | 53 | } |
54 | ||
b1eaa419 | 55 | .sidebar-header-text { |
56 | font-weight: bold; | |
57 | } | |
58 | ||
59 | /* ..... close button ..... */ | |
351107c9 | 60 | |
b1eaa419 | 61 | #sidebar-close-button { |
62 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); | |
63 | padding: 3px; | |
64 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
01d40f5a | 65 | border-radius: 0; |
b1eaa419 | 66 | } |
351107c9 | 67 | |
b1eaa419 | 68 | #sidebar-close-button:hover, |
69 | #sidebar-close-button:hover:active { | |
70 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
71 | } | |
351107c9 | 72 | |
b1eaa419 | 73 | /* ..... panel picker button ..... */ |
351107c9 | 74 | |
75 | #sidebar-panel-picker { | |
02920d2b | 76 | padding: 3px 1px; |
01d40f5a | 77 | border-radius: 0; |
b1eaa419 | 78 | } |
79 | ||
80 | /* ::::: sidebar panel ::::: */ | |
81 | ||
82 | .sidebar-iframe-no-panels, | |
83 | .loadarea { | |
84 | background-color: #000000; | |
85 | color: #FF9F00; | |
86 | } | |
87 | ||
a3b3d4d6 | 88 | .iframe-panel, .browser-sidebar { |
b1eaa419 | 89 | } |
90 | ||
91 | /* ::::: loading info ::::: */ | |
92 | ||
93 | .text-panel-loading { | |
94 | margin: 5px 0px; | |
95 | } | |
96 | ||
97 | .text-panel-loading[loading="false"] { | |
8caa872d | 98 | -moz-margin-start: 11px; |
b1eaa419 | 99 | } |
100 | ||
101 | .image-panel-loading { | |
102 | margin: 5px; | |
103 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
104 | } | |
105 | ||
106 | /* ::::: sidebar tabs ::::: */ | |
107 | ||
108 | .box-texttab { | |
109 | -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab"); | |
110 | cursor: pointer; | |
111 | border-top: 3px solid black; | |
01d40f5a | 112 | border-radius: 5px; |
b1eaa419 | 113 | } |
114 | ||
115 | .box-texttab > hbox { | |
01d40f5a | 116 | border-radius: 300px; |
b1eaa419 | 117 | -moz-box-align: stretch; |
01d40f5a RK |
118 | padding: 2px 3px; |
119 | background-color: #C09070; | |
b1eaa419 | 120 | color: #000000; |
121 | } | |
122 | ||
123 | .box-texttab[selected="true"] > hbox, | |
124 | .box-texttab[selected="true"]:hover > hbox, | |
125 | .box-texttab[selected="true"]:hover:active > hbox { | |
126 | background-color: #008484; | |
127 | color: #FFCF00; | |
128 | font-weight: bold; | |
129 | } | |
130 | ||
131 | .box-texttab[selected="true"], | |
132 | .box-texttab[selected="true"]:hover, | |
133 | .box-texttab[selected="true"]:hover:active { | |
134 | border-bottom: 3px solid black; | |
135 | } | |
136 | ||
137 | .box-texttab[last-panel="true"], | |
138 | .box-texttab[last-panel="true"]:hover, | |
139 | .box-texttab[last-panel="true"]:hover:active, | |
140 | .box-texttab[last-panel="true"][selected="true"], | |
141 | .box-texttab[last-panel="true"][selected="true"]:hover, | |
142 | .box-texttab[last-panel="true"][selected="true"]:hover:active { | |
143 | border-bottom: none; | |
144 | } | |
145 | ||
146 | .sbtab-label { | |
02920d2b | 147 | margin: 0px !important; |
b1eaa419 | 148 | } |
149 | ||
150 | .sbtab-twisty { | |
02920d2b | 151 | margin: 2px 3px 0px; |
b1eaa419 | 152 | list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); |
153 | } | |
154 | ||
b1eaa419 | 155 | .box-texttab:hover > hbox, |
156 | .box-texttab:hover:active > hbox { | |
157 | background-color: #FFCF00; | |
158 | } | |
159 | ||
160 | .box-texttab[last-panel="true"], | |
161 | .box-texttab[selected="true"] { | |
162 | margin-bottom: 0px; | |
163 | } | |
164 | ||
165 | .sbtab-twisty[selected="true"] { | |
166 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); | |
167 | } | |
80916bc4 | 168 | |
169 | /* ::::: sidebar navigation buttons ::::: */ | |
170 | ||
171 | .sidebar-nav-button { | |
172 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); | |
02920d2b | 173 | padding: 5px 0px; |
80916bc4 | 174 | } |
175 | ||
176 | .tab-fwd { | |
177 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
178 | } | |
179 | ||
180 | .tab-back { | |
181 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); | |
b1e5c9b1 | 182 | } |