From 6b86010ec2dd128d141c85de102b108a4153b160 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Mon, 14 Jul 2014 17:47:36 +0000 Subject: [PATCH] Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469. git-svn-id: https://develop.svn.wordpress.org/trunk@29168 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfourteen/css/editor-style.css | 12 ++++++------ src/wp-content/themes/twentyfourteen/style.css | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/css/editor-style.css b/src/wp-content/themes/twentyfourteen/css/editor-style.css index 049cb227d6..1d66b73c59 100644 --- a/src/wp-content/themes/twentyfourteen/css/editor-style.css +++ b/src/wp-content/themes/twentyfourteen/css/editor-style.css @@ -620,21 +620,21 @@ img { .mejs-overlay-button { background-color: #fff; background-image: none; - border-radius: 10px; + border-radius: 2px; box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; - height: 48px; - margin: -24px 0 0 -32px; - width: 64px; + height: 36px; + margin-left: -24px; + width: 48px; } .mejs-overlay-button:before { -webkit-font-smoothing: antialiased; content: '\f452'; display: inline-block; - font: normal 48px/1 Genericons; + font: normal 32px/1.125 Genericons; position: absolute; - top: 0; + top: 1px; left: 10px; } diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css index cf8d57b0f9..d93ad8a2cb 100644 --- a/src/wp-content/themes/twentyfourteen/style.css +++ b/src/wp-content/themes/twentyfourteen/style.css @@ -1378,21 +1378,21 @@ a.post-thumbnail:hover { .hentry .mejs-overlay-button { background-color: #fff; background-image: none; - border-radius: 10px; + border-radius: 2px; box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; - height: 48px; - margin: -24px 0 0 -32px; - width: 64px; + height: 36px; + margin-left: -24px; + width: 48px; } .hentry .mejs-overlay-button:before { -webkit-font-smoothing: antialiased; content: '\f452'; display: inline-block; - font: normal 48px/1 Genericons; + font: normal 32px/1.125 Genericons; position: absolute; - top: 0; + top: 1px; left: 10px; }