forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from yooplo/branch-update-GUI
Update the color theme
- Loading branch information
Showing
5 changed files
with
179 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.error { | ||
-fx-text-fill: #FF4500 !important; /* Bright orange for error messages */ | ||
} | ||
|
||
.list-cell:empty { | ||
/* Empty cells will be filled with a base theme color */ | ||
-fx-background-color: #2B3A67; /* Deep blue background */ | ||
} | ||
|
||
.tag-selector { | ||
-fx-border-width: 1; | ||
-fx-border-color: #FFA500; | ||
-fx-border-radius: 3; | ||
-fx-background-radius: 3; | ||
} | ||
|
||
.tooltip-text { | ||
-fx-text-fill: #2B3A67; /* Ensure tooltip text remains white for legibility */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
/* General Background and Text */ | ||
.background { | ||
-fx-background-color: #2B3A67; /* Deep blue background */ | ||
background-color: #2B3A67; /* Consistent with other references */ | ||
} | ||
|
||
.label { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-text-fill: #FFA500; /* Orange text */ | ||
-fx-opacity: 0.9; | ||
} | ||
|
||
.label-bright { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-text-fill: white; | ||
-fx-opacity: 1; | ||
} | ||
|
||
.label-header { | ||
-fx-font-size: 32pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: #FFA500; /* Orange text for headers */ | ||
-fx-opacity: 1; | ||
} | ||
|
||
.text-field { | ||
-fx-font-size: 12pt; | ||
-fx-font-family: "Segoe UI Semibold"; | ||
-fx-background-color: #2D4059; /* Slightly lighter blue */ | ||
-fx-text-fill: white; | ||
} | ||
|
||
.tab-pane { | ||
-fx-padding: 0 0 0 1; | ||
} | ||
|
||
/* Table and List Views */ | ||
.table-view { | ||
-fx-base: #2B3A67; | ||
-fx-control-inner-background: #2B3A67; | ||
-fx-background-color: #2B3A67; | ||
-fx-table-cell-border-color: transparent; | ||
-fx-table-header-border-color: transparent; | ||
-fx-padding: 5; | ||
} | ||
|
||
.table-view .column-header-background { | ||
-fx-background-color: transparent; | ||
} | ||
|
||
.table-view .column-header, .table-view .filler { | ||
-fx-size: 35; | ||
-fx-border-width: 0 0 1 0; | ||
-fx-background-color: transparent; | ||
-fx-border-color: transparent transparent #FFA500 transparent; /* Orange bottom border */ | ||
} | ||
|
||
.table-view .column-header .label { | ||
-fx-font-size: 20pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: white; | ||
-fx-alignment: center-left; | ||
-fx-opacity: 1; | ||
} | ||
|
||
.list-cell:filled:even { | ||
-fx-background-color: #3C4B76; /* Intermediate blue */ | ||
} | ||
|
||
.list-cell:filled:odd { | ||
-fx-background-color: #445C87; /* Another shade for contrast */ | ||
} | ||
|
||
.list-cell:filled:selected { | ||
-fx-background-color: #FFA500; /* Orange for selection */ | ||
} | ||
|
||
.list-cell:filled:selected #cardPane { | ||
-fx-border-color: #FF8C00; /* Darker orange border */ | ||
-fx-border-width: 1; | ||
} | ||
|
||
.list-cell .label { | ||
-fx-text-fill: white; | ||
} | ||
|
||
/* Button Styles */ | ||
.button { | ||
-fx-padding: 5 22 5 22; | ||
-fx-border-color: #FFA500; /* Orange border */ | ||
-fx-border-width: 2; | ||
-fx-background-radius: 0; | ||
-fx-background-color: #2B3A67; | ||
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif; | ||
-fx-font-size: 11pt; | ||
-fx-text-fill: #FFFFFF; /* White text */ | ||
} | ||
|
||
.button:hover { | ||
-fx-background-color: #34495E; /* Lighter blue on hover */ | ||
} | ||
|
||
.button:pressed { | ||
-fx-background-color: #FFA500; /* Orange when pressed */ | ||
-fx-text-fill: #2B3A67; /* Switch to blue text */ | ||
} | ||
|
||
.menu-bar { | ||
-fx-background-color: #34495E; /* A lighter blue than background */ | ||
} | ||
|
||
.menu-bar .label { | ||
-fx-font-size: 14pt; | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: #FF8C00; | ||
-fx-opacity: 0.9; | ||
-fx-font-weight: bold; | ||
} | ||
|
||
.status-bar { | ||
-fx-background-color: #2D4059; /* Dark blue for status bar */ | ||
} | ||
|
||
.status-bar .label { | ||
-fx-font-family: "Segoe UI Light"; | ||
-fx-text-fill: white; | ||
-fx-padding: 4px; | ||
-fx-pref-height: 30px; | ||
} | ||
|
||
#commandTypeLabel { | ||
-fx-font-size: 11px; | ||
-fx-text-fill: #FFA500; /* Orange for label text */ | ||
} | ||
|
||
#tags .label { | ||
-fx-text-fill: white; | ||
-fx-background-color: #3e7b91; | ||
-fx-padding: 1 3 1 3; | ||
} | ||
|
||
.result-display { | ||
-fx-font-size: 11pt; | ||
-fx-font-family: "Segoe UI", sans-serif; | ||
-fx-text-fill: #1E90FF; /* Dodger blue color for the text */ | ||
-fx-background-color: transparent; | ||
-fx-font-weight: bold; | ||
-fx-padding: 5px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters