Commit Graph

990 Commits

Author SHA1 Message Date
Jakub Steiner
23cdb2125e theme: dark $selected_bg_color for toggle switches
https://bugzilla.gnome.org/show_bug.cgi?id=746294
2015-04-15 13:04:20 +02:00
Florian Müllner
8521556723 Update style 2015-03-30 17:40:21 +02:00
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
Florian Müllner
f36d7bd078 Update submodule 2015-03-10 19:50:44 +01:00
Ray Strode
bd51c92d65 Update submodule 2015-03-10 14:48:51 -04: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
Florian Müllner
cf71ea016f theme: Update sass submodule ...
... to point to the correct source from commit 8536f9312c.
2015-03-05 13:49:28 +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
39ecd3b5a8 build: Dist theme documentation/helpers 2015-03-04 21:17:31 +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
58da16c786 data: Change default shortcut for opening the message list
With the message tray no longer being a distinctive UI element,
the existing <super>m shortcut for viewing the notification list
is no longer mnemonic. It is also less convenient as it requires
both hands with most keyboards. So make <super>v the new default
to _view_ notifications, which matches the corresponding Windows
default.
The previous default is kept as secondary shortcut to ease the
transition.

https://bugzilla.gnome.org/show_bug.cgi?id=687986
2015-02-27 15:02:27 +01:00
Florian Müllner
ad92584b72 theme: Apply notification list refinements 2015-02-26 19:05:06 +01:00
Florian Müllner
62e9978c52 theme: Update README for build system integration
A script is nice, but we can `make` it nicer ...
2015-02-25 22:26:06 +01:00
Florian Müllner
8d7db75fc5 theme: Fix some typos 2015-02-25 22:26:06 +01:00
Jakub Steiner
db2b83edf3 theme: provide some info on the SASS theming
- use bundles for using SASS v 3.4+
- README
- shell script
2015-02-24 17:41:56 +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
Florian Müllner
c749facedb build: Keep CSS updated when sass is installed 2015-02-21 20:46:49 +01:00
Florian Müllner
83648cf7d0 build: Split sass files into sources and non-sources 2015-02-21 20:46:49 +01:00
Florian Müllner
16914ddda3 build: Use $(NULL) terminator for data files 2015-02-21 20:46:48 +01: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
39d59b6eb6 build: Dist theme sources 2015-02-20 19:54:22 +01: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
4a709792cd overviewControls: Remove message indicator
The message tray is now empty and about to be removed, so an indication
at the bottom edge of the overview becomes an odd location to convey the
status of the summary. We will eventually display an indication in the
top bar that unseen messages are available, for now just remove the
existing indicator.

https://bugzilla.gnome.org/show_bug.cgi?id=744850
2015-02-20 17:40:21 +01:00
Florian Müllner
08d2e617e1 windowManager: Take over <super>m keybinding to toggle calendar
It's where all the fun is happening nowadays ...

https://bugzilla.gnome.org/show_bug.cgi?id=744850
2015-02-20 17:39:59 +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
dfd887066f calendar: Add NotificationSection to message list
Display notifications that have not been dismissed in the message
list - eventually this will replace the existing message tray summary.
Notification messages show icon, title and one line of the body and
can be clicked to activate the default action. However they cannot be
expanded, so other actions or the full body text are not accessible
in this mode.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
2015-02-20 17:39:25 +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
Carlos Soriano
e317bfdab7 theme: Use gnome-shell-sass as a submodule
The sass sources now live in a project in GNOME, so they can
be used in multiple projects like gnome-shell-extensions.
Because of that, add gnome-shell-sass as a submodule of gnome-shell
and remove the sass sources from the theme directory.
2015-02-20 17:15:29 +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
Florian Müllner
f3f887da73 Fix panel-menu margin regression
Commit 7bb7734869 got lost in SASS ...
2015-02-20 15:16:57 +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
Jakub Steiner
fada6645a2 theme: more osd fixed (for login screen) 2015-02-20 15:16:57 +01:00
Jakub Steiner
e516b40c8c theme: system-menu-action colors 2015-02-20 15:16:57 +01:00
Carlos Soriano
2c795f7d05 theme: Add music notification as well 2015-02-20 15:16:57 +01:00
Jakub Steiner
94438e9d69 theme: more osd fixes 2015-02-20 15:16:57 +01:00
Jakub Steiner
4d12baea02 theme: osd fixes 2015-02-20 15:16:57 +01:00
Jakub Steiner
f34b5a04a1 theme: osd fixes 2015-02-20 15:16:56 +01:00
Jakub Steiner
5c5ed37b8b theme: consistent osd colors for overview
- needed for reusal of the same theme for light/dark variant
  (gnome3 vs classic)
2015-02-20 15:16:56 +01:00
Jakub Steiner
3e40168e54 theme: notification bubbles on screen shield 2015-02-20 15:16:56 +01:00
Jakub Steiner
a2a7ca6882 theme: appmenu label shadow no longer needed 2015-02-20 15:16:56 +01:00
Carlos Soriano
ce5a82a294 theme: Adapt screenshield to mockups 2015-02-20 15:16:56 +01:00
Jakub Steiner
462bfccc7e theme: revert back to osd colors due to classic mode 2015-02-20 15:16:08 +01:00
Jakub Steiner
61be034c6d theme: login & screen shield theming 2015-02-20 15:16:08 +01:00
Jakub Steiner
da49b8110e theme: final touches on calendar widget
- rectangular weekends still clashed with the round
  selection/today
2015-02-20 15:16:07 +01:00
Jakub Steiner
7b3eeefc85 theme: calendar widget visual cleanup
- clean up visual noise
- some typos in selectors & properties I missed
- misused opacify instead of transparentize
2015-02-20 15:16:07 +01:00
Jakub Steiner
fc1849b475 theme: background menu 2015-02-20 15:16:07 +01:00
Jakub Steiner
ef999930f6 theme: ibus candidate popup 2015-02-20 15:16:07 +01:00
Jakub Steiner
402676be84 theme: subkeys themeing for OSK 2015-02-20 15:16:07 +01:00
Jakub Steiner
c68abfbacf theme: on screen keyboard + bits 2015-02-20 15:16:07 +01:00
Jakub Steiner
2758c71cf7 theme: embolden the parent item of a submenu 2015-02-20 15:16:07 +01:00
Jakub Steiner
b772a14cbd theme: overview searchbox rounding out of place 2015-02-20 15:16:07 +01:00
Carlos Soriano
8d66fff2aa popupMenu: Add active CSS pseudo class
So we can style it differently than :hover.
We already have a active state for the menu items which includes
more than hover. For example, when the keyboard focus moves to a item
or we select programatically a item.
For this reason we need a style class named active for the meaning we
give to it in menu items, and a pseudo class active with the meaning
CSS has.

https://bugzilla.gnome.org/show_bug.cgi?id=744680
2015-02-20 15:16:07 +01:00
Carlos Soriano
75e0894de0 theme: typo 2015-02-20 15:16:06 +01:00
Carlos Soriano
fbef56b602 theme: Fix caption border gap
Since widnows decorations with round corners has a special shape,
which when scaled we can't match with a simple border-radius.
So to prevent to show a gap between the caption border and the
caption itself, apply a shadow.
2015-02-20 15:16:06 +01:00
Carlos Soriano
c398e02700 popup: Include active item as part of the submenu 2015-02-20 15:16:06 +01:00
Jakub Steiner
48cfd35b65 theme: a button is a button is a button
https://bugzilla.gnome.org/show_bug.cgi?id=737785
2015-02-20 15:16:06 +01:00
Jakub Steiner
ce38ae64cc theme: banner buttons 2015-02-20 15:14:46 +01:00
Jakub Steiner
98e6fd9cfb theme: run dialog tweaks 2015-02-20 15:14:46 +01:00
Jakub Steiner
b30ecd29d8 theme: clean up dialogs 2015-02-20 15:14:46 +01:00
Jakub Steiner
a0df7aa2b8 theme: symbolic icons for App menu
- possibly too early as only core apps come with
  symbolic icon installed by default.
2015-02-20 15:14:45 +01:00
Jakub Steiner
e2500092fd theme: calendar fixups
- pager button
- day of week
- top date label
- FIXME: current date needs non-uniform border colors
2015-02-20 15:14:45 +01:00
Jakub Steiner
cbeebbf264 theme: minor OSD tweak 2015-02-20 15:14:45 +01:00