Brak opisu

style-rtl.css 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. :root {
  72. --wp-admin-theme-color: #007cba;
  73. --wp-admin-theme-color-darker-10: #006ba1;
  74. --wp-admin-theme-color-darker-20: #005a87;
  75. --wp-admin-border-width-focus: 2px;
  76. }
  77. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  78. :root {
  79. --wp-admin-border-width-focus: 1.5px;
  80. }
  81. }
  82. .nux-dot-tip::before, .nux-dot-tip::after {
  83. border-radius: 100%;
  84. content: " ";
  85. pointer-events: none;
  86. position: absolute;
  87. }
  88. .nux-dot-tip::before {
  89. animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
  90. background: rgba(0, 115, 156, 0.9);
  91. opacity: 0.9;
  92. height: 24px;
  93. right: -12px;
  94. top: -12px;
  95. transform: scale(0.3333333333);
  96. width: 24px;
  97. }
  98. .nux-dot-tip::after {
  99. background: #00739c;
  100. height: 8px;
  101. right: -4px;
  102. top: -4px;
  103. width: 8px;
  104. }
  105. @keyframes nux-pulse {
  106. 100% {
  107. background: rgba(0, 115, 156, 0);
  108. transform: scale(1);
  109. }
  110. }
  111. .nux-dot-tip .components-popover__content {
  112. width: 350px;
  113. }
  114. .nux-dot-tip .components-popover__content > div {
  115. padding: 20px 18px;
  116. }
  117. @media (min-width: 600px) {
  118. .nux-dot-tip .components-popover__content {
  119. width: 450px;
  120. }
  121. }
  122. .nux-dot-tip .components-popover__content .nux-dot-tip__disable {
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. }
  127. .nux-dot-tip[data-y-axis=top] {
  128. margin-top: -4px;
  129. }
  130. .nux-dot-tip[data-y-axis=bottom] {
  131. margin-top: 4px;
  132. }
  133. .nux-dot-tip[data-y-axis=middle][data-y-axis=left] {
  134. margin-right: -4px;
  135. }
  136. .nux-dot-tip[data-y-axis=middle][data-y-axis=right] {
  137. margin-right: 4px;
  138. }
  139. .nux-dot-tip[data-y-axis=top] .components-popover__content {
  140. margin-bottom: 20px;
  141. }
  142. .nux-dot-tip[data-y-axis=bottom] .components-popover__content {
  143. margin-top: 20px;
  144. }
  145. .nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content {
  146. margin-left: 20px;
  147. }
  148. .nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content {
  149. margin-right: 20px;
  150. }
  151. .nux-dot-tip[data-y-axis=left], .nux-dot-tip[data-y-axis=center], .nux-dot-tip[data-y-axis=right] {
  152. z-index: 1000001;
  153. }
  154. @media (max-width: 600px) {
  155. .nux-dot-tip[data-y-axis=left] .components-popover__content, .nux-dot-tip[data-y-axis=center] .components-popover__content, .nux-dot-tip[data-y-axis=right] .components-popover__content {
  156. align-self: end;
  157. right: 5px;
  158. margin: 20px 0 0 0;
  159. max-width: none !important;
  160. position: fixed;
  161. left: 5px;
  162. width: auto;
  163. }
  164. }
  165. .nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
  166. margin-left: 0;
  167. }
  168. .nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
  169. margin-right: 0;
  170. }
  171. .nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content {
  172. margin-left: -12px;
  173. }
  174. .nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content {
  175. margin-right: -12px;
  176. }