Skip to content

Commit

Permalink
#2635 Fixes issue with inverted active state not being defined, adds …
Browse files Browse the repository at this point in the history
…inverted focus state
  • Loading branch information
jlukic committed Aug 14, 2015
1 parent dbe0c8d commit 783b08c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,30 @@
}

/* States */

/* Hover */
.ui.inverted.button:hover {
background: @white;
box-shadow: 0px 0px 0px @invertedBorderSize @white inset !important;
color: @hoverColor;
}
.ui.inverted.button:focus {

/* Active / Focus */
.ui.inverted.button:focus,
.ui.inverted.button.active {
background: @white;
box-shadow: 0px 0px 0px @invertedBorderSize @white inset !important;
color: @focusColor;
}

/* Active Focus */
.ui.inverted.button.active:focus {
background: @midWhite;
box-shadow: 0px 0px 0px @invertedBorderSize @midWhite inset !important;
color: @focusColor;
}


/*-------------------
Labeled Button
--------------------*/
Expand Down

0 comments on commit 783b08c

Please sign in to comment.