mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add default disabled styling for the whole application
This commit is contained in:
@@ -241,6 +241,11 @@ class App(Generic[ReturnType], DOMNode):
|
||||
background: $background;
|
||||
color: $text;
|
||||
}
|
||||
|
||||
*:disabled {
|
||||
opacity: 0.6;
|
||||
text-opacity: 0.8;
|
||||
}
|
||||
"""
|
||||
|
||||
SCREENS: dict[str, Screen | Callable[[], Screen]] = {}
|
||||
|
||||
Reference in New Issue
Block a user