mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-21 01:18:15 +00:00
- Add global Input style with visible colors - Ensure text color is set correctly - Simplify component styles - Remove conflicting styles
66 lines
1010 B
CSS
66 lines
1010 B
CSS
/* Component Styles for Graph Memory TUI */
|
|
|
|
/* Input Box - 最重要 */
|
|
InputBox {
|
|
background: $surface;
|
|
padding: 1 2;
|
|
height: auto;
|
|
border: solid $primary;
|
|
}
|
|
|
|
InputBox Input {
|
|
width: 100%;
|
|
background: $surface-lighten-1;
|
|
color: $text;
|
|
border: none;
|
|
}
|
|
|
|
/* Config Section */
|
|
ConfigSection {
|
|
background: $surface;
|
|
padding: 1;
|
|
margin: 1;
|
|
}
|
|
|
|
ConfigSection .config-title {
|
|
color: $primary;
|
|
text-style: bold;
|
|
margin: 1;
|
|
}
|
|
|
|
ConfigSection .config-label {
|
|
color: $text;
|
|
margin: 1 0 0 0;
|
|
}
|
|
|
|
ConfigSection .config-hint {
|
|
color: $text-muted;
|
|
text-style: italic;
|
|
margin: 1 0 0 0;
|
|
}
|
|
|
|
ConfigSection Input {
|
|
width: 1fr;
|
|
margin: 0 0 1 0;
|
|
background: $surface-lighten-1;
|
|
border: solid $primary;
|
|
color: $text;
|
|
}
|
|
|
|
/* Other Components */
|
|
OperationLog {
|
|
background: $surface-darken-1;
|
|
height: 1fr;
|
|
margin: 1;
|
|
}
|
|
|
|
CypherQueryBox {
|
|
border: solid green;
|
|
margin: 1;
|
|
}
|
|
|
|
MessageHistory {
|
|
height: 1fr;
|
|
margin: 1;
|
|
}
|