~ubuntu-branches/debian/jessie/wordpress/jessie

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyfourteen/css/editor-style.css

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2014-04-17 20:56:19 UTC
  • mfrom: (1.2.35)
  • Revision ID: package-import@ubuntu.com-20140417205619-nurbet6eho4yvwfv
Tags: 3.9+dfsg-1
* New upstream release
* 3.9 seems to handle different locations for plugins so the
  plugin directory handling patches have been cut back.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * 5.0 - Alignment
15
15
 * 6.0 - Tables
16
16
 * 7.0 - Images
17
 
 * 8.0 - RTL
 
17
 * 8.0 - Galleries
 
18
 * 9.0 - Audio/Video
 
19
 * 10.0 - RTL
18
20
 * ----------------------------------------------------------------------------
19
21
 */
20
22
 
387
389
        text-align: left;
388
390
}
389
391
 
 
392
.html5-captions .wp-caption {
 
393
        padding: 0;
 
394
}
 
395
 
390
396
.wp-caption.alignleft {
391
397
        margin: 7px 14px 7px 0;
392
398
}
393
399
 
 
400
.html5-captions .wp-caption.alignleft {
 
401
        margin-right: 24px;
 
402
}
 
403
 
394
404
.wp-caption.alignright {
395
405
        margin: 7px 0 7px 14px;
396
406
}
397
407
 
 
408
.wp-caption.alignright img,
 
409
.wp-caption.alignright .wp-caption-dd {
 
410
        padding-left: 10px;
 
411
}
 
412
 
 
413
.html5-captions .wp-caption.alignright {
 
414
        margin-left: 24px;
 
415
}
 
416
 
 
417
.html5-captions .wp-caption.alignright img,
 
418
.html5-captions .wp-caption.alignright .wp-caption-dd {
 
419
        padding: 0;
 
420
}
 
421
 
398
422
.wp-caption.aligncenter {
399
423
        margin: 7px 0;
400
424
}
421
445
        list-style-position: inside;
422
446
}
423
447
 
424
 
 
425
 
/**
426
 
 * 8.0 RTL
 
448
/**
 
449
 * 8.0 Gallery
 
450
 * -----------------------------------------------------------------------------
 
451
 */
 
452
 
 
453
.gallery .gallery-item {
 
454
        float: left;
 
455
        margin: 0 4px 4px 0;
 
456
        overflow: hidden;
 
457
        padding: 0;
 
458
        position: relative;
 
459
}
 
460
 
 
461
.gallery-columns-1 .gallery-item {
 
462
        max-width: 100%;
 
463
        width: auto;
 
464
}
 
465
 
 
466
.gallery-columns-2 .gallery-item {
 
467
        max-width: 48%;
 
468
        max-width: -webkit-calc(50% - 14px);
 
469
        max-width:         calc(50% - 14px);
 
470
        width: auto;
 
471
}
 
472
 
 
473
.gallery-columns-3 .gallery-item {
 
474
        max-width: 32%;
 
475
        max-width: -webkit-calc(33.3% - 11px);
 
476
        max-width:         calc(33.3% - 11px);
 
477
        width: auto;
 
478
}
 
479
 
 
480
.gallery-columns-4 .gallery-item {
 
481
        max-width: 23%;
 
482
        max-width: -webkit-calc(25% - 9px);
 
483
        max-width:         calc(25% - 9px);
 
484
        width: auto;
 
485
}
 
486
 
 
487
.gallery-columns-5 .gallery-item {
 
488
        max-width: 19%;
 
489
        max-width: -webkit-calc(20% - 8px);
 
490
        max-width:         calc(20% - 8px);
 
491
        width: auto;
 
492
}
 
493
 
 
494
.gallery-columns-6 .gallery-item {
 
495
        max-width: 15%;
 
496
        max-width: -webkit-calc(16.7% - 7px);
 
497
        max-width:         calc(16.7% - 7px);
 
498
        width: auto;
 
499
}
 
500
 
 
501
.gallery-columns-7 .gallery-item {
 
502
        max-width: 13%;
 
503
        max-width: -webkit-calc(14.28% - 7px);
 
504
        max-width:         calc(14.28% - 7px);
 
505
        width: auto;
 
506
}
 
507
 
 
508
.gallery-columns-8 .gallery-item {
 
509
        max-width: 11%;
 
510
        max-width: -webkit-calc(12.5% - 6px);
 
511
        max-width:         calc(12.5% - 6px);
 
512
        width: auto;
 
513
}
 
514
 
 
515
.gallery-columns-9 .gallery-item {
 
516
        max-width: 9%;
 
517
        max-width: -webkit-calc(11.1% - 6px);
 
518
        max-width:         calc(11.1% - 6px);
 
519
        width: auto;
 
520
}
 
521
 
 
522
.gallery-columns-1 .gallery-item:nth-of-type(1n),
 
523
.gallery-columns-2 .gallery-item:nth-of-type(2n),
 
524
.gallery-columns-3 .gallery-item:nth-of-type(3n),
 
525
.gallery-columns-4 .gallery-item:nth-of-type(4n),
 
526
.gallery-columns-5 .gallery-item:nth-of-type(5n),
 
527
.gallery-columns-6 .gallery-item:nth-of-type(6n),
 
528
.gallery-columns-7 .gallery-item:nth-of-type(7n),
 
529
.gallery-columns-8 .gallery-item:nth-of-type(8n),
 
530
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
 
531
        margin-right: 0;
 
532
}
 
533
 
 
534
.gallery-columns-1 .gallery-item:nth-of-type(1n),
 
535
.gallery-columns-2 .gallery-item:nth-of-type(2n - 1),
 
536
.gallery-columns-3 .gallery-item:nth-of-type(3n - 2),
 
537
.gallery-columns-4 .gallery-item:nth-of-type(4n - 3),
 
538
.gallery-columns-5 .gallery-item:nth-of-type(5n - 4),
 
539
.gallery-columns-6 .gallery-item:nth-of-type(6n - 5),
 
540
.gallery-columns-7 .gallery-item:nth-of-type(7n - 6),
 
541
.gallery-columns-8 .gallery-item:nth-of-type(8n - 7),
 
542
.gallery-columns-9 .gallery-item:nth-of-type(9n - 8) {
 
543
        margin-left: 12px; /* Compensate for the default negative margin on .gallery, which can't be changed. */
 
544
}
 
545
 
 
546
.gallery .gallery-caption {
 
547
        background-color: rgba(0, 0, 0, 0.7);
 
548
        -webkit-box-sizing: border-box;
 
549
        -moz-box-sizing:    border-box;
 
550
        box-sizing:         border-box;
 
551
        color: #fff;
 
552
        font-size: 12px;
 
553
        line-height: 1.5;
 
554
        margin: 0;
 
555
        max-height: 50%;
 
556
        opacity: 0;
 
557
        padding: 6px 8px;
 
558
        position: absolute;
 
559
        bottom: 0;
 
560
        left: 0;
 
561
        text-align: left;
 
562
        width: 100%;
 
563
}
 
564
 
 
565
.gallery .gallery-caption:before {
 
566
        content: "";
 
567
        height: 100%;
 
568
        min-height: 49px;
 
569
        position: absolute;
 
570
        top: 0;
 
571
        left: 0;
 
572
        width: 100%;
 
573
}
 
574
 
 
575
.gallery-item:hover .gallery-caption {
 
576
        opacity: 1;
 
577
}
 
578
 
 
579
.gallery-columns-7 .gallery-caption,
 
580
.gallery-columns-8 .gallery-caption,
 
581
.gallery-columns-9 .gallery-caption {
 
582
        display: none;
 
583
}
 
584
 
 
585
 
 
586
/**
 
587
 * 9.0 Audio/Video
 
588
 * ----------------------------------------------------------------------------
 
589
 */
 
590
 
 
591
.mejs-mediaelement,
 
592
.mejs-container .mejs-controls {
 
593
        background: #000;
 
594
}
 
595
 
 
596
.mejs-controls .mejs-time-rail .mejs-time-loaded,
 
597
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
 
598
        background: #fff;
 
599
}
 
600
 
 
601
.mejs-controls .mejs-time-rail .mejs-time-current {
 
602
        background: #24890d;
 
603
}
 
604
 
 
605
.mejs-controls .mejs-time-rail .mejs-time-total,
 
606
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
 
607
        background: rgba(255, 255, 255, .33);
 
608
}
 
609
 
 
610
.mejs-controls .mejs-time-rail span,
 
611
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
 
612
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
 
613
        border-radius: 0;
 
614
}
 
615
 
 
616
.mejs-overlay-loading {
 
617
        background: transparent;
 
618
}
 
619
 
 
620
 
 
621
/**
 
622
 * 10.0 RTL
427
623
 * ----------------------------------------------------------------------------
428
624
 */
429
625