Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the Look of Gnome Shell Dialogs #4186

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Modal Dialogs */

// Yaru Custom Definition
$dialog_padding: $base_padding * 4 $base_padding * 3 $base_padding * 3 $base_padding * 3;

.headline {
@extend %title_4;
}
Expand All @@ -25,7 +28,8 @@
/* End Session Dialog */
.end-session-dialog {
width: 24em;

border-radius: $yaru_menu_border_radius; // Yaru Change: Override default radius
padding: $base_padding * 3; // Yaru Change: Override default padding
.end-session-dialog-battery-warning,
.dialog-list-title {
color: $warning_color;
Expand Down Expand Up @@ -72,9 +76,10 @@

/* Run Dialog */
.run-dialog {
padding: $base_padding * 3; // Yaru change: padding match to quick settings
border-radius: $yaru_menu_border_radius; // Yaru change: match border-radius to quick settings
.modal-dialog-content-box {
margin-top: $base_padding * 4;
margin-bottom: $base_padding * 2;
margin-top: $base_padding * 3; // Yaru Change
}
.run-dialog-entry { width: 20em; }
.run-dialog-description {
Expand All @@ -87,8 +92,9 @@
/* Password or Authentication Dialog */

.prompt-dialog {
width: 28em;

width: 26em; // Yaru Change: Decrease from 28 to 26 em
padding: $dialog_padding; // Yaru change: padding match to quick settings
border-radius: $yaru_menu_border_radius; // Yaru change: match border-radius to quick settings
.modal-dialog-content-box {
margin-bottom: $base_margin * 6;
}
Expand Down
Loading