summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* style: Quick settings button border tweakHEADmasterSam Hewitt2023-03-062-2/+5
| | | | Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2648>
* quickSettings: Add background apps menuGeorges Basile Stavracas Neto2023-02-141-0/+24
| | | | | | | | | | | | | | | | | | | | | Sandboxed apps that run without a window are detected by the new background monitoring service, introduced by xdg-desktop-portal. We have an opportunity to improve the predictability of the desktop and ensure that application state in transparently reported to users by showing these apps, and allowing them to closed. Add a new background apps menu to the quick settings, that is always added at the bottom of the popover, and has a slightly custom, flat style applied to it. Show background-running apps in this menu, and allow closing them by first attempting to execute the 'quit' action through D-Bus, and if that fails, sending SIGKILL to the process. See https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/191 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2624>
* status/bluetooth: Add device menuFlorian Müllner2023-02-141-0/+11
| | | | | | | | | | The new quick toggle gives us a good place for exposing connected and connectable devices. This was part of the original mockups, but didn't make the cut for GNOME 43 due to time constraints. https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/178 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2501>
* quickSettings: Allow interactive slider iconsFlorian Müllner2023-02-141-6/+2
| | | | | | | | | | Before the move to quick settings, it was possible to mute the volume by clicking to the left of the slider. In order to re-enable that feature, allow slider icons to be interactive. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5974 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2630>
* quickSettings: Add small border to menu togglesFlorian Müllner2023-02-141-3/+9
| | | | | | | | | | | The slightly lighter background of the menu button turned out to not be quite enough to indicate that it's a separate control from the main toggle. Address this with a small border between the two elements. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5963 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2632>
* quickSettings: Split menu toggleFlorian Müllner2023-02-141-5/+17
| | | | | | | | | | | | | | | | | | Menu toggles are currently regular toggles with an additional arrow button. This allows for a simpler implementation, but has downsides with regards to keyboard navigation and hover feedback. To make it more obvious that the two parts of the menu toggle perform different actions, change the overall structure of the toggle to *contain* a regular toggle and the menu button. That way each element uses its own hover effect, and shows up in the keynav focus chain. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5964 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2632>
* stylesheet: Papercut fixesSam Hewitt2023-02-143-5/+4
| | | | | | | | - remove highlight on the dash - increase the spacing in quick settings pills - adjust the font weights on the lockscreen Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2633>
* status/network: Tweak connection itemsFlorian Müllner2023-02-141-0/+2
| | | | | | | Always use the plain name as label, and indicate the "(dis)connect" action in a subtitle. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2631>
* style: Increase quick items' heightGeorges Basile Stavracas Neto2023-02-141-1/+1
| | | | | | | As per design feedback, increase it to 48px height, so as to give items more room for the subtitles. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
* quickSettings: Add 'subtitle' propertyGeorges Basile Stavracas Neto2023-02-141-0/+6
| | | | | | | | | | Add a subtitle label to QuickToggle, with a less prominent font. Make the subtitle invisible when no text is present. This new property will be used by next commits to implement quick settings with a static title, and a changing subtitle. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
* quickSettings: Rename 'label' property to 'title'Georges Basile Stavracas Neto2023-02-141-1/+1
| | | | | | | | We'll soon add a subtitle, so rename the label property to something that is a bit more semantic.Add a warning when trying to set the old 'label' property. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
* lockscreen: Style cleanup for lock and loginSam Hewitt2023-02-147-300/+291
| | | | | | | | | | - increase the font size of clock elements - increase the size of user avatars - combines lock and login scss into one file - clean up the css for avatars - adjust the blur parameters of the screen shield Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2564>
* style: Fix missing border radius on only-child notification buttonsSam Hewitt2023-02-141-1/+1
| | | | | | - fixes #6157 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2562>
* style: Don't round corners of window screenshot backgroundsFlorian Müllner2023-02-141-1/+1
| | | | | | | | | | | Commit aafa011f2b5 changed the style to extend `%osd_panel` as part of improving the High Contrast theme, but in the case of the window screenshot background we really only want the background and not other properties like rounded corners or borders. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6168 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2561>
* style: High Contrast improvmentsSam Hewitt2023-02-1420-274/+297
| | | | | | | | | | | | | | | - rework the entry style to work in both hc and normal - rework drawing functions to accommodate hc - buttons all get borders under hc now - window picker titles are more legible - alt+tab switcher tiles are visible - dash is made more visible under hc - popover menus are all more visible under hc - search results borders are improved - calendar days have a different look under hc - overview bg is completely black in hc Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2527>
* css/quick-settings: Update icon-button stylesSam Hewitt2022-10-224-28/+31
| | | | | | | | | - add an entire flat style to button drawing function - clean up the icon button css in quick settings - adjust padding in QS sliders - fixes #5918 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2510>
* css: Tidy up the card styleSam Hewitt2022-10-224-2/+4
| | | | | | | - remove the drop shadow - clean up mixin references Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2513>
* classic: Make login entries legibleJakub Steiner2022-09-171-4/+4
| | | | | | | | - hardcoded color hotfix for 43. A more systemic approach discussed below See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/410 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2477>
* css: Shave padding off of the quick settings menuSam Hewitt2022-09-041-10/+13
| | | | | | | | - reduce overall menu padding - reduce internal padding on submenu - tweak button sizing Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2463>
* status/volume: Request symbolic style for device menu itemsFlorian Müllner2022-09-041-0/+2
| | | | | | | | | | | | | We get device icons from gnome-volume-control, which itself may get them from pulseaudio. That is, we don't have control over whether icon names are symbolic. As we do want menu items to use symbolic icons, enforce that via CSS instead. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5805 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2456>
* style: High contrast fixes for buttonsSam Hewitt2022-09-043-4/+36
| | | | | | | | - improves hover style; fixes #5765 - adds missing high contrast borders - bumps colors for visibility Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2441>
* style: Slightly increase app folder sizeGeorges Basile Stavracas Neto2022-09-041-2/+2
| | | | | | | So that it can handle the now always visible arrows without downscaling the icons. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2442>
* Revert "appDisplay: Remove style of page indicators"Georges Basile Stavracas Neto2022-09-041-0/+22
| | | | | | | This reverts commit 341cad764e1bb0ac36f9c711ba9cd600efdb71db. Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5738 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2442>
* screenshot: Disable screencasts when lockedFlorian Müllner2022-09-041-0/+1
| | | | | | | | | | | | | | | It is currently not possible to bring up the screenshot UI while locked, but that is about to change. We still don't want screencasts in that case, because they are much easier to abuse for filling up someone else's disk. That restriction is enforced by inhibiting remote access in the backend, so trying to create a screencast session will fail anyway. Still, not offering an action that is unavailable is better than having it fail silently, so do exactly that. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2439>
* style: Visual papercut fixes for quicksettingsSam Hewitt2022-09-041-5/+9
| | | | | | - fixes #5742 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2427>
* theme: Tweak OSK styleCarlos Garnacho2022-08-101-3/+9
| | | | | | | | Add latched keys a distinct color again (mainly for alt/ctrl being notoriously active), and tweak the suggestions box sizes so there are no size jumps between an empty and a populated suggestions box. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>
* panel: Remove aggregate menuFlorian Müllner2022-08-101-22/+0
| | | | | | | | | The menu has served us well over the years, but it is finally time to retire it. τετέλεσται Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2408>
* style: Force symbolic icons in quick settingsFlorian Müllner2022-08-101-0/+2
| | | | | | | | The icon for the Settings toggle comes from the .desktop file, so isn't symbolic by default. Enforce that via the -st-icon-style property, like the .aggregate-menu style did. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2419>
* appDisplay: Remove style of page indicatorsGeorges Basile Stavracas Neto2022-08-101-22/+0
| | | | | | | | As per feedback, remove the visible styling of the page indicators. They're still used to layout and detect drag hovering, so the actors are still in place, but they're completely transparent now. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
* style: Theme pagination arrows as per mockupsGeorges Basile Stavracas Neto2022-08-101-4/+12
| | | | | | | The style is essentially a copy of %osd_button, but adapted to style the inner icon instead of the whole button. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
* appDisplay: Turn navigation arrows into StButtonsGeorges Basile Stavracas Neto2022-08-101-1/+1
| | | | | | | | | | | Make the next and previous page arrows be StButtons, with their 'icon-name' property matching the current StIcon icon name, and use the 'clicked' signal to switch pages. Remove the 'button-press' callback the scroll view, since the buttons take over this functionality. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
* appDisplay: Make page previews fill allocationGeorges Basile Stavracas Neto2022-08-101-2/+0
| | | | | | | Instead of hardcoding the width of the page previous, allow them to fill the allocated space. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
* status/network: Replace wi-fi selection dialogFlorian Müllner2022-08-103-53/+4
| | | | | | | | | | | | Now that wi-fi devices will be handled by a separate menu toggle instead of as part of a combined system menu, there is no longer a need of delegating network selection to a separate dialog. To keep the menu from growing too much, the (sorted) list of displayed networks is kept at a limit of eight. There is always Settings for a complete list… Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2407>
* css: Add a special chroma key color and use it on .workspace-backgroundDaniel van Vugt2022-08-102-0/+6
| | | | | | | | | There's no visible change here since we're just moving from the default transparent black to transparent other. But the latter can be used as a special value to indicate to the rendering code when a background is expected to be always occluded. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1915>
* style: CSS follow ups for quicksettingsSam Hewitt2022-08-103-9/+13
| | | | | | | | - some padding adjustments - add proper focus style for :checked buttons - popover radii adjustments Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2401>
* status/power: Merge with system indicatorFlorian Müllner2022-08-101-0/+10
| | | | | | | | | Now that the old system menu has been ported over, we can move the power toggle to its intended place. The main difference to the stand-alone toggle is that the button now uses its natural size rather than the fixed size of regular quick items. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* status/system: Port to quick settingsFlorian Müllner2022-08-101-0/+4
| | | | | | | | | | | | | | | | | | This port is a bit messier than the previous ones, because the existing menu section translates less directly to the new UI, which uses a row of individual toggles for settings, lock and shutdown. In order to not complicate the grid layout further by supporting rows with a different number of columns than the overall grid and children at their natural size, create a custom, non-reactive SystemItem item that spans an entire row, and contains the individual toggles. This works quite well, even with the shutdown item that uses a menu for the various actions. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* quickSettings: Add QuickSliderFlorian Müllner2022-08-101-0/+13
| | | | | | | | Between input/output volume and brightness, we have enough use cases for a common slider QuickSettingsItem, in particular as the items can have a menu. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* quickSettings: Add QuickMenuToggleFlorian Müllner2022-08-101-1/+19
| | | | | | | | | This is a convenience subclass for a quick toggle with a menu. The menu can be disabled dynamically and if enabled, an arrow is displayed that allows opening the menu. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* quickSettings: Color header icon if checkedFlorian Müllner2022-08-101-0/+2
| | | | | | ... as requested by the design team. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* quickSettings: Add header to QuickToggleMenuFlorian Müllner2022-08-101-0/+21
| | | | | | | All menus in the mockups spot a header, and as we are using a custom menu type anyway, just add some API there. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* quickSettings: Add menu support to itemsFlorian Müllner2022-08-101-0/+9
| | | | | | | | | | | | | | | | | | | | | Now that the QuickSettingsMenu supports child menus, it is time to add menu support to quick toggles. Do that by introducing a QuickSettingsItem parent class with a construct-only :has-menu property, as that will allow including menus in items that aren't following the standard icon+label pattern of QuickToggle (yes, we'll have some of those). A common parent class also allows us to control the type of menu that is created. That's important, as we need another custom menu type to - constrain the menu's y position to place it underneath the source actor - use open/close animations taylored for this use case Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2393>
* style: Add generic .icon-button classFlorian Müllner2022-08-102-0/+22
| | | | | | | The class is meant for buttons that only contain an icon, as found in many GTK apps. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2397>
* quickSettings: Add QuickToggleFlorian Müllner2022-08-101-0/+14
| | | | | | | | Most quick settings items are just buttons with icon, label, and a particular style. While that's easy enough, a dedicated class with corresponding properties is more convenient. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2392>
* quickSettings: Introduce QuickSettingsMenuFlorian Müllner2022-08-102-0/+9
| | | | | | | | | | | | | | The quick settings menu is a popover that arranges items in a reflowing, homogeneous grid. Grid children may span multiple columns, but not rows. For now the QuickSettingsMenu that contains the grid is just a convenience wrapper around the layout manager that does the heavy lifting. The two will become more intertwined when we add support for menu toggles though, so the custom menu type is unfortunately needed. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2392>
* status/remote-access: Split out screen sharing indicatorFlorian Müllner2022-08-101-0/+25
| | | | | | | | | | | | The latest mockups move the screen sharing indicator into a separate control, similar to the existing indicator for built-in screen recordings. As this removes the submenu and only keeps the top bar icon (for external screen recordings), this will smooth the transition to quick settings. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2391>
* style: Make menuitems less bright when in checked stateSam Hewitt2022-08-103-11/+11
| | | | | | Fixes #5665 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2388>
* theme: Center access dialog textGeorges Basile Stavracas Neto2022-08-101-0/+5
| | | | | | | Makes the now fully visible label match the rest of the dialog's labels. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2377>
* style: Fix margin and color problems in the close buttonsSam Hewitt2022-07-102-8/+9
| | | | | | | - align the screenshot close button better - use color changes consistent with other elements Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>
* style: Add missing transition timingsSam Hewitt2022-07-105-11/+14
| | | | | | - fixes #5211 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>