Hari Rana
336ecd9ec3
css: Add focus ring custom properties
...
The values were mostly copied from libadwaita's, but with the
intention to easily add focus rings to custom widgets if desired.
2025-04-21 13:32:50 -04:00
Hari Rana
155664b67c
css: Rewrite monthcell section
2025-04-19 10:40:26 -04:00
Hari Rana
5cd917f0ed
css: Consistently indent CSS
2025-04-18 23:30:37 -04:00
Hari Rana
aa343688cd
css: Adjust placements to avoid re-declaring properties
2025-04-18 23:29:24 -04:00
Hari Rana
c24c486130
css: Remove unnecessary declarations
2025-04-18 23:29:24 -04:00
Hari Rana
53bb697812
css: Port to custom properties
2025-04-18 23:29:17 -04:00
Georges Basile Stavracas Neto
5ac19000ea
views/week: Use a separator instead of custom CSS
2025-04-04 21:00:30 -03:00
Georges Basile Stavracas Neto
f336b142f4
views/week: Reimplement arrow changes with CSS
2025-04-04 21:00:30 -03:00
Georges Basile Stavracas Neto
65f793b59e
views/week: Use widget for DnD
2025-04-04 21:00:29 -03:00
Georges Basile Stavracas Neto
cbfada052d
views/week: Use widget to draw selection
...
Same as week grid.
2025-04-04 21:00:29 -03:00
Georges Basile Stavracas Neto
81e881caa9
views/week: Use widget for drop target indicator
...
Gets rid of a few warnings
2025-03-19 19:23:57 -03:00
Georges Basile Stavracas Neto
69ac7468e2
views/week: Replace selection rendering with widget
...
Should get rid of a few warnings. No functional changes.
2025-03-19 19:23:57 -03:00
Georges Basile Stavracas Neto
963e6a28dd
style: Remove unused CSS style
2024-11-06 10:24:18 -03:00
Jamie Gravendeel
b3b6c5fd5d
style: Bump 6px border radii to 9px
...
See https://gitlab.gnome.org/GNOME/libadwaita/-/commit/d450cb30c59694f604d4396993281797035bc51c
2024-11-06 13:21:57 +00:00
Diego Iván
dfc5a9b970
drop-overlay: Introduce GcalDropOverlay
...
A new widget to perform drag and drop operations, for example,
dropping ICS files to the GcalWindow. It allows to overlay
a child for visual feedback when a DnD operation is done.
either in the main window or in the import dialog,
depending on whether none could be imported, or just some
of them.
It is based on Loupe's DragOverlay widget.
Closes #1257
2024-08-05 12:31:31 -03:00
Georges Basile Stavracas Neto
de5f663373
style: Use CSS variables for event widget styling
...
This vastly simplifies the code!
2024-06-11 17:22:35 -03:00
pbone64
473dd7a0e6
mini-calendar: Increase non-workday text contrast.
...
Fixes #1244
2024-06-10 20:16:40 -05:00
Sam Hewitt
f687aa5b3b
datechooser: Update day text styles for readability
...
- sync the visuals with that of the mini-calendar in the Shell
- make other month days more visible/have greater contrast
2024-05-21 11:22:17 -02:30
Hari Rana
5a2747098b
style: Define all month cells
...
This fixes an issue on the dark style preference where selecting cells would cause the month separators to lose their color. The dark style would override the month cells, which would higher its specificity, and thus would prioritize it over the selectors. This commit places everything in order, so we can freely define colors without playing with specificity.
2024-01-27 14:14:32 -05:00
Georges Basile Stavracas Neto
1114e566d9
style: Update month border colors
...
Use a defined color for that, and make them more in line with the
Adwaita style.
2024-01-27 13:36:28 -03:00
Hari Rana
a3ac698e60
month-cell: Add month separators
2024-01-27 16:14:17 +00:00
Jean-François Fortin Tam
c0e258b6e4
style: Harmonize the mini calendar's week numbers with GNOME Shell
...
Make the week numbers a bit clearer to look at in the mini calendar,
differentiating them from day numbers so it's easier to tell them apart.
The style is loosely inspired from GNOME Shell's calendar widget,
but retains GNOME Calendar's more compact layout.
Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/378
Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/934
2023-12-13 20:33:58 -05:00
Sam Hewitt
b7e04c561e
style: Fix papercuts in the calendar cell style
2023-09-05 13:07:25 -02:30
Georges Basile Stavracas Neto
ec840fbab9
style: Improve selection visuals of month cells
...
Add specific CSS rules for the selected state, and make it a bit
more prominent.
2023-08-17 21:22:49 -03:00
Georges Basile Stavracas Neto
b8b1db7bcd
style: Improve out-of-month day cell visuals
...
Make them more easily recognizable.
2023-08-16 21:21:47 -03:00
Georges Basile Stavracas Neto
77f355ed53
month-cell: Small style improvements
...
As suggested by Allan.
2023-08-11 15:13:44 -03:00
Georges Basile Stavracas Neto
80efa6fd26
style: Improve day cell visuals
2023-08-11 15:13:44 -03:00
Georges Basile Stavracas Neto
a527bbe5dc
views: Sketch out new month view
...
Nothing really works here, this is very WIP. It doesn't even show
events. Let's build from here.
2023-08-11 15:13:44 -03:00
Christopher Davis
11abf3460b
style: Use darker color for .current-week
2023-06-17 20:18:07 +00:00
Christopher Davis
34bf2f8e50
window: Use AdwNavigationSplitView and AdwBreakpoint
...
Replaces our leaflet with the new AdwNavigationSplitView
widget and AdwBreakpoint.
2023-06-17 20:18:07 +00:00
Georges Basile Stavracas Neto
3c672e0784
Move sync indicator into a separate widget
...
And move the new widget into the headerbar itself, instead of
the calendars button.
2023-05-23 19:01:19 -03:00
Alexander Mikhaylenko
31bb78155a
style: Fix source button styles
...
- Port the style to GTK4 and remove obsolete styles
- Fix double border in high contrast
- Update for libadwaita toolbar margin changes
2023-04-22 10:15:03 +00:00
Georges Basile Stavracas Neto
21412ea3ba
search-button: Port results to GtkListView
...
Port the search results list to GtkListview. Use bindings to set
the title, icon, and subtitle of each row. Remove GcalSearchHitRow
as it's unused now.
2023-03-16 09:28:30 -03:00
Adrien Plazas
b68f7a0083
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.
2022-06-22 12:49:38 +00:00
Adrien Plazas
40ce81f81a
Use the Libadwaita style loading mechanism
...
This simplifies the code and will help support the dark and high
constrast variants.
2022-06-22 12:49:38 +00:00