Skip to content

Commit

Permalink
Update CSS selectors in strip-view.css
Browse files Browse the repository at this point in the history
The CSS selectors in strip-view.css file have been updated to be more specific. The modifications aim at achieving better targeting in the multi-column list view. This refactoring offers enhanced control over styling grid-pane, list-view, and various list-cell elements without changing any actual styling properties.
  • Loading branch information
dlemmermann committed Feb 12, 2024
1 parent 6d9adc2 commit 091c5ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gemsfx/src/main/resources/com/dlsc/gemsfx/strip-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
-fx-background-color: -fx-base;
}

.strip-view .strip-cell {
.strip-view > .masked-view > .container > .strip-cell {
-fx-padding: 10 5 10 5;
}

.strip-view .strip-cell:selected {
.strip-view > .masked-view > .container > .strip-cell:selected {
-fx-background-color: -fx-selection-bar;
-fx-text-fill: -fx-selection-bar-text;
}

.strip-view .scroller {
.strip-view > .scroller {
-fx-pref-width: 20;
-fx-pref-height: 20;
-fx-background-insets: 5;
Expand All @@ -21,10 +21,10 @@
-fx-cursor: hand;
}

.strip-view .scroller.left {
.strip-view > .scroller.left {
-fx-rotate: 180;
}

.strip-view .scroller.right {
.strip-view > .scroller.right {
-fx-rotate: 0;
}

0 comments on commit 091c5ff

Please sign in to comment.