mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Sprinkle bold over all the buttons
At some point I should go through these styles and start to collapse/dedupe them.
This commit is contained in:
@@ -64,6 +64,7 @@ class SelectionList(Generic[SelectionType], OptionList):
|
||||
}
|
||||
|
||||
SelectionList:focus > .selection-list--button {
|
||||
text-style: bold;
|
||||
background: $foreground 25%;
|
||||
}
|
||||
|
||||
@@ -78,20 +79,24 @@ class SelectionList(Generic[SelectionType], OptionList):
|
||||
}
|
||||
|
||||
SelectionList > .selection-list--button-selected {
|
||||
text-style: bold;
|
||||
background: $foreground 15%;
|
||||
}
|
||||
|
||||
SelectionList:focus > .selection-list--button-selected {
|
||||
text-style: bold;
|
||||
color: $success;
|
||||
background: $foreground 25%;
|
||||
}
|
||||
|
||||
SelectionList > .selection-list--button-selected-highlighted {
|
||||
text-style: bold;
|
||||
color: $success;
|
||||
background: $foreground 15%;
|
||||
}
|
||||
|
||||
SelectionList:focus > .selection-list--button-selected-highlighted {
|
||||
text-style: bold;
|
||||
color: $success;
|
||||
background: $foreground 25%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user