event-widget: Style overhaul

This reworks the style of the event widgets to make them match the
latest designs. This also supports the light and dark theme preferences
and fixes some spacing inconsistencies and errors.
- The orientation of events only affects how their content is laid out,
  not their style.
- Events are fully colored accordingly to their calendar's color.
- Timed events have a semi-transparent background and a kind of opaque
  knob on their left.
- Timed events have their text colored according to the theme.
- Lasting events are fully opaque, with no knob.
- Lasting events have their text colored according to their calendar's
  color.

This purposefully leaves the indentation broken to help reviewing the
changes.
This commit is contained in:
Adrien Plazas
2022-06-22 12:49:38 +00:00
committed by Georges Basile Stavracas Neto
parent 40ce81f81a
commit b68f7a0083
6 changed files with 55 additions and 60 deletions
+1
View File
@@ -2,5 +2,6 @@
<gresources>
<gresource prefix="/org/gnome/calendar">
<file>style.css</file>
<file>style-dark.css</file>
</gresource>
</gresources>