mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-10-15 12:15:32 +00:00
fix: Fix input text not showing
- Add global Input style with visible colors - Ensure text color is set correctly - Simplify component styles - Remove conflicting styles
This commit is contained in:
@ -5,6 +5,17 @@ GraphMemoryApp {
|
|||||||
color: $text;
|
color: $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 全局Input样式 - 确保可见 */
|
||||||
|
Input {
|
||||||
|
background: $surface-lighten-1;
|
||||||
|
color: $text;
|
||||||
|
border: solid $primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
Input:focus {
|
||||||
|
border: double $accent;
|
||||||
|
}
|
||||||
|
|
||||||
LeftPanel {
|
LeftPanel {
|
||||||
width: 1fr;
|
width: 1fr;
|
||||||
dock: left;
|
dock: left;
|
||||||
|
|||||||
@ -1,5 +1,20 @@
|
|||||||
/* Component Styles for Graph Memory TUI */
|
/* 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 */
|
/* Config Section */
|
||||||
ConfigSection {
|
ConfigSection {
|
||||||
background: $surface;
|
background: $surface;
|
||||||
@ -32,31 +47,6 @@ ConfigSection Input {
|
|||||||
color: $text;
|
color: $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigSection Input:focus {
|
|
||||||
border: double $primary;
|
|
||||||
background: $surface-lighten-2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Input Box */
|
|
||||||
InputBox {
|
|
||||||
background: $surface;
|
|
||||||
padding: 1;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
InputBox Input {
|
|
||||||
width: 1fr;
|
|
||||||
background: $surface;
|
|
||||||
color: $text;
|
|
||||||
border: solid $primary;
|
|
||||||
padding: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
InputBox Input:focus {
|
|
||||||
border: double $accent;
|
|
||||||
background: $surface-lighten-1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Other Components */
|
/* Other Components */
|
||||||
OperationLog {
|
OperationLog {
|
||||||
background: $surface-darken-1;
|
background: $surface-darken-1;
|
||||||
|
|||||||
Reference in New Issue
Block a user