[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  .wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{
   2    display:table;
   3    margin-left:auto;
   4    margin-right:auto;
   5  }
   6  
   7  .wp-block-site-logo a{
   8    pointer-events:none;
   9  }
  10  .wp-block-site-logo .custom-logo-link{
  11    cursor:inherit;
  12  }
  13  .wp-block-site-logo .custom-logo-link:focus{
  14    box-shadow:none;
  15  }
  16  .wp-block-site-logo img{
  17    display:block;
  18    height:auto;
  19    max-width:100%;
  20  }
  21  .wp-block-site-logo.is-transient{
  22    position:relative;
  23  }
  24  .wp-block-site-logo.is-transient img{
  25    opacity:.3;
  26  }
  27  .wp-block-site-logo.is-transient .components-spinner{
  28    left:50%;
  29    margin:0;
  30    position:absolute;
  31    top:50%;
  32    transform:translate(-50%, -50%);
  33  }
  34  
  35  .wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{
  36    height:60px;
  37    width:60px;
  38  }
  39  .wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{
  40    border-radius:inherit;
  41  }
  42  .wp-block-site-logo.wp-block-site-logo .components-placeholder{
  43    align-items:center;
  44    border-radius:inherit;
  45    display:flex;
  46    height:100%;
  47    justify-content:center;
  48    min-height:48px;
  49    min-width:48px;
  50    padding:0;
  51    width:100%;
  52  }
  53  .wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{
  54    display:none;
  55  }
  56  .wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{
  57    align-items:center;
  58    background:var(--wp-admin-theme-color);
  59    border-color:var(--wp-admin-theme-color);
  60    border-radius:50%;
  61    border-style:solid;
  62    color:#fff;
  63    display:flex;
  64    height:48px;
  65    justify-content:center;
  66    margin:auto;
  67    padding:0;
  68    position:relative;
  69    width:48px;
  70  }
  71  .wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{
  72    color:inherit;
  73  }
  74  
  75  .block-library-site-logo__inspector-upload-container{
  76    position:relative;
  77  }
  78  .block-library-site-logo__inspector-upload-container .components-drop-zone__content-icon{
  79    display:none;
  80  }
  81  
  82  .block-library-site-logo__inspector-media-replace-container button.components-button,.block-library-site-logo__inspector-upload-container button.components-button{
  83    box-shadow:inset 0 0 0 1px #ccc;
  84    color:#1e1e1e;
  85    display:block;
  86    height:40px;
  87    width:100%;
  88  }
  89  .block-library-site-logo__inspector-media-replace-container button.components-button:hover,.block-library-site-logo__inspector-upload-container button.components-button:hover{
  90    color:var(--wp-admin-theme-color);
  91  }
  92  .block-library-site-logo__inspector-media-replace-container button.components-button:focus,.block-library-site-logo__inspector-upload-container button.components-button:focus{
  93    box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
  94  }
  95  .block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-media-replace-title,.block-library-site-logo__inspector-upload-container .block-library-site-logo__inspector-media-replace-title{
  96    text-align:start;
  97    text-align-last:center;
  98    white-space:normal;
  99    word-break:break-all;
 100  }
 101  
 102  .block-library-site-logo__inspector-media-replace-container .components-dropdown{
 103    display:block;
 104  }
 105  .block-library-site-logo__inspector-media-replace-container img{
 106    aspect-ratio:1;
 107    border-radius:50% !important;
 108    box-shadow:inset 0 0 0 1px #0003;
 109    min-width:20px;
 110    width:20px;
 111  }
 112  .block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-readonly-logo-preview{
 113    display:flex;
 114    height:40px;
 115    padding:6px 12px;
 116  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref