wp-pointer-rtl.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. /*! This file is auto-generated */
  2. .wp-pointer-content {
  3. padding: 0 0 10px;
  4. position: relative;
  5. font-size: 13px;
  6. background: #fff;
  7. border: 1px solid #c3c4c7;
  8. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  9. }
  10. .wp-pointer-content h3 {
  11. position: relative;
  12. margin: -1px -1px 5px;
  13. padding: 15px 60px 14px 18px;
  14. border: 1px solid #2271b1;
  15. border-bottom: none;
  16. line-height: 1.4;
  17. font-size: 14px;
  18. color: #fff;
  19. background: #2271b1;
  20. }
  21. .wp-pointer-content h3:before {
  22. background: #fff;
  23. border-radius: 50%;
  24. color: #2271b1;
  25. content: "\f227";
  26. font: normal 20px/1.6 dashicons;
  27. position: absolute;
  28. top: 8px;
  29. right: 15px;
  30. speak: never;
  31. text-align: center;
  32. width: 32px;
  33. height: 32px;
  34. -webkit-font-smoothing: antialiased;
  35. -moz-osx-font-smoothing: grayscale;
  36. }
  37. .wp-pointer-content h4 {
  38. margin: 1.33em 20px 1em;
  39. font-size: 1.15em;
  40. }
  41. .wp-pointer-content p {
  42. padding: 0 20px;
  43. }
  44. .wp-pointer-buttons {
  45. margin: 0;
  46. padding: 5px 15px;
  47. overflow: auto;
  48. }
  49. .wp-pointer-buttons a {
  50. float: left;
  51. display: inline-block;
  52. text-decoration: none;
  53. }
  54. .wp-pointer-buttons a.close {
  55. padding-right: 3px;
  56. position: relative;
  57. }
  58. .wp-pointer-buttons a.close:before {
  59. background: none;
  60. color: #787c82;
  61. content: "\f153";
  62. display: block !important;
  63. font: normal 16px/1 dashicons;
  64. speak: never;
  65. margin: 1px 0;
  66. text-align: center;
  67. -webkit-font-smoothing: antialiased !important;
  68. width: 10px;
  69. height: 100%;
  70. position: absolute;
  71. right: -15px;
  72. top: 1px;
  73. }
  74. .wp-pointer-buttons a.close:hover:before {
  75. color: #d63638;
  76. }
  77. /* The arrow base class must take up no space, even with transparent borders. */
  78. .wp-pointer-arrow,
  79. .wp-pointer-arrow-inner {
  80. position: absolute;
  81. width: 0;
  82. height: 0;
  83. }
  84. .wp-pointer-arrow {
  85. z-index: 10;
  86. width: 0;
  87. height: 0;
  88. border: 0 solid transparent;
  89. }
  90. .wp-pointer-arrow-inner {
  91. z-index: 20;
  92. }
  93. /* Make Room for the Arrow! */
  94. .wp-pointer-top,
  95. .wp-pointer-undefined {
  96. padding-top: 13px;
  97. }
  98. .wp-pointer-bottom {
  99. margin-top: -13px;
  100. padding-bottom: 13px;
  101. }
  102. /* rtl:ignore */
  103. .wp-pointer-left {
  104. padding-left: 13px;
  105. }
  106. /* rtl:ignore */
  107. .wp-pointer-right {
  108. margin-left: -13px;
  109. padding-right: 13px;
  110. }
  111. /* Base Size & Positioning */
  112. .wp-pointer-top .wp-pointer-arrow,
  113. .wp-pointer-bottom .wp-pointer-arrow,
  114. .wp-pointer-undefined .wp-pointer-arrow {
  115. right: 50px;
  116. }
  117. .wp-pointer-left .wp-pointer-arrow,
  118. .wp-pointer-right .wp-pointer-arrow {
  119. top: 50%;
  120. margin-top: -15px;
  121. }
  122. /* Arrow Sprite */
  123. .wp-pointer-top .wp-pointer-arrow,
  124. .wp-pointer-undefined .wp-pointer-arrow {
  125. top: 0;
  126. border-width: 0 13px 13px;
  127. border-bottom-color: #2271b1;
  128. }
  129. .wp-pointer-top .wp-pointer-arrow-inner,
  130. .wp-pointer-undefined .wp-pointer-arrow-inner {
  131. top: 1px;
  132. margin-right: -13px;
  133. margin-top: -13px;
  134. border: 13px solid transparent;
  135. border-bottom-color: #2271b1;
  136. display: block;
  137. content: " ";
  138. }
  139. .wp-pointer-bottom .wp-pointer-arrow {
  140. bottom: 0;
  141. border-width: 13px 13px 0;
  142. border-top-color: #c3c4c7;
  143. }
  144. .wp-pointer-bottom .wp-pointer-arrow-inner {
  145. bottom: 1px;
  146. margin-right: -13px;
  147. margin-bottom: -13px;
  148. border: 13px solid transparent;
  149. border-top-color: #fff;
  150. display: block;
  151. content: " ";
  152. }
  153. /* rtl:ignore */
  154. .wp-pointer-left .wp-pointer-arrow {
  155. left: 0;
  156. border-width: 13px 13px 13px 0;
  157. border-right-color: #c3c4c7;
  158. }
  159. /* rtl:ignore */
  160. .wp-pointer-left .wp-pointer-arrow-inner {
  161. left: 1px;
  162. margin-left: -13px;
  163. margin-top: -13px;
  164. border: 13px solid transparent;
  165. border-right-color: #fff;
  166. display: block;
  167. content: " ";
  168. }
  169. /* rtl:ignore */
  170. .wp-pointer-right .wp-pointer-arrow {
  171. right: 0;
  172. border-width: 13px 0 13px 13px;
  173. border-left-color: #c3c4c7;
  174. }
  175. /* rtl:ignore */
  176. .wp-pointer-right .wp-pointer-arrow-inner {
  177. right: 1px;
  178. margin-right: -13px;
  179. margin-top: -13px;
  180. border: 13px solid transparent;
  181. border-left-color: #fff;
  182. display: block;
  183. content: " ";
  184. }
  185. .wp-pointer.arrow-bottom .wp-pointer-content {
  186. margin-bottom: -45px;
  187. }
  188. .wp-pointer.arrow-bottom .wp-pointer-arrow {
  189. top: 100%;
  190. margin-top: -30px;
  191. }
  192. /* Disable pointers at responsive sizes */
  193. @media screen and (max-width: 782px) {
  194. .wp-pointer {
  195. display: none;
  196. }
  197. }