Projet

Général

Profil

Paste
Télécharger (17 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / panels_ipe / css / panels_ipe.css @ 64156087

1
body.panels-ipe {
2
  margin-bottom: 60px !important;
3
}
4

    
5
/* Hide the IPE toolbar on print output. */
6
@media print {
7
  #panels-ipe-control-container {
8
    display: none !important;
9
  }
10
  body.panels-ipe {
11
    margin-top: 0 !important;
12
  }
13
}
14

    
15
/* Hide the control container when the overlay is open. */
16
html.overlay-open #panels-ipe-control-container {
17
  display: none !important;
18
}
19
html.overlay-open body.panels-ipe {
20
  margin-top: 0 !important;
21
}
22

    
23
div.panels-ipe-handlebar-wrapper {
24
  border-bottom: 1px solid #ccc;
25
}
26

    
27
.panels-ipe-editing div.panels-ipe-portlet-wrapper {
28
  margin-top: 1em;
29
  border: 1px solid #ccc;
30
  width: 100%;
31
}
32

    
33
/* Hide empty panes when not editing them. */
34
.panels-ipe-empty-pane {
35
  display: none;
36
}
37

    
38
.panels-ipe-editing .panels-ipe-empty-pane {
39
  display: block;
40
}
41

    
42
.panels-ipe-editing div.panels-ipe-portlet-wrapper:hover {
43
  border: 1px dashed #ccc;
44
}
45

    
46
.panels-ipe-editing .panels-ipe-sort-container {
47
  min-height: 40px;
48
}
49

    
50
.panels-ipe-editing .panels-ipe-sort-container .ui-sortable-helper {
51
  background: white;
52
}
53

    
54
.panels-ipe-editing div.panel-pane div.admin-links {
55
  display: none !important;
56
}
57

    
58
.panels-ipe-editing .panels-ipe-sort-container .ui-sortable-placeholder {
59
  border: 2px dashed #999;
60
  background-color: #ffff99;
61
  margin: 1em 0;
62
  -moz-border-radius: 0;
63
  -khtml-border-radius: 0;
64
  -webkit-border-radius: 0;
65
  border-radius: 0;
66
}
67

    
68
div.panels-ipe-handlebar-wrapper ul {
69
  float: left;
70
  margin: 0;
71
  padding: 0;
72
  text-align: right;
73
}
74

    
75
div.panels-ipe-handlebar-wrapper li {
76
  background: none;
77
  list-style-type: none;
78
  list-style-image: none;
79
  margin: 0 .5em 0 0;
80
  padding: 0;
81
  float: left;
82
}
83

    
84
div.panels-ipe-draghandle,
85
div.panels-ipe-nodraghandle {
86
  background: #e9e9e9;
87
  background-image: linear-gradient(bottom, #d5d5d5 0%, #fcfcfc 100%);
88
  background-image: -o-linear-gradient(bottom, #d5d5d5 0%, #fcfcfc 100%);
89
  background-image: -moz-linear-gradient(bottom, #d5d5d5 0%, #fcfcfc 100%);
90
  background-image: -webkit-linear-gradient(bottom, #d5d5d5 0%, #fcfcfc 100%);
91
  background-image: -ms-linear-gradient(bottom, #d5d5d5 0%, #fcfcfc 100%);
92
  background-image: -webkit-gradient(
93
  linear,
94
  left bottom,
95
  left top,
96
  color-stop(0, #d5d5d5),
97
  color-stop(1, #fcfcfc)
98
  );
99
  padding: 8px 7px;
100
}
101

    
102
div.panels-ipe-draghandle span.panels-ipe-draghandle-icon {
103
  display: block;
104
  float: right;
105
  cursor: move;
106
  width: 34px;
107
  height: 34px;
108
  padding: 0 !important; /* override button defaults */
109
}
110

    
111
span.panels-ipe-draghandle-icon-inner {
112
  display: block;
113
  width: 34px;
114
  height: 34px;
115
  background: url(../images/icon-draggable.png) no-repeat 3px 3px;
116
}
117

    
118
div.panels-ipe-placeholder {
119
  border: 2px dashed #999;
120
  padding: .5em;
121
  position: relative;
122
  margin-top: .5em;
123
  background-color: #ecfaff;
124
  color: #999;
125
  font: 15px/1.3em "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
126
  text-transform: none;
127
  letter-spacing: 0;
128
  text-align: left;
129
  word-spacing: 0;
130
}
131

    
132
div.panels-ipe-placeholder h3 {
133
  font-weight: normal;
134
  font-size: 15px;
135
  width: 75px; /* In order to prevent the region title from running into the button, set a width. Initital width only--this will be changed by jQuery */
136
  margin: 1.154em 0;
137
}
138

    
139
/* Hide editor-state-on elements initially */
140
.panels-ipe-on {
141
  display: none;
142
}
143

    
144
.panels-ipe-editing .panels-ipe-on {
145
  display: block;
146
}
147

    
148
/* Show editor-state-off elements initially */
149
.panels-ipe-off {
150
  display: block;
151
}
152

    
153
div.panels-ipe-newblock {
154
  -webkit-box-shadow: 0px 0 5px 5px #ecfaff;
155
  -moz-box-shadow: 0px 0 5px 5px #ecfaff;
156
  box-shadow: 0px 0 5px 5px #ecfaff;
157
  position: absolute;
158
  right: 10px;
159
  top: 50%;
160
  margin-top: -18px; /* some initial guesses to help center the add button
161
    panels_ipe.js will evaluate the width and get this pixel-perfect */
162
  margin-left: -30px;
163
  z-index: 99;
164
}
165

    
166
div.panels-ipe-newblock li {
167
  padding: 0;
168
}
169

    
170
div.panels-ipe-handlebar-wrapper li a,
171
div.panels-ipe-dragtitle span,
172
div.panels-ipe-newblock a,
173
span.panels-ipe-draghandle-icon {
174
  display: inline-block;
175
  border: 1px solid #ccc;
176
  padding: 0 8px 1px;
177
  font: bold 12px/32px 'Open Sans', 'Lucida Sans', 'Lucida Grande', verdana sans-serif;
178
  text-decoration: none;
179
  height: 33px;
180
  color: #666;
181
  cursor: pointer;
182
  outline: none;
183
  -moz-border-radius: 3px;
184
  -khtml-border-radius: 3px;
185
  -webkit-border-radius: 3px;
186
  border-radius: 3px;
187
  background: #fafafa;
188
  background-image: linear-gradient(bottom, #e9eaec 0%, #fafafa 100%);
189
  background-image: -o-linear-gradient(bottom, #e9eaec 0%, #fafafa 100%);
190
  background-image: -moz-linear-gradient(bottom, #e9eaec 0%, #fafafa 100%);
191
  background-image: -webkit-linear-gradient(bottom, #e9eaec 0%, #fafafa 100%);
192
  background-image: -ms-linear-gradient(bottom, #e9eaec 0%, #fafafa 100%);
193
  background-image: -webkit-gradient(
194
  linear,
195
  left bottom,
196
  left top,
197
  color-stop(0, #e9eaec),
198
  color-stop(1, #fafafa)
199
  );
200
  -webkit-box-shadow: 0px 3px 3px 0px #d2d2d2;
201
  -moz-box-shadow: 0px 3px 3px 0px #d2d2d2;
202
  box-shadow: 0px 3px 3px 0px #d2d2d2;
203
}
204

    
205
div.panels-ipe-handlebar-wrapper li a span,
206
div.panels-ipe-newblock a span {
207
  display: block;
208
  height: 32px;
209
  width: 18px;
210
  background-position: center center;
211
  background-repeat: no-repeat;
212
  text-align: left;
213
  text-indent: -9999em;
214
}
215

    
216
div.panels-ipe-handlebar-wrapper li.edit a span {
217
  background-image: url(../images/icon-settings.png);
218
}
219

    
220
div.panels-ipe-handlebar-wrapper li.css a span {
221
  background-image: url(../images/icon-css.png);
222
}
223

    
224
div.panels-ipe-handlebar-wrapper li.style a span,
225
div.panels-ipe-newblock a.style span {
226
  background-image: url(../images/icon-style.png);
227
}
228

    
229
div.panels-ipe-newblock a.style {
230
  margin-right: .5em;
231
}
232

    
233
div.panels-ipe-newblock a.add span {
234
  background-image: url(../images/icon-add.png);
235
}
236

    
237
div.panels-ipe-handlebar-wrapper li.delete a span {
238
  background-image: url(../images/icon-delete.png);
239
}
240

    
241

    
242
div.panels-ipe-handlebar-wrapper li a:hover,
243
div.panels-ipe-dragtitle span:hover,
244
div.panels-ipe-newblock a:hover,
245
span.panels-ipe-draghandle-icon:hover,
246
div.panels-ipe-handlebar-wrapper li a:focus,
247
div.panels-ipe-newblock a:focus {
248
  background: #e6e6e6;
249
  background-image: linear-gradient(bottom, #c5c5c5 0%, #fafafa 100%);
250
  background-image: -o-linear-gradient(bottom, #c5c5c5 0%, #fafafa 100%);
251
  background-image: -moz-linear-gradient(bottom, #c5c5c5 0%, #fafafa 100%);
252
  background-image: -webkit-linear-gradient(bottom, #c5c5c5 0%, #fafafa 100%);
253
  background-image: -ms-linear-gradient(bottom, #c5c5c5 0%, #fafafa 100%);
254
  background-image: -webkit-gradient(
255
  linear,
256
  left bottom,
257
  left top,
258
  color-stop(0, #c5c5c5),
259
  color-stop(1, #fafafa)
260
  );
261
}
262

    
263
div.panels-ipe-handlebar-wrapper li a:active,
264
div.panels-ipe-dragtitle span:active,
265
div.panels-ipe-newblock a:active,
266
span.panels-ipe-draghandle-icon:active {
267
  outline: none;
268
  background-image: linear-gradient(bottom, #ffffff 0%, #e9eaec 100%);
269
  background-image: -o-linear-gradient(bottom, #ffffff 0%, #e9eaec 100%);
270
  background-image: -moz-linear-gradient(bottom, #ffffff 0%, #e9eaec 100%);
271
  background-image: -webkit-linear-gradient(bottom, #ffffff 0%, #e9eaec 100%);
272
  background-image: -ms-linear-gradient(bottom, #ffffff 0%, #e9eaec 100%);
273
  background-image: -webkit-gradient(
274
  linear,
275
  left bottom,
276
  left top,
277
  color-stop(0, #ffffff),
278
  color-stop(1, #e9eaec)
279
  );
280
  -webkit-box-shadow: 0px 0px 0px 0px #fff;
281
  -moz-box-shadow: 0px 0px 0px 0px #fff;
282
  box-shadow: 0px 0px 0px 0px #fff;
283
}
284

    
285
.panels-ipe-editing .panels-ipe-portlet-content {
286
  margin: 10px 3px;
287
  overflow: hidden;
288
}
289

    
290
.panels-ipe-editing .panels-ipe-region {
291
  border: transparent dotted 1px;
292
  float: left;
293
  width: 100%;
294
  margin-bottom: 5px;
295
}
296

    
297
div.panels-ipe-draghandle {
298
  border: none;
299
}
300

    
301
.ui-sortable-placeholder {
302
  margin: 1em;
303
  border: 1px dotted black;
304
  visibility: visible !important;
305
  height: 50px !important;
306
}
307
.ui-sortable-placeholder * {
308
  visibility: hidden;
309
}
310

    
311
/** ============================================================================
312
 * Controller form markup
313
 */
314

    
315
div#panels-ipe-control-container {
316
  z-index: 99999;
317
  position: fixed;
318
  bottom: 0;
319
  display: none;
320
  background-color: #000;
321
  padding: 0.5em 0;
322
  width: 100%;
323
  overflow: hidden;
324
  -moz-box-shadow: 0 3px 20px #000;
325
  -webkit-box-shadow: 0 3px 20px #000;
326
  box-shadow: 0 3px 20px #000;
327
}
328

    
329
.ipe-throbber {
330
  background-color: #232323;
331
  background-image: url("../images/loading-small.gif");
332
  background-position: center center;
333
  background-repeat: no-repeat;
334
  -moz-border-radius: 7px;
335
  -webkit-border-radius: 7px;
336
  border-radius: 7px;
337
  height: 24px;
338
  opacity: .9;
339
  padding: 4px;
340
  width: 24px;
341
  /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
342
  left: 49%;
343
  position: fixed;
344
  top: 48.5%;
345
  z-index: 1001;
346
}
347

    
348
/* Hide the drupal system throbber image */
349
.ipe-throbber .throbber {
350
  display: none;
351
}
352

    
353
div.panels-ipe-pseudobutton-container,
354
div.panels-ipe-control .form-submit {
355
  cursor: pointer;
356
  background: #666666;
357
  background-image: linear-gradient(bottom, #383838 0%, #666666 100%);
358
  background-image: -o-linear-gradient(bottom, #383838 0%, #666666 100%);
359
  background-image: -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
360
  background-image: -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
361
  background-image: -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
362
  background-image: -webkit-gradient(
363
  linear,
364
  left bottom,
365
  left top,
366
  color-stop(0, #383838),
367
  color-stop(1, #666666)
368
  );
369
  border: 0;
370
  -moz-border-radius: 3px;
371
  -webkit-border-radius: 3px;
372
  border-radius: 3px;
373
  color: #ccc;
374
  display: inline-block;
375
  font: bold 12px/33px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
376
  height: 33px;
377
  margin: 0 10px;
378
}
379

    
380
div.panels-ipe-control .form-submit {
381
  padding: 0 0.8em 2px 34px;
382
}
383

    
384
div.panels-ipe-control input.panels-ipe-save,
385
div.panels-ipe-control input.panels-ipe-cancel,
386
div.panels-ipe-control input.panels-ipe-save:hover,
387
div.panels-ipe-control input.panels-ipe-cancel:hover,
388
div.panels-ipe-control input.panels-ipe-save:focus,
389
div.panels-ipe-control input.panels-ipe-cancel:focus,
390
div.panels-ipe-control input.panels-ipe-save:active,
391
div.panels-ipe-control input.panels-ipe-cancel:active {
392
  background-repeat: no-repeat;
393
}
394

    
395
div.panels-ipe-pseudobutton-container a {
396
  height: 33px;
397
  padding: 0 0.8em;
398
  display: inline-block;
399
  color: #ccc;
400
  text-decoration: none;
401
}
402

    
403
div.panels-ipe-control .panels-ipe-save {
404
  background-image: url(../images/icon-save.png);
405
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #383838 0%, #666666 100%);
406
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
407
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
408
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
409
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
410
  background-image: url(../images/icon-save.png), -webkit-gradient(
411
  linear,
412
  left bottom,
413
  left top,
414
  color-stop(0, #383838),
415
  color-stop(1, #666666)
416
  );
417
}
418

    
419
div.panels-ipe-control .panels-ipe-cancel {
420
  background-image: url(../images/icon-close.png);
421
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #383838 0%, #666666 100%);
422
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
423
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
424
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
425
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
426
  background-image: url(../images/icon-close.png), -webkit-gradient(
427
  linear,
428
  left bottom,
429
  left top,
430
  color-stop(0, #383838),
431
  color-stop(1, #666666)
432
  );
433
}
434

    
435
div.panels-ipe-pseudobutton-container:hover,
436
div.panels-ipe-control .form-submit:hover,
437
div.panels-ipe-pseudobutton-container:focus,
438
div.panels-ipe-control .form-submit:focus {
439
  background: #999999;
440
  background-image: linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
441
  background-image: -o-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
442
  background-image: -moz-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
443
  background-image: -webkit-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
444
  background-image: -ms-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
445
  background-image: -webkit-gradient(
446
  linear,
447
  left bottom,
448
  left top,
449
  color-stop(0, #3d3d3d),
450
  color-stop(1, #999999)
451
  );
452
  color: #fff;
453
}
454

    
455
div.panels-ipe-pseudobutton-container a:hover,
456
div.panels-ipe-pseudobutton-container a:focus {
457
  color: #fff;
458
}
459

    
460
div.panels-ipe-control .panels-ipe-cancel:hover,
461
div.panels-ipe-control .panels-ipe-cancel:focus {
462
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
463
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
464
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
465
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
466
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
467
  background-image: url(../images/icon-close.png), -webkit-gradient(
468
  linear,
469
  left bottom,
470
  left top,
471
  color-stop(0, #3d3d3d),
472
  color-stop(1, #999999)
473
  );
474
}
475

    
476
div.panels-ipe-control .panels-ipe-save:hover,
477
div.panels-ipe-control .panels-ipe-save:focus {
478
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
479
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
480
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
481
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
482
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #3d3d3d 0%, #999999 100%);
483
  background-image: url(../images/icon-save.png), -webkit-gradient(
484
  linear,
485
  left bottom,
486
  left top,
487
  color-stop(0, #3d3d3d),
488
  color-stop(1, #999999)
489
  );
490
}
491

    
492
div.panels-ipe-pseudobutton-container:active,
493
div.panels-ipe-control .form-submit:active {
494
  background: #333;
495
  background-image: linear-gradient(bottom, #616161 0%, #333333 100%);
496
  background-image: -o-linear-gradient(bottom, #616161 0%, #333333 100%);
497
  background-image: -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
498
  background-image: -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
499
  background-image: -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
500
  background-image: -webkit-gradient(
501
  linear,
502
  left bottom,
503
  left top,
504
  color-stop(0, #616161),
505
  color-stop(1, #333333)
506
  );
507
  color: #ccc;
508
}
509

    
510
div.panels-ipe-pseudobutton-container a:active {
511
  color: #ccc;
512
}
513

    
514
div.panels-ipe-control .panels-ipe-cancel:active {
515
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #616161 0%, #333333 100%);
516
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
517
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
518
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
519
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
520
  background-image: url(../images/icon-close.png), -webkit-gradient(
521
  linear,
522
  left bottom,
523
  left top,
524
  color-stop(0, #616161),
525
  color-stop(1, #333333)
526
  );
527
}
528

    
529
div.panels-ipe-control .panels-ipe-save:active {
530
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #616161 0%, #333333 100%);
531
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
532
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
533
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
534
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
535
  background-image: url(../images/icon-save.png), -webkit-gradient(
536
  linear,
537
  left bottom,
538
  left top,
539
  color-stop(0, #616161),
540
  color-stop(1, #333333)
541
  );
542
}
543

    
544
div.panels-ipe-control .panels-ipe-save,
545
div.panels-ipe-control .panels-ipe-cancel,
546
div.panels-ipe-control .panels-ipe-save:hover,
547
div.panels-ipe-control .panels-ipe-cancel:hover,
548
div.panels-ipe-control .panels-ipe-save:active,
549
div.panels-ipe-control .panels-ipe-cancel:active {
550
  background-repeat: no-repeat;
551
}
552

    
553
div.panels-ipe-pseudobutton-container a.panels-ipe-startedit {
554
  padding-left: 34px;
555
  background: url(../images/icon-configure.png) no-repeat 10px 9px;
556
}
557

    
558
div.panels-ipe-pseudobutton-container a.panels-ipe-change-layout {
559
  padding-left: 34px;
560
  background: url(../images/icon-change-layout.png) no-repeat 10px 9px;
561
}
562

    
563
div.panels-ipe-button-container {
564
  margin: 0.3em 0.5em;
565
  text-align: center;
566
}
567

    
568
form#panels-ipe-edit-control-form {
569
  text-align: center;
570
}
571

    
572
.panels-ipe-dragbar-admin-title {
573
  font-size: 0.9em;
574
}