make the forward-button-hiding really work and give it a nicer shape when it's displayed
[themes.git] / LCARStrek / communicator / prefpanels.css
... / ...
CommitLineData
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
40/* ==== prefpanels.css ==================================================
41 == Styles used by all preference panels in the Communicator suite.
42 ====================================================================== */
43
44/* ::::: Fonts ::::: */
45
46#sizeVar,
47#sizeMono {
48 width: 4em;
49}
50
51.prefpanel-font-list {
52 -moz-box-flex: 1;
53}
54
55/* ::::: Applications ::::: */
56/**
57 * Line up the actions menu with action labels above and below it.
58 * Equalize the distance from the left side of the action box to the left side
59 * of the icon for both the menu and the non-menu versions of the action box.
60 * Also make sure the labels are the same distance away from the icons.
61 */
62
63#handlersView > listitem[selected="true"] {
64 border: none;
65}
66
67.handler-action {
68 padding: 0;
69}
70
71.handler-type {
72 padding: 1px;
73}
74
75.handler-action > .listcell-icon,
76.handler-type > .listcell-icon {
77 margin: 0px;
78 -moz-margin-start: 3px;
79 -moz-margin-end: 5px;
80 height: 16px;
81 width: 16px;
82}
83
84.handler-action > .listcell-label,
85.handler-type > .listcell-label {
86 padding: 0;
87}
88
89.actionsMenu {
90 margin: 0;
91}
92
93.actionsMenu > .menulist-label-box {
94 padding: 1px;
95 -moz-padding-start: 0;
96}
97
98.actionsMenu > .menulist-label-box > .menulist-icon {
99 margin: 0 2px;
100 height: 16px;
101 width: 16px;
102}
103
104.handler-action > .menu-iconic-left {
105 padding: 1px;
106 -moz-margin-start: 2px !important;
107 -moz-margin-end: 5px !important;
108
109 /**
110 * Make the icons appear.
111 * Note: we display the icon box for every item whether or not it has an icon
112 * so the labels of all the items align vertically.
113 */
114 display: -moz-box;
115 min-width: 16px;
116}
117
118.handler-action > .menu-iconic-left > .menu-iconic-icon {
119 height: 16px;
120 width: 16px;
121}
122
123/* Set icons on app pane elements */
124
125.handler-action[appHandlerIcon="app"] {
126 list-style-image: url("chrome://communicator/skin/icons/application.png");
127}
128
129.handler-action[appHandlerIcon="ask"] {
130 list-style-image: url("chrome://communicator/skin/icons/alwaysAsk.png");
131}
132
133.handler-action[appHandlerIcon="save"] {
134 list-style-image: url("chrome://communicator/skin/icons/save.png");
135}
136
137.handler-action[appHandlerIcon="feed"] {
138 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
139}
140
141.handler-action[appHandlerIcon="plugin"] {
142 list-style-image: url("chrome://communicator/skin/icons/plugin.png");
143}
144
145.handler-type[typeClass="unknown"] {
146 list-style-image: url("moz-icon://goat?size=16");
147}
148
149.handler-type[typeClass="webFeed"],
150.handler-type[typeClass="videoPodcastFeed"],
151.handler-type[typeClass="audioPodcastFeed"] {
152 list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png");
153}
154
155/* ::::: Sync ::::: */
156
157#syncDesc {
158 padding: 0 12em;
159}