[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-featured-image/ -> editor.css (source)

   1  .wp-block-post-featured-image .block-editor-media-placeholder{
   2    -webkit-backdrop-filter:none;
   3            backdrop-filter:none;
   4    z-index:1;
   5  }
   6  .wp-block-post-featured-image .components-placeholder,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder{
   7    align-items:center;
   8    display:flex;
   9    justify-content:center;
  10    min-height:200px;
  11    padding:0;
  12  }
  13  .wp-block-post-featured-image .components-placeholder .components-form-file-upload,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload{
  14    display:none;
  15  }
  16  .wp-block-post-featured-image .components-placeholder .components-button,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button{
  17    align-items:center;
  18    background:var(--wp-admin-theme-color);
  19    border-color:var(--wp-admin-theme-color);
  20    border-radius:50%;
  21    border-style:solid;
  22    color:#fff;
  23    display:flex;
  24    height:48px;
  25    justify-content:center;
  26    margin:auto;
  27    padding:0;
  28    position:relative;
  29    width:48px;
  30  }
  31  .wp-block-post-featured-image .components-placeholder .components-button>svg,.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button>svg{
  32    color:inherit;
  33  }
  34  .wp-block-post-featured-image .components-placeholder:where(.has-border-color),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),.wp-block-post-featured-image img:where(.has-border-color){
  35    border-style:solid;
  36  }
  37  .wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),.wp-block-post-featured-image img:where([style*=border-top-color]){
  38    border-top-style:solid;
  39  }
  40  .wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),.wp-block-post-featured-image img:where([style*=border-right-color]){
  41    border-right-style:solid;
  42  }
  43  .wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),.wp-block-post-featured-image img:where([style*=border-bottom-color]){
  44    border-bottom-style:solid;
  45  }
  46  .wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),.wp-block-post-featured-image img:where([style*=border-left-color]){
  47    border-left-style:solid;
  48  }
  49  .wp-block-post-featured-image .components-placeholder:where([style*=border-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),.wp-block-post-featured-image img:where([style*=border-width]){
  50    border-style:solid;
  51  }
  52  .wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),.wp-block-post-featured-image img:where([style*=border-top-width]){
  53    border-top-style:solid;
  54  }
  55  .wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),.wp-block-post-featured-image img:where([style*=border-right-width]){
  56    border-right-style:solid;
  57  }
  58  .wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),.wp-block-post-featured-image img:where([style*=border-bottom-width]){
  59    border-bottom-style:solid;
  60  }
  61  .wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),.wp-block-post-featured-image img:where([style*=border-left-width]){
  62    border-left-style:solid;
  63  }
  64  .wp-block-post-featured-image[style*=height] .components-placeholder{
  65    height:100%;
  66    min-height:48px;
  67    min-width:48px;
  68    width:100%;
  69  }
  70  .wp-block-post-featured-image>a{
  71    cursor:default;
  72  }
  73  .wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-button,.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__instructions,.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__label{
  74    opacity:1;
  75    pointer-events:auto;
  76  }
  77  .wp-block-post-featured-image.is-transient{
  78    position:relative;
  79  }
  80  .wp-block-post-featured-image.is-transient img{
  81    opacity:.3;
  82  }
  83  .wp-block-post-featured-image.is-transient .components-spinner{
  84    left:50%;
  85    position:absolute;
  86    top:50%;
  87    transform:translate(-50%, -50%);
  88  }
  89  
  90  div[data-type="core/post-featured-image"] img{
  91    display:block;
  92    height:auto;
  93    max-width:100%;
  94  }


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref