mirror of
https://github.com/BalrajSinghGidda/Smart-College-Management-System.git
synced 2026-04-07 09:37:22 +00:00
134 lines
2.9 KiB
CSS
134 lines
2.9 KiB
CSS
/* Global Defaults */
|
|
.root {
|
|
-fx-font-family: "Segoe UI", Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
/* Base Light Theme */
|
|
.root {
|
|
-fx-base-color: #f4f4f4;
|
|
-fx-control-inner-background: #ffffff;
|
|
-fx-background-color: #f4f4f4;
|
|
}
|
|
|
|
/* Chat Bubbles */
|
|
.chat-bubble-left {
|
|
-fx-background-color: -fx-bubble-color;
|
|
-fx-background-radius: 15 15 15 0;
|
|
-fx-padding: 10;
|
|
}
|
|
|
|
.chat-bubble-right {
|
|
-fx-background-color: #ffffff;
|
|
-fx-background-radius: 15 15 0 15;
|
|
-fx-padding: 10;
|
|
-fx-border-color: #dcdcdc;
|
|
-fx-border-width: 1;
|
|
-fx-border-radius: 15 15 0 15;
|
|
}
|
|
|
|
.chat-container {
|
|
-fx-background-color: transparent;
|
|
}
|
|
|
|
/* DARK THEME - GLOBAL OVERRIDES */
|
|
.dark-theme {
|
|
-fx-base-color: #1e1e1e;
|
|
-fx-background-color: #1e1e1e;
|
|
-fx-control-inner-background: #2d2d2d;
|
|
-fx-accent: #0078d4;
|
|
-fx-focus-color: #0078d4;
|
|
}
|
|
|
|
.dark-theme .label {
|
|
-fx-text-fill: #e0e0e0;
|
|
}
|
|
|
|
/* Sidebar Specific for Dark Theme */
|
|
.dark-theme .vbox {
|
|
/* If it's a sidebar, we might want it slightly different */
|
|
}
|
|
|
|
/* Buttons in Dark Theme */
|
|
.dark-theme .button {
|
|
-fx-background-color: #333333;
|
|
-fx-text-fill: #e0e0e0;
|
|
-fx-border-color: #444444;
|
|
}
|
|
.dark-theme .button:hover {
|
|
-fx-background-color: #444444;
|
|
}
|
|
|
|
/* Inputs in Dark Theme */
|
|
.dark-theme .text-field, .dark-theme .text-area, .dark-theme .password-field {
|
|
-fx-background-color: #3c3c3c;
|
|
-fx-text-fill: white;
|
|
-fx-prompt-text-fill: #888888;
|
|
-fx-border-color: #555555;
|
|
}
|
|
|
|
/* Tables in Dark Theme */
|
|
.dark-theme .table-view {
|
|
-fx-background-color: #2d2d2d;
|
|
-fx-border-color: #444444;
|
|
}
|
|
.dark-theme .table-view .column-header, .dark-theme .table-view .filler {
|
|
-fx-background-color: #3c3c3c;
|
|
}
|
|
.dark-theme .table-view .column-header .label {
|
|
-fx-text-fill: #ffffff;
|
|
}
|
|
.dark-theme .table-row-cell {
|
|
-fx-background-color: #2d2d2d;
|
|
-fx-text-fill: #e0e0e0;
|
|
}
|
|
.dark-theme .table-row-cell:odd {
|
|
-fx-background-color: #333333;
|
|
}
|
|
.dark-theme .table-row-cell:selected {
|
|
-fx-background-color: #0078d4;
|
|
}
|
|
|
|
/* Lists in Dark Theme */
|
|
.dark-theme .list-view {
|
|
-fx-background-color: #2d2d2d;
|
|
-fx-border-color: #444444;
|
|
}
|
|
.dark-theme .list-cell {
|
|
-fx-background-color: #2d2d2d;
|
|
-fx-text-fill: #e0e0e0;
|
|
}
|
|
.dark-theme .list-cell:selected {
|
|
-fx-background-color: #0078d4;
|
|
}
|
|
|
|
/* ScrollPane and ScrollBar */
|
|
.dark-theme .scroll-pane {
|
|
-fx-background-color: #1e1e1e;
|
|
}
|
|
.dark-theme .scroll-pane > .viewport {
|
|
-fx-background-color: #1e1e1e;
|
|
}
|
|
|
|
/* Separators */
|
|
.dark-theme .separator .line {
|
|
-fx-border-color: #444444;
|
|
}
|
|
|
|
/* Chat bubble text in Dark Theme */
|
|
.dark-theme .chat-bubble-right {
|
|
-fx-background-color: #3c3c3c;
|
|
-fx-border-color: #555555;
|
|
-fx-text-fill: white;
|
|
}
|
|
.dark-theme .chat-bubble-right .label {
|
|
-fx-text-fill: white;
|
|
}
|
|
|
|
.dark-theme .chat-bubble-left .label {
|
|
-fx-text-fill: black; /* Keep left bubble readable as it's usually light green */
|
|
}
|
|
|
|
.dark-theme .chat-time {
|
|
-fx-text-fill: #aaaaaa;
|
|
}
|