From ef4a50e0b84ebbd92d9d572e21a90299848a4aac Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Tue, 10 Sep 2013 11:38:20 -0500 Subject: [PATCH] Glow for button icon --- dist/ionic.css | 7 +++++++ scss/ionic/theme/_button.scss | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/dist/ionic.css b/dist/ionic.css index 93a44d0f67..d50ae31ee8 100644 --- a/dist/ionic.css +++ b/dist/ionic.css @@ -1873,6 +1873,13 @@ main { background: none; border: none; padding: 10px 0px; } + .button.button-icon { + background: none; + border: none; } + .button.button-icon:active, .button.button-icon.active { + text-shadow: 0px 0px 10px white; + box-shadow: none; + background: none; } a.button { text-decoration: none; } diff --git a/scss/ionic/theme/_button.scss b/scss/ionic/theme/_button.scss index 47f3fb2129..87ffb8eae4 100644 --- a/scss/ionic/theme/_button.scss +++ b/scss/ionic/theme/_button.scss @@ -36,6 +36,16 @@ border: none; padding: $button-clear-padding; } + + &.button-icon { + background: none; + border: none; + &:active, &.active { + text-shadow: 0px 0px 10px #fff; + box-shadow: none; + background: none; + } + } } a.button {