[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/button/ -> style.css (source)

   1  .wp-block-button__link{
   2    box-sizing:border-box;
   3    cursor:pointer;
   4    display:inline-block;
   5    text-align:center;
   6    word-break:break-word;
   7  }
   8  .wp-block-button__link.aligncenter{
   9    text-align:center;
  10  }
  11  .wp-block-button__link.alignright{
  12    text-align:right;
  13  }
  14  
  15  :where(.wp-block-button__link){
  16    border-radius:9999px;
  17    box-shadow:none;
  18    padding:calc(.667em + 2px) calc(1.333em + 2px);
  19    text-decoration:none;
  20  }
  21  
  22  .wp-block-button[style*=text-decoration] .wp-block-button__link{
  23    text-decoration:inherit;
  24  }
  25  
  26  .wp-block-buttons>.wp-block-button.has-custom-width{
  27    max-width:none;
  28  }
  29  .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{
  30    width:100%;
  31  }
  32  .wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{
  33    font-size:inherit;
  34  }
  35  .wp-block-buttons>.wp-block-button.wp-block-button__width-25{
  36    width:calc(25% - var(--wp--style--block-gap, .5em)*.75);
  37  }
  38  .wp-block-buttons>.wp-block-button.wp-block-button__width-50{
  39    width:calc(50% - var(--wp--style--block-gap, .5em)*.5);
  40  }
  41  .wp-block-buttons>.wp-block-button.wp-block-button__width-75{
  42    width:calc(75% - var(--wp--style--block-gap, .5em)*.25);
  43  }
  44  .wp-block-buttons>.wp-block-button.wp-block-button__width-100{
  45    flex-basis:100%;
  46    width:100%;
  47  }
  48  
  49  .wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{
  50    width:25%;
  51  }
  52  .wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{
  53    width:50%;
  54  }
  55  .wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{
  56    width:75%;
  57  }
  58  
  59  .wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{
  60    border-radius:0;
  61  }
  62  
  63  .wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{
  64    border-radius:0 !important;
  65  }
  66  
  67  :root :where(.wp-block-button .wp-block-button__link.is-style-outline),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link){
  68    border:2px solid;
  69    padding:.667em 1.333em;
  70  }
  71  :root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color)){
  72    color:currentColor;
  73  }
  74  :root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)),:root :where(.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background)){
  75    background-color:initial;
  76    background-image:none;
  77  }


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