read-only fields have no border

This commit is contained in:
woodser 2025-05-09 11:03:22 -04:00
parent e18e24875b
commit c129f51d2b
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
2 changed files with 5 additions and 0 deletions

View file

@ -394,6 +394,10 @@ tree-table-view:focused {
-fx-background-color: transparent;
}
.jfx-combo-box:readonly, .jfx-text-field:readonly, .jfx-text-area:readonly {
-fx-border-color: transparent;
}
.jfx-text-field:disabled > .input-line {
-fx-background-color: transparent;
-fx-border-width: 0;

View file

@ -140,6 +140,7 @@
-fx-image: url("../../images/logo_landscape_light.png");
}
/** In light mode, we want a border around all inputs. */
.jfx-combo-box, .jfx-text-field, .jfx-text-area {
-fx-border-color: -bs-color-background-button-border;
}