diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 72c1dc9e29..585eb2bc82 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -2738,8 +2738,7 @@ html.wp-toolbar { #welcome-panel.welcome-panel .welcome-panel-close::before, .tagchecklist span a:before, -#bulk-titles div a:before, -.wp-pointer-buttons a.close:before { +#bulk-titles div a:before { content: '\f153'; display: block !important; font: normal 16px/1 'dashicons'; diff --git a/src/wp-includes/css/wp-pointer.css b/src/wp-includes/css/wp-pointer.css index ce8459f020..5ef5994bbe 100644 --- a/src/wp-includes/css/wp-pointer.css +++ b/src/wp-includes/css/wp-pointer.css @@ -1,4 +1,4 @@ -.wp-pointer-content { +.wp-pointer-content { padding: 0 0 10px; position: relative; font-size: 13px; @@ -57,7 +57,13 @@ } .wp-pointer-buttons a.close:before { - font-size: 13px; + content: '\f153'; + display: block !important; + font: normal 13px/1 'dashicons'; + speak: none; + margin: 2px 0; + text-align: center; + -webkit-font-smoothing: antialiased !important; width: 10px; height: 100%; position: absolute; @@ -65,10 +71,6 @@ top: 1px; } -.wp-pointer-buttons a.close:hover:before { - background-position:100% 50%; -} - /* The arrow base class must take up no space, even with transparent borders. */ .wp-pointer-arrow, .wp-pointer-arrow-inner { @@ -153,4 +155,4 @@ .wp-pointer { display: none; } -} \ No newline at end of file +}