From a81ab2ca6b91f97ace0913f4f4647d57ffb4132f Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 7 Apr 2016 13:12:40 -0700 Subject: [PATCH] Apply paperclip hover state on focus // FREEBIE --- stylesheets/_global.scss | 3 ++- stylesheets/manifest.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stylesheets/_global.scss b/stylesheets/_global.scss index d9bd9317..6fa0cf52 100644 --- a/stylesheets/_global.scss +++ b/stylesheets/_global.scss @@ -153,7 +153,8 @@ button.back { opacity: 0.5; transform: rotateZ(-45deg); - &:hover { + + &:focus, &:hover { opacity: 1.0; } } diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css index 7bd064f9..d63aec8e 100644 --- a/stylesheets/manifest.css +++ b/stylesheets/manifest.css @@ -160,7 +160,7 @@ button.back { background-color: #616161; opacity: 0.5; transform: rotateZ(-45deg); } - .file-input .paperclip:hover { + .file-input .paperclip:focus, .file-input .paperclip:hover { opacity: 1.0; } .file-input input[type=file] { display: none;