Skip to content

Commit

Permalink
Define selected state for toggle-button
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 2, 2016
1 parent 35b8eaa commit 5f2c64e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);
//@include user-select(none);

-fx-min-width: 80;
// &,
// &:pressed,
// &.pressed {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@
-fx-border-color: darken($border, 25%);
}
}
&:selected,
&.selected {
-fx-text-fill: $color;
-fx-fill: $color;
-fx-background-color: darken($background, 10%);
-fx-border-color: darken($border, 12%);

&:hover,
&:focused,
&.focused {
-fx-text-fill: $color;
-fx-fill: $color;
-fx-background-color: darken($background, 17%);
-fx-border-color: darken($border, 25%);
}
}
&:pressed,
&.pressed,
.open > &.dropdown-toggle {
Expand Down

0 comments on commit 5f2c64e

Please sign in to comment.