Projet

Général

Profil

Paste
Télécharger (13,9 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / css / panels_dnd.css @ e4c061ad

1

    
2
#panels-dnd-main {
3
  margin: 0.5em 0;
4
}
5

    
6
#panels-dnd-main div.panel-region {
7
  padding: 0 0 .5em 0;
8
  border: 1px dashed #ddd;
9
  background: #f8f8f8;
10
  -webkit-border-radius: 0.333em;
11
  -moz-border-radius: 0.333em;
12
}
13

    
14
#panels-dnd-main div.panel-region h2.label {
15
  color: #555;
16
  text-shadow: #fff 1px 1px 1px;
17
  text-align: center;
18
  font-size: 13pt;
19
  margin: 0 0 .5em 0;
20
  padding-right: 16px;
21
  vertical-align: middle;
22
}
23

    
24
#panels-dnd-main div.panel-region .pane-add {
25
  float: left;
26
  margin: 2px;
27
  background: #999;
28
  border: 1px solid #fff;
29
}
30

    
31
#panels-dnd-main div.panel-region .pane-add-link {
32
  position: relative;
33
  display: block;
34
  width: 16px;
35
  height: 16px;
36
  float: left;
37
  margin: 2px 2px 2px 4px;
38
}
39

    
40
div.panels-set-title-hide .panels-set-title {
41
  display: none !important;
42
}
43

    
44
/* Add Icon */
45
#panels-dnd-main div.panel-region .pane-add-link  {
46
}
47
#panels-dnd-main div.panel-region .pane-add-link img {
48
  display: none;
49
}
50
#panels-dnd-main div.panel-region .pane-add-link a.ctools-dropdown-image-link {
51
  border: none;
52
  width: 16px;
53
  height: 18px;
54
  float: left;
55
  background: url('../images/sprite.png') no-repeat 0 -1178px;
56
/*  background: url('../images/sprite.png') no-repeat -166px -582px; */
57
}
58

    
59
.panel-portlet {
60
  padding: 0em;
61
  background: #ffffff;
62
  border: 1px solid #bbb;
63
}
64

    
65
div.panels-set-title-hide .panel-pane-is-title {
66
  border: 1px solid #bbb;
67
}
68

    
69
.panel-pane-is-title {
70
  border: 2px solid #777;
71
}
72

    
73
/* Cog Icon */
74
.panel-portlet .buttons a img {
75
  display: none;
76
  margin: 0;
77
}
78
.panel-portlet .buttons a.ctools-dropdown-image-link {
79
  border: none;
80
  width: 16px;
81
  height: 16px;
82
  margin: 0 5px 0 0;
83
  float: none;
84
  display: block;
85
  background: url('../images/sprite.png') no-repeat 0 -1178px;
86
}
87

    
88
#panels-dnd-main .panel-pane,
89
#panels-dnd-main .helperclass {
90
  margin: .5em;
91
}
92

    
93
#panels-dnd-main-form .inline-icon-help {
94
  vertical-align: middle;
95
  margin: 2px 1px;
96
}
97

    
98
.panel-pane.hidden-pane {
99
  background: #f8f8f8;
100
}
101

    
102
.panel-portlet .pane-content {
103
  margin: .5em 0 .5em 0;
104
  padding: 0 .25em 0 .25em;
105
  display: none; /* initially hidden */
106
}
107

    
108
.panel-portlet .grab-title {
109
  width: 100%;
110
  height: 20px;
111
  margin: 0 0 0.5em 0;
112
  overflow: hidden;
113
  background: #b3b3b3;
114
  color: #fff;
115
  text-shadow: #555 1px 1px 1px;
116
  border-color: #999;
117
  font-weight: bold;
118
}
119

    
120
.panel-portlet .grabber {
121
  cursor: move;
122
  background: #b3b3b3 url('../images/bg-shade-medium.png') repeat-x 0 100%;
123
}
124

    
125
.panel-portlet.hidden-pane .grab-title {
126
  background-color: #888;
127
}
128

    
129
.panel-portlet .changed div.grab-title {
130
  background-color: #FFFFDD !important;
131
  border-bottom: 1px solid #3D9CD7 !important;
132
  color: black !important;
133
}
134

    
135
.panel-portlet .changed.hidden-pane div.grab-title {
136
  background-color: #B4B488 !important;
137
  border-bottom: 1px solid #3D9CD7 !important;
138
}
139

    
140
.panel-portlet .changed div.grab-title span.star {
141
  font-weight: bold;
142
  color: #E09010;
143
}
144

    
145
.panel-portlet .grabber:hover {
146
  color: #fff;
147
  background-color: #2F78A5;
148
}
149

    
150
.panel-portlet.hidden-pane .grab-title:hover {
151
  background-color: #666;
152
}
153

    
154
.panel-portlet .grabber:active {
155
  background-color: red;
156
}
157

    
158
.panel-portlet .grabber:hover,
159
.panel-portlet .grabber:active {
160
  background: #858585 url('../images/bg-shade-dark.png') repeat-x 0 100%;
161
  color: #fff;
162
  text-shadow: #333 1px 1px 1px;
163
  border-color: #858585;
164
}
165

    
166
.panel-portlet .grab-title .text {
167
  margin-left: 3px;
168
  font-size: 90%;
169
  line-height: 20px;
170
}
171

    
172
.panel-portlet .buttons {
173
  float: right;
174
  padding: 0;
175
  margin: 0;
176
}
177

    
178
.panel-portlet .buttons input, .panel-portlet .buttons button {
179
  margin: 0;
180
  padding: 0;
181
  display: inline;
182
}
183

    
184
.panel-portlet .buttons a img {
185
  margin: 2px 1px;
186
}
187

    
188
.panel-portlet .pane-title {
189
  font-size:110%;
190
  cursor: pointer;
191
}
192

    
193
.panel-portlet .panel-pane-collapsible {
194
  margin: 0;
195
  padding: 0;
196
}
197

    
198
.panel-portlet .toggle {
199
  float: left;
200
  width: 21px;
201
  height: 21px;
202
  cursor: pointer;
203
  background: url('../images/sky.png') no-repeat 6px -245px;
204
}
205

    
206
.panel-portlet .toggle-collapsed {
207
  background: url('../images/sky.png') no-repeat 6px -1021px;
208
}
209

    
210
/* CSS to guide a user to a place to drop */
211
#panels-dnd-main .helperclass {
212
  border: 1px dashed red;
213
}
214

    
215
#panels-dnd-main .hoverclass {
216
  border: 1px solid red !important;
217
}
218

    
219
/* CSS for an area if something can be dropped in it */
220
.panels-modal-content {
221
  background: #fff;
222
  color: #000;
223
  padding: 0;
224
  margin: 2px;
225
  border: 1px solid #000;
226
  width: 600px;
227
  text-align: left;
228
}
229

    
230
.panels-modal-content .modal-title {
231
  font-size: 120%;
232
  font-weight: bold;
233
  color: white;
234
  overflow: hidden;
235
  white-space: nowrap;
236
}
237

    
238
.panels-modal-content .modal-header {
239
  background-color: #2385c2;
240
  padding: 0 .25em 0 1em;
241
}
242

    
243
.panels-modal-content .modal-header a {
244
  color: white;
245
  float: right;
246
}
247

    
248
.panels-modal-content .modal-content {
249
  padding: 0 1em;
250
  overflow: auto;
251
  width: 575px;
252
  height: 400px;
253
}
254

    
255
.panels-modal-content .modal-form {
256
}
257

    
258
.panels-modal-content .form-checkboxes .form-item {
259
  float: left;
260
  width: 24%;
261
}
262

    
263
.panels-hidden,
264
.panels-js-only {
265
  display: none;
266
}
267

    
268
a.close {
269
  color: white;
270
}
271

    
272
a.close:hover {
273
  text-decoration: none;
274
}
275

    
276
a.close img {
277
  position: relative;
278
  top: 1px;
279
}
280

    
281
.panels-section-title {
282
  clear: left;
283
  border-bottom: 1px solid #ddf;
284
  margin-bottom: .5em;
285
  text-align: left;
286
}
287

    
288
.panels-section-decorator {
289
}
290

    
291
.panels-add-content-modal .panels-modal-add-category {
292
  display: block;
293
  border-bottom: 1px solid white;
294
  padding-left: .5em;
295
  margin-left: -2px;
296
  position: relative;
297
}
298

    
299
.panels-add-content-modal .panels-modal-add-category.active {
300
  background: url(../images/arrow-active.png) center right no-repeat white;
301
  border-right: none;
302
}
303

    
304
.panels-add-content-modal {
305
  background: url(../images/bg-content-modal.png);
306
  height: 100%;
307
  margin: -1em;
308
  padding-top: 1em;
309
  padding-left: 175px;
310
  position: relative;
311
}
312

    
313
.panels-section-columns {
314
  height: 100%;
315
  overflow: auto;
316
}
317
.panels-section-column {
318
  width: 48%;
319
  float: left;
320
}
321

    
322
.panels-section-column .inside {
323
  padding: 0 1em;
324
}
325

    
326
.panels-section-column-categories {
327
  width: 173px;
328
  margin-left: -173px;
329
}
330

    
331
.panels-categories-description {
332
  padding: 0 1em;
333
  text-align: center;
334
  vertical-align: center;
335
}
336

    
337
* html .panels-section-column-categories {
338
  left: 173px;
339
  position: relative;
340
}
341

    
342
.panels-section-column-categories .panels-categories-box {
343
  border-top: 1px solid white;
344
  margin-bottom: 1em;
345
}
346

    
347
.panels-section-column-categories .inside {
348
  padding: 0;
349
 }
350

    
351
.panels-section-column-categories .content-type-button {
352
  padding-left: 10px;
353
}
354

    
355
.panels-modal-add-category {
356
  color: #5b5b5b !important;
357
  font-weight: bold;
358
  line-height: 2em;
359
}
360

    
361
.panels-section {
362
  margin-bottom: 1em;
363
}
364

    
365
.panels-section-column .content-type-button {
366
  font-size: 8pt;
367
  line-height: 1em;
368
  overflow: hidden;
369
  text-align: left;
370
}
371

    
372
.content-type-button a {
373
  display: inline-block;
374
  width: 100%;
375
}
376

    
377
.content-type-button img {
378
  border: 2px solid white;
379
}
380

    
381
.content-type-button img:hover {
382
  border: 2px solid blue;
383
}
384

    
385
.content-type-button div,
386
.content-type-button span {
387
  width: 85%;
388
  position: relative;
389
  top: -5px;
390
  left: 3px;
391
}
392

    
393
#panels-preview .modal-throbber-wrapper {
394
  width: 100%;
395
  text-align: center;
396
  margin-left: auto;
397
  margin-right: auto;
398
}
399
/** modal forms CSS **/
400
.panels-modal-content .form-item label {
401
  width: 8em;
402
  float: left;
403
}
404

    
405
.panels-modal-content .form-item label.option {
406
  width: auto;
407
  float: none;
408
}
409

    
410
.panels-modal-content .form-item .description {
411
  clear: left;
412
}
413

    
414
.panels-modal-content .form-item .description .tips {
415
  margin-left: 2em;
416
}
417

    
418
.panels-modal-content .no-float .form-item * {
419
  float: none;
420
}
421

    
422
.panels-modal-content .modal-form .no-float label  {
423
  width: auto;
424
}
425

    
426
.panels-modal-content .modal-form fieldset,
427
.panels-modal-content .modal-form .form-checkboxes {
428
  clear: left;
429
}
430

    
431
#edit-configuration-nid {
432
  clear: left;
433
}
434

    
435
.option-text-aligner .form-item {
436
  float: left;
437
  padding: .25em 1em .25em 0;
438
  margin: 0;
439
}
440

    
441
.option-text-aligner {
442
  clear: both;
443
  width: 100%;
444
  padding: 0;
445
  margin: 0;
446
}
447

    
448

    
449
#panels-dnd-main div.panel-pane div.ctools-dropdown-container-wrapper {
450
  margin-left: -158px;
451
  margin-top: -4px;
452
}
453

    
454
/*
455
html.js div.panels-display-links div.ctools-dropdown-container {
456
  width: 275px;
457
}
458

459
html.js div.panels-display-links div.ctools-dropdown-container ul li li a {
460
  width: 250px;
461
}
462

463
html.js div.panels-display-links div.ctools-dropdown-container ul li a {
464
  width: 270px;
465
}
466
*/
467

    
468
#panels-dnd-main .panel-pane .pane-title {
469
  padding: 0.25em 0.5em;
470
}
471
#panels-dnd-main .panel-pane .pane-title:after {
472
  font-size: 0.8em;
473
  color: crimson;
474
  letter-spacing: normal;
475
  display: block;
476
}
477
#panels-dnd-main .panel-pane.hidden-pane .pane-title:after {
478
  content: " status: hidden";
479
}
480
#panels-dnd-main .panel-pane.changed .pane-title:after {
481
  content: " status: changes not saved";
482
}
483
#panels-dnd-main .panel-pane.hidden-pane.changed .pane-title:after {
484
  content: " status: hidden & changed";
485
}
486

    
487
/* @end */
488

    
489

    
490
/* @group CTools Dropdown */
491
#panels-dnd-main .ctools-dropdown a.ctools-dropdown-text-link,
492
html.js div.panels-display-links a.ctools-dropdown-text-link {
493

    
494
  background: url('../images/arrow-down-light.png') 0 3px no-repeat!important;
495
  padding-left: 12px;
496
}
497
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container,
498
html.js div.panels-display-links div.ctools-dropdown-container {
499
  width: 160px!important;
500
  background: #fff url('../images/bg-shade-white-lrg.png') repeat-x 0 100%;
501
  border: solid 1px #ddd!important;
502
  margin: 0!important;
503
/*  padding: 0.5em!important; */
504
  -webkit-border-radius: 0.333em;
505
  -moz-border-radius: 0.333em;
506
  -webkit-box-shadow: 0.333em 0.333em 0.333em rgba(0, 0, 0, 0.25);
507
  font-size: 0.9em;
508
  font-weight: bold;
509
}
510

    
511
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li,
512
html.js div.panels-display-links div.ctools-dropdown-container ul li {
513

    
514
  text-decoration: none;
515
  padding: 0;
516
  margin: 0;
517
  color: #555!important;
518
  text-shadow: #fff 1px 1px 1px;
519
}
520
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.text,
521
html.js div.panels-display-links div.ctools-dropdown-container ul li span.text {
522
  font-style: normal;
523
  color: #000;
524
  font-weight: bold;
525
}
526

    
527
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li a,
528
html.js div.panels-display-links div.ctools-dropdown-container ul li a {
529
  color: #555!important;
530
  font-weight: normal;
531
  width: auto;
532
  padding: 0 10px;
533
}
534

    
535
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.panels-text,
536
html.js div.panels-display-links div.ctools-dropdown-container ul li span.panels-text {
537
  width: auto;
538
  padding: 0 10px;
539
}
540

    
541
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-italic,
542
html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-italic {
543
  font-style: italic;
544
}
545

    
546
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.dropdown-header,
547
html.js div.panels-display-links div.ctools-dropdown-container ul li span.dropdown-header {
548
  background-color: #fefefe;
549
  padding: 0 10px;
550
}
551

    
552
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-sub-menu ul li a,
553
html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-sub-menu ul li a,
554
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-sub-menu span.panels-text,
555
html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-sub-menu span.panels-text {
556
  width:auto;
557
  padding: 0 20px;
558
}
559

    
560
html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container hr,
561
html.js div.panels-display-links div.ctools-dropdown-container hr {
562
  border: 0;
563
  color: #ddd;
564
  background-color: #ddd;
565
  height: 1px;
566
}
567

    
568
/*
569
html.js #panels-dnd-main  div.ctools-dropdown div.ctools-dropdown-container ul li a:hover,
570
html.js div.panels-display-links div.ctools-dropdown-container ul li a:hover {
571
  background: none!important;
572
  color: #000!important;
573
}
574
*/
575
/* @end */
576

    
577
/* @group Modal */
578
/* Account for the extra div coming from ctools_modal_form_render() */
579
div.messages div.messages {
580
  background: none;
581
  border: none;
582
  margin: 0;
583
  padding: 0;
584
  -webkit-border-radius: 0;
585
  -moz-border-radius: 0;
586
}
587
div.ctools-modal-content .modal-header {
588
  background: #fff url('../images/bg-shade-light.png') repeat-x bottom left;
589
  color: #777;
590
  display: block;
591
  font-weight: 700;
592
  letter-spacing: normal;
593
  padding: 0.25em 1em;
594
  -moz-border-radius-topleft: 0.5em;
595
  -moz-border-radius-topright: 0.5em;
596
  -webkit-border-top-left-radius: 0.5em;
597
  -webkit-border-top-right-radius: 0.5em;
598
}
599
div.ctools-modal-content .modal-title {
600
  font-size: 120%;
601
  font-weight: bold;
602
  text-shadow: #fff 1px 1px 1px;
603
  color: #555;
604
}
605
div.ctools-modal-content a.close {
606
  color: #666;
607
  font-weight: normal;
608
  padding-left: 1.6em;
609
  background: url('../images/sprite.png') no-repeat -166px -1686px;
610
}
611
div.ctools-modal-content a.close img {
612
  display: none;
613
}
614
/** modal forms CSS **/
615
div.ctools-modal-content .form-item label {
616
  width: 100%;
617
  float: none;
618
  clear: both;
619
}
620
div.ctools-modal-content .resizable-textarea {
621
  width: 100%;
622
  margin-left: 0;
623
  margin-right: 0;
624
}
625
div.ctools-modal-content {
626
  font-size: 12px;
627
  border: solid 1px #ddd;
628
  -webkit-border-radius: 0.5em;
629
  -moz-border-radius: 0.5em;
630
  -webkit-box-shadow: -1em 1em 1em rgba(0, 0, 0, 0.5);
631
}
632
#modalBackdrop {
633
  position: fixed!important;
634
  background-color: #000!important;
635
}
636
/* @end */
637

    
638

    
639
/** Override that obnoxious float on throbber. **/
640
#panels-dnd-main .progress-disabled {
641
  float: none;
642
}
643

    
644
#panels-dnd-main .progress-disabled + .ajax-progress {
645
  float: right;
646
  position: relative;
647
  top: -2em;
648
}
649

    
650
/** Override that obnoxious float on throbber. **/
651
.panels-categories-box .progress-disabled {
652
  float: none;
653
}
654

    
655
.panels-categories-box .progress-disabled + .ajax-progress {
656
  float: right;
657
  position: relative;
658
  top: -2em;
659
  margin-bottom: -2em;
660
}
661

    
662
.panels-section-columns .progress-disabled {
663
  display: block;
664
  float: left;
665
}
666

    
667
.panels-section-columns .ajax-progress .throbber {
668
  float: right;
669
  position: relative;
670
  top: -2em;
671
  margin-bottom: -2em;
672
}
673