Нет описания

style-rtl.css 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /**
  2. * Colors
  3. */
  4. /**
  5. * Breakpoints & Media Queries
  6. */
  7. /**
  8. * SCSS Variables.
  9. *
  10. * Please use variables from this sheet to ensure consistency across the UI.
  11. * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  12. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  13. */
  14. /**
  15. * Colors
  16. */
  17. /**
  18. * Fonts & basic variables.
  19. */
  20. /**
  21. * Grid System.
  22. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  23. */
  24. /**
  25. * Dimensions.
  26. */
  27. /**
  28. * Shadows.
  29. */
  30. /**
  31. * Editor widths.
  32. */
  33. /**
  34. * Block & Editor UI.
  35. */
  36. /**
  37. * Block paddings.
  38. */
  39. /**
  40. * React Native specific.
  41. * These variables do not appear to be used anywhere else.
  42. */
  43. /**
  44. * Breakpoint mixins
  45. */
  46. /**
  47. * Long content fade mixin
  48. *
  49. * Creates a fading overlay to signify that the content is longer
  50. * than the space allows.
  51. */
  52. /**
  53. * Focus styles.
  54. */
  55. /**
  56. * Applies editor left position to the selector passed as argument
  57. */
  58. /**
  59. * Styles that are reused verbatim in a few places
  60. */
  61. /**
  62. * Allows users to opt-out of animations via OS-level preferences.
  63. */
  64. /**
  65. * Reset default styles for JavaScript UI based pages.
  66. * This is a WP-admin agnostic reset
  67. */
  68. /**
  69. * Reset the WP Admin page styles for Gutenberg-like pages.
  70. */
  71. .wp-block-button__link {
  72. color: #fff;
  73. background-color: #32373c;
  74. border-radius: 9999px;
  75. box-shadow: none;
  76. cursor: pointer;
  77. display: inline-block;
  78. font-size: 1.125em;
  79. padding: calc(0.667em + 2px) calc(1.333em + 2px);
  80. text-align: center;
  81. text-decoration: none;
  82. overflow-wrap: break-word;
  83. box-sizing: border-box;
  84. }
  85. .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
  86. color: #fff;
  87. }
  88. .wp-block-button__link.aligncenter {
  89. text-align: center;
  90. }
  91. .wp-block-button__link.alignright {
  92. text-align: right;
  93. }
  94. .wp-block-buttons > .wp-block-button.has-custom-width {
  95. max-width: none;
  96. }
  97. .wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
  98. width: 100%;
  99. }
  100. .wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
  101. font-size: inherit;
  102. }
  103. .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
  104. width: calc(25% - 0.5em);
  105. }
  106. .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
  107. width: calc(50% - 0.5em);
  108. }
  109. .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
  110. width: calc(75% - 0.5em);
  111. }
  112. .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
  113. width: calc(100% - 0.5em);
  114. }
  115. .wp-block-buttons > .wp-block-button.wp-block-button__width-100:only-child {
  116. margin-left: 0;
  117. width: 100%;
  118. }
  119. @supports (column-gap: 0.5em) {
  120. .wp-block-buttons > .wp-block-button.wp-block-button, .wp-block-buttons.is-content-justification-right > .wp-block-button.wp-block-button {
  121. margin-left: 0;
  122. margin-right: 0;
  123. }
  124. .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
  125. width: calc(25% - 0.375em);
  126. }
  127. .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
  128. width: calc(50% - 0.25em);
  129. }
  130. .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
  131. width: calc(75% - 0.125em);
  132. }
  133. .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
  134. width: auto;
  135. flex-basis: 100%;
  136. }
  137. }
  138. .wp-block-button.is-style-squared,
  139. .wp-block-button__link.wp-block-button.is-style-squared {
  140. border-radius: 0;
  141. }
  142. .wp-block-button.no-border-radius,
  143. .wp-block-button__link.no-border-radius {
  144. border-radius: 0 !important;
  145. }
  146. .is-style-outline > .wp-block-button__link,
  147. .wp-block-button__link.is-style-outline {
  148. border: 2px solid currentColor;
  149. padding: 0.667em 1.333em;
  150. }
  151. .is-style-outline > .wp-block-button__link:not(.has-text-color),
  152. .wp-block-button__link.is-style-outline:not(.has-text-color) {
  153. color: currentColor;
  154. }
  155. .is-style-outline > .wp-block-button__link:not(.has-background),
  156. .wp-block-button__link.is-style-outline:not(.has-background) {
  157. background-color: transparent;
  158. }