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 @ e4c061ad

1 85ad3d82 Assos Assos
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 5a7e6170 Florent Torregrosa
  width: 100%;
31 85ad3d82 Assos Assos
}
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
100
  padding: 8px 7px;
101
}
102
103
div.panels-ipe-draghandle span.panels-ipe-draghandle-icon {
104
  display: block;
105
  float: right;
106
  cursor: move;
107
  width: 34px;
108
  height: 34px;
109
  padding: 0 !important; /* override button defaults */
110
}
111
112
span.panels-ipe-draghandle-icon-inner {
113
  display: block;
114
  width: 34px;
115
  height: 34px;
116
  background: url(../images/icon-draggable.png) no-repeat 3px 3px;
117
}
118
119
div.panels-ipe-placeholder {
120
  border: 2px dashed #999;
121
  padding: .5em;
122
  position: relative;
123
  margin-top: .5em;
124
  background-color: #ECFAFF;
125
  color: #999;
126
  font: 15px/1.3em "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
127
  text-transform: none;
128
  letter-spacing: 0;
129
  text-align: left;
130
  word-spacing: 0;
131
}
132
133
div.panels-ipe-placeholder h3 {
134
  font-weight: normal;
135
  font-size: 15px;
136
  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 */
137
  margin: 1.154em 0;
138
}
139
140
/* Hide editor-state-on elements initially */
141
.panels-ipe-on {
142
  display: none;
143
}
144
145
.panels-ipe-editing .panels-ipe-on {
146
  display: block;
147
}
148
149
/* Show editor-state-off elements initially */
150
.panels-ipe-off {
151
  display: block;
152
}
153
154
div.panels-ipe-newblock {
155
  -webkit-box-shadow: 0px 0 5px 5px #ECFAFF;
156
  -moz-box-shadow: 0px 0 5px 5px #ECFAFF;
157
  box-shadow: 0px 0 5px 5px #ECFAFF;
158
  position: absolute;
159
  right: 10px;
160
  top: 50%;
161
  margin-top: -18px; /* some initial guesses to help center the add button
162
    panels_ipe.js will evaluate the width and get this pixel-perfect */
163
  margin-left: -30px;
164
  z-index: 99;
165
}
166
167 5a7e6170 Florent Torregrosa
div.panels-ipe-newblock li {
168
  padding: 0;
169
}
170
171 85ad3d82 Assos Assos
div.panels-ipe-handlebar-wrapper li a,
172
div.panels-ipe-dragtitle span,
173
div.panels-ipe-newblock a,
174
span.panels-ipe-draghandle-icon {
175
  display: inline-block;
176
  border: 1px solid #ccc;
177
        padding: 0 8px 1px;
178
        font: bold 12px/32px 'Open Sans', 'Lucida Sans', 'Lucida Grande', verdana sans-serif;
179
        text-decoration: none;
180
        height: 33px;
181
        color: #666;
182
        cursor: pointer;
183
        outline: none;
184
        -moz-border-radius: 3px;
185
        -khtml-border-radius: 3px;
186
        -webkit-border-radius: 3px;
187
        border-radius: 3px;
188
189
        background: #FAFAFA;
190
  background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
191
  background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
192
  background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
193
  background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
194
  background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
195
  background-image: -webkit-gradient(
196
    linear,
197
    left bottom,
198
    left top,
199
    color-stop(0, #E9EAEC),
200
    color-stop(1, #FAFAFA)
201
  );
202
203
  -webkit-box-shadow: 0px 3px 3px 0px #d2d2d2;
204
  -moz-box-shadow: 0px 3px 3px 0px #d2d2d2;
205
  box-shadow: 0px 3px 3px 0px #d2d2d2;
206
}
207
208
div.panels-ipe-handlebar-wrapper li a span,
209
div.panels-ipe-newblock a span {
210
  display: block;
211
  height: 32px;
212
  width: 18px;
213
  background-position: center center;
214
  background-repeat: no-repeat;
215
  text-align: left;
216
  text-indent: -9999em;
217
}
218
219
div.panels-ipe-handlebar-wrapper li.edit a span {
220
  background-image: url(../images/icon-settings.png);
221
}
222
223
div.panels-ipe-handlebar-wrapper li.style a span,
224
div.panels-ipe-newblock a.style span {
225
  background-image: url(../images/icon-style.png);
226
}
227
228
div.panels-ipe-newblock a.style {
229
  margin-right: .5em;
230
}
231
232
div.panels-ipe-newblock a.add span {
233
  background-image: url(../images/icon-add.png);
234
}
235
236
div.panels-ipe-handlebar-wrapper li.delete a span {
237
  background-image: url(../images/icon-delete.png);
238
}
239
240
241
div.panels-ipe-handlebar-wrapper li a:hover,
242
div.panels-ipe-dragtitle span:hover,
243
div.panels-ipe-newblock a:hover,
244 e4c061ad Assos Assos
span.panels-ipe-draghandle-icon:hover,
245
div.panels-ipe-handlebar-wrapper li a:focus,
246
div.panels-ipe-newblock a:focus {
247 85ad3d82 Assos Assos
  background: #E6E6E6;
248
  background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
249
  background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
250
  background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
251
  background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
252
  background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
253
  background-image: -webkit-gradient(
254
    linear,
255
    left bottom,
256
    left top,
257
    color-stop(0, #C5C5C5),
258
    color-stop(1, #FAFAFA)
259
  );
260
}
261
262
div.panels-ipe-handlebar-wrapper li a:active,
263
div.panels-ipe-dragtitle span:active,
264
div.panels-ipe-newblock a:active,
265
span.panels-ipe-draghandle-icon:active {
266
  outline: none;
267
  background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
268
  background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
269
  background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
270
  background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
271
  background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
272
  background-image: -webkit-gradient(
273
    linear,
274
    left bottom,
275
    left top,
276
    color-stop(0, #FFFFFF),
277
    color-stop(1, #E9EAEC)
278
  );
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
363
  background-image: -webkit-gradient(
364
    linear,
365
    left bottom,
366
    left top,
367
    color-stop(0, #383838),
368
    color-stop(1, #666666)
369
  );
370
  border: 0;
371
  -moz-border-radius: 3px;
372
  -webkit-border-radius: 3px;
373
  border-radius: 3px;
374
  color: #CCC;
375
  display: inline-block;
376
  font: bold 12px/33px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
377
  height: 33px;
378
  margin: 0 10px;
379
}
380
381
div.panels-ipe-control .form-submit {
382
  padding: 0 0.8em 2px 34px;
383
}
384
385 5a7e6170 Florent Torregrosa
div.panels-ipe-control input.panels-ipe-save, div.panels-ipe-control input.panels-ipe-cancel,
386
div.panels-ipe-control input.panels-ipe-save:hover, div.panels-ipe-control input.panels-ipe-cancel:hover,
387 e4c061ad Assos Assos
div.panels-ipe-control input.panels-ipe-save:focus, div.panels-ipe-control input.panels-ipe-cancel:focus,
388 5a7e6170 Florent Torregrosa
div.panels-ipe-control input.panels-ipe-save:active, div.panels-ipe-control input.panels-ipe-cancel:active {
389 85ad3d82 Assos Assos
  background-repeat: no-repeat;
390
}
391
392
div.panels-ipe-pseudobutton-container a {
393
  height: 33px;
394
  padding: 0 0.8em;
395
  display: inline-block;
396
  color: #CCC;
397
  text-decoration: none;
398
}
399
400 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-save {
401 85ad3d82 Assos Assos
  background-image: url(../images/icon-save.png);
402
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #383838 0%, #666666 100%);
403
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
404
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
405
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
406
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
407
408
  background-image: url(../images/icon-save.png), -webkit-gradient(
409
    linear,
410
    left bottom,
411
    left top,
412
    color-stop(0, #383838),
413
    color-stop(1, #666666)
414
  );
415
}
416
417 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-cancel {
418 85ad3d82 Assos Assos
  background-image: url(../images/icon-close.png);
419
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #383838 0%, #666666 100%);
420
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
421
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
422
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
423
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
424
425
  background-image: url(../images/icon-close.png), -webkit-gradient(
426
    linear,
427
    left bottom,
428
    left top,
429
    color-stop(0, #383838),
430
    color-stop(1, #666666)
431
  );
432
}
433
434
div.panels-ipe-pseudobutton-container:hover,
435 e4c061ad Assos Assos
div.panels-ipe-control .form-submit:hover,
436
div.panels-ipe-pseudobutton-container:focus,
437
div.panels-ipe-control .form-submit:focus {
438 85ad3d82 Assos Assos
  background: #999999;
439
  background-image: linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
440
  background-image: -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
441
  background-image: -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
442
  background-image: -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
443
  background-image: -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
444
  background-image: -webkit-gradient(
445
    linear,
446
    left bottom,
447
    left top,
448
    color-stop(0, #3D3D3D),
449
    color-stop(1, #999999)
450
  );
451
452
  color: #FFF;
453
}
454
455 e4c061ad Assos Assos
div.panels-ipe-pseudobutton-container a:hover,
456
div.panels-ipe-pseudobutton-container a:focus {
457 85ad3d82 Assos Assos
  color: #FFF;
458
}
459
460 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-cancel:hover,
461
div.panels-ipe-control .panels-ipe-cancel:focus {
462 85ad3d82 Assos Assos
  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
468
  background-image: url(../images/icon-close.png), -webkit-gradient(
469
    linear,
470
    left bottom,
471
    left top,
472
    color-stop(0, #3D3D3D),
473
    color-stop(1, #999999)
474
  );
475
}
476
477 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-save:hover,
478
div.panels-ipe-control .panels-ipe-save:focus {
479 85ad3d82 Assos Assos
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
480
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
481
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
482
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
483
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
484
485
  background-image: url(../images/icon-save.png), -webkit-gradient(
486
    linear,
487
    left bottom,
488
    left top,
489
    color-stop(0, #3D3D3D),
490
    color-stop(1, #999999)
491
  );
492
}
493
494
div.panels-ipe-pseudobutton-container:active,
495
div.panels-ipe-control .form-submit:active {
496
  background: #333;
497
  background-image: linear-gradient(bottom, #616161 0%, #333333 100%);
498
  background-image: -o-linear-gradient(bottom, #616161 0%, #333333 100%);
499
  background-image: -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
500
  background-image: -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
501
  background-image: -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
502
503
  background-image: -webkit-gradient(
504
    linear,
505
    left bottom,
506
    left top,
507
    color-stop(0, #616161),
508
    color-stop(1, #333333)
509
  );
510
511
  color: #CCC;
512
}
513
514
div.panels-ipe-pseudobutton-container a:active {
515
  color: #CCC;
516
}
517
518 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-cancel:active {
519 85ad3d82 Assos Assos
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #616161 0%, #333333 100%);
520
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
521
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
522
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
523
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
524
525
  background-image: url(../images/icon-close.png), -webkit-gradient(
526
    linear,
527
    left bottom,
528
    left top,
529
    color-stop(0, #616161),
530
    color-stop(1, #333333)
531
  );
532
}
533
534 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-save:active {
535 85ad3d82 Assos Assos
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #616161 0%, #333333 100%);
536
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
537
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
538
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
539
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
540
541
  background-image: url(../images/icon-save.png), -webkit-gradient(
542
    linear,
543
    left bottom,
544
    left top,
545
    color-stop(0, #616161),
546
    color-stop(1, #333333)
547
  );
548
}
549
550 e4c061ad Assos Assos
div.panels-ipe-control .panels-ipe-save, div.panels-ipe-control .panels-ipe-cancel,
551
div.panels-ipe-control .panels-ipe-save:hover, div.panels-ipe-control .panels-ipe-cancel:hover,
552
div.panels-ipe-control .panels-ipe-save:active, div.panels-ipe-control .panels-ipe-cancel:active {
553
  background-repeat: no-repeat;
554
}
555
556 85ad3d82 Assos Assos
div.panels-ipe-pseudobutton-container a.panels-ipe-startedit {
557
  padding-left: 34px;
558
  background: url(../images/icon-configure.png) no-repeat 10px 9px;
559
}
560
561
div.panels-ipe-pseudobutton-container a.panels-ipe-change-layout {
562
  padding-left: 34px;
563
  background: url(../images/icon-change-layout.png) no-repeat 10px 9px;
564
}
565
566
div.panels-ipe-button-container {
567
  margin: 0.3em 0.5em;
568
  text-align: center;
569
}
570
571
form#panels-ipe-edit-control-form {
572
  text-align: center;
573
}
574 e4c061ad Assos Assos
575
.panels-ipe-dragbar-admin-title{
576
  font-size: 0.9em;
577
}