From 1be584d4773d6b1806aebdb51d8b3bd89107c2a9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 27 Jun 2015 15:06:22 +0000 Subject: [PATCH] Fix the dismissable notice button focus style, broken in [32475]. props afercia. fixes #32797. git-svn-id: https://develop.svn.wordpress.org/trunk@32973 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 14 +++----------- src/wp-admin/css/dashboard.css | 2 +- src/wp-admin/css/edit.css | 2 +- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index d76a5a79fc..540be3c51e 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -746,9 +746,9 @@ img.emoji { color: #b4b9be; content: '\f153'; display: block; - font: normal 16px/1 'dashicons'; + font: normal 16px/20px 'dashicons'; speak: none; - height: 16px; + height: 20px; text-align: center; width: 20px; -webkit-font-smoothing: antialiased; @@ -761,7 +761,7 @@ img.emoji { .tagchecklist span a:before, #bulk-titles div a:before { - margin: 2px 0; + margin: 1px 0; } .welcome-panel .welcome-panel-close:hover:before, @@ -1310,13 +1310,6 @@ div.error p, cursor: pointer; } -.notice-dismiss:before { - position: relative; - top: 0; - left: 0; - line-height: 20px; -} - .notice-dismiss:hover:before, .notice-dismiss:active:before, .notice-dismiss:focus:before { @@ -1327,7 +1320,6 @@ div.error p, outline: none; -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - color: #c00; } .ie8 .notice-dismiss:focus { diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 1fc94a8e0e..2fb891a46c 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -156,7 +156,7 @@ .welcome-panel .welcome-panel-close:before { position: absolute; - top: 10px; + top: 8px; left: 0; -webkit-transition: all .1s ease-in-out; transition: all .1s ease-in-out; diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index bd87fe9e40..9e5362813d 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -1443,7 +1443,7 @@ table.links-table { .tagchecklist span { font-size: 16px; - line-height: 120%; + line-height: 1.4; } /* Discussion */