You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.5 KiB

1 year ago
  1. .wp-block[data-align=center]>.wp-block-button{
  2. margin-left:auto;
  3. margin-right:auto;
  4. text-align:center;
  5. }
  6. .wp-block[data-align=right]>.wp-block-button{
  7. text-align:right;
  8. }
  9. .wp-block-button{
  10. cursor:text;
  11. position:relative;
  12. }
  13. .wp-block-button:focus{
  14. box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
  15. outline:2px solid transparent;
  16. outline-offset:-2px;
  17. }
  18. .wp-block-button[data-rich-text-placeholder]:after{
  19. opacity:.8;
  20. }
  21. .wp-block-button__inline-link{
  22. color:#757575;
  23. height:0;
  24. max-width:290px;
  25. overflow:hidden;
  26. }
  27. .wp-block-button__inline-link-input__suggestions{
  28. max-width:290px;
  29. }
  30. @media (min-width:782px){
  31. .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
  32. max-width:260px;
  33. }
  34. }
  35. @media (min-width:960px){
  36. .wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
  37. max-width:290px;
  38. }
  39. }
  40. .is-selected .wp-block-button__inline-link{
  41. height:auto;
  42. overflow:visible;
  43. }
  44. .wp-button-label__width .components-button-group{
  45. display:block;
  46. }
  47. .wp-button-label__width .components-base-control__field{
  48. margin-bottom:12px;
  49. }
  50. div[data-type="core/button"]{
  51. display:table;
  52. }
  53. .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
  54. text-decoration:inherit;
  55. }
  56. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){
  57. border-width:initial;
  58. }
  59. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
  60. border-top-width:medium;
  61. }
  62. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
  63. border-left-width:medium;
  64. }
  65. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
  66. border-bottom-width:medium;
  67. }
  68. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
  69. border-right-width:medium;
  70. }
  71. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){
  72. border-width:initial;
  73. }
  74. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
  75. border-top-width:medium;
  76. }
  77. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
  78. border-left-width:medium;
  79. }
  80. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
  81. border-bottom-width:medium;
  82. }
  83. .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
  84. border-right-width:medium;
  85. }