root / branches / new-dialogs / Xinha.css

Revision 1026, 7.0 kB (checked in by ray, 3 years ago)

#1176 added global config options for centering, greyout, and close on escape

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
Line 
1.htmlarea { background: #fff; }
2.htmlarea td { margin:0;padding:0; }
3
4.htmlarea .toolbarRow {
5  width:1px;
6}
7
8.htmlarea .toolbar {
9  cursor: default;
10  background: ButtonFace;
11  padding: 3px;
12  border: 1px solid;
13  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
14}
15.htmlarea .toolbar table { margin: 0; font-family: tahoma,verdana,sans-serif; font-size: 11px; }
16.htmlarea .toolbar img { border: none; vertical-align: top; }
17.htmlarea .toolbar .label { padding: 0px 3px; }
18
19.htmlarea .toolbar .button {
20  background: ButtonFace;
21  color: ButtonText;
22  border: 1px solid ButtonFace;
23  padding: 1px;
24  margin: 0px;
25  width: 18px;
26  height: 18px;
27}
28.htmlarea .toolbar a.button:hover {
29  border: 1px solid;
30  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
31}
32.htmlarea .toolbar a.buttonDisabled:hover {
33  border-color: ButtonFace;
34}
35.htmlarea .toolbar .buttonActive,
36.htmlarea .toolbar .buttonPressed
37{
38  padding: 2px 0px 0px 2px;
39  border: 1px solid;
40  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
41}
42.htmlarea .toolbar .buttonPressed {
43  background: ButtonHighlight;
44}
45.htmlarea .toolbar .indicator {
46  padding: 0px 3px;
47  overflow: hidden;
48  width: 20px;
49  text-align: center;
50  cursor: default;
51  border: 1px solid ButtonShadow;
52}
53
54.htmlarea .toolbar .buttonDisabled img {
55  filter: gray() alpha(opacity = 25);
56  -moz-opacity: 0.25;
57  opacity: 0.25;
58}
59
60.htmlarea .toolbar .separator {
61  /*position: relative;*/
62  margin:0 3px;
63  border-left: 1px solid ButtonShadow;
64  border-right: 1px solid ButtonHighlight;
65  width: 0px;
66  height: 18px;
67  padding: 0px;
68}
69
70.htmlarea .toolbar .space { width: 5px; }
71
72.htmlarea .toolbar select, .htmlarea .toolbar option { font: 11px Tahoma,Verdana,sans-serif;}
73
74.htmlarea .toolbar select,
75.htmlarea .toolbar select:hover,
76.htmlarea .toolbar select:active {
77  position:relative;
78  top:-2px;
79  margin-bottom:-2px;
80  color: ButtonText;
81}
82
83.htmlarea iframe.xinha_iframe, .htmlarea textarea.xinha_textarea
84{
85  border: none; /*1px solid;*/
86}
87
88.htmlarea .statusBar {
89  border: 1px solid;
90  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
91  padding: 2px 4px;
92  background-color: ButtonFace;
93  color: ButtonText;
94  font: 11px Tahoma,Verdana,sans-serif;
95  height:16px;
96}
97
98.htmlarea .statusBar .statusBarTree a {
99  padding: 2px 5px;
100  color: #00f;
101}
102
103.htmlarea .statusBar .statusBarTree a:visited { color: #00f; }
104.htmlarea .statusBar .statusBarTree a:hover {
105  background-color: Highlight;
106  color: HighlightText;
107  padding: 1px 4px;
108  border: 1px solid HighlightText;
109}
110
111
112/* popup dialogs */
113
114.dialog {
115  color: ButtonText;
116  background: ButtonFace;
117  border: 1px outset;
118  border-color: WindowFrame;
119}
120div.dialog {
121  padding-bottom:10px;
122}
123.xinha_dialog_background {
124  filter: alpha(opacity=0);
125  -moz-opacity: 0;
126  opacity: 0;
127  border:none;
128}
129.xinha_dialog_background.modal.greyout {
130  background-color:#666;
131  filter: alpha(opacity=70) !IMPORTANT;
132  -moz-opacity: 0.7;
133  opacity: 0.7;
134}
135.xinha_dialog_background.modal {
136  filter: alpha(opacity=0) !IMPORTANT;
137  -moz-opacity: 0;
138  opacity: 0;
139  border:none;
140}
141body.xinha_dialog_background.modal.greyout {
142  filter: alpha(opacity=100) !IMPORTANT;
143}
144body.xinha_dialog_background.modal {
145  filter: alpha(opacity=0);
146}
147.dialog .content { padding: 2px; }
148
149.dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table {
150  font: 11px Tahoma,Verdana,sans-serif;
151}
152
153.dialog table { border-collapse: collapse; }
154
155.dialog .title, .dialog h1
156{
157  background: ActiveCaption;
158  color: CaptionText;
159  border-bottom: 1px solid #000;
160  padding: 1px 0px 2px 5px;
161  font-size: 12px;
162  font-weight: bold;
163  cursor: default;
164  letter-spacing: 0.01em;
165}
166.dialog h1 { margin:0;}
167.dialog .title .button {
168  float: right;
169  border: 1px solid #66a;
170  padding: 0px 1px 0px 2px;
171  margin-right: 1px;
172  color: #fff;
173  text-align: center;
174}
175
176.dialog .title .button-hilite { border-color: #88f; background: #44c; }
177
178.dialog button {
179  width: 5.5em;
180  padding: 0px;
181}
182.dialog .closeButton {
183  padding: 0px;
184  cursor: default;
185  border: 1px solid;
186  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
187  height : 11px;
188  width : 11px;
189  vertical-align : top;
190  position : absolute;
191  top : 3px;
192  right : 2px;
193  background-color: ButtonFace;
194  color: ButtonText;
195  font-size: 13px;
196  font-family: Tahoma,Verdana,sans-serif;
197  text-align:center;
198  letter-spacing:0;
199  overflow:hidden;
200}
201.dialog .buttonColor {
202  width :1em;
203  padding: 1px;
204  cursor: default;
205  border: 1px solid;
206  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
207}
208
209.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor {
210  height: 0.6em;
211  border: 1px solid;
212  padding: 0px 1em;
213  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
214}
215
216.dialog .buttonClick {
217  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
218}
219.dialog .buttonColor-hilite {
220   border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
221}
222
223.dialog .buttonColor .nocolor { padding: 0px; }
224.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
225
226.dialog .label { text-align: right; width: 6em; }
227.dialog .value input { width: 100%; }
228
229.dialog legend { font-weight: bold; }
230.dialog fieldset table { margin: 2px 0px; }
231 
232.dialog  .buttons {
233
234      padding: 1em;
235      text-align: center;
236}
237.dialog .resizeHandle {
238    -moz-appearance : resizer;
239    width: 12px;
240    height: 12px;
241    border-bottom: 2px solid #000;
242    border-right: 2px solid #000;
243    cursor : nw-resize;
244}
245.popupwin {
246  padding: 0px;
247  margin: 0px;
248}
249
250.popupwin .title {
251  background: #fff;
252  color: #000;
253  font-weight: bold;
254  font-size: 120%;
255  padding: 3px 10px;
256  margin-bottom: 10px;
257  border-bottom: 1px solid black;
258  letter-spacing: 2px;
259}
260
261form { margin: 0px; border: none; }
262
263
264/** Panels **/
265.htmlarea .panels.top
266{
267  border-bottom : 1px solid;
268  border-color: ButtonShadow;
269}
270
271.htmlarea .panels.right
272{
273  border-left : 1px solid;
274  border-color: ButtonShadow;
275}
276
277.htmlarea .panels.left
278{
279  border-right : 1px solid;
280  border-color: ButtonShadow;
281}
282
283.htmlarea .panels.bottom
284{
285  border-top : 1px solid;
286  border-color: ButtonShadow;
287}
288
289.htmlarea .panel h1 {
290  clear:left;
291  font-size:0.9em;
292}
293
294.htmlarea .panel {
295  overflow:hidden;
296  background-color:white;
297  padding-bottom:0 !IMPORTANT;
298  border: none !IMPORTANT;
299}
300.htmlarea .panels.left  .panel { border-right:none; border-left:none; }
301.htmlarea .panels.left  h1     { border-right:none;  }
302.htmlarea .panels.right .panel { border-right:none; border-left:none; }
303.htmlarea .panels.left  h1     { border-left:none;  }
304.htmlarea { border: 1px solid black; }
305
306.loading
307{
308  font-family:sans-serif;
309  position:absolute;
310  z-index:998;
311  text-align:center;
312  width:212px;
313  padding: 55px 0 5px 0;
314  border:2px solid #ccc;
315  /* border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;*/
316  background: url(images/xinha_logo.gif) no-repeat #fff center 5px;
317}
318.loading_main
319{
320  font-size:11px;
321  color:#000;
322 
323}
324.loading_sub
325{
326  font-size:9px;
327  color:#666;
328  text-align:center;
329}
Note: See TracBrowser for help on using the browser.