File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,29 @@ TabbedContent Tab:hover {
3838 color: $text-primary;
3939}
4040
41+ /* Pointer shapes when supported by the terminal */
42+ Button,
43+ Switch,
44+ Select,
45+ TabbedContent Tab {
46+ pointer: pointer;
47+ }
48+
49+ Input {
50+ pointer: text;
51+ }
52+
53+ Button:disabled,
54+ Switch:disabled,
55+ Select:disabled,
56+ Input:disabled {
57+ pointer: not-allowed;
58+ }
59+
60+ ProgressBar {
61+ pointer: progress;
62+ }
63+
4164Label {
4265 color: $text-primary;
4366}
@@ -115,8 +138,6 @@ Label {
115138
116139#fetch_log_container {
117140 layout: grid;
118- /* Fixed 1-line toolbar row.
119- Avoids Rich/Textual measuring content with a wrap width of 0 during rapid resizes. */
120141 grid-rows: 1 1fr;
121142 grid-gutter: 0;
122143 min-height: 10;
@@ -126,9 +147,6 @@ Label {
126147 layout: grid;
127148 background: $secondary-background-darken-2;
128149 grid-size: 5;
129- /* The prev/next buttons can end up 2-cells wide with fractional columns.
130- Rich will raise `ValueError: range() arg 3 must not be zero` if it is asked to wrap at width 0.
131- Give them fixed widths and a fixed row height to keep content-measurement safe during resizes. */
132150 grid-columns: 6fr 3 3 4fr 4fr;
133151 grid-rows: 1;
134152}
You can’t perform that action at this time.
0 commit comments