From ab33ccf8b94f841a23d133177ccbf80a3c888135 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 20 Jan 2015 18:37:30 -0500 Subject: [PATCH] Fix #1658, focused button styles now override --- RELEASE-NOTES.md | 1 + src/definitions/elements/button.less | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index ad8c13e54..6c577f181 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -12,6 +12,7 @@ **Bugs** - **Button** - Fixes formatting for `disabled button` inside `ui buttons` +- **Button** - ``ui vertical basic buttons` now have dividers in default theme - **API** - Fixed bug where API would query resource immediately when specifying `on: false` - **API** - Fixed bug where `$.api('get xhr')` was not correctly returning xhr promise - *Sticky** - Fixes issue with container size not being set explicitly on rail due to improper method renaming diff --git a/src/definitions/elements/button.less b/src/definitions/elements/button.less index f04c5c23e..3fc88131b 100755 --- a/src/definitions/elements/button.less +++ b/src/definitions/elements/button.less @@ -84,9 +84,9 @@ .ui.button:focus { background-color: @focusBackgroundColor; - background-image: @focusBackgroundImage; - box-shadow: @focusBoxShadow; color: @focusColor; + background-image: @focusBackgroundImage !important; + box-shadow: @focusBoxShadow !important; } .ui.button:focus .icon {