Commit Graph

764 Commits

Author SHA1 Message Date
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
Jakub Steiner
aebf641d2d theme: system modals 2015-02-20 15:14:45 +01:00
Jakub Steiner
1c8af221af theme: initial stab at High Contrast theme 2015-02-20 15:14:45 +01:00
Jakub Steiner
f0ef47a70a theme: tiled window previews 2015-02-20 15:14:45 +01:00
Jakub Steiner
5f0030edf7 theme: more selection color bits 2015-02-20 15:14:45 +01:00
Jakub Steiner
dde91ab9a6 theme: use selected bg color consistently 2015-02-20 15:14:45 +01:00
Jakub Steiner
3680f7c814 theme: sync dash padding with OSD 2015-02-20 15:14:45 +01:00
Jakub Steiner
a27ca0765a theme: OSD app/workspace switcher 2015-02-20 15:14:44 +01:00
Jakub Steiner
fa76e39717 theme: NM dialogs 2015-02-20 15:14:44 +01:00
Carlos Soriano
aa5c722eca theme: Adapt to commit 117a81e06f
It makes some changes on the theme
2015-02-20 15:14:44 +01:00
Jakub Steiner
1fd968d520 datetime/calendar popup
- separator seems to have a semi-opaque top that interfers
  with the bottom row of teh calendar

- current day can't have a blue brder on the bottom,
  but $borders_color on the sides. Apparently cannot
  use non-uniform border colors.

- month pager missing
2015-02-20 15:14:44 +01:00
Carlos Soriano
3732a6891d panelMenu: Don't fade appMenuButton icon and put it on the side
Design request, don't fade the icon of the appMenuButton and put it on
the side instead of overlaping with the text.

https://bugzilla.gnome.org/show_bug.cgi?id=744680
2015-02-20 15:14:44 +01:00
Jakub Steiner
6a5e3ea12d theme: kill osd_bg_color
- not enough to keep it distinct from bg_color
2015-02-20 15:14:44 +01:00
Jakub Steiner
4cf6293066 theme: menu separators, message tray icons
- menu separators not vertcally centered unfortunately
- MT items not horizontally centered unfortunately
2015-02-20 15:14:43 +01:00
Carlos Soriano
ee673cc5c4 theme: Remove looking glass border-image
Now that we no longer use images for the selected highligth
2015-02-20 15:14:43 +01:00
Carlos Soriano
604bb1fe82 theme: some code style fixes 2015-02-20 15:14:43 +01:00
Carlos Soriano
1f83911bb6 theme: Use box shadow for active panel menu border 2015-02-20 15:14:43 +01:00
Carlos Soriano
95a6e52f1a theme: Match list row hover transition type of gtk
Currently we animate in both sides, hover on and hover off, and with
200ms. The downside of that it that it feels sluggish when passing with
the mouse hovering few items because the on transition is slow.

Match what gtk did for fix this for list rows hover state at
commit 52e91f1f74ecb943d, animating only on off hover. However,
gnome-shell doesn't support different kind of transitions for its css,
that will be lovely to have a easeOutQuad as well here.
2015-02-20 15:14:43 +01:00
Carlos Soriano
5e9d491480 Why do we need this to have focus on folders? 2015-02-20 15:14:43 +01:00
Jakub Steiner
068ebbf2a6 theme: use regular borders for top bar buttons
- no need to abuse image assets.
- big thanks to carlos for making it possible.
2015-02-20 15:14:43 +01:00
Jakub Steiner
6bc222f37b theme: make notification counters round. 2015-02-20 15:14:43 +01:00
Carlos Soriano
6cf53a8d1c appDisplay: Show a dot when application is running
Show a dot in the icon of running applications.
Design request.

https://bugzilla.gnome.org/show_bug.cgi?id=744680
2015-02-20 15:14:42 +01:00
Jakub Steiner
95e141e47e theme: notifications & message tray 2015-02-20 15:14:42 +01:00
Jakub Steiner
b053f4c74b theme: looking glass 2015-02-20 15:14:42 +01:00
Jakub Steiner
d0d60fbd93 theme: window captions in the overview
+ a few typos
2015-02-20 15:14:42 +01:00
Jakub Steiner
a6f572e49a theme: better running, hover and active states for icons
- the active state behaves oddly though, not respecting
  the fill color, just changing alpha it seems...
2015-02-20 15:14:42 +01:00
Jakub Steiner
bd49559357 theme: overview-icon fixes 2015-02-20 15:14:42 +01:00
Jakub Steiner
ec6841429f theme: entry selections, parsed css 2015-02-20 15:14:42 +01:00
Jakub Steiner
98ccc45f80 theme: workspace pager in overview 2015-02-20 15:14:42 +01:00
Jakub Steiner
868a199144 theme: overview styling
- still some quirks
- boy is this unstructured mess a pain to clean up :(
2015-02-20 15:14:42 +01:00
Jakub Steiner
7be4238aa2 theme: remove unused assets 2015-02-20 15:14:42 +01:00
Jakub Steiner
cb698f9a09 theme: top bar active is underlined.
- glow feels foreign, will be phased out
2015-02-20 15:14:41 +01:00
Jakub Steiner
d2dad4f0fa theme: forgot old overrides of the panel styling 2015-02-20 15:14:41 +01:00
Jakub Steiner
cdbb39b9e4 theme: switches 2015-02-20 15:14:41 +01:00
Jakub Steiner
bfbb442b9d theme: volume/mic slider 2015-02-20 15:14:41 +01:00
Jakub Steiner
3531052e69 theme: top bar appmenu etc. 2015-02-20 15:14:41 +01:00
Jakub Steiner
c9f9ac0f35 theme: checkboxes 2015-02-20 15:14:41 +01:00
Jakub Steiner
3ccdc5f8ba theme: overview search bar styling 2015-02-20 15:14:41 +01:00
Jakub Steiner
ac3e315a47 theme: top bar styling. 2015-02-20 15:14:41 +01:00
Jakub Steiner
6972bc90f2 theme: modal dialogs and tweaked entries 2015-02-20 15:14:41 +01:00
Jakub Steiner
a2a5a3c908 theme: fine tune scrollbars 2015-02-20 15:14:40 +01:00
Jakub Steiner
d8b2cd5f8e theme: update some svg assets to adwaita 3.14 counterparts
- switches
- checkboxes
2015-02-20 15:14:40 +01:00
Jakub Steiner
3b759f7966 theme: use Adwaita dark style for popup menus
- cannot sue box-shadow sadly.
2015-02-20 15:14:40 +01:00
Jakub Steiner
0ded0dbfd5 theme: rewrite to be structured
- using SASS
- trying to reuse as much of the gtk adwaita as possible
2015-02-20 15:14:40 +01:00
Carlos Soriano
bca8e371b0 theme: Fix sintax error in the theme 2015-02-20 15:14:40 +01:00
Florian Müllner
7bb7734869 panelMenu: Consider vertical margins when computing max-height
When opening a panel menu, we set it's max-height to the available
work-area height to keep menus with scrollable content from growing
outside the monitor. However a menu that extends all the way down
to the bottom edge does not look great either, so also take margins
into account here.

https://bugzilla.gnome.org/show_bug.cgi?id=744498
2015-02-15 10:23:39 +01:00
Florian Müllner
b4c8a00e38 lookingGlass: Remove ugly hack
We don't need to hard-code any magic offsets to hide the top corners
and border, we can just not add them in the first place.
2015-02-14 18:20:28 +01:00
Rui Matos
1900468846 Add an OSD monitor labeler exposed on DBus
This DBus API is intended to be used by gnome-control-center's
displays panel to show monitor labels.

Each output (i.e. hardware monitor) identified by its
org.gnome.Mutter.DisplayConfig API ID has at most one label. On
mirrored setups, all the labels for outputs corresponding to the same
logical monitor (i.e. showing the same contents in the same mode) are
shown together.

At most, only one DBus client at a time is allowed to show labels.

https://bugzilla.gnome.org/show_bug.cgi?id=743744
2015-02-05 13:34:52 +01:00
Jasper St. Pierre
3291281957 windowManager: Implement the resize popup here
mutter recently removed its implementation, so add a simple one here.
2014-12-29 17:46:37 -08:00
Ray Strode
117a81e06f loginDialog: display banner message when disable-user-list=true
The login screen supports showing a banner message which admins
can use to mention login rules or disclaimers.

This message only shows up currently if the user list is enabled.
Most people who want to show a banner message also want to disable
the user list.

This commit moves the banner message to display when the user is
prompted for login credentials instead of when showing the user
list. It also adds a scrollbar if the message is too long.

https://bugzilla.gnome.org/show_bug.cgi?id=703972
2014-12-18 13:58:09 -05:00
Florian Müllner
4eb0a672db theme: Add high-contrast variant
For now, simply enforce symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=740447
2014-11-29 18:13:03 +01:00
Chris Johns
4801d1dd7f css: Add an inset shadow to overview windows
A small dark gap was caused by the rounded window edges not meeting the
sharp corner of the CSS border on hover. By adding a small inset
box-shadow, this gap is filled in.

https://bugzilla.gnome.org/show_bug.cgi?id=699044
2014-11-07 10:08:29 +01:00
Andreas Brauchli
65c136f4ed Calendar: Show multi-day event continuation
Currently, multi-day events are shown as individual appointments on each
day.  This patch ellipsizes multi-day events to indicate continuation on
the prior or following day (or other time-period.)

The time label spot is now replaced by a box layout that contains the
prefix ellipsis label, the time label and the postfix ellipsis label.
In order to keep the alignment, ellipses are merely invisible (zero
opacity) when hidden.

The ellipses are styled using the events-day-time-ellipses class which,
by default, take the color of the event text.

When RTL is used, the box contents are adjusted accordingly (clutter
does that for us).

An event spanning three days now displays "...All Day..." in the
calendar on the second day.

https://bugzilla.gnome.org/show_bug.cgi?id=727302
2014-10-27 15:31:32 -05:00
Adel Gadllah
0bec76b6ee app-well: Set menu width
Currently the app well menu has unrestricted with which can cause it to grow
with long window titles and can even go offscreen that way.

So set a max size, long titles will now be properly elipised.

https://bugzilla.gnome.org/show_bug.cgi?id=738054
2014-10-13 15:39:31 +02:00