We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e42fa commit 83707adCopy full SHA for 83707ad
src/textual/widgets/_tabs.py
@@ -95,23 +95,26 @@ class Tab(Static):
95
padding: 1 1 0 2;
96
text-align: center;
97
color: $text-disabled;
98
- }
99
- Tab.-active {
100
- text-style: bold;
101
- color: $text;
102
103
- Tab:hover {
104
105
106
- Tab.-active:hover {
107
108
109
- Tab:disabled {
110
- color: $text-disabled;
111
- text-opacity: 50%;
112
113
- Tab.-hidden {
114
- display: none;
+
+ &:hover {
+ text-style: bold;
+ }
+ &:disabled {
+ color: $text-disabled;
+ text-opacity: 50%;
+ &.-active {
+ color: $text;
115
+ &.-hidden {
116
+ display: none;
117
118
}
119
"""
120
0 commit comments