Sam Hewitt
a32f735ec0
style: Use unlinked rounded buttons for notifications
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3427 >
2024-08-02 13:37:44 -02:30
Sam Hewitt
ff4b9fdb08
style: Use unlinked rounded buttons for notifications
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3383 >
2024-08-02 15:16:46 +00:00
Sam Hewitt
94181ea999
style: Text and icon weight adjustments
...
- bump the font weight of the clock
- lower the font weight of user names
- adjust avatar weight
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3410 >
2024-07-19 18:45:44 +00:00
Sam Hewitt
fc39c32324
lookingGlass: Clean up the stylesheet and improve visuals overall
...
- shuffle stylesheet around for readability
- change names and classes of elements to be consistent
- added style classes to window list elements so they can be styled
- make sure all elements follow OSD style even in light theme
- clean out some old styles
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7746
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3412 >
2024-07-11 19:00:29 +00:00
Florian Müllner
6f2c99147c
lookingGlass: Stop setting font programmatically
...
Instead, use CSS to request a monospace font selectively where
it makes sense (the evaluator).
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7776
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3413 >
2024-07-11 19:27:08 +02:00
Alice Mikhaylenko
a93cfb94e4
theme: Support accent color
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2715 >
2024-06-20 13:18:00 +00:00
Alice Mikhaylenko
0b888fc07f
theme: Use transparent text selection
...
Match libadwaita.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2715 >
2024-06-20 13:18:00 +00:00
Alice Mikhaylenko
cca34af31e
switch: Add hover styles
...
Same as checkboxes.
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6455
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2717 >
2024-06-20 13:30:57 +02:00
Daniel Ruiz de Alegría
259eaa9bbb
switch: Style switches with pure CSS
...
Drop hardcoded assets, have a handle actor instead, change its align to
move it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2717 >
2024-06-20 13:30:57 +02:00
Alice Mikhaylenko
e75839bd5d
checkBox: Reimplement styles in CSS
...
Stop using SVG assets other than the actual check icon. This will help
making it recolorable.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2717 >
2024-06-20 13:30:57 +02:00
Sam Hewitt
92063e5e46
style: Fix background color issue with menuitems
...
- fix missing submenu bg colors
- add submenu color definitions
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7570
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3311 >
2024-06-20 10:15:04 +00:00
Sebastian Keller
559d38c259
style: Don't use different offset for the HC app grid running indicator
...
The offset in high contrast mode was moving the dot too close to the
text making the spacing between the text, dot and hover highlight appear
visually unbalanced. Also it was making it more likely to overlap
descenders in the text.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3245 >
2024-05-22 19:02:42 +00:00
Sebastian Keller
e2adc5a445
style: Shift dash running indicator dot up a pixel in high contrast mode
...
With the dot now being placed correctly at the bottom of the hover
highlight it is now also overlapping the 1px inset shadow used as
outline in high contrast mode. To avoid this, shift the dot up
accordingly.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3245 >
2024-05-22 19:02:42 +00:00
Sebastian Keller
31997fa2f9
appDisplay: Set running indicator dot offset via CSS
...
The offset was given as a hardcoded (physical) pixel value and did not
take scaling into account. This lead to it being shifted closer towards
the icon as the scale increased.
This now replaces the hardcoded value with a CSS property which
automatically includes the scale factor.
Further this allows simplifying some calculations that previously were
trying to counteract the hardcoded offset using margins by using the
intended offset directly.
With this the dot in the dash is also now placed at exactly the bottom
of the hover highlight, while previously there was an unintentional 1px
space.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7488
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3245 >
2024-05-22 19:02:42 +00:00
Sam Hewitt
6fd0aac864
slider: Remove border drawing code add hover style
...
- remove all the border drawing on sliders since they are unused
- listen for hover and add hover style
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6274
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3320 >
2024-05-21 13:10:49 +00:00
Sam Hewitt
43596ffca6
popupMenu: Use selected pseudoclass instead of class
...
- drop :focus from menuitem drawing
- update menuitem drawing function to style :selected
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7637
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3314 >
2024-05-21 12:49:32 +00:00
Sam Hewitt
aa2c8ae435
style: Adjust font sizes in Calendar popover
...
- increase the font size definition for %smaller used by calendar
- drop numeric time style for weather box
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7400
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6024
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3313 >
2024-05-20 12:34:13 +00:00
Jonas Dreßler
14ba1c2ffa
style: Enforce a min spacing of the dash to the left/right screen edges
...
The dash currently doesn't enforce any spacing when it comes to the left and
right edges of the monitor. With the right amount of icons, it will come
very close to or even touch the edge.
Make sure this "edge case" also looks good by adding a padding to the left
and right of the container.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3278 >
2024-05-14 18:24:07 +00:00
Jonas Dreßler
b58119d5c6
overview: Make the spacing dynamic depending on screen height
...
The HTML/CSS sizing prototype that was done back in the day for GNOME 40 has
a dynamic spacing depending on the height of the monitor. Let's try to
follow that more closely and make the spacing dependent on screen height.
For the sizing prototype, see
https://gitlab.gnome.org/Teams/Design/os-mockups/-/tree/master/overview/sizing-prototype
This also allows removing of a bit of manually added spacing at the top of
the dash.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3278 >
2024-05-14 18:24:07 +00:00
Jonas Dreßler
816b4e4bf1
style: Remove outdated padding entry
...
The .overview-controls class doesn't exist, so this is not valid anymore,
remove it!
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3278 >
2024-05-14 18:24:07 +00:00
Sam Hewitt
1053b5826a
style: Fix contrast issues of themed icons in messages
...
- increase circular bg color transparency
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7628
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3315 >
2024-05-14 14:56:00 +00:00
Sam Hewitt
25ad8c9408
style: Adjust margin on search results grid to fix Large Text display
...
- drop unneeded margin definitions that cause results items to disappear when Large Text is enabled
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7511
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3312 >
2024-05-13 22:28:56 +00:00
Sam Hewitt
6fee2c24e3
style: New window-icon class to split it from icon-dropshadow
...
- new class for window icons in window picker
- move HC specific styles to this new class
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/507
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3310 >
2024-05-13 13:11:51 -02:30
Florian Müllner
676503ff27
style: Don't force symbolic notification icons
...
With the addition of notification headers, we no longer include
an icon with every notification, but only when the notification
explicitly specifies an icon (other than the app icon).
After those changes, it makes more sense to use the icon as
provided by the app than forcing the symbolic style (which
only works for themed icons anyway).
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7620
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3296 >
2024-05-09 17:47:32 +00:00
Ray Strode
09b541ad61
loginDialog: Make info messages themed
...
They were lacking a definition before leading them to
show up invisible.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3298 >
2024-05-03 17:47:43 +02:00
Jakub Steiner
fb74d56258
theme: Worksace indicator height
...
- set the workspace indicator height to match the non-labeled osd panels
such as volume or brightness
Fixes #7612
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3282 >
2024-04-25 11:15:13 -04:00
Sam Hewitt
cee3ec2c50
style: Fix hover state difference in notification header buttons
...
- make the close button and expand button use the same styles
- add style for :active:hover state since it was missing
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3238 >
2024-03-15 13:04:55 +00:00
Sam Hewitt
881ec91370
style: Fix the lock-screen styles leaking
...
- wrap the user-icon overrides in login-lock with the login class
- clean out redundant css on the user-icon
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3203 >
2024-03-14 14:15:51 +00:00
Julian Sparber
d1e9cfa5c2
message-list: Fix dim buttons for notifications in calender drawer
...
Since we now display notification buttons in the calender drawer we need
to adjust the styling a little bit.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
262fb191b1
notification: Allow expanding notification in calendar drawer
...
This adds a button to expand a notification. This makes most of
the body readable (limited to 6 lines) and the action buttons available
to the user.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
e334d5e575
messageList: Increase space between message list and controls
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
ffaec5615a
messageList: Directly take an GioIcon as image for a message
...
There is pretty much no value gained by allowing to use any actor to display
an image, so just don't allow it since it simplifies the code and CSS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
d44adf3b78
notifications: Add buttons to Calendar.NotificationMessage via actions
...
Since we also want to show the buttons in the calendar move the
code to add buttons/actions from `MessageTray.NotificationBanner` to
`Calendar.NotificationMessage`.
As nothing uses custom buttons that aren't backed by actions anymore,
remove that bit of the public API.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7099
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
6d6ac1372a
components/autorunManager: Use notification actions API
...
Stop using custom buttons for notification actions. The only reason to
use custom buttons was so that we could add icons next to the button
label, if we really need the icons next to the label we can add icons to
the notification API.
By using the actions API we can ensure that buttons always look the
same without additional work.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
c5ec3e45e4
components: Drop telepathy client
...
The telepathy client component has been unmaintained for a long time.
Now that we rework the notifications massively it's time to drop the
support for it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Joan Torres
d8fc37adc3
loginDialog: Add ConflictingSessionDialog
...
This dialog will be used by the next commit when a session is being opened but
there's already a conflicting session opened.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3134 >
2024-02-29 20:42:52 +00:00
Daniel van Vugt
d09509b2cb
theme: Don't give login-dialog another background-color
...
Its parent `lockDialogGroup` has exactly the same background-color
set in the same file. Giving them both the same wasted render time on
overdraw, and caused multi-layer blending artifacts (slight flickering
of the grey background) when the login dialog fades in/out.
While the flicker can also be fixed using `set_offscreen_redirect`,
there's no point adding that overhead when the extra layer doesn't need
to be painted. Removing it halves the average render time of the login
animation.
Closes: https://bugs.launchpad.net/bugs/2036388
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3207 >
2024-02-28 14:55:39 +00:00
Sam Hewitt
e46b137b42
style: Restore missing insensitive menuitem style
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3213 >
2024-02-28 14:38:27 +00:00
Julian Sparber
5cca9009f1
messageList: Fix spacing between messages in calendar
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3177 >
2024-02-09 23:23:14 +00:00
Sam Hewitt
40376d90fd
style: Adjust search content width to realign items
...
- default max-width doesn't align with new padding, fixed by tweaking
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7389
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3175 >
2024-02-09 10:12:35 -03:30
kramo
60fb2de15f
theme: Increase padding of switches
...
This is to make it generally more in line with the stylesheet as well
as to resolve the blue and white bleeding together in dark mode.
It's also consistent with switches in recent mockups.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3077 >
2024-02-08 20:32:50 +00:00
Sam Hewitt
4d1ae863d0
switcherPopup: Restore selected pseudo-class
...
- move styles to switcher-popup
- reverts a change in a code clean up that causes problems with screen readers
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7336
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3127 >
2024-02-06 20:09:20 +00:00
Sam Hewitt
628f0b5be9
dateMenu: Fix missing text style for no locations state
...
- add class to the header when there are no locations so the text appears clickable
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3169 >
2024-02-06 19:54:04 +00:00
Sam Hewitt
4c5cb191d8
style: Fix bg color weirdness on background apps close button
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3140 >
2024-02-06 17:14:40 +00:00
Sam Hewitt
0582de6561
icons: Updated No Notifications asset
...
- redesigned asset to not be a scaled-up 16x16 symbolic
- adjusted css for new asset
- dropped unused no-events asset
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3167 >
2024-02-06 12:07:56 -03:30
Sam Hewitt
37a78684bb
style: Fix some high contrast papercuts
...
- add HC style to slider
- add HC style to Quick settings submenu header
- fix border issue with flat card style
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7320
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165 >
2024-02-05 22:57:01 +00:00
Sam Hewitt
da6950562a
dateMenu: Add class to menu so border-radius can be set in stylesheet
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165 >
2024-02-05 22:57:01 +00:00
Sam Hewitt
9758227ff5
style: Clean up message list padding
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165 >
2024-02-05 22:57:01 +00:00
Sam Hewitt
f0acfd3728
style: Softer overview icon drop-shadows
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165 >
2024-02-05 22:57:01 +00:00
Sam Hewitt
877c692671
style: Fix incorrectly defined color
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165 >
2024-02-05 22:57:01 +00:00