Commit Graph

724 Commits

Author SHA1 Message Date
Florian Müllner
15e42c4d5f messageTray: Stop including an actor with Notifications
We now stopped using notification actors directly for anything, so
we can simplify the Notification class significantly by turning it
into a purely informational object others can use to built their UI
representation from.

https://bugzilla.gnome.org/show_bug.cgi?id=746343
2015-03-17 16:07:17 +01:00
Florian Müllner
bb61dd4b44 telepathyClient: Provide a custom banner implementation
Since we stopped special-casing chat notifications to use the old
notification actor, we need to provide a notification banner to
maintain the inline chat functionality, so split out the UI from
the existing ChatNotification class.

https://bugzilla.gnome.org/show_bug.cgi?id=746343
2015-03-17 16:06:52 +01:00
Florian Müllner
826682cc07 theme: Style .selected menu items instead of :focus/:hover
The .selected style class indicates the "active" menu item, which
is generally the last hovered or focused one (whichever happened
last). Styling that instead of :focus and :hover directly guarantees
that only a single item will be selected at a time, which removes
ambiguity and matches the behavior of GTK+ menus.

https://bugzilla.gnome.org/show_bug.cgi?id=745246
2015-03-17 15:47:27 +01:00
Florian Müllner
8b6e566728 popupMenu: Use .selected class for active item
Currently it uses .active, which matches the code more closely, but
is confusingly close to :active; so .selected it is ...

https://bugzilla.gnome.org/show_bug.cgi?id=745246
2015-03-17 15:43:49 +01:00
Florian Müllner
8f275a79a9 Update style
Subscription messages were removed in 38a2f26e44.
2015-03-17 06:04:52 +01:00
Florian Müllner
cc9093f118 legacyTray: Minor style update
- move whitespace into buttons for Fitts'ability
 - add focus/hover highlights

https://bugzilla.gnome.org/show_bug.cgi?id=746022
2015-03-13 17:15:29 +01:00
Jakub Steiner
d9211b8e20 theme: update sass submodule 2015-03-12 16:15:52 +01:00
Jakub Steiner
f96077bd0f theme: consistent focus & hover for system menu & popup menu
- while I'd prefer to use the selected_bg_color for menus,
  we need to be somewhat consistent with the choice

https://bugzilla.gnome.org/show_bug.cgi?id=745246
2015-03-10 21:05:21 +01:00
Jakub Steiner
741846d1ff theme: render css & update submodule 2015-03-10 20:38:05 +01:00
Jakub Steiner
2aed6ade79 theme: modal dialog headlines
https://bugzilla.gnome.org/show_bug.cgi?id=745687
2015-03-10 19:16:28 +01:00
Jakub Steiner
83e5ea4827 Revert "theme: use a global headline class"
This reverts commit 5915348396.
2015-03-10 18:27:43 +01:00
Jakub Steiner
5915348396 theme: use a global headline class
https://bugzilla.gnome.org/show_bug.cgi?id=745687
2015-03-10 17:45:04 +01:00
Jakub Steiner
567dc70c9b theme: top bar in classic needs some tweaks
https://bugzilla.gnome.org/show_bug.cgi?id=745686
2015-03-10 12:24:53 +01:00
Jakub Steiner
7012437929 theme: modal dialog heading visible for classic
https://bugzilla.gnome.org/show_bug.cgi?id=745687
2015-03-09 19:37:09 +01:00
Florian Müllner
1f277ebcb9 theme: Update style 2015-03-05 17:12:34 +01:00
Jakub Steiner
8536f9312c theme: no selected color for hover in popovers
treat shell popups as gtk popovers, not menus
2015-03-05 12:12:38 +01:00
Jakub Steiner
a0e8456cb5 Revert "theme: have a separate state for hover and focus"
As per discussion in bug #745246 this reverts
commit 8a732d3c13.
2015-03-05 12:02:06 +01:00
Florian Müllner
8f902a9379 dateMenu: Move bottom padding into displays section
We don't need additional padding when the column contains only the
calendar.

https://bugzilla.gnome.org/show_bug.cgi?id=745494
2015-03-04 13:51:20 +01:00
Florian Müllner
874cf0ba15 legacyTray: Add a hideable tray for legacy status icons
Commit 5a8923ef95 removed support for legacy status icons from
the notification system, as we no longer want them to appear as
notifications. As we are unfortunately not quite at a point where
we can remove all support for them for good, so we now need an
alternative place to put them. Add a small dedicated tray at the
bottom which appears when any legacy status icons are active. By
default it is almost completely hidden to not interfere with the
user's windows, but can be expanded on demand to interact with
the icons.

https://bugzilla.gnome.org/show_bug.cgi?id=745162
2015-03-03 19:14:49 +01:00
Florian Müllner
f1370ef578 theme: Restore stuff that got accidentally lost
The last CSS changes where generated from a local out-of-sync
sass checkout. Bring it back by regenerating the CSS ...
2015-03-03 19:14:49 +01:00
Jakub Steiner
8f136e46d4 theme: make ibus candidate buttons less wide
https://bugzilla.gnome.org/show_bug.cgi?id=744959
2015-03-03 18:49:05 +01:00
Jakub Steiner
8a732d3c13 theme: have a separate state for hover and focus
https://bugzilla.gnome.org/show_bug.cgi?id=745246
2015-03-03 18:49:05 +01:00
Jakub Steiner
ad3e24e0bb theme: fix insensitive popover items
https://bugzilla.gnome.org/show_bug.cgi?id=745175
2015-03-03 18:49:05 +01:00
Florian Müllner
ad92584b72 theme: Apply notification list refinements 2015-02-26 19:05:06 +01:00
Florian Müllner
8e40aa96ba Update theme 2015-02-23 13:00:28 +01:00
Cosimo Cecchi
4e7261532c Update theme 2015-02-22 17:05:26 -08:00
Miguel Vaello Martínez
7d2690ac5a Theme: Too many values for border-radius property.
GNOME Shell throws the following warning message:
'St-WARNING **: Too many values for border-radius property.'

Was fixed with just remove the last '0' on the 'border-radius'
property in the '.tile-preview-left.on-primary' class on both files:
gnome-shell.css and gnome-shell-high-contrast.css.

https://bugzilla.gnome.org/show_bug.cgi?id=744900
2015-02-21 18:53:25 +01:00
Florian Müllner
a23f87de5e Bring back .resize-popup style 2015-02-21 18:07:56 +01:00
Florian Müllner
d6bb3de2fd Add back monitor OSD style that did not surive the sass rewrite 2015-02-21 17:43:47 +01:00
Jasper St. Pierre
d6d1fec4bd Update theme
One more time to fix workspace thumbnail
2015-02-20 18:09:47 -08:00
Jasper St. Pierre
27318a8967 Update theme again
This time to add a bit of spacing around the app menu.
2015-02-20 18:03:02 -08:00
Jasper St. Pierre
6da0ebe35f data: Update theme again
Fix another warning message when opening the calendar.
2015-02-20 17:44:04 -08:00
Jasper St. Pierre
1c5b73bfdf data: Update sass to latest master
To solve a warning message.
2015-02-20 17:40:45 -08:00
Florian Müllner
53b3d2a6c2 messageTray: Add NotificationBanner actor
We no longer have a single notification actor that is either displayed
as banner or reparented to the summary depending on state - both the
lock screen and the notification section of the message list create
their own UI based on the information attached to the notification
object. Adding to this that different representations of a notification
may now exist simultaneously (as they are included in the message list
immediately rather than after the banner has been displayed), it no
longer makes sense to keep the banner actor in the notification itself.

Add a new NotificationBanner class that provides a separate banner
implementation based on the message list's NotificationMessage that will
soon replace the existing notification banners.
2015-02-20 17:41:51 +01:00
Florian Müllner
e189a34fc0 messageTray: Move notification banners to the top
The new design has banners appear from underneath the panel, so move
them to the top and clip them to the work area.

https://bugzilla.gnome.org/show_bug.cgi?id=744850
2015-02-20 17:41:29 +01:00
Florian Müllner
830b4559c0 messageTray: Remove the bottom tray
It no longer does anything useful by now, so kill it off.
Even more complexity gone, yay!

https://bugzilla.gnome.org/show_bug.cgi?id=744850
2015-02-20 17:40:44 +01:00
Florian Müllner
06586eb95d messageTray: Remove the summary
The notification list in the calendar drop-down now functions as summary
area, so we can drop it from the message tray and remove a lot of complexity
from the state machine.

https://bugzilla.gnome.org/show_bug.cgi?id=744850
2015-02-20 17:39:54 +01:00
Florian Müllner
efc0ec4740 dateMenu: Add world clock section
Rather than just offering to open Clocks when installed, pick up
configured locations and display their time directly in the popup.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:39:20 +01:00
Florian Müllner
e850d9e29b dateMenu: Replace EventsList with MessageList
Turn the existing EventsList into a MessageListSection and add the
message list to the calendar drop-down. The new events list only
displays events for the currently selected day, but in a more
structured and friendlier way than the old one.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:38:44 +01:00
Florian Müllner
464f552dd2 calendar: Add MessageList and Section/Message base types
The message list is a scrollable list that will hold sections of
different types of time-related messages like notifications,
calendar events or birthday reminders. When no section displays
any content for the selected date, a placeholder is shown instead.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:38:04 +01:00
Florian Müllner
33c5f5726e dateMenu: Make "today" button more prominent
Split the weekday from the date and increase the latter's size to
match the latest calendar mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:36:55 +01:00
Florian Müllner
26330fde7e dateMenu: Swap calendar and event columns
The new design has the events list on the left and the calendar on the
right, so swap them around and remove the vertical separator between
them in favor of some additional whitespace as in the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:35:27 +01:00
Carlos Soriano
df81c98b65 update theme 2015-02-20 17:15:31 +01:00
Florian Müllner
f38263a67f status: Stop using .panel-status-button
This used to be the style-class for status icons (i.e. icon-only
top bar items). It got unused a while ago when the class used
by status icons stopped using it - except for the keyboard indicator,
which set the class manually to appear as status icon despite not
being a real icon.
Now that the button highlight is provided by the .panel-button class
on a parent, the obsolete class results in a double border on the
keyboard indicator when active - just drop it from there as well
to fix.
2015-02-20 15:16:58 +01:00
Jakub Steiner
3a03a36533 theme: sass code structure 2015-02-20 15:16:58 +01:00
Florian Müllner
9f3a7ab432 Fix .panel-menu
While clearly related to the top bar, it's not a child, so the
selector "#panel .panel-menu" does not match anything.
2015-02-20 15:16:58 +01:00
Jakub Steiner
443e0e6b1f theme: fix borders on the dash
- the goal is to have the items activate even on the edge
  sadly this Fitzsiness is only working on the app vault icon
  at the bottom, not the regular icons so far.
2015-02-20 15:16:57 +01:00
Jakub Steiner
8b65871c90 theme: fix some placeholder colors 2015-02-20 15:16:57 +01:00
Jakub Steiner
59b9ffa864 theme: tweaks
- popover separators
- ws switcher osd colors
2015-02-20 15:16:57 +01:00
Jakub Steiner
c9965f43c1 theme: avoid hardcoded color
- calendar day with events (for classic)
2015-02-20 15:16:57 +01:00