[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/gallery/ -> editor.css (source)

   1  :root :where(figure.wp-block-gallery){
   2    display:block;
   3  }
   4  :root :where(figure.wp-block-gallery)>.blocks-gallery-caption{
   5    flex:0 0 100%;
   6  }
   7  :root :where(figure.wp-block-gallery)>.blocks-gallery-media-placeholder-wrapper{
   8    flex-basis:100%;
   9  }
  10  :root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error{
  11    display:block;
  12  }
  13  :root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content{
  14    margin:4px 0;
  15  }
  16  :root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss{
  17    position:absolute;
  18    right:5px;
  19    top:0;
  20  }
  21  :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label{
  22    display:none;
  23  }
  24  :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{
  25    margin-bottom:0;
  26  }
  27  :root :where(figure.wp-block-gallery) .block-editor-media-placeholder{
  28    margin:0;
  29  }
  30  :root :where(figure.wp-block-gallery) .block-editor-media-placeholder .components-placeholder__label{
  31    display:flex;
  32  }
  33  :root :where(figure.wp-block-gallery) .block-editor-media-placeholder figcaption{
  34    z-index:2;
  35  }
  36  :root :where(figure.wp-block-gallery) .components-spinner{
  37    left:50%;
  38    margin-left:-9px;
  39    margin-top:-9px;
  40    position:absolute;
  41    top:50%;
  42  }
  43  .gallery-settings-buttons .components-button:first-child{
  44    margin-right:8px;
  45  }
  46  
  47  .gallery-image-sizes .components-base-control__label{
  48    margin-bottom:4px;
  49  }
  50  .gallery-image-sizes .gallery-image-sizes__loading{
  51    align-items:center;
  52    color:#757575;
  53    display:flex;
  54    font-size:12px;
  55  }
  56  .gallery-image-sizes .components-spinner{
  57    margin:0 8px 0 4px;
  58  }
  59  .blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{
  60    outline:none;
  61  }
  62  .blocks-gallery-item figure.is-selected:before{
  63    bottom:0;
  64    box-shadow:0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
  65    content:"";
  66    left:0;
  67    outline:2px solid #0000;
  68    pointer-events:none;
  69    position:absolute;
  70    right:0;
  71    top:0;
  72    z-index:1;
  73  }
  74  .blocks-gallery-item figure.is-transient img{
  75    opacity:.3;
  76  }
  77  .blocks-gallery-item .block-editor-media-placeholder{
  78    height:100%;
  79    margin:0;
  80  }
  81  .blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{
  82    display:flex;
  83  }
  84  
  85  .wp-block-gallery ul.blocks-gallery-grid{
  86    margin:0;
  87    padding:0;
  88  }
  89  
  90  @media (min-width:600px){
  91    .wp-block-update-gallery-modal{
  92      max-width:480px;
  93    }
  94  }
  95  
  96  .wp-block-update-gallery-modal-buttons{
  97    display:flex;
  98    gap:12px;
  99    justify-content:flex-end;
 100  }


Generated : Sat Feb 22 08:20:01 2025 Cross-referenced by PHPXref