Skip to content

Commit

Permalink
fix: context menu style
Browse files Browse the repository at this point in the history
Resolves #482
  • Loading branch information
xhyrom committed Aug 31, 2024
1 parent 82aa5ae commit 01d331b
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions src/main/resources/digital/slovensko/autogram/ui/gui/idsk.css
Original file line number Diff line number Diff line change
Expand Up @@ -706,16 +706,8 @@ TextFlow.autogram-body-s {
-fx-pref-width: 19.5em;
}

/* Choice boxes */
.choice-box {
-fx-background-color: -autogram-background-colour;
-fx-border-color: -autogram-input-border-colour;
-fx-border-width: 2px;
-fx-padding: 5px;
-fx-font-size: 20px;
}

.choice-box .context-menu {
/* Context menu */
.context-menu {
-fx-background-color: -autogram-background-colour;
-fx-pref-width: 19em;
-fx-padding: 0em 0 0 0;
Expand All @@ -726,19 +718,28 @@ TextFlow.autogram-body-s {
-fx-border-width: 1px;
}

.choice-box .menu-item:focused {
.menu-item:focused {
-fx-background-color: -autogram-secondary-hover-colour;
}

.choice-box .menu-item > .label {
.menu-item > .label {
-fx-text-fill: -autogram-input-border-colour;
-fx-padding: 3px;
}

.choice-box .menu-item:focused > .label {
.menu-item:focused > .label {
-fx-text-fill: -autogram-input-border-colour;
}

/* Choice boxes */
.choice-box {
-fx-background-color: -autogram-background-colour;
-fx-border-color: -autogram-input-border-colour;
-fx-border-width: 2px;
-fx-padding: 5px;
-fx-font-size: 20px;
}

.choice-box > .label {
-fx-text-fill: -autogram-input-border-colour;
}
Expand Down

0 comments on commit 01d331b

Please sign in to comment.