mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
dc4e2e8114
commit
262fb191b1
5 changed files with 52 additions and 3 deletions
|
|
@ -5,6 +5,7 @@
|
|||
<file preprocess="xml-stripblanks">scalable/actions/carousel-arrow-next-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/carousel-arrow-previous-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/dark-mode-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/notification-expand-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/ornament-check-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/ornament-dot-checked-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">scalable/actions/ornament-dot-unchecked-symbolic.svg</file>
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#222" fill-rule="evenodd" d="m3.293 7.707 4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 1 0-1.414-1.414L8 9.586 4.707 6.293a1 1 0 1 0-1.414 1.414"/></svg>
|
||||
|
After Width: | Height: | Size: 215 B |
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue