From b2ee87b291e4af22541d6ce4d44d5c445fb04797 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 26 Aug 2014 04:36:53 +0000 Subject: [PATCH] Media: Fix keying of selected attachments to color schemes. props celloexpressions. see #28822. git-svn-id: https://develop.svn.wordpress.org/trunk@29614 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index b6d563300b..df0e43950a 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -414,7 +414,9 @@ ul#adminmenu > li.current > a.current:after { } .details.attachment { - box-shadow: 0 0 0 1px #fff, 0 0 0 5px $highlight-color; + box-shadow: + inset 0 0 0 3px #fff, + inset 0 0 0 7px $highlight-color; } .attachment.details .check { @@ -422,6 +424,15 @@ ul#adminmenu > li.current > a.current:after { box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color; } +.media-selection .attachment.selection.details .thumbnail { + -webkit-box-shadow: + 0px 0px 0px 1px #fff, + 0px 0px 0px 3px $highlight-color; + box-shadow: + 0px 0px 0px 1px #fff, + 0px 0px 0px 3px $highlight-color; +} + /* Themes */