aboutsummaryrefslogtreecommitdiff
path: root/src/gui/style.css
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-05-23 00:39:57 -0400
committersowgro <tpoke.ferrari@gmail.com>2023-05-23 00:39:57 -0400
commit005c645b3cd991079dfd9bac2f207cdd2068d161 (patch)
treeed82f11d248a1a0e08ea0ed82380913250a0f278 /src/gui/style.css
parentf941b529f1cb12312041516e6799ece0f6df2cac (diff)
downloadNPEhero-005c645b3cd991079dfd9bac2f207cdd2068d161.tar.gz
NPEhero-005c645b3cd991079dfd9bac2f207cdd2068d161.tar.bz2
NPEhero-005c645b3cd991079dfd9bac2f207cdd2068d161.zip
finish gui, add new leaderboard system, redesign settings, switch lists to tables
Diffstat (limited to 'src/gui/style.css')
-rw-r--r--src/gui/style.css69
1 files changed, 56 insertions, 13 deletions
diff --git a/src/gui/style.css b/src/gui/style.css
index 5be0dfa..04d7031 100644
--- a/src/gui/style.css
+++ b/src/gui/style.css
@@ -39,56 +39,99 @@
-fx-text-fill: rgb(0, 0, 0);
}
-/* list */
-ListView {
+
+
+
+
+
+/* table */
+
+TableView {
-fx-background-color: rgba(0, 0, 0, 0.5);
-fx-background-radius: 5;
-fx-padding: 5;
}
-.list-cell {
+.table-view .column-header-background .filler {
+ -fx-background-color: transparent;
+}
+
+.table-view .table-cell{
+ -fx-border-color: transparent;
+ /* -fx-padding: 2 0 2 10px; */
+}
+
+.table-view .column-header-background{
+ -fx-background-color: transparent;
+ /* -fx-background-radius: 7px 7px 0px 0px;
+ -fx-background-insets: 0 11px 0 0;
+ -fx-padding: 0 0 5px 0; */
+}
+
+.table-cell {
-fx-padding: .5em;
+}
+
+.table-view .column-header {
+ -fx-text-background-color: rgb(168, 168, 168);
+ -fx-background-color: transparent;
+ /* -fx-background-radius: 5;
+ -fx-background-color: rgba(0, 0, 0, 0.5); */
+}
+
+.table-row-cell {
+ /* -fx-padding: .5em; */
-fx-background-color: transparent;
-fx-background-radius: 3;
- -fx-text-fill: rgb(255, 255, 255);
+ -fx-text-background-color: rgb(255, 255, 255);
-fx-border-width: 3;
-fx-border-radius: 5;
-fx-border-color: transparent;
}
-.list-cell:hover {
+.table-row-cell:hover {
-fx-background-color: rgba(100, 100, 100, 0.5);
}
-ListView:focused .list-cell:focused {
+TableView:focused {
+ -fx-effect: null;
+}
+
+TableView:focused .list-cell:focused {
-fx-background-color: rgb(50, 50, 50, 0.5);
-fx-border-color: rgb(255, 255, 255);
}
-.list-cell:selected {
+.table-row-cell:selected {
-fx-background-color: rgb(255, 255, 255);
- -fx-text-fill: rgb(0, 0, 0);
+ -fx-text-background-color: rgb(0, 0, 0);
}
-.list-cell:pressed {
+.table-row-cell:pressed {
-fx-background-color: rgb(231, 231, 231);
-fx-border-color: transparent;
}
-.list-cell:empty {
+.table-row-cell:empty {
-fx-background-color: transparent;
-fx-border-color: transparent;
- -fx-text-fill: white;
+ -fx-text-background-color: white;
}
-.unselectable .list-cell{
+.unselectable .table-row-cell{
-fx-background-color: transparent;
-fx-border-color: transparent;
- -fx-text-fill: white;
+ -fx-text-background-color: white;
}
+
+
+
+
+
+
/* slider */
Slider {