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>
This commit is contained in:
Julian Sparber 2024-02-13 11:42:11 +01:00 committed by Florian Müllner
parent dc4e2e8114
commit 262fb191b1
5 changed files with 52 additions and 3 deletions

View file

@ -109,7 +109,8 @@
}
}
// close button
// buttons in the message header
.message-expand-button,
.message-close-button {
@extend .icon-button;
color: $fg_color;
@ -119,6 +120,16 @@
&:insensitive { background-color: transparentize($fg_color, 0.9);}
&:active { background-color: transparentize($fg_color, 0.8);}
}
.message-expand-button {
padding: 6px;
background-color: transparentize($fg_color, 0.9);
&:ltr { margin-right: $base_padding; }
&:rtl { margin-left: $base_padding; }
&:hover { background-color: transparentize($fg_color, 0.8);}
}
}
// container for message contents