Improve mail and calendar UI: tighter checkbox layout and current time styling

This commit is contained in:
Bendt
2025-12-19 15:56:01 -05:00
parent 8933dadcd0
commit f5ad43323c
3 changed files with 7 additions and 10 deletions

View File

@@ -374,7 +374,9 @@ class WeekGridBody(ScrollView):
# Style time label - highlight current time, dim outside work hours # Style time label - highlight current time, dim outside work hours
if is_current_time_row: if is_current_time_row:
error_color = self._get_theme_color("error") error_color = self._get_theme_color("error")
time_style = Style(color=error_color, bold=True) # Add subtle background to current time row for better visibility
surface_color = self._get_theme_color("surface")
time_style = Style(color=error_color, bold=True, bgcolor=surface_color)
elif ( elif (
row_index < self._work_day_start * rows_per_hour row_index < self._work_day_start * rows_per_hour
or row_index >= self._work_day_end * rows_per_hour or row_index >= self._work_day_end * rows_per_hour

View File

@@ -123,7 +123,7 @@ EnvelopeListItem .status-icon.unread {
} }
EnvelopeListItem .checkbox { EnvelopeListItem .checkbox {
width: 2; width: 1;
padding: 0; padding: 0;
} }
@@ -139,12 +139,12 @@ EnvelopeListItem .message-datetime {
EnvelopeListItem .email-subject { EnvelopeListItem .email-subject {
width: 1fr; width: 1fr;
padding: 0 4; padding: 0 3;
} }
EnvelopeListItem .email-preview { EnvelopeListItem .email-preview {
width: 1fr; width: 1fr;
padding: 0 4; padding: 0 3;
color: $text-muted; color: $text-muted;
} }

View File

@@ -48,12 +48,7 @@ class EnvelopeListItem(Static):
} }
EnvelopeListItem .checkbox { EnvelopeListItem .checkbox {
width: 2; width: 1;
padding: 0;
}
EnvelopeListItem .checkbox {
width: 2;
padding: 0; padding: 0;
} }