theme-rtl.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. * Converts a hex value into the rgb equivalent.
  45. *
  46. * @param {string} hex - the hexadecimal value to convert
  47. * @return {string} comma separated rgb values
  48. */
  49. /**
  50. * Breakpoint mixins
  51. */
  52. /**
  53. * Long content fade mixin
  54. *
  55. * Creates a fading overlay to signify that the content is longer
  56. * than the space allows.
  57. */
  58. /**
  59. * Focus styles.
  60. */
  61. /**
  62. * Applies editor left position to the selector passed as argument
  63. */
  64. /**
  65. * Styles that are reused verbatim in a few places
  66. */
  67. /**
  68. * Allows users to opt-out of animations via OS-level preferences.
  69. */
  70. /**
  71. * Reset default styles for JavaScript UI based pages.
  72. * This is a WP-admin agnostic reset
  73. */
  74. /**
  75. * Reset the WP Admin page styles for Gutenberg-like pages.
  76. */
  77. .wp-block-audio figcaption {
  78. color: #555;
  79. font-size: 13px;
  80. text-align: center;
  81. }
  82. .is-dark-theme .wp-block-audio figcaption {
  83. color: rgba(255, 255, 255, 0.65);
  84. }
  85. .wp-block-audio {
  86. margin: 0 0 1em 0;
  87. }
  88. .wp-block-code {
  89. border: 1px solid #ccc;
  90. border-radius: 4px;
  91. font-family: Menlo, Consolas, monaco, monospace;
  92. padding: 0.8em 1em;
  93. }
  94. .wp-block-embed figcaption {
  95. color: #555;
  96. font-size: 13px;
  97. text-align: center;
  98. }
  99. .is-dark-theme .wp-block-embed figcaption {
  100. color: rgba(255, 255, 255, 0.65);
  101. }
  102. .wp-block-embed {
  103. margin: 0 0 1em 0;
  104. }
  105. .blocks-gallery-caption {
  106. color: #555;
  107. font-size: 13px;
  108. text-align: center;
  109. }
  110. .is-dark-theme .blocks-gallery-caption {
  111. color: rgba(255, 255, 255, 0.65);
  112. }
  113. .wp-block-image figcaption {
  114. color: #555;
  115. font-size: 13px;
  116. text-align: center;
  117. }
  118. .is-dark-theme .wp-block-image figcaption {
  119. color: rgba(255, 255, 255, 0.65);
  120. }
  121. .wp-block-image {
  122. margin: 0 0 1em 0;
  123. }
  124. .wp-block-pullquote {
  125. border-top: 4px solid currentColor;
  126. border-bottom: 4px solid currentColor;
  127. margin-bottom: 1.75em;
  128. color: currentColor;
  129. }
  130. .wp-block-pullquote cite,
  131. .wp-block-pullquote footer, .wp-block-pullquote__citation {
  132. color: currentColor;
  133. text-transform: uppercase;
  134. font-size: 0.8125em;
  135. font-style: normal;
  136. }
  137. .wp-block-quote {
  138. border-right: 0.25em solid currentColor;
  139. margin: 0 0 1.75em 0;
  140. padding-right: 1em;
  141. }
  142. .wp-block-quote cite,
  143. .wp-block-quote footer {
  144. color: currentColor;
  145. font-size: 0.8125em;
  146. position: relative;
  147. font-style: normal;
  148. }
  149. .wp-block-quote.has-text-align-right {
  150. border-right: none;
  151. border-left: 0.25em solid currentColor;
  152. padding-right: 0;
  153. padding-left: 1em;
  154. }
  155. .wp-block-quote.has-text-align-center {
  156. border: none;
  157. padding-right: 0;
  158. }
  159. .wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
  160. border: none;
  161. }
  162. .wp-block-search .wp-block-search__label {
  163. font-weight: bold;
  164. }
  165. .wp-block-search__button {
  166. border: 1px solid #ccc;
  167. padding: 0.375em 0.625em;
  168. }
  169. :where(.wp-block-group.has-background) {
  170. padding: 1.25em 2.375em;
  171. }
  172. .wp-block-separator.has-css-opacity {
  173. opacity: 0.4;
  174. }
  175. .wp-block-separator {
  176. border: none;
  177. border-bottom: 2px solid currentColor;
  178. margin-right: auto;
  179. margin-left: auto;
  180. }
  181. .wp-block-separator.has-alpha-channel-opacity {
  182. opacity: initial;
  183. }
  184. .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  185. width: 100px;
  186. }
  187. .wp-block-separator.has-background:not(.is-style-dots) {
  188. border-bottom: none;
  189. height: 1px;
  190. }
  191. .wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
  192. height: 2px;
  193. }
  194. .wp-block-table {
  195. margin: "0 0" 1em 0;
  196. }
  197. .wp-block-table thead {
  198. border-bottom: 3px solid;
  199. }
  200. .wp-block-table tfoot {
  201. border-top: 3px solid;
  202. }
  203. .wp-block-table td,
  204. .wp-block-table th {
  205. word-break: normal;
  206. }
  207. .wp-block-table figcaption {
  208. color: #555;
  209. font-size: 13px;
  210. text-align: center;
  211. }
  212. .is-dark-theme .wp-block-table figcaption {
  213. color: rgba(255, 255, 255, 0.65);
  214. }
  215. .wp-block-video figcaption {
  216. color: #555;
  217. font-size: 13px;
  218. text-align: center;
  219. }
  220. .is-dark-theme .wp-block-video figcaption {
  221. color: rgba(255, 255, 255, 0.65);
  222. }
  223. .wp-block-video {
  224. margin: 0 0 1em 0;
  225. }
  226. .wp-block-template-part.has-background {
  227. padding: 1.25em 2.375em;
  228. margin-top: 0;
  229. margin-bottom: 0;
  230. }