From 79a17c23271814143eb9c4d628c23405a75ebd0b Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Sat, 16 Jul 2011 04:48:43 +0400 Subject: [PATCH] target and hover state separated --- themes/ribbon/styles/style.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/themes/ribbon/styles/style.css b/themes/ribbon/styles/style.css index c5d9b45..42e2437 100644 --- a/themes/ribbon/styles/style.css +++ b/themes/ribbon/styles/style.css @@ -233,18 +233,20 @@ BODY { margin:0 50px 80px 0; width:512px; height:320px; - box-shadow:0 0 50px rgba(0, 0, 0, 0.5); + box-shadow:0 0 50px #3C3D40; border-radius:1px; background:#FFF; } -.list .slide:hover, -.list .slide:focus, +.list .slide:hover { + box-shadow: + 0 0 0 10px rgba(60, 61, 64, 0.6), + 0 0 50px #3C3D40; + } .list .slide:target { box-shadow: 0 0 0 1px #305F8D, 0 0 0 10px #3C7CBD, - 0 0 50px rgba(0, 0, 0, 0.5); - outline:none; + 0 0 50px #3C3D40; } .list .slide:after { position:absolute;