Georges Basile Stavracas Neto
133e82f34e
theme: Allow use circle icon class on random images
...
Will be needed to tweak the suggestion row's GtkImage.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
4fb135f7dc
theme: improve spacing in month view
2018-04-30 22:03:52 -03:00
Georges Basile Stavracas Neto
05f8446aa9
style: Remove tabs
2018-01-30 01:59:20 -02:00
Georges Basile Stavracas Neto
832e0e3599
style: Fix CSS for selected month cells
2018-01-30 01:58:39 -02:00
Florian Brosch
a188c68653
week-header: Style temperatures
2017-12-11 21:29:33 -02:00
Georges Basile Stavracas Neto
a3d1bfcfc5
application: load custom css files
...
So that theme maintainers can drop their CSS here,
and make Calendar look beautiful everywhere.
2017-11-19 13:42:11 -02:00
Georges Basile Stavracas Neto
41fb5c83d6
theme: fine tune line color
2017-11-19 13:34:23 -02:00
Georges Basile Stavracas Neto
eff50668d4
month-view: introduce new overflow popover window
...
This ~almost~ implements a perfectly semantic transition (which
is kinda impossible now).
2017-11-15 02:03:26 -02:00
Georges Basile Stavracas Neto
432e7ab7ea
month-cell: move day label to the start of the cell
2017-11-11 18:08:22 -02:00
Georges Basile Stavracas Neto
2357f5d766
month-cell: draw out-of-month cell day labels differently
2017-10-07 11:41:00 -03:00
Georges Basile Stavracas Neto
a5e733f705
month-cell: don't enbold overflow label
...
Only the day label should be made bold.
2017-10-07 11:27:56 -03:00
Georges Basile Stavracas Neto
e59910f0e9
month-view: rewrite was a template widget
2017-10-06 20:32:00 -03:00
Georges Basile Stavracas Neto
349839ee49
event-widget: make font relative to initial font size
2017-09-14 13:50:43 -03:00
Georges Basile Stavracas Neto
2a923939d9
event-widget: draw horizontal timed events differently
...
This makes more clear which events are timed, and which events
are all day. They are also super cute!
2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto
a853376629
event-widget: turn into a GtkBin subclass
...
The current GcalEventWidget implementation is a direct
GtkWidget subclass, which means we have to take care of
all the implementation details such as raising GdkWindows
and managing the drawing all by ourselves.
The event widget, however, can be easily described through
a GtkBuilder file. This would simplify the implementation
and makes us maintain less code.
Fix that by making GcalEventWidget a GtkBin subclass.
2017-09-14 13:26:28 -03:00
Carlo Lobrano
66fa49b166
year-view: Mark working days according to locale
...
Currently, on the year view, Saturday and Sunday are marked
as non working days by default, despite the Locale settings and the
fact that in some Countries Sunday and/or Saturday are workdays.
This patch introduces a new function "is_workday" to check
whether a day is a working day according to the territory part of
Locale.
https://bugzilla.gnome.org/show_bug.cgi?id=746927
2017-08-22 21:10:07 -03:00
Georges Basile Stavracas Neto
d11ed85a7f
month-view: grey out invalid days
...
It should be very clear that days outside the current
month are actually not valid. The current drawing
algorithm does not differentiate that, thought, and
draws everything at the same color.
Fix that by greying out the days outside the current
month.
https://bugzilla.gnome.org/show_bug.cgi?id=763771
2017-07-30 16:03:39 +01:00
Georges Basile Stavracas Neto
8f34049793
views: sync header labels' style
...
The Week view exposed a bug where we had different
CSS selectors for the exact same label. This made
them look inconsistent, with different colors and
paddings.
Fix that by ensuring they all use the same style
class. The Year view drawing code needed to be
reworked a little.
https://bugzilla.gnome.org/show_bug.cgi?id=778391
2017-02-09 10:28:28 -02:00
Georges Basile Stavracas Neto
d63e007a7a
week-grid, week-view: improve hour sidebar rendering
...
The hour strings are too soft and can barely be read. Fix
that by setting a stronger color.
https://bugzilla.gnome.org/show_bug.cgi?id=777420
2017-02-09 09:21:28 -02:00
Georges Basile Stavracas Neto
ba871e4004
theme: reduce vertical padding
...
This reduces each hour cell's height, and makes more of the
week grid visible at a glance.
https://bugzilla.gnome.org/show_bug.cgi?id=777767
2017-02-01 15:07:46 -02:00
Georges Basile Stavracas Neto
1cab5278f1
style: smoother selection background
2016-12-14 17:11:11 -02:00
Georges Basile Stavracas Neto
ffaf7153d7
week-header: implement event creation
2016-12-14 17:00:11 -02:00
Georges Basile Stavracas Neto
343283e37a
week-grid: implement event creation
2016-12-13 16:29:07 -02:00
Georges Basile Stavracas Neto
7e68588cfb
week-header: rework drawing model
2016-12-08 03:09:35 -02:00
Georges Basile Stavracas Neto
e5407d8c72
week-grid, week-header: special-case today when drawing
...
The week grid should display a horizontal strip on the today
column, and the week header should draw the week day labels
with a custom color.
2016-12-08 03:09:35 -02:00
Georges Basile Stavracas Neto
2e7c6c8c58
week-header: visual improvements
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
39076d1aaf
style: update hour sidebar padding
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
16a2d64874
week-header: simplify background drawing code
...
By moving the drawing area to a separate place, we're
able to avoid having to manually calculate the sidebar
width.
Also, because we can, the drawing code was simplified a
little bit by moving the bottom border to CSS.
2016-12-01 23:48:54 -02:00
pandusonu2
680f220fb2
week-view: draw the hours labels
...
Draw the hour labels in the sidebar of the week grid.
2016-12-01 23:48:53 -02:00
pandusonu2
d6ef05b31d
week-header: adjust theming to match the mockups
...
Set correct font weight, size and draw lines where required.
2016-12-01 23:48:53 -02:00
pandusonu2
1122b24216
week-header: modify the draw() to match mockup
...
Made changes in the draw() to match the mockups.
2016-12-01 23:48:53 -02:00
Georges Basile Stavracas Neto
591d8af5e4
theme: add a nice transition on the month chooser widget
2016-10-03 19:56:42 -03:00
Georges Basile Stavracas Neto
7104c95ffb
month-view: fix DnD highlight
...
https://bugzilla.gnome.org/show_bug.cgi?id=771115
2016-09-14 14:01:37 -03:00
nj4710
27ca660e77
month-view: highlight the whole cell of current day
...
In this commit, we changed the background area of current day.
Presently, the current day is highlighted by the number. This makes difficult for the user to identify it when there are lot of events.
To fix this, we changed the color of background and made background area equal to the cell's area.
https://bugzilla.gnome.org/show_bug.cgi?id=755946
2016-08-17 03:13:53 -03:00
Lapo Calamandrei
e3d29c989e
date-selector: change style class on other month days
...
use .other-month in place of .dim-label since the .dim-label style
was not fitting, so better to use a specific class then a generic
one.
2016-07-26 18:58:52 +02:00
Lapo Calamandrei
095a209615
css: restyle date chooser...
...
...making it more consistent with shell calendar and gtkcalendar.
2016-07-24 18:55:21 +02:00
Georges Basile Stavracas Neto
faf85a7fb0
date-chooser: support hovering days
...
Another fixup in order to make the current date chooser
more streamlined with GNOME Shell's calendar.
2016-07-23 17:47:12 -03:00
Georges Basile Stavracas Neto
c2dca8a3dc
date-chooser: add date chooser widget
...
This is mainly a copy-paste from an old branch authored
by Matthias Clasen. The code style was updated to match
Calendar's one, and the theming was improved a little bit.
2016-07-23 17:47:11 -03:00
Lapo Calamandrei
ed4782116e
css: remove broken linked entry style
...
inherit linked entries styling from the theme.
2016-07-09 18:27:51 +02:00
Lapo Calamandrei
8be2ece30e
css: remove some ugly selectors
...
since Georges added all the styleclasses in the needed places.
2016-07-08 21:54:05 +02:00
Lapo Calamandrei
863915feb1
css: style the calendar color dot
...
remove the unneded and ugly hover effect on buttons and add a
subtle shadow.
2016-07-08 20:44:58 +02:00
Lapo Calamandrei
318c200d6f
css: -gtk-icon-shadow in place of icon-shadow
...
muscle memory fail.
2016-07-08 01:59:28 +02:00
Lapo Calamandrei
7f8cb1a25d
css: simpler edit-dialog headerbar button
...
make it full height and visually cleaner.
2016-07-08 01:56:06 +02:00
Lapo Calamandrei
7160da43a7
css: fix a bogus selector from the previous commit.
2016-07-08 01:28:16 +02:00
Lapo Calamandrei
a6bc9da636
css: year-view sidebar
...
add some padding and move no events label down a bit to better line
up with events in the list.
2016-07-08 01:23:22 +02:00
Lapo Calamandrei
e54b023f06
css: remove year-view button superfluous side border.
2016-07-08 01:09:17 +02:00
Lapo Calamandrei
53d28d73b8
year-view: remove a superfluous border
...
simplify the related css and add correct backdrop colors in the
process.
2016-07-08 01:01:41 +02:00
Georges Basile Stavracas Neto
bbcf20cf44
edit-dialog: add a button in the headerbar
...
This button will be used to select the new source of the event.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
44f5cbe607
year-view: render DnD selector on hover
...
This commit adds the ability to render a DnD square
to give visual feedback for the hover operation.
2016-05-21 18:54:47 -03:00
Georges Basile Stavracas Neto
982b7da02b
month-view: draw a drop target background
...
When dragging an event, it is very important to have
a visual feedback of the possible target areas.
As such, add a gtk_render_background() call to render
the drag cell's background.
2016-05-21 18:54:47 -03:00