more beautification for the searchbar button
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
CommitLineData
85cfb236
RK
1/* - This Source Code Form is subject to the terms of the Mozilla Public\r
2 - License, v. 2.0. If a copy of the MPL was not distributed with this file,\r
3 - You can obtain one at http://mozilla.org/MPL/2.0/. */\r
4\r
5@import url("chrome://global/skin/inContentUI.css");\r
6\r
7@namespace html "http://www.w3.org/1999/xhtml";\r
8\r
9#preferences-home {\r
10 display: block;\r
11}\r
12\r
13#header {\r
14 margin-bottom: 18px;\r
15}\r
16\r
17.indent-small {\r
18 -moz-margin-start: 10px;\r
19}\r
20\r
21.landingButton {\r
22 -moz-box-align: center;\r
23 -moz-box-orient: vertical;\r
24}\r
25\r
26.landingButton:hover {\r
27 cursor: pointer;\r
28}\r
29\r
30.landingButton-label {\r
31 margin-top: 4px;\r
32}\r
33\r
34.landingButton-icon {\r
35 display: block;\r
36 width: 32px;\r
37 height: 32px;\r
38 background-image: url("chrome://browser/skin/preferences/Options.png");\r
39 background-repeat: no-repeat;\r
40}\r
41\r
42.preference-icon {\r
43 display: block;\r
44 width: 32px;\r
45 height: 32px;\r
46 background-image: url("chrome://browser/skin/preferences/Options.png");\r
47 background-repeat: no-repeat;\r
48 margin: 0 20px;\r
49}\r
50\r
51.preference-icon[type="general"],\r
52.landingButton-icon[type="general"] {\r
53 background-position: 0 0;\r
54}\r
55\r
56.preference-icon[type="tabs"],\r
57.landingButton-icon[type="tabs"] {\r
58 background-position: -32px 0;\r
59}\r
60\r
61.preference-icon[type="content"],\r
62.landingButton-icon[type="content"] {\r
63 background-position: -64px 0;\r
64}\r
65\r
66.preference-icon[type="applications"],\r
67.landingButton-icon[type="applications"] {\r
68 background-position: -96px 0;\r
69}\r
70\r
71.preference-icon[type="privacy"],\r
72.landingButton-icon[type="privacy"] {\r
73 background-position: -128px 0;\r
74}\r
75\r
76.preference-icon[type="security"],\r
77.landingButton-icon[type="security"] {\r
78 background-position: -160px 0;\r
79}\r
80\r
81.preference-icon[type="advanced"],\r
82.landingButton-icon[type="advanced"] {\r
83 background-position: -192px 0;\r
84}\r
85\r
86.preference-icon[type="sync"],\r
87.landingButton-icon[type="sync"] {\r
88 background-image: url("chrome://browser/skin/preferences/Options-sync.png");\r
89}\r
90\r
91caption {\r
92 font-size: 20px;\r
93}\r
94\r
95.heading {\r
96 height: 50px;\r
97 background-color: #FF9F00;\r
98 color: #000000;\r
99 border-radius: 5px;\r
100 margin-bottom: 15px;\r
101 -moz-box-align: center;\r
102}\r
103\r
104prefpane {\r
105 padding: 0;\r
106}\r
107\r
108prefpane > .content-box {\r
109 overflow: auto;\r
110}\r
111\r
112/* Applications Pane Styles */\r
113\r
114#applications-content {\r
115 padding: 15px;\r
116}\r
117\r
118#handlersView {\r
119 border: none; /*1px solid #9C9CFF;*/\r
120 margin: 0;\r
121 overflow-y: auto;\r
122 border-top-left-radius: 0;\r
123 border-top-right-radius: 0;\r
124}\r
125\r
126#handersView > listheader > treecol {\r
127 border-radius: 0;\r
128}\r
129\r
130#advancedPrefs {\r
131 padding: 0; /* overrides preferences/preferences.css */\r
132}\r
133\r
134#advancedPrefs > tabs {\r
135 -moz-padding-start: 5px;\r
136}\r
137\r
138#advancedPrefs > tabpanels {\r
139 border-right: none;\r
140 border-left: none;\r
141 border-bottom: none;\r
142 border-top-left-radius: 0;\r
143 border-top-right-radius: 0;\r
144}\r
145\r
146/* XXX This style is for bug 740213 and should be removed once that\r
147 bug has a solution. */\r
148description > html|a {\r
149 cursor: pointer;\r
150}\r
151\r
152/* XXX Styles Below can be removed once bug 660726 lands */\r
153.nav-button {\r
154 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");\r
155}\r
156\r
157#forward-btn {\r
158 -moz-border-start: none;\r
159}\r
160\r
161#back-btn:-moz-locale-dir(ltr),\r
162#forward-btn:-moz-locale-dir(rtl) {\r
163 -moz-image-region: rect(42px 25px 63px 0px);\r
164 border-top-right-radius: 0;\r
165 border-bottom-right-radius: 0;\r
166}\r
167\r
168#back-btn:not([disabled="true"]):hover:-moz-locale-dir(ltr),\r
169#back-btn:not([disabled="true"]):hover:active:-moz-locale-dir(ltr),\r
170#forward-btn:not([disabled="true"]):hover:-moz-locale-dir(rtl),\r
171#forward-btn:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) {\r
172 -moz-image-region: rect(42px 75px 63px 50px);\r
173}\r
174\r
175#back-btn[disabled="true"]:-moz-locale-dir(ltr),\r
176#forward-btn[disabled="true"]:-moz-locale-dir(rtl) {\r
177 -moz-image-region: rect(42px 50px 63px 25px);\r
178}\r
179\r
180#back-btn:-moz-locale-dir(rtl),\r
181#forward-btn:-moz-locale-dir(ltr) {\r
182 -moz-image-region: rect(63px 25px 84px 0px);\r
183 border-top-left-radius: 0;\r
184 border-bottom-left-radius: 0;\r
185}\r
186\r
187#back-btn:not([disabled="true"]):hover:-moz-locale-dir(rtl),\r
188#back-btn:not([disabled="true"]):hover:active:-moz-locale-dir(rtl),\r
189#forward-btn:not([disabled="true"]):hover:-moz-locale-dir(ltr),\r
190#forward-btn:not([disabled="true"]):hover:active:-moz-locale-dir(ltr) {\r
191 -moz-image-region: rect(63px 75px 84px 50px);\r
192}\r
193\r
194#back-btn[disabled="true"]:-moz-locale-dir(rtl),\r
195#forward-btn[disabled="true"]:-moz-locale-dir(ltr) {\r
196 -moz-image-region: rect(63px 50px 84px 25px);\r
197}\r
198\r
199.header-button {\r
200}\r
201\r
202.header-button:not([disabled="true"]):active:hover,\r
203.header-button[open="true"] {\r
204}\r
205\r
206.header-button > .toolbarbutton-text {\r
207 display: none;\r
208}\r