[ 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  .wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{
  68    border:2px solid;
  69    padding:.667em 1.333em;
  70  }
  71  
  72  .wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){
  73    color:currentColor;
  74  }
  75  
  76  .wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){
  77    background-color:initial;
  78    background-image:none;
  79  }
  80  
  81  .wp-block-button .wp-block-button__link:where(.has-border-color){
  82    border-width:initial;
  83  }
  84  .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
  85    border-top-width:medium;
  86  }
  87  .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
  88    border-right-width:medium;
  89  }
  90  .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
  91    border-bottom-width:medium;
  92  }
  93  .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
  94    border-left-width:medium;
  95  }
  96  .wp-block-button .wp-block-button__link:where([style*=border-style]){
  97    border-width:initial;
  98  }
  99  .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
 100    border-top-width:medium;
 101  }
 102  .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
 103    border-right-width:medium;
 104  }
 105  .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
 106    border-bottom-width:medium;
 107  }
 108  .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
 109    border-left-width:medium;
 110  }


Generated : Fri May 3 08:20:01 2024 Cross-referenced by PHPXref