Skip to content

Commit

Permalink
JMetro: Update ChoiceBox JMetro light style
Browse files Browse the repository at this point in the history
  • Loading branch information
p-dukke committed Jul 25, 2018
1 parent 1020b6a commit db0039d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1040,33 +1040,32 @@
******************************************************************************/

.choice-box {
-fx-background-color: transparent, #bababa, transparent, white;
-fx-background-color: transparent, #cccccc, transparent, #cccccc;
-fx-background-radius: 0, 0, 0, 0;
-fx-padding: 0em 0.166667em 0em 0.166667em; /* 0 2px 0 2px*/
-fx-background-insets: -1.4, 0, 1, 2;

-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
-fx-font-size: 1.333333em; /* 16 */
-fx-padding: 0em 0.166667em 0em 0.166667em; /* 0 2px 0 2px*/

-fx-font-family: "Segoe UI";
-fx-font-size: 1.166667em; /* 14 */
}

.choice-box:hover {
-fx-background-color: transparent, #7a7a7a, transparent, #cccccc;
}

.choice-box:focused {
-fx-background-color: transparent, #5c5c5c, transparent, white;
-fx-background-color: transparent, #7a7a7a, transparent, #cccccc;
}

.choice-box:focused:hover {
-fx-background-color: transparent, #909090, transparent, white;
-fx-background-color: transparent, #7a7a7a, transparent, #cccccc;
}

.choice-box:disabled {
-fx-opacity: .4;
}

.radio-menu-item:checked > .left-container > .radio {
-fx-shape: "M9.005,17.766l13.759,14.739h1.716L49.02,0l10.298,8.488L25.997,50.453h-3.629L0,26.897L9.005,17.766z";
-fx-padding:7px;
-fx-scale-shape: true;
}

/*******************************************************************************
* *
* List Box *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class ControlsSample extends Application {

static final private String RESOURCE = CHOICE_BOX_RESOURCE;

static final private JMetro.Style STYLE = JMetro.Style.DARK;
static final private JMetro.Style STYLE = JMetro.Style.LIGHT;

@Override
public void start(Stage primaryStage) throws Exception{
Expand Down

0 comments on commit db0039d

Please sign in to comment.