Commit Graph
54 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 8b1054f638 month-view: set a css name
This will add a CSS Node in the style context,
and keep Calendar in sync with latest gtk+
upstream changes.
2016-01-04 16:27:40 -02:00
Georges Basile Stavracas Neto c3d34ae149 window: add a nice style to the calendar listbox 2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto e62d744cef source-dialog: Add a "Calendars" label before calendar listbox
Also, this commit correctly hides the calendar
label and list.
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto b59da7e2e0 source-dialog: show a spinner when it should be validating 2015-05-25 12:35:27 -04:00
Georges Basile Stavracas Neto 61f5c9275b source-dialog: initial interface implementation
And just it, nothing else.
2015-05-25 12:31:04 -04:00
Georges Basile Stavracas Neto cb532bbfbd window: port the calendar popover to GtkListBox
This is a significant rewrite of the calendar popover. Instead of adding actions to the window, it uses a internal map to find the corresponding source.
2015-05-25 12:31:04 -04:00
Erick Pérez Castellanos 12188aed7f date-selector: fix style on RTL locales 2015-03-04 10:10:24 -05:00
Erick Pérez Castellanos d447d45f2b style: shorten a bit the size of the headers 2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos eb8d16bbc7 event-widget: fix size requisition
Size requisition previously add margin to the size requested. Margin
should be taken into account outside of the widget. Moving margin to the
container and use border, which previously was not used.
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos 348be33329 app: event-widget CSS code for classes rewritten 2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos 25545e5bf6 month-view: match UI style of year-view popover
year-view: rename popover class to something more generic
2015-01-28 00:16:53 -05:00
Erick Pérez Castellanos 489100ad94 year-view: popover eye candy 2015-01-27 17:25:39 -05:00
Erick Pérez Castellanos 7b6037e707 year-view: add no events label to popover mode 2015-01-27 11:31:05 -05:00
Erick Pérez Castellanos 5071b94b14 application: use events edges styles 2015-01-22 13:47:25 -05:00
Erick Pérez Castellanos 4247018bde year-view: initial UI for no events days 2015-01-20 17:06:22 -05:00
Erick Pérez Castellanos bdacaeaa59 month-view: add view headers of its own 2015-01-20 13:47:38 -05:00
Erick Pérez Castellanos 85d7461cff year-view: added popover mode 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos 12708485db year-view: updated UI 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos f7beeadbb2 year-view: adding second header to sidebar 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos fb3cc4caaf year-view: added update_sidebar and widget marking 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos 338f4c039f year-view: initial sidebar impl 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos 0770a12ea9 year-view: add event handling to navigator 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos e49418a26d year-view: add navigator drawing 2015-01-20 13:11:58 -05:00
Georges Basile Stavracas Neto d5d1d37411 search-view: style it to better fit the HIG stardard 2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto 95b35964cd search-view: fixed double border at the end of the list
Also, fixes a small details that the results list is
always expanded.
2015-01-09 09:16:40 -05:00
Georges Basile Stavracas Neto 842be669cd search-view: add a border below search results 2015-01-09 08:36:15 -05:00
Georges Basile Stavracas Neto 69a1af76d9 search-view: correct background color 2015-01-09 08:36:14 -05:00
Georges Basile Stavracas Neto b43e08be8b theme: improve .overflow:hover class to better fit the mockups 2015-01-03 12:21:06 -02:00
Georges Basile Stavracas Neto 40683e5e10 date-selector: initial implementetation
No functionality is ready, only project settings and class type.
2014-12-23 12:01:38 -05:00
Erick Pérez Castellanos a08a0a66c1 event-widget: remove unused CSS tag name
Since Gtk+ parses automatically widgets' name, there's no need of custom class
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos 5051ba600f month-view: draw a background on the overflow indicator
This code suffer from a similar bug to ::queue_area on
::size_allocate. This need some revisiting to make it work properly.
2014-12-20 09:10:00 -05:00
Erick Pérez Castellanos aaee4a2657 month-view: initial work to new mockup from Lapo
There's a bunch of stuff missing here, but this code is already working.
This includes only part of the drawing code, I already take into account
here LTR and RTL languages.
Here month-view make use of classes for styling different regions of the
grid, there are:
1. header class, which is used for the font and color details of the
days naming on the top of the grid
2. current class, which is used for drawing the current day number and
its background
3. lines class: which set the color property of the lines in the grid
4. :selected pseudo-class is used for drawing the font on the days
marked when creating an event. This will work as well for keyboard
navigation

What's missing here:
1. properly update click/press marks to new model
2. draw border around the selected days
2014-12-16 10:06:08 -05:00
Georges Basile Stavracas Neto 0856345ace theme: use different style classes for navbar labels 2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos 5cbdf28387 month-view: added current day highlight
Improved ::draw vfunc code. Use .current class to handle active day styling
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos c77076c7d6 week-view: added current day highlight
Cleaned code a little bit. Removed unnecessary instructions. Added style
class to handle current day.
2014-12-04 17:10:51 -05:00
Erick Pérez Castellanos b3cab47334 build: remove unused c/css code 2014-12-04 17:10:49 -05:00
Erick Pérez Castellanos 5a1f12ad00 event-widget: make more CSS compliant
There are some other changes:
1. Renamed widget class to "event-widget" to avoid collisions
2. Added contrasting event title coloring
3. Use gtk_render functions
2014-12-04 17:10:48 -05:00
Erick Pérez Castellanos 08d9cd8e9b theme: remove unneeded rules 2014-12-04 17:10:45 -05:00
Georges Basile Stavracas Neto 1e1052c65c window: use GtkPopovers
GNOME Calendar uses a custom GtkOverlay-based widget, witch is not necessary anymore. It should be replaced by GtkPopover.
2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto 4edca6b255 theme: use system colors
It's better and more portable than using custom hardcoded colors
2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 270eadf717 css: updated selection color 2014-12-04 17:10:32 -05:00
Erick Pérez Castellanos 239057a041 css: update styles to new ui
Cleaned unused rules
Fixed rules to match GcalNewEventWidget
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 984b65780a ui: added GcalViewport widget.
Basically a Viewport with overlaying scrollbars, for using inside the views
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos c8b155270b ui: Added GcalNavBar widget.
GcalNavBar widget is composited using templates.
Great work of Tristan Van Berkom <tristanvb@openismus.com> on
using this.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos 21b7e3d42e Removed ClutterActor from main UI
Use GtkSearchbar
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos 1d04d68c52 Debug instrucions and comments removed. 2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos eb8e31207c Minor misc fixes.
Theme fixes to show right scrollbar elsewhere.
gcal-time-entry.h cleaning.
UI fixes around the searchbar in GcalWindow.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos c3f8a4b973 Updated EditaDialog to match mockups.
Note: There's still missing one pixel border, I can't find the reason today.
And there's still need to theme better the background of the readonly header.
But the major changes are done.
2012-09-13 13:29:24 -04:00
Erick Pérez Castellanos 4ef16c7f1a Improving Searchbar looking. Fixes to GcalWeekView 2012-09-10 10:48:48 -04:00
Erick Pérez Castellanos 65c8f83e81 Renamed GcalArrowContainer to GcalArrowBin. 2012-09-10 10:29:41 -04:00