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/. */ | |
128000f4 | 4 | |
74d14f90 | 5 | /* ==== prefpanels.css ================================================== |
6 | == Styles used by all preference panels in the Communicator suite. | |
7 | ====================================================================== */ | |
8 | ||
128000f4 | 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
f6e0a33f | 10 | |
d0ff98fe RK |
11 | /* ::::: Fonts ::::: */ |
12 | ||
13 | #sizeVar, | |
14 | #sizeMono { | |
15 | width: 4em; | |
76983f4c | 16 | } |
f6e0a33f | 17 | |
d0ff98fe RK |
18 | .prefpanel-font-list { |
19 | -moz-box-flex: 1; | |
20 | } | |
21 | ||
fbe1ce82 RK |
22 | /* checkbox which is disabled for changes but non-gray text (i.e., in effect) */ |
23 | ||
24 | checkbox.nogray-disabled[disabled="true"][nogray="true"] { | |
25 | color: inherit; | |
26 | } | |
27 | ||
d0ff98fe RK |
28 | /* ::::: Applications ::::: */ |
29 | /** | |
30 | * Line up the actions menu with action labels above and below it. | |
31 | * Equalize the distance from the left side of the action box to the left side | |
32 | * of the icon for both the menu and the non-menu versions of the action box. | |
33 | * Also make sure the labels are the same distance away from the icons. | |
34 | */ | |
35 | ||
36 | #handlersView > listitem[selected="true"] { | |
37 | border: none; | |
f6e0a33f | 38 | } |
39 | ||
d0ff98fe RK |
40 | .handler-action { |
41 | padding: 0; | |
74d14f90 | 42 | } |
f6e0a33f | 43 | |
d0ff98fe | 44 | .handler-type { |
74d14f90 | 45 | padding: 1px; |
f6e0a33f | 46 | } |
47 | ||
d0ff98fe RK |
48 | .handler-action > .listcell-icon, |
49 | .handler-type > .listcell-icon { | |
50 | margin: 0px; | |
51 | -moz-margin-start: 3px; | |
52 | -moz-margin-end: 5px; | |
53 | height: 16px; | |
54 | width: 16px; | |
f6e0a33f | 55 | } |
56 | ||
d0ff98fe RK |
57 | .handler-action > .listcell-label, |
58 | .handler-type > .listcell-label { | |
59 | padding: 0; | |
60 | } | |
74d14f90 | 61 | |
d0ff98fe RK |
62 | .actionsMenu { |
63 | margin: 0; | |
74d14f90 | 64 | } |
65 | ||
d0ff98fe RK |
66 | .actionsMenu > .menulist-label-box { |
67 | padding: 1px; | |
68 | -moz-padding-start: 0; | |
69 | } | |
70 | ||
71 | .actionsMenu > .menulist-label-box > .menulist-icon { | |
72 | margin: 0 2px; | |
73 | height: 16px; | |
74 | width: 16px; | |
75 | } | |
76 | ||
77 | .handler-action > .menu-iconic-left { | |
78 | padding: 1px; | |
79 | -moz-margin-start: 2px !important; | |
80 | -moz-margin-end: 5px !important; | |
81 | ||
82 | /** | |
83 | * Make the icons appear. | |
84 | * Note: we display the icon box for every item whether or not it has an icon | |
85 | * so the labels of all the items align vertically. | |
86 | */ | |
87 | display: -moz-box; | |
88 | min-width: 16px; | |
89 | } | |
90 | ||
91 | .handler-action > .menu-iconic-left > .menu-iconic-icon { | |
92 | height: 16px; | |
93 | width: 16px; | |
94 | } | |
95 | ||
96 | /* Set icons on app pane elements */ | |
97 | ||
98 | .handler-action[appHandlerIcon="app"] { | |
99 | list-style-image: url("chrome://communicator/skin/icons/application.png"); | |
afb758a0 | 100 | } |
101 | ||
d0ff98fe RK |
102 | .handler-action[appHandlerIcon="ask"] { |
103 | list-style-image: url("chrome://communicator/skin/icons/alwaysAsk.png"); | |
104 | } | |
105 | ||
106 | .handler-action[appHandlerIcon="save"] { | |
107 | list-style-image: url("chrome://communicator/skin/icons/save.png"); | |
108 | } | |
109 | ||
110 | .handler-action[appHandlerIcon="feed"] { | |
111 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
112 | } | |
113 | ||
114 | .handler-action[appHandlerIcon="plugin"] { | |
115 | list-style-image: url("chrome://communicator/skin/icons/plugin.png"); | |
116 | } | |
117 | ||
118 | .handler-type[typeClass="unknown"] { | |
119 | list-style-image: url("moz-icon://goat?size=16"); | |
120 | } | |
afb758a0 | 121 | |
d0ff98fe RK |
122 | .handler-type[typeClass="webFeed"], |
123 | .handler-type[typeClass="videoPodcastFeed"], | |
124 | .handler-type[typeClass="audioPodcastFeed"] { | |
125 | list-style-image: url("chrome://communicator/skin/icons/feedIcon16.png"); | |
74d14f90 | 126 | } |
c2e1f790 | 127 | |
2e52fc60 RK |
128 | /* ::::: Search ::::: */ |
129 | ||
130 | #engineList > .menulist-label-box > .menulist-icon { | |
131 | height: 16px; | |
132 | width: 16px; | |
133 | } | |
134 | ||
c2e1f790 RK |
135 | /* ::::: Sync ::::: */ |
136 | ||
137 | #syncDesc { | |
138 | padding: 0 12em; | |
139 | } |