style.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /**
  2. * Colors
  3. */
  4. /**
  5. * Breakpoints & Media Queries
  6. */
  7. /**
  8. * Often re-used variables
  9. */
  10. /**
  11. * Breakpoint mixins
  12. */
  13. /**
  14. * Long content fade mixin
  15. *
  16. * Creates a fading overlay to signify that the content is longer
  17. * than the space allows.
  18. */
  19. /**
  20. * Button states and focus styles
  21. */
  22. /**
  23. * Applies editor left position to the selector passed as argument
  24. */
  25. /**
  26. * Applies editor right position to the selector passed as argument
  27. */
  28. /**
  29. * Styles that are reused verbatim in a few places
  30. */
  31. /**
  32. * Allows users to opt-out of animations via OS-level preferences.
  33. */
  34. /**
  35. * Reset default styles for JavaScript UI based pages.
  36. * This is a WP-admin agnostic reset
  37. */
  38. /**
  39. * Reset the WP Admin page styles for Gutenberg-like pages.
  40. */
  41. .nux-dot-tip::before, .nux-dot-tip::after {
  42. border-radius: 100%;
  43. content: " ";
  44. pointer-events: none;
  45. position: absolute; }
  46. .nux-dot-tip::before {
  47. animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
  48. background: rgba(0, 115, 156, 0.9);
  49. height: 24px;
  50. left: -12px;
  51. top: -12px;
  52. transform: scale(0.33333);
  53. width: 24px; }
  54. .nux-dot-tip::after {
  55. background: #00739c;
  56. height: 8px;
  57. left: -4px;
  58. top: -4px;
  59. width: 8px; }
  60. @keyframes nux-pulse {
  61. 100% {
  62. background: rgba(0, 115, 156, 0);
  63. transform: scale(1); } }
  64. .nux-dot-tip .components-popover__content {
  65. padding: 5px 41px 5px 20px;
  66. width: 350px; }
  67. @media (min-width: 600px) {
  68. .nux-dot-tip .components-popover__content {
  69. width: 450px; } }
  70. .nux-dot-tip .components-popover__content .nux-dot-tip__disable {
  71. position: absolute;
  72. right: 0;
  73. top: 0; }
  74. .nux-dot-tip.is-top {
  75. margin-top: -4px; }
  76. .nux-dot-tip.is-bottom {
  77. margin-top: 4px; }
  78. .nux-dot-tip.is-middle.is-left {
  79. margin-left: -4px; }
  80. .nux-dot-tip.is-middle.is-right {
  81. margin-left: 4px; }
  82. .nux-dot-tip.is-top .components-popover__content {
  83. margin-bottom: 20px; }
  84. .nux-dot-tip.is-bottom .components-popover__content {
  85. margin-top: 20px; }
  86. .nux-dot-tip.is-middle.is-left .components-popover__content {
  87. margin-right: 20px; }
  88. .nux-dot-tip.is-middle.is-right .components-popover__content {
  89. margin-left: 20px; }
  90. .nux-dot-tip:not(.is-mobile).is-left, .nux-dot-tip:not(.is-mobile).is-center, .nux-dot-tip:not(.is-mobile).is-right {
  91. z-index: 1000001; }
  92. @media (max-width: 600px) {
  93. .nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content {
  94. -ms-grid-row-align: end;
  95. align-self: end;
  96. left: 5px;
  97. margin: 20px 0 0 0;
  98. max-width: none !important;
  99. position: fixed;
  100. right: 5px;
  101. width: auto; } }
  102. .nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
  103. /*!rtl:ignore*/
  104. margin-left: 0; }
  105. .nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
  106. /*!rtl:ignore*/
  107. margin-right: 0; }
  108. .nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
  109. /*!rtl:ignore*/
  110. margin-left: -12px; }
  111. .nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
  112. /*!rtl:ignore*/
  113. margin-right: -12px; }