Projet

Général

Profil

Paste
Télécharger (16,3 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / panels_ipe / css / panels_ipe.css @ 5a7e6170

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

    
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
div.panels-ipe-newblock li {
168
  padding: 0;
169
}
170

    
171
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
span.panels-ipe-draghandle-icon:hover {
245
  background: #E6E6E6;
246
  background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
247
  background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
248
  background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
249
  background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
250
  background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
251
  background-image: -webkit-gradient(
252
    linear,
253
    left bottom,
254
    left top,
255
    color-stop(0, #C5C5C5),
256
    color-stop(1, #FAFAFA)
257
  );
258
}
259

    
260
div.panels-ipe-handlebar-wrapper li a:active,
261
div.panels-ipe-dragtitle span:active,
262
div.panels-ipe-newblock a:active,
263
span.panels-ipe-draghandle-icon:active {
264
  outline: none;
265
  background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
266
  background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
267
  background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
268
  background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
269
  background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
270
  background-image: -webkit-gradient(
271
    linear,
272
    left bottom,
273
    left top,
274
    color-stop(0, #FFFFFF),
275
    color-stop(1, #E9EAEC)
276
  );
277

    
278
  -webkit-box-shadow: 0px 0px 0px 0px #fff;
279
  -moz-box-shadow: 0px 0px 0px 0px #fff;
280
  box-shadow: 0px 0px 0px 0px #fff;
281
}
282

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

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

    
295
div.panels-ipe-draghandle {
296
  border: none;
297
}
298

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

    
309
/** ============================================================================
310
 * Controller form markup
311
 */
312

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

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

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

    
351
div.panels-ipe-pseudobutton-container,
352
div.panels-ipe-control .form-submit {
353
  cursor: pointer;
354
  background: #666666;
355
  background-image: linear-gradient(bottom, #383838 0%, #666666 100%);
356
  background-image: -o-linear-gradient(bottom, #383838 0%, #666666 100%);
357
  background-image: -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
358
  background-image: -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
359
  background-image: -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
360

    
361
  background-image: -webkit-gradient(
362
    linear,
363
    left bottom,
364
    left top,
365
    color-stop(0, #383838),
366
    color-stop(1, #666666)
367
  );
368
  border: 0;
369
  -moz-border-radius: 3px;
370
  -webkit-border-radius: 3px;
371
  border-radius: 3px;
372
  color: #CCC;
373
  display: inline-block;
374
  font: bold 12px/33px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
375
  height: 33px;
376
  margin: 0 10px;
377
}
378

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

    
383
div.panels-ipe-control input.panels-ipe-save, div.panels-ipe-control input.panels-ipe-cancel,
384
div.panels-ipe-control input.panels-ipe-save:hover, div.panels-ipe-control input.panels-ipe-cancel:hover,
385
div.panels-ipe-control input.panels-ipe-save:active, div.panels-ipe-control input.panels-ipe-cancel:active {
386
  background-repeat: no-repeat;
387
}
388

    
389
div.panels-ipe-pseudobutton-container a {
390
  height: 33px;
391
  padding: 0 0.8em;
392
  display: inline-block;
393
  color: #CCC;
394
  text-decoration: none;
395
}
396

    
397
div.panels-ipe-control input.panels-ipe-save {
398
  background-image: url(../images/icon-save.png);
399
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #383838 0%, #666666 100%);
400
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
401
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
402
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
403
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
404

    
405
  background-image: url(../images/icon-save.png), -webkit-gradient(
406
    linear,
407
    left bottom,
408
    left top,
409
    color-stop(0, #383838),
410
    color-stop(1, #666666)
411
  );
412
}
413

    
414
div.panels-ipe-control input.panels-ipe-cancel {
415
  background-image: url(../images/icon-close.png);
416
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #383838 0%, #666666 100%);
417
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
418
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
419
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
420
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
421

    
422
  background-image: url(../images/icon-close.png), -webkit-gradient(
423
    linear,
424
    left bottom,
425
    left top,
426
    color-stop(0, #383838),
427
    color-stop(1, #666666)
428
  );
429
}
430

    
431
div.panels-ipe-pseudobutton-container:hover,
432
div.panels-ipe-control .form-submit:hover {
433
  background: #999999;
434
  background-image: linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
435
  background-image: -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
436
  background-image: -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
437
  background-image: -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
438
  background-image: -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
439
  background-image: -webkit-gradient(
440
    linear,
441
    left bottom,
442
    left top,
443
    color-stop(0, #3D3D3D),
444
    color-stop(1, #999999)
445
  );
446

    
447
  color: #FFF;
448
}
449

    
450
div.panels-ipe-pseudobutton-container a:hover {
451
  color: #FFF;
452
}
453

    
454
div.panels-ipe-control input.panels-ipe-cancel:hover {
455
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
456
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
457
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
458
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
459
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
460

    
461
  background-image: url(../images/icon-close.png), -webkit-gradient(
462
    linear,
463
    left bottom,
464
    left top,
465
    color-stop(0, #3D3D3D),
466
    color-stop(1, #999999)
467
  );
468
}
469

    
470
div.panels-ipe-control input.panels-ipe-save:hover {
471
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
472
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
473
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
474
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
475
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
476

    
477
  background-image: url(../images/icon-save.png), -webkit-gradient(
478
    linear,
479
    left bottom,
480
    left top,
481
    color-stop(0, #3D3D3D),
482
    color-stop(1, #999999)
483
  );
484
}
485

    
486
div.panels-ipe-pseudobutton-container:active,
487
div.panels-ipe-control .form-submit:active {
488
  background: #333;
489
  background-image: linear-gradient(bottom, #616161 0%, #333333 100%);
490
  background-image: -o-linear-gradient(bottom, #616161 0%, #333333 100%);
491
  background-image: -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
492
  background-image: -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
493
  background-image: -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
494

    
495
  background-image: -webkit-gradient(
496
    linear,
497
    left bottom,
498
    left top,
499
    color-stop(0, #616161),
500
    color-stop(1, #333333)
501
  );
502

    
503
  color: #CCC;
504
}
505

    
506
div.panels-ipe-pseudobutton-container a:active {
507
  color: #CCC;
508
}
509

    
510
div.panels-ipe-control input.panels-ipe-cancel:active {
511
  background-image: url(../images/icon-close.png), linear-gradient(bottom, #616161 0%, #333333 100%);
512
  background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
513
  background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
514
  background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
515
  background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
516

    
517
  background-image: url(../images/icon-close.png), -webkit-gradient(
518
    linear,
519
    left bottom,
520
    left top,
521
    color-stop(0, #616161),
522
    color-stop(1, #333333)
523
  );
524
}
525

    
526
div.panels-ipe-control input.panels-ipe-save:active {
527
  background-image: url(../images/icon-save.png), linear-gradient(bottom, #616161 0%, #333333 100%);
528
  background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
529
  background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
530
  background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
531
  background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
532

    
533
  background-image: url(../images/icon-save.png), -webkit-gradient(
534
    linear,
535
    left bottom,
536
    left top,
537
    color-stop(0, #616161),
538
    color-stop(1, #333333)
539
  );
540
}
541

    
542
div.panels-ipe-pseudobutton-container a.panels-ipe-startedit {
543
  padding-left: 34px;
544
  background: url(../images/icon-configure.png) no-repeat 10px 9px;
545
}
546

    
547
div.panels-ipe-pseudobutton-container a.panels-ipe-change-layout {
548
  padding-left: 34px;
549
  background: url(../images/icon-change-layout.png) no-repeat 10px 9px;
550
}
551

    
552
div.panels-ipe-button-container {
553
  margin: 0.3em 0.5em;
554
  text-align: center;
555
}
556

    
557
form#panels-ipe-edit-control-form {
558
  text-align: center;
559
}