Blame view

static/admin/css/widgets.css 10.2 KB
831eac332   zhuzhenchao   add file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
  /* SELECTOR (FILTER INTERFACE) */
  
  .selector {
      width: 840px;
      float: left;
  }
  
  .selector select {
      width: 400px;
      height: 17.2em;
  }
  
  .selector-available, .selector-chosen {
      float: left;
      width: 400px;
      text-align: center;
      margin-bottom: 5px;
  }
  
  .selector-chosen select {
      border-top: none;
  }
  
  .selector-available h2, .selector-chosen h2 {
      border: 1px solid #ccc;
  }
  
  .selector .selector-available h2 {
      background: white url(../img/nav-bg.gif) bottom left repeat-x;
      color: #666;
  }
  
  .selector .selector-filter {
      background: white;
      border: 1px solid #ccc;
      border-width: 0 1px;
      padding: 3px;
      color: #999;
      font-size: 10px;
      margin: 0;
      text-align: left;
  }
  
  .selector .selector-filter label,
  .inline-group .aligned .selector .selector-filter label {
      width: 16px;
      padding: 2px;
  }
  
  .selector .selector-available input {
      width: 360px;
  }
  
  .selector ul.selector-chooser {
      float: left;
      width: 22px;
      background-color: #eee;
      border-radius: 10px;
      margin: 10em 5px 0 5px;
      padding: 0;
  }
  
  .selector-chooser li {
      margin: 0;
      padding: 3px;
      list-style-type: none;
  }
  
  .selector select {
      margin-bottom: 10px;
      margin-top: 0;
  }
  
  .selector-add, .selector-remove {
      width: 16px;
      height: 16px;
      display: block;
      text-indent: -3000px;
      overflow: hidden;
  }
  
  .selector-add {
      background: url(../img/selector-icons.gif) 0 -161px no-repeat;
      cursor: default;
      margin-bottom: 2px;
  }
  
  .active.selector-add {
      background: url(../img/selector-icons.gif) 0 -187px no-repeat;
      cursor: pointer;
  }
  
  .selector-remove {
      background: url(../img/selector-icons.gif) 0 -109px no-repeat;
      cursor: default;
  }
  
  .active.selector-remove {
      background: url(../img/selector-icons.gif) 0 -135px no-repeat;
      cursor: pointer;
  }
  
  a.selector-chooseall, a.selector-clearall {
      display: inline-block;
      text-align: left;
      margin-left: auto;
      margin-right: auto;
      font-weight: bold;
      color: #666;
  }
  
  a.selector-chooseall {
      padding: 3px 18px 3px 0;
  }
  
  a.selector-clearall {
      padding: 3px 0 3px 18px;
  }
  
  a.active.selector-chooseall:hover, a.active.selector-clearall:hover {
      color: #036;
  }
  
  a.selector-chooseall {
      background: url(../img/selector-icons.gif) right -263px no-repeat;
      cursor: default;
  }
  
  a.active.selector-chooseall {
      background: url(../img/selector-icons.gif) right -289px no-repeat;
      cursor: pointer;
  }
  
  a.selector-clearall {
      background: url(../img/selector-icons.gif) left -211px no-repeat;
      cursor: default;
  }
  
  a.active.selector-clearall {
      background: url(../img/selector-icons.gif) left -237px no-repeat;
      cursor: pointer;
  }
  
  /* STACKED SELECTORS */
  
  .stacked {
      float: left;
      width: 500px;
  }
  
  .stacked select {
      width: 480px;
      height: 10.1em;
  }
  
  .stacked .selector-available, .stacked .selector-chosen {
      width: 480px;
  }
  
  .stacked .selector-available {
      margin-bottom: 0;
  }
  
  .stacked .selector-available input {
      width: 442px;
  }
  
  .stacked ul.selector-chooser {
      height: 22px;
      width: 50px;
      margin: 0 0 3px 40%;
      background-color: #eee;
      border-radius: 10px;
  }
  
  .stacked .selector-chooser li {
      float: left;
      padding: 3px 3px 3px 5px;
  }
  
  .stacked .selector-chooseall, .stacked .selector-clearall {
      display: none;
  }
  
  .stacked .selector-add {
      background: url(../img/selector-icons.gif) 0 -57px no-repeat;
      cursor: default;
  }
  
  .stacked .active.selector-add {
      background: url(../img/selector-icons.gif) 0 -83px no-repeat;
      cursor: pointer;
  }
  
  .stacked .selector-remove {
      background: url(../img/selector-icons.gif) 0 -5px no-repeat;
      cursor: default;
  }
  
  .stacked .active.selector-remove {
      background: url(../img/selector-icons.gif) 0 -31px no-repeat;
      cursor: pointer;
  }
  
  /* DATE AND TIME */
  
  p.datetime {
      line-height: 20px;
      margin: 0;
      padding: 0;
      color: #666;
      font-size: 11px;
      font-weight: bold;
  }
  
  .datetime span {
      font-size: 11px;
      color: #ccc;
      font-weight: normal;
      white-space: nowrap;
  }
  
  table p.datetime {
      font-size: 10px;
      margin-left: 0;
      padding-left: 0;
  }
  
  /* URL */
  
  p.url {
      line-height: 20px;
      margin: 0;
      padding: 0;
      color: #666;
      font-size: 11px;
      font-weight: bold;
  }
  
  .url a {
      font-weight: normal;
  }
  
  /* FILE UPLOADS */
  
  p.file-upload {
      line-height: 20px;
      margin: 0;
      padding: 0;
      color: #666;
      font-size: 11px;
      font-weight: bold;
  }
  
  .file-upload a {
      font-weight: normal;
  }
  
  .file-upload .deletelink {
      margin-left: 5px;
  }
  
  span.clearable-file-input label {
      color: #333;
      font-size: 11px;
      display: inline;
      float: none;
  }
  
  /* CALENDARS & CLOCKS */
  
  .calendarbox, .clockbox {
      margin: 5px auto;
      font-size: 11px;
      width: 16em;
      text-align: center;
      background: white;
      position: relative;
  }
  
  .clockbox {
      width: auto;
  }
  
  .calendar {
      margin: 0;
      padding: 0;
  }
  
  .calendar table {
      margin: 0;
      padding: 0;
      border-collapse: collapse;
      background: white;
      width: 100%;
  }
  
  .calendar caption, .calendarbox h2 {
      margin: 0;
      font-size: 11px;
      text-align: center;
      border-top: none;
  }
  
  .calendar th {
      font-size: 10px;
      color: #666;
      padding: 2px 3px;
      text-align: center;
      background: #e1e1e1 url(../img/nav-bg.gif) 0 50% repeat-x;
      border-bottom: 1px solid #ddd;
  }
  
  .calendar td {
      font-size: 11px;
      text-align: center;
      padding: 0;
      border-top: 1px solid #eee;
      border-bottom: none;
  }
  
  .calendar td.selected a {
      background: #C9DBED;
  }
  
  .calendar td.nonday {
      background: #efefef;
  }
  
  .calendar td.today a {
      background: #ffc;
  }
  
  .calendar td a, .timelist a {
      display: block;
      font-weight: bold;
      padding: 4px;
      text-decoration: none;
      color: #444;
  }
  
  .calendar td a:hover, .timelist a:hover {
      background: #5b80b2;
      color: white;
  }
  
  .calendar td a:active, .timelist a:active {
      background: #036;
      color: white;
  }
  
  .calendarnav {
      font-size: 10px;
      text-align: center;
      color: #ccc;
      margin: 0;
      padding: 1px 3px;
  }
  
  .calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover {
      color: #999;
  }
  
  .calendar-shortcuts {
      background: white;
      font-size: 10px;
      line-height: 11px;
      border-top: 1px solid #eee;
      padding: 3px 0 4px;
      color: #ccc;
  }
  
  .calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
      display: block;
      position: absolute;
      font-weight: bold;
      font-size: 12px;
      background: #C9DBED url(../img/default-bg.gif) bottom left repeat-x;
      padding: 1px 4px 2px 4px;
      color: white;
  }
  
  .calendarnav-previous:hover, .calendarnav-next:hover {
      background: #036;
  }
  
  .calendarnav-previous {
      top: 0;
      left: 0;
  }
  
  .calendarnav-next {
      top: 0;
      right: 0;
  }
  
  .calendar-cancel {
      margin: 0 !important;
      padding: 0 !important;
      font-size: 10px;
      background: #e1e1e1 url(../img/nav-bg.gif) 0 50% repeat-x;
      border-top: 1px solid #ddd;
  }
  
  .calendar-cancel:hover {
      background: #e1e1e1 url(../img/nav-bg-reverse.gif) 0 50% repeat-x;
  }
  
  .calendar-cancel a {
      color: black;
      display: block;
  }
  
  ul.timelist, .timelist li {
      list-style-type: none;
      margin: 0;
      padding: 0;
  }
  
  .timelist a {
      padding: 2px;
  }
  
  /* INLINE ORDERER */
  
  ul.orderer {
      position: relative;
      padding: 0 !important;
      margin: 0 !important;
      list-style-type: none;
  }
  
  ul.orderer li {
      list-style-type: none;
      display: block;
      padding: 0;
      margin: 0;
      border: 1px solid #bbb;
      border-width: 0 1px 1px 0;
      white-space: nowrap;
      overflow: hidden;
      background: #e2e2e2 url(../img/nav-bg-grabber.gif) repeat-y;
  }
  
  ul.orderer li:hover {
      cursor: move;
      background-color: #ddd;
  }
  
  ul.orderer li a.selector {
      margin-left: 12px;
      overflow: hidden;
      width: 83%;
      font-size: 10px !important;
      padding: 0.6em 0;
  }
  
  ul.orderer li a:link, ul.orderer li a:visited {
      color: #333;
  }
  
  ul.orderer li .inline-deletelink {
      position: absolute;
      right: 4px;
      margin-top: 0.6em;
  }
  
  ul.orderer li.selected {
      background-color: #f8f8f8;
      border-right-color: #f8f8f8;
  }
  
  ul.orderer li.deleted {
      background: #bbb url(../img/deleted-overlay.gif);
  }
  
  ul.orderer li.deleted a:link, ul.orderer li.deleted a:visited {
      color: #888;
  }
  
  ul.orderer li.deleted .inline-deletelink {
      background-image: url(../img/inline-restore.png);
  }
  
  ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover {
      cursor: default;
  }
  
  /* EDIT INLINE */
  
  .inline-deletelink {
      float: right;
      text-indent: -9999px;
      background: transparent url(../img/inline-delete.png) no-repeat;
      width: 15px;
      height: 15px;
      border: 0px none;
      outline: 0; /* Remove dotted border around link */
  }
  
  .inline-deletelink:hover {
      background-position: -15px 0;
      cursor: pointer;
  }
  
  .editinline button.addlink {
      border: 0px none;
      color: #5b80b2;
      font-size: 100%;
      cursor: pointer;
  }
  
  .editinline button.addlink:hover {
      color: #036;
      cursor: pointer;
  }
  
  .editinline table .help {
      text-align: right;
      float: right;
      padding-left: 2em;
  }
  
  .editinline tfoot .addlink {
      white-space: nowrap;
  }
  
  .editinline table thead th:last-child {
      border-left: none;
  }
  
  .editinline tr.deleted {
      background: #ddd url(../img/deleted-overlay.gif);
  }
  
  .editinline tr.deleted .inline-deletelink {
      background-image: url(../img/inline-restore.png);
  }
  
  .editinline tr.deleted td:hover {
      cursor: default;
  }
  
  .editinline tr.deleted td:first-child {
      background-image: none !important;
  }
  
  /* EDIT INLINE - STACKED */
  
  .editinline-stacked {
      min-width: 758px;
  }
  
  .editinline-stacked .inline-object {
      margin-left: 210px;
      background: white;
  }
  
  .editinline-stacked .inline-source {
      float: left;
      width: 200px;
      background: #f8f8f8;
  }
  
  .editinline-stacked .inline-splitter {
      float: left;
      width: 9px;
      background: #f8f8f8 url(../img/inline-splitter-bg.gif) 50% 50% no-repeat;
      border-right: 1px solid #ccc;
  }
  
  .editinline-stacked .controls {
      clear: both;
      background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
      padding: 3px 4px;
      font-size: 11px;
      border-top: 1px solid #ddd;
  }
  
  /* RELATED WIDGET WRAPPER */
  
  .related-widget-wrapper-link {
      opacity: 0.3;
  }
  
  .related-widget-wrapper-link:link {
      opacity: 1;
  }